Why is a user's home directory owned by their UID and not their short name?
Some time ago we upgraded from Leopard Server to Snow Leopard Server. Along the way I missed the warning/note about some authentication changes, and therefore ran into problems creating new users. Upon creation of a new OD user and trying to create their home directory I received an error. Through this community I was led to an Apple support article that described re-kerberizing the server. I ran that last night and lo and behold... success! New users AND new home directories.
Came in this morning and had one of the new users login. Beauty! Second user... d'oh! Third user... d'oh! For the sake of argument we'll call these users:
newuser1 (UID 1298)
newuser2 (UID 1300)
newuser3 (UID 1301)
The names have been changed, but the UIDs are real. Yes, I know they're not sequential. I created a bad user account as 1299 and deleted it.
Running "ls -al" in the folder with all of the home directories yields something like the following:
drwxr-xr-x 12 1295 staff 408 Aug 25 08:12 newuser1
drwxr-xr-x 12 1300 staff 408 Nov 3 17:22 newuser2
drwxr-xr-x 12 1301 staff 408 Nov 3 17:22 newuser3
drwxr-xr-x+ 16 olduser1 staff 544 Oct 6 16:19 olduser1
drwxrwxrwx+ 26 olduser2 staff 884 Sep 16 11:42 olduser2
drwxr-xr-x+ 22 olduser3 staff 748 Apr 29 2011 olduser3
drwxr-xr-x+ 16 olduser4 staff 544 Mar 8 2011 olduser4A quick eye will notice that the home directories are not owned by the short user name for the new users. A quicker eye will notice that newuser1's UID does not match the UID of their home directory owner! The weirder part is that newuser1 is the one that doesn't get an error on login!!!
Just to try something I ran "chown -R newuser1:staff newuser1/" and was given the following reply:
chown: newuser1: Invalid argument
I'm so lost! Where else do I need to look? Why doesn't the server recognize the short names of these new users? I can use an old user's name as a parameter in chown.
Any ideas on how to fix any of this? Any and all assistance is always appreciated!