iprintman returns "Binding to LDAP failed"

  • 7000719
  • 20-Jun-2008
  • 26-Apr-2012

Environment


Novell iPrint for Linux

Situation

iprintman (also can be spelled iprntman) returns the message of "Binding to LDAP failed" when attempting to authenticate.

Resolution

Cause #1: Problem with defined LDAP server
The LDAP server used to authenticate the user when issuing an iprintman command is defined in /etc/nam.conf in the "preferred-server=" statement. It is possible that the defined preferred server is having an LDAP problem.


Solution #1: Solution to "Problem with defined LDAP Server"
If the LDAP server defined in the nam.conf is suspected to have problems, point nam.conf to a different server by following these steps:
a. Choose a different preferred server in the /etc/nam.conf. Save the change.
b. Copy the /var/lib/novell-lum/..der from the newly defined preferred server to the iPrint server's /var/lib/novell-lum directory.
c. Type this command:
namconfig cache_refresh
d. Try the iprintman command again.


Cause #2: ipsmd.conf contains wrong or misspelled name
View the files listed in the /etc/opt/novell/iprint/conf/ directory. For every created Print Manager, there will be a file named .ipsmd.conf. Only one Print Manager can run on a server at a time, but multiple Print Managers can be created to one server. View the symbolicly-linked file to which ipsmd.conf is pointing. Is the spelling of that .ipsmd.conf correct?

Solution #2: Solution to "ipsmd.conf contains wrong or misspelled name"
a. Correct the spelling of the /etc/opt/novell/iprint/conf/[PrintManager].[OU].[O].ipsmd.conf.
b.  After correcting the spelling, type these commands:
    cd /etc/opt/novell/iprint/conf/
    rm ipsmd.conf
    ln -s [PrintManager].[OU].[O].ipsmd.conf ipsmd.conf
    rcnovell-ipsmd restart
c. Try the iprintman command again.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.