[Samba] template homdir vairable expansion

Gerald (Jerry) Carter jerry at samba.org
Fri Aug 27 19:40:56 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barry Hunter Priest wrote:

| platform Mandrake 10.0 (with cooker)
| samba: 3.0.6-2mdk (from mandrake cooker)
|
| I am try to autocreate new user directories for users
| in my windows 2k3  ADS. I'm joined to AD, it's all cool.
| wbinfo -u works,wbinfo -g works, getent
| passwd username works.
| pam_mkhomedir works.
|
| i then changed template homedir to be
| template homedir = /home/%D/%G/%U
...

| then i discover:
|  >getent passwd ugtest
| ugtest:x:10000:10003:ugrad, test:/home/GEOG/10003/ugtest:/bin/bash

See comments in

	http://qa.mandrakesoft.com/show_bug.cgi?id=11003

Samba is not expanding the %G in winbindd to prevent recusion.
I don't think this has ever worked.  Can anyone refute that ?





cheers, jerry
- ---------------------------------------------------------------------
Alleviating the pain of Windows(tm)      ------- http://www.samba.org
GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
"If we're adding to the noise, turn off this song"--Switchfoot (2003)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBL45HIR7qMdg1EfYRAl96AJ9WwNv9fUh8AYds1d8Zi1hKQDBelQCcDGGJ
nVvXq75T2kPdDkuKM0X8WDM=
=WFja
-----END PGP SIGNATURE-----


More information about the samba mailing list