[Samba] winbind: getent with strange output

Steffen Kolbe kolbe at vwi.tu-dresden.de
Wed Jul 20 15:28:02 GMT 2005


Environment: Win2003SP1 domain with Debian+Samba/Winbind 3.0.14a machine
 
Win domain users: tester1 and tester2
all are members of groups: testgruppe, testgruppe1, testgruppe2
primary posix group of win-users: testgruppe

smb.conf:
[global]
        workgroup =
        realm = VW.VKW.TU-DRESDEN.DE
        security = ADS
        map to guest = Bad User
        passdb backend = tdbsam
        domain master = No
        ldap ssl = no
        idmap uid = 10000-20000
        idmap gid = 10000-20000
        template homedir = /home/%g/%u
        template shell = /bin/csh
        winbind separator = +
        winbind cache time = 1
        winbind use default domain = Yes
        winbind nested groups = Yes
       
getent group shows:

    testgruppe:x:10003:
    testgruppe1:x:10010:tester1,tester
    testgruppe2:x:10021:tester1,tester

--> Why are tester1 and tester2 not shown in "testgruppe" ? Under Win 
they are in these group (it's also their primary posix group).

getent passwd shows:

tester:x:10005:10003:Name Surname:/home/10003/tester:/bin/csh
tester1:x:10006:10003:Name1 Surname1:/home/10003/tester1:/bin/csh

-> Why are /home/10003/* listed as homedir and not "/home/testgruppe/*" 
like printed under getent groups ? The primary numerical GID as 
directory is not really usable.

I've changed template homedir = /home/%g/%u to template homedir = 
/home/%G/%U, the output is the same.



Thanks for your help.--


Mit freundlichen Gruessen

Steffen Kolbe
Andreas-Schubert-Str. 23
D-01062 Dresden
------------------------------------------------------
Phone: +49/0 351 463-36750
Fax: +49/0 351 463-36809
e-mail: kolbe1 at vwi.tu-dresden.de
------------------------------------------------------
Institut fuer Wirtschaft und Verkehr
Fakultaet Verkehrswissenschaften "Friedrich List"
Technische Universitaet Dresden
------------------------------------------------------ 



More information about the samba mailing list