Stefan Winter
2007-May-09 12:57 UTC
[Samba] Unexpected feature (success!) re Roaming Profiles
Hello list, I'm currently replacing a NT4 stand-alone with a Samba-3.0.24 implementation. I faced some tough hours trying to mimic a rather peculiar setting in the NT4 domain: some users had Roaming Profiles, while others hadn't. But this Local vs. Roam was NOT specified on the client device, but pushed from the NT4 server. So the box in User Profiles where one can usually select whether the roaming or a local profile is to be used was grayed out for the local-only users. This is a desirable situation in our company: some secreteriat girls jump from computer to computer and NEED a romaing profile, while engineers sit at PC and Notebook simultaneously and fear inconsistent profiles when both devices simultaneously access their same roaming profile. The problem I faced was that I saw no easy way to mimic that in Samba. The official HOWTO mentioned that Roaming Profiles are a global setting, and that disabling it can only be done by editing registry keys on the clients - no auto-disabling from server-side. By coincidence, I found that when one uses pdbedit to pdbedit -u whatever --profile="" then at least Windows XP SP2 treats this empty string at logon time as "user is not eligible for roaming profile", automatically uses a local profile and grays out the ability to switch to roaming - all this without error messages, meaning that this is somehow an intended behaviour. The HOWTO doesn't mention this explicitly, and also the man page of pdbedit only mentions you can change the profile path - not the corner case described above. I found it quite cool that this actually works, and wanted to say thank you to all the developers here - and for the community, would like to request that the documentation is updated in that respect, so that others can profit of this nice feature of selectively disabling Roaming Profiles for some users, while by default allowing them. Happy greetings, Stefan Winter P.S.: NT4 is about to die here :-) -- Stefan WINTER Stiftung RESTENA - R?seau T?l?informatique de l'Education Nationale et de la Recherche Ingenieur Forschung & Entwicklung 6, rue Richard Coudenhove-Kalergi L-1359 Luxembourg E-Mail: stefan.winter@restena.lu ? ? Tel.: ? ?+352 424409-1 http://www.restena.lu ? ? ? ? ? ? ? Fax: ? ? ?+352 422473 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070509/f5a3bc2d/attachment.bin
Volker Lendecke
2007-May-10 07:33 UTC
[Samba] Unexpected feature (success!) re Roaming Profiles
On Wed, May 09, 2007 at 01:58:12PM +0200, Stefan Winter wrote:> I found it quite cool that this actually works, and wanted to say thank you to > all the developers here - and for the community, would like to request that > the documentation is updated in that respect, so that others can profit of > this nice feature of selectively disabling Roaming Profiles for some users, > while by default allowing them.Feel free to submit a patch to the docs :-)). You can check them out with svn co svn://svnanon.samba.org/samba-docs/trunk/ docs Volker -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20070510/49d5b8ee/attachment.bin