HI I think there is a way in samba but it depends on how many users you have and is it worth the hassle. It is probably better to get the policy editor for windows and use that. The way from a purely samba way is to create different smb.conf files and adjust the logon home and logon path for each user that needs roaming profiles. eg smb.conf include = /path/to/smb.conf.%u smb.conf.ben logon path = (no roaming profile) smb.conf.alan logon path = \\%L\%U\ntprofile Adjust the above settings to suit your needs. There may be a better way. Somebody else may suggest an alternative. Not sure what overheads this will have on the system. David Mulcahy Message: 26 From: "Oscar Chao" <ochao@sunpowercorp.com> To: <samba@lists.samba.org> Date: Mon, 18 Mar 2002 10:09:16 -0800 Subject: [SSubject: [Samba] roaming profiles depending on useramba] roaming profiles depending on user A simple question about roaming profiles using samba 2.2.2 as a domain controller in a network with mixed clients (Win9x/ME/NT4/2000/XP): (1) Is it possible to enable the roaming profiles for some users while disable it for others? How is it done? (2) Is there a way to control that behaviour from samba? Thanks, Osc
You should also be able to specify it by OS, but :
98 is recognized as 95 as are ME and XP Home I believe
NT and 2K are fully recognizable, XP Pro probably registers as one of them
This may help, you use %a where David suggested %u.
Martyn
At 02:13 PM 3/19/02 +0000, David Mulcahy wrote:>HI
>I think there is a way in samba but it depends on how many users you have
and
>is it worth the hassle. It is probably better to get the policy editor for
>windows and use that.
>
>The way from a purely samba way is to create different smb.conf files and
>adjust the logon home and logon path for each user that needs roaming
>profiles.
>
>eg smb.conf
> include = /path/to/smb.conf.%u
>
>smb.conf.ben
> logon path = (no roaming profile)
>
>smb.conf.alan
> logon path = \\%L\%U\ntprofile
>
>Adjust the above settings to suit your needs.
>
>There may be a better way. Somebody else may suggest an alternative. Not
>sure what overheads this will have on the system.
>
>David Mulcahy
>
>Message: 26
>From: "Oscar Chao" <ochao@sunpowercorp.com>
>To: <samba@lists.samba.org>
>Date: Mon, 18 Mar 2002 10:09:16 -0800
>Subject: [SSubject: [Samba] roaming profiles depending on useramba] roaming
>profiles depending on user
>
>A simple question about roaming profiles using samba 2.2.2 as a domain
>controller in a network with mixed clients (Win9x/ME/NT4/2000/XP):
>
>(1) Is it possible to enable the roaming profiles for some users while
>disable it for others? How is it done?
>(2) Is there a way to control that behaviour from samba?
>
>Thanks,
>
>Osc
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
--------------
Martyn Ranyard
I am not a member of the samba team,
and anything that I say may not be as
accurate as a response from one of the
team. I reply to save those more
qualified time, which can more usefully
be spent developing SAMBA further.
Hello
Make that an include = /path/to/smb.conf.%U
or you could use groups and use %G instead
%u doesnt work with the include directive.
David
HI
I think there is a way in samba but it depends on how many users you have and
is it worth the hassle. It is probably better to get the policy editor for
windows and use that.
The way from a purely samba way is to create different smb.conf files and
adjust the logon home and logon path for each user that needs roaming
profiles.
eg smb.conf
include = /path/to/smb.conf.%u
smb.conf.ben
logon path = (no roaming profile)
smb.conf.alan
logon path = \\%L\%U\ntprofile
Adjust the above settings to suit your needs.
There may be a better way. Somebody else may suggest an alternative. Not
sure what overheads this will have on the system.
David Mulcahy
What happens if I use a folder for logon path that doesn't exist? For example logon path = \\%L\profiles\%U and then create an "alan" folder (for roaming) and no folder for "ben" (no roaming). Would that prevent user "ben" from using roaming profiles since the folder given doesn't exist? Oscar. ----- Original Message ----- From: "David Mulcahy" <david.mulcahy@eseol.co.uk>> HI > I think there is a way in samba but it depends on how many users you haveand> is it worth the hassle. It is probably better to get the policy editorfor> windows and use that. > > The way from a purely samba way is to create different smb.conf files and > adjust the logon home and logon path for each user that needs roaming > profiles. > > eg smb.conf > include = /path/to/smb.conf.%u > > smb.conf.ben > logon path = (no roaming profile) > > smb.conf.alan > logon path = \\%L\%U\ntprofile > > Adjust the above settings to suit your needs. > > There may be a better way. Somebody else may suggest an alternative. Not > sure what overheads this will have on the system. > > David Mulcahy