[Samba] homedir %G with windbind

Le Borgne leborgne at mel.iut.univ-aix.fr
Wed Jun 5 02:18:02 GMT 2002


I am using samba 2.2.4-1 on a redhat 7.3.
security = domain
password server is a w2k server
winbind is 'almost ok' with :
winbind use default domain = true
No problem with login toto
No problem with "getent passwd"

"groups toto" gives group1 group2 ---> OK (it corresponds to the groups on the win2k server)

I want toto's homedir to be /users/group1/toto

I tried template homedir = /users/%G/%U

getent passwd gives : toto:x:10024:10000:toto:/users/%G/toto:/bin/tcsh

Any idea ? Thank you

- Mme Dominique Le Borgne
- Dept Informatique - IUT 
- Avenue Gaston Berger - 13625 Aix-en-Provence cedex 1
- tel : (33) 04 42 93 90 42   fax : (33) 04 42 93 90 74




More information about the samba mailing list