[Samba] wbinfo -r reports strange gids on AD member
L.P.H. van Belle
belle at bazuin.nl
Thu Jan 23 09:26:26 UTC 2020
Hai Christian,
> >> Thism, this is just strange, Christian, did you already
> run and if not, can you run it and post the ouputs. :
> >>
> >> net cache flush
> >> systemctl stop samba winbind
> >> systemctl start samba winbind
> >>
> >> id some_user
> >> getent passwd some_user
> >>
> >> [..]
> >
> > afs1:~# net cache flush
> > afs1:~# systemctl stop smbd winbind
> > afs1:~# net cache flush
> > afs1:~# systemctl start smbd winbind
> > afs1:~# id some_user
> > uid=10586(some_user) gid=10206(group1)
> groups=10206(group2),10513(domain
> >
> users),10020(group3),10018(group4),10517(group5),10220(group6)
> ,3001(BUILTIN\users)
> > afs1:~# getent passwd some_user
> > some_user:*:10586:10206:some_user name:/home/some_user:/bin/bash
>
> Follow-up:
>
> getent group some_group reports some_user as a member.... Thanks for
> looking into this,
>
> Christian
>
Hm, that makes it even stranger.
So.. Resume.
id some_user
uid=10586(some_user) gid=10206(group1) groups=10206(group2),10513(domain users),10020(group3),10018(group4),10517(group5),10220(group6),3001(BUILTIN\users)
getent passwd some_user
some_user:*:10586:10206:some_user name:/home/some_user:/bin/bash
getent group some_group
Reports some_user as a member.
So im wondering.
Can you check : getent group some_group on a domain member and on a AD-DC.
And if you compair it with another user that does work, its still only that one group?
Because its really strange that only one use is having this problem, all looks fine so far..
So far,
Greetz,
Louis
More information about the samba
mailing list