CUPS LDAP printing

Hi all,

I’m having some issues regarding configuring cups to work with LDAP.
I have the part of cups regarding ldap config.

# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock

# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseLocalProtocols ldap
BrowseLDAPBindDN dc=company,dc=pt
BrowseLDAPDN dc=company,dc=pt
BrowseLDAPPassword password
BrowseAllow all

and now the error that gives:

 [24/Nov/2008:11:24:57 +0000] Resuming new connection processing...
E [24/Nov/2008:11:24:57 +0000] Unable to initialize LDAP; disabling LDAP browsing!

The above error message is only that one … this was taken with cups in debug mode.

Can anyone shed some light in here … I’m a bit stuck and running out of ideas.

Thank in Advance