Sample Header Ad - 728x90

How it comes that ldapsearch output can't be piped

0 votes
1 answer
1084 views
ldapsearch always outputs an authentication message with every query at the beginning: SASL/GSS-SPNEGO authentication started SASL username: user.principal@DOMAIN.NAME SASL SSF: 56 SASL data security layer installed. ... if I do ldapsearch -o ldif-wrap=no -b cn=,cn=groups,dc=lan,dc=,dc=de "(cn=.nextcloud.users)"|grep -v SASL it doesn't disappear. If append 2> /dev/null it doesn't help either. This is annoying I am looking for some way to not show this SASL output when I do ldapsearch queries. The ldapsearch command ist executed against a samba4-LDAP
Asked by Stefan (1 rep)
Oct 22, 2021, 04:40 PM
Last activity: Jun 13, 2024, 01:48 PM