iprint-auth log files shows ds locked (-663)

  • 7025141
  • 07-Jun-2021
  • 07-Jun-2021


iPrint Appliance 4.x


Within the iprint-auth log file, the following error is seen:
[LDAP: error code 80 - NDS error: ds locked (-663)]


No action required.  This message is not indicative of a problem.


This is an expected message that appears at midnight if an LDAP sync is running at that time. The message appears because two things are happening at the same time:  LDAP import of users, and NDS is unload and closed due to the Print Manager database backup to eDir.

After  backup is completed, eDir opens and loads again. The LDAP import process continues without issue.

Additional Information

Example of the messages within the iprint-auth log file:

[DATE] INFO  GroupCoordinator:232 - syncGroups(): START
[DATE] INFO  GroupCoordinator:245 - [STARTING] ldap group sync from url: ldap://xx.xx.xx.xx:389
[DATE] INFO  GroupCoordinator:275 - Searching for groups in base dn: ou=xx,o=xx
[DATE] ERROR DirectoryAccess:397 - Exception: 
javax.naming.NamingException: [LDAP: error code 80 - NDS error: ds locked (-663)]
at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3305)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3207)
at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2993)