[Date Prev][Date Next]
Re: ldapsearch command help
At 06:25 AM 3/16/2005, Talwar, Puneet (NIH/NIAID) wrote:
>Root # ldapsearch -x -LLL -D "email@example.com" -h <ip address>
>'dc=XXX,dc=XXX' -W '(&(objectClass=user))' sAMAccountName
This seems off.
1) "firstname.lastname@example.org" is not a DN string as expected by -D
2) seems a -b flag is missing before the dc=XXX,dc=XXX.
Without the -b, 'dc=XXX,dc=XXX' will be regarded as the filter
and the remaining arguments as requested attribute descriptions.