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 and created a new test user with a primary group of "ugrad" >getent group ugrad ugrad:x:10003: pam_mkhomedir will not create a user directory <lots of creating and messing with home directories [ugrad,geog+ugrad,UGRAD,etc]> then i discover: >getent passwd ugtest ugtest:x:10000:10003:ugrad, test:/home/GEOG/10003/ugtest:/bin/bash Is the 10003 provided by the %G in template homedir supposed to be a numeric group number or is it supposed to be expanded to "ugrad" ? Thanks Barry
-----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-----