iprint_nss_relocate script fails. Error in ndsuseradd(): [Already exists] -32

  • 7002017
  • 10-Mar-2009
  • 26-Apr-2012

Environment

Novell iPrint for Linux

Situation

iprint_nss_relocate fails to:
  • copy the iPrint data from the local file system to the shared resource
  • create symbolic links to the shared resource
  • create iPrint required LUM users to give iPrint rights to the NSS resource
See the iprint_nss_relocate error log:    /var/opt/novell/log/iprint_nss_relocate.log
The following message will be in the log file:

iprint LUM User creation status 1 : Error in ndsuseradd(): [Already exists]
Error in ndsuseradd: [-32]
Already exists .

Resolution

Re-run the iprint_nss_relocate script, but add the following switch to the end of the command:
-c [context]
Example:
-c ou=lumuser,ou=springfield,o=xzycompany
The context will be where the iprint LUM user will be created. Do not choose the context where the non-user object named iprint already exists.

Additional Information

The iprint_nss_relocate script attempts to create a user named iprint. Without the -c option, the script attempts to create the iprint user in the same context as the iPrint server's ncp server object.  If the -c option is used, the script attempts to create the iprint user in the context specified by the administrator.   If a non-user object by the name of iprint already exists in that container, the above error will be returned.  The intent of the -c optoin is for the administrator to instruct the script to create the iprint user object in a context that fits the organization's management needs and a context which doesn't already contain a non-user object by the name of iprint .  Choosing a container that already has an iprint user object is an acceptable configuration option.

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