On 16:36:16 wrote gandalf istari:
This comes from the smbldap-tools :-( A primary group sid for each users
is set and this is mostly wrong.
# id hjede
uid=1069(hjede) gid=1001(teachers) Gruppen=1001(teachers)
my primary unix goup is teachers
# pdbedit -L -v hjede |egrep 'Unix username|NT username|Primary Group
SID'
Unix username: hjede
NT username: hjede
Primary Group SID: <domainsid>-3003
In windows/samba world my primary group is <domainsid>-3003. And this is
mapt on my gidnumber 1001 in openldap.
# ldapsearch -xLLL cn=teachers gidnumber sambasid
dn: cn=teachers,ou=groups,dc=europaschule,dc=do,dc=nw,dc=schule,dc=de
gidNumber: 1001
sambaSID: <domainsid>-3003
gidnumber in openldap is gid in unix
and you have an other "failure" in your group mapping:
513(Domain Users) in your test account is a secondary group, but in
windows/samba world it'a primary group. Primary groups should have no
members at all.
--
Regards
Harry Jede