[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldapsearch -y works great, -w barks



--On Friday, January 27, 2012 5:25 PM -0500 Randy Schultz <schulra@earlham.edu> wrote:

Anybody have an idea what's going on?

Nope.  -w works great for me:

zimbra@zre-ldap001:~$ zmlocalconfig -s ldap_root_password
ldap_root_password = zimbra
zimbra@zre-ldap001:~$ ldapsearch -x -H ldap://zre-ldap004 -LLL -s base -b "" -D "cn=config" -w zimbra
ldap_bind: Invalid credentials (49)
zimbra@zre-ldap001:~$ ldapsearch -x -H ldap://zre-ldap001.eng.vmware.com -LLL -s base -b "" -D "cn=config" -w zimbra
dn:
objectClass: top
objectClass: OpenLDAProotDSE

zimbra@zre-ldap001:~$ ldapsearch -x -H ldap://zre-ldap001.eng.vmware.com -LLL -s base -b "" -D "cn=config" -w 'zimbra'
dn:
objectClass: top
objectClass: OpenLDAProotDSE

zimbra@zre-ldap001:~$ ldapsearch -x -H ldap://zre-ldap001.eng.vmware.com -LLL -s base -b "" -D "cn=config" -w `zmlocalconfig -m nokey -s ldap_root_password`
dn:
objectClass: top
objectClass: OpenLDAProotDSE

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration