more clues. it does seem to be a permissions problem. continuing where i left off in my last post, i decide to set the permissions for the 'htpc' directory to 777. remember, at this point, 'htpc' is an empty directory:
Code:
[root@myhost profiles]# chmod 777 htpc
[root@myhost profiles]# ls -al
drwxrwxrwx+ 2 htpc Domain Users 4096 2009-06-19 13:40 htpc
drwx------. 15 htpc Domain Users 4096 2009-05-17 21:46 htpc.backup
[
now try logging in as user 'htpc' from the xp machine--success! no message saying that the roaming profile can't be found, and it logs right in. then i log out to see if the new profile is written into the 'htpc' directory. now i get this error:
Code:
Windows cannot copy file C:\Documents
and Settings\htpc\Templates to location
\\MYHOST\profiles\htpc\Templates.
Possible causes of this error include
network problems or insufficient security
rights. If this problem persists, contact
your network administrator.
DETAIL - Access is denied.
and then another message saying that my roaming profile can't be updated. if i look into the 'htpc' directory, i see:
Code:
[root@myhost htpc]# ls -al
-rwx-w--w- 1 htpc Domain Users 262144 2009-06-19 13:46 NTUSER.DAT
-rwx-w--w- 1 htpc Domain Users 1024 2009-06-19 13:46 ntuser.dat.LOG
-rwx-w--w- 1 htpc Domain Users 20 2009-06-18 17:51 ntuser.ini
so part of the profile did get written, it just can't seem to create new directories.
starting over, i restore my original profile folder and recursively set 777 permissions for it:
Code:
[root@myhost profiles]# cp -a htpc.backup/ htpc
[root@myhost profiles]# chmod -R 777 htpc
[root@myhost profiles]# ls -al htpc
drwxrwxrwx. 12 htpc Domain Users 4096 2009-01-22 13:31 Application Data
drwxrwxrwx. 2 htpc Domain Users 4096 2009-03-14 12:31 Cookies
drwxrwxrwx. 2 htpc Domain Users 4096 2008-02-15 23:39 Desktop
drwxrwxrwx. 3 htpc Domain Users 4096 2008-12-20 14:18 Favorites
drwxrwxrwx. 2 htpc Domain Users 4096 2007-11-30 23:32 .GalleryRemote
drwxrwxrwx. 5 htpc Domain Users 4096 2008-12-20 14:18 My Documents
drwxrwxrwx. 8 htpc Domain Users 4096 2008-02-03 17:50 NetHood
-rwxrwxrwx 1 htpc Domain Users 2097152 2009-05-17 21:49 NTUSER.DAT
-rwxrwxrwx 1 htpc Domain Users 1024 2009-05-17 21:49 ntuser.dat.LOG
-rwxrwxrwx 1 htpc Domain Users 178 2009-05-17 21:46 ntuser.ini
drwxrwxrwx. 2 htpc Domain Users 4096 2006-05-18 17:13 PrintHood
drwxrwxrwx. 2 htpc Domain Users 4096 2009-05-16 22:51 Recent
drwxrwxrwx. 2 htpc Domain Users 4096 2006-05-18 21:31 SendTo
drwxrwxrwx. 3 htpc Domain Users 4096 2006-05-18 17:13 Start Menu
drwxrwxrwx. 2 htpc Domain Users 4096 2006-05-18 21:22 Templates
drwxrwxrwx. 6 htpc Domain Users 4096 2007-07-04 17:00 UserData
log in from the xp machine--success. log out from the xp machine--success. and the profile does get updated (note the updated file time for ntuser.dat):
Code:
[root@myhost profiles]# ls -al htpc
drwxrwxrwx. 12 htpc Domain Users 4096 2009-01-22 13:31 Application Data
drwxrwxrwx. 2 htpc Domain Users 4096 2009-03-14 12:31 Cookies
drwxrwxrwx. 2 htpc Domain Users 4096 2008-02-15 23:39 Desktop
drwxrwxrwx. 3 htpc Domain Users 4096 2008-12-20 14:18 Favorites
drwxrwxrwx. 2 htpc Domain Users 4096 2007-11-30 23:32 .GalleryRemote
drwxrwxrwx. 5 htpc Domain Users 4096 2008-12-20 14:18 My Documents
drwxrwxrwx. 8 htpc Domain Users 4096 2008-02-03 17:50 NetHood
-rwxrw-rw- 1 htpc Domain Users 524288 2009-06-19 13:57 NTUSER.DAT
-rwxrw-rw- 1 htpc Domain Users 1024 2009-06-19 13:57 ntuser.dat.LOG
-rw-rw-rw- 1 htpc Domain Users 178 2009-06-19 13:57 ntuser.ini
drwxrwxrwx. 2 htpc Domain Users 4096 2006-05-18 17:13 PrintHood
drwxrwxrwx. 2 htpc Domain Users 4096 2009-05-16 22:51 Recent
drwxrwxrwx. 2 htpc Domain Users 4096 2006-05-18 21:31 SendTo
drwxrwxrwx. 3 htpc Domain Users 4096 2006-05-18 17:13 Start Menu
drwxrwxrwx. 2 htpc Domain Users 4096 2006-05-18 21:22 Templates
drwxrwxrwx. 6 htpc Domain Users 4096 2007-07-04 17:00 UserData
so this is definitely a permissions problem. as long as the permissions are set so that everyone has rwx access, the windows xp login process has no problems accessing the roaming profile. why would this have changed from f10 to f11? i still don't see why the file and directory masks in smb.conf aren't being obeyed by the xp login process.