id <username> results <no such user>

  • 7004337
  • 30-Aug-2009
  • 29-Apr-2013


Novell Open Enterprise Server 2 (OES 2)
Novell Open Enterprise Server 1 (OES 1) Support Pack 2
Novell Open Enterprise Server 1 (OES 1) Support Pack 1


id <username> results <no such user>

#id: admin: No such user


1.Check rcnamcd is running.  command is rcnamcd status.
2.Check LUM is configure properly.<iManager>
3.Check userlist and grouplist if the users entry is there or not. if not then do the entry.
   namuserlist -x o=<OU name>
    namgrouplist -x o=<OU name>
The users/group entry should be there in the list.
4.Check the base-name= in /etc/nam.conf file. <This is the context where it starts looking for the unix config object>
5.Check for admin-fdn=<user should be admin user or admin equivalent user and should be written in LDAP format example cn=admin,o=novell>
5.Check for preferred-server=<ip address of LDAP server>
 *If LDAP is not working for the LDAP server mention in  preferred-server you may point it to any server in tree even same server and run namconfig -k.
6.Check if there could be two group of same name in different container with the same group id number.This can cause conflict.
    *If yes then, Delete one group of the same name.
7.Need to have rights to browse the tree and read Linux attributes. If do not have browse rights for [public] then modify trustee of ROOT of the tree and gave [public] browse rights to find LUM enabled users in the tree.

Note:- After doing any changes restart namcd.
*To restart namcd command is rcnamcd stop rcnamcd start and to refresh cache namconfig cache_refresh
*To see LDAP is listening on default ports command is netstat -npl | grep  636 and netstat -npl | grep  389
*To unload and load LDAP on Linux command is ldap-u and ldap-l