LDAP Basic Auth not working for key search, keyserver-options ignored!

Harakiri harakiri_23 at yahoo.com
Wed Apr 30 17:20:57 CEST 2008


following the example here : 


i used the binddn and bindpw option to do a simple auth against an ldap server 

gpg.exe --keyserver ldap://localhost --keyserver-options
 "binddn=\"uid=someuser\"" --keyserver-options bindpw=somepw --keyserver-options verbose
--search-keys somemail

However - neither binddn nor bindpw is passed to the ldap server - my LDAP Server is disabled for
anonymous bind so gpg returns an error about insufficant access rights - i debugged the ldap
server and gpg never calls a bind/lookup with the credentials just :

	Search Request
        Base Object : 'cn=pgpServerInfo'
        Scope : base object
        Deref Aliases : never Deref Aliases
        Size Limit : no limit
        Time Limit : no limit
        Types Only : false
        Filter : '(objectClass=*)'
        Attributes : pgpBaseKeySpaceDN, software, version

What is wrong? LDAP Server Basic Auth is working fine for other clients like outlook, thunderbird
etc when searching for x509 from the same server


Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

More information about the Gnupg-users mailing list