Hi, I do not know if the following is a samba or windows question. It seems to be samba question, and I do not know windows and any windows mailing list... (But I am pretty sure if I ask the local IT persons, they will say it is samba...) I have a windowsXP computer in my win domain (planning to have more XP and win2000) and a linux server with samba. Samba is PDC, win profiles are not stored on the server. I was running samba 3.0.10 for two days. If I remember well during this period the local files were stored in C:/Documents and Settings/username If I created a local user with the same name and logged in to to this user the same folder was used. (Great for laptops or in situation when the PDC is down.) But I noticed some error messages in the log (now I know they were not important), so I upgraded to samba 3.0.14a. Now the Domain User (local) profiles are stored in the C:/Documents and Settings/username.DOMAINNAME folder. ??? What does make this difference? How can I have a domain and a local user with the same name and profile? Thanks for your help in advance, Tamas -- Tamas Hegedus | phone: (1) 919-966 0329 UNC - Biochem & Biophys | fax: (1) 919-966 5178 5007A Thurston-Bowles Bldg | mailto:hegedus@med.unc.edu Chapel Hill, NC, 27599-7248 | http://riordans.med.unc.edu
Hi, For you first question: Since you can have two users with the same name, one local and one belonging to a (or more) domain, and since their profiles are different(the SID's are differente for sure), they can't share the same profile. The only profile shared is the "All users" profile. So windows just creates user.domain, and in some conditions it even adds a nnnn (0000 to 9999) field. For your second question: Don't think that you can, but here you can use a really big security bug ( feature?) in windows. If the PDC is down, just remove the network cable, and try to login... Windows will log you in with your locally cached information. Of course for this to work, you must have logged in to that client at least once. Hope this helps, Best Regards, Bruno Guerreiro -----Original Message----- From: Tamas Hegedus [mailto:hegedus@med.unc.edu] Sent: quarta-feira, 22 de Junho de 2005 14:32 To: samba@lists.samba.org Subject: [Samba] LocalWinProfiles Hi, I do not know if the following is a samba or windows question. It seems to be samba question, and I do not know windows and any windows mailing list... (But I am pretty sure if I ask the local IT persons, they will say it is samba...) I have a windowsXP computer in my win domain (planning to have more XP and win2000) and a linux server with samba. Samba is PDC, win profiles are not stored on the server. I was running samba 3.0.10 for two days. If I remember well during this period the local files were stored in C:/Documents and Settings/username If I created a local user with the same name and logged in to to this user the same folder was used. (Great for laptops or in situation when the PDC is down.) But I noticed some error messages in the log (now I know they were not important), so I upgraded to samba 3.0.14a. Now the Domain User (local) profiles are stored in the C:/Documents and Settings/username.DOMAINNAME folder. ??? What does make this difference? How can I have a domain and a local user with the same name and profile? Thanks for your help in advance, Tamas -- Tamas Hegedus | phone: (1) 919-966 0329 UNC - Biochem & Biophys | fax: (1) 919-966 5178 5007A Thurston-Bowles Bldg | mailto:hegedus@med.unc.edu Chapel Hill, NC, 27599-7248 | http://riordans.med.unc.edu -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
> list... (But I am pretty sure if I ask the local IT persons, they will > say it is samba...)<aside> I'd bet that is because people tend to blame that which they don't understand... </aside>> I was running samba 3.0.10 for two days. If I remember well during this > period the local files were stored in C:/Documents and Settings/username > If I created a local user with the same name and logged in to to this > user the same folder was used.That shouldn't have been the case, unless you intentionally pointed them directly at the same directory for some reason. The SIDs in the permissions of the two user folders should have been different, among other things.>(Great for laptops or in situation when the PDC is down.)What is your reasoning for believing this? You've already stated you're your PDC wasn't a profile server, so that point is moot. Unless you've turned off cached credentials (on by default), you don't *need* a DC for logging in every time. Laptops would be pretty useless if you couldn't log in when you're away from the domain...> But I noticed some error messages in the log (now I know they were not > important), so I upgraded to samba 3.0.14a. Now the Domain User (local) > profiles are stored in the C:/Documents and Settings/username.DOMAINNAME > folder. ???This makes sense to me. If there's ever a naming conflict so that the local machine can't get the bare username, it appends the security context to the username for the profile directory. If you log in the local user first you get user.domain, if you login the domain user first you get user.localpcname.> What does make this difference? How can I have a domain and a local user > with the same name and profile?Hack the registry perhaps.