[Pkg-samba-maint] Bug#491686: closed by Steve Langasek <vorlon at debian.org> (Re: base: the command "groups" doesn't shows local groups using pam_winbind.so authentication module)

Paolo Sala piviul at riminilug.it
Thu Jul 24 06:51:25 UTC 2008


Steve Langasek scrisse in data 23/07/2008 20:08:
> You mention a remote user in a local group; so this means you have the user
> listed in /etc/groups?  And the command 'groups $remoteuser' shows only the
> remote group memberships, not the local ones?
>   
Yes, I mean a remote user in a local group. I have found another strange 
behaviour: "groups" doesn't shows local groups but "groups remoteuser" 
shows them:
> DOMINIOCSA\psala at psala-lx2:~$ whoami
> DOMINIOCSA\psala
> DOMINIOCSA\psala at psala-lx2:~$ groups
> DOMINIOCSA\paolo sala DOMINIOCSA\domain users DOMINIOCSA\gruppo per 
> gestione faxweb DOMINIOCSA\utenti DOMINIOCSA\gruppo per gestione 
> nethaudit DOMINIOCSA\rete_amm
> DOMINIOCSA\psala at psala-lx2:~$ groups dominiocsa\\psala
> DOMINIOCSA\paolo sala cdrom floppy audio video plugdev users camera 
> powerdev vboxusers DOMINIOCSA\domain users DOMINIOCSA\gruppo per 
> gestione faxweb DOMINIOCSA\utenti DOMINIOCSA\gruppo per gestione 
> nethaudit DOMINIOCSA\rete_amm
Is it normal? Furthermore, sometimes happens, when I open a console, "I 
have no name!@psala-lx2:~$" instead of "DOMINIOCSA\psala at psala-lx2:~$": 
is it normal? can be tied with the problem above?

> Can you send the contents of your /etc/nsswitch.conf file?
>   
Of course:
> DOMINIOCSA\psala at psala-lx2:~$ cat /etc/nsswitch.conf | grep -v ^[\;,#]
>
> passwd:         files winbind
> group:          files winbind
> shadow:         files
>
> hosts:          files wins mdns4_minimal [NOTFOUND=return] dns mdns4
> networks:       files
>
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
>
> netgroup:       nis

Have a great day

Piviul





More information about the Pkg-samba-maint mailing list