"Unable to initialize LDAP" -- why?

Jeff Blaine jblaine at kickflop.net
Tue Jul 6 13:20:58 PDT 2010


LDAP works fine on this box.  CUPS 1.4.4 cannot seem to "initialize"
LDAP.

Can anyone show me a working config with printer info stored in LDAP?

Any help would be appreciated as it appears Linux (RHEL at least) does
not support 'printers: ldap' in /etc/nsswitch.conf.  We're not going to
maintain a local printer file on every Linux box...

Here's what I've tried:

...
LogLevel debug
AccessLog syslog
ErrorLog syslog
BrowseLDAPServer rcf-ldap1
BrowseLDAPDN dc=rcf,dc=our,dc=org
BrowseProtocols LDAP
BrowseLocalProtocols LDAP
BrowseRemoteProtocols LDAP
...

And here's proof our LDAP stuff works:

% grep -v ^# /etc/openldap/ldap.conf
BASE    dc=rcf,dc=our,dc=org
URI     ldap://rcf-ldap1.our.org ldap://rcf-ldap2.our.org
% ldapsearch -x uid=jblaine | grep cn:
cn: Jeff Blaine
%




More information about the cups mailing list