Create a new user and LUM enable them. johnÂ got aÂ UID of 601.
Created a file called novell on my NSS volume /media/nss/VOL1
Did a "chown john novell" to change the owner
"ll /media/nss/VOL1" shows owner of novell as john
"ll -n /media/nss/VOL1" shows the owner of novell as 601
Changed the UID of john in iManager to 1000
command "id john" will show UID of 601
The namcd cache needs to be reset see step 1 in resolution below.
command "id john" will show UID of 1000 now
"ll /media/nss/VOL1" shows owner of novell as 601 when it should be john
"ll -n /media/nss/VOL1" shows the owner as 601 when it should be 1000
If I dismount and remount the volume it makes no difference.
Restarting edirectory does not make a difference.
ResetIDCache does not make a difference.
Rebooting the server does make it work correctly with the 1000 UID.
There are three pieces to this issue, namcd, NCP, and NSS.
2. The NCPServer idMapping cache by default will refresh every 30 minutes. There is not a manual way to force this without rebooting.
3. The NSS NDS cache can be reset by typing "nsscon" then "ResetIDCache" then "exit" to exit nsscon utility. The resetidcache happens by default every 90000 seconds (25 hours). This is configurable inside of nsscon with"IDCacheResetInterval".