[Samba] Re: include statement in smb.conf
Gerald (Jerry) Carter
jerry at samba.org
Tue Dec 13 16:45:44 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thu, 8 Dec 2005, David Lucas wrote:
> Hmmm, I've tried that and it worked!! But, it is not what I'm looking to do.
>
> Say I have a User in the Windows 2000 Active Directory with their primary
> group set to Staff. What I would like is to have samba include
> smb.conf.staff as their configuration and that would contain things such as
> different shares and special veto options and their Home directory would be
> located in /home/staff/%username%.
>
> Now, if I have a user with their primary group set to Student then I want it
> to load smb.conf.student with a different set a shares and veto files and
> such. And their home directory would be located in
> /home/students/%Year_Of_Gradutaion%/%username%.
>
> Is there away that I will be able to do this??
>
> The only way that I got it to work was to not use the %G. And we just have
> WAY too many users to specify a config file for each user.
Please file a bug. We will need to fix this. I noticed something similar
in the preexec variable expansion last week.
cheers, jerry
=====================================================================
Alleviating the pain of Windows(tm) ------- http://www.samba.org
Centeris ----------- http://www.centeris.com
"There's an anonymous coward in all of us." --anonymous
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/
iD8DBQFDnvq7IR7qMdg1EfYRApBtAKCPf4n0Us9OKwaQCcI3RZ0ueervjACg5Jre
+jNJJmneJvT6FOtLCEpP9VU=
=P9pE
-----END PGP SIGNATURE-----
More information about the samba
mailing list