José M. Fandiño schrieb:
Tomasz Chmielewski wrote:
I would like to have roaming profiles for one group of users (student1,
student2), and local profiles for another group of users (Joe, Mary).
Is it possible with Samba?
From what I've tested, one can use either roaming profiles with a
setting similar to the one below:
logon path = \\%L\profiles\%G\%U
Or local profiles, using the logon path empty:
logon path =
I have no clue how to specify the logon path for certain users only.
Hello Tomasz
_I_ don't _test _this_ but you might try to use 'include=' directives
to redefine the logon path for certain users.
something like:
.
.
logon path = \\%L\profiles\%G\%U
.
.
include = /etc/samba/profile.%U
being /etc/samba/profile.%U a redefinition of logon paths, i.e.
#cat /etc/samba/profile.user1
logon path =
#cat /etc/samba/profile.user2
logon path = \profiles\%U
I doubt it can work. With "include = /etc/samba/profile.%U" in smb.conf
testparm says:
Can't find include file /etc/samba/profile.
--
Tomek
http:/wpkg.org
Software deployment and upgrades with Samba
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba