[Samba] winbind -u works, getent passwd dont't work

mathias dufresne infractory at gmail.com
Mon Jan 30 11:12:53 UTC 2017


Did you configure PAM ?

2017-01-30 11:59 GMT+01:00 basti via samba <samba at lists.samba.org>:

> Hello,
> I have upgrade my Samba PDC to Samba AD and join a linux box to the AD.
>
> Using short domain name -- FOO
> Joined 'RTR-01' to realm 'foo'
>
> Wbinfo get users
> root at rtr-01:~# wbinfo -u | tail -1
> FOO\user
>
> getent passwd do not
> getent passwd | tail -1
> fetchmail:x:108:65534::/var/lib/fetchmail:/bin/false
>
>
> root at rtr-01:~# cat /etc/nsswitch.conf
> # /etc/nsswitch.conf
> #
> # Example configuration of GNU Name Service Switch functionality.
> # If you have the `glibc-doc-reference' and `info' packages installed, try:
> # `info libc "Name Service Switch"' for information about this file.
>
> passwd:         compat winbind
> group:          compat winbind
> shadow:         compat winbind
> gshadow:        files
>
> hosts:          files dns
> networks:       files
>
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
>
> netgroup:       nis
>
> root at rtr-01:~# dpkg -l | grep win
> ii  libnewt0.52:amd64              0.52.17-1+b1                amd64
>    Not Erik's Windowing Toolkit - text mode windowing with slang
> ii  libnss-winbind:amd64           2:4.2.14+dfsg-0+deb8u2      amd64
>    Samba nameservice integration plugins
> ii  libpam-winbind:amd64           2:4.2.14+dfsg-0+deb8u2      amd64
>    Windows domain authentication integration plugin
> ii  libwbclient0:amd64             2:4.2.14+dfsg-0+deb8u2      amd64
>    Samba winbind client library
> ii  libwind0-heimdal:amd64         1.6~rc2+dfsg-9              amd64
>    Heimdal Kerberos - stringprep implementation
> ii  winbind                        2:4.2.14+dfsg-0+deb8u2      amd64
>    service to resolve user and group information from Windows NT servers
>
> whats wrong there?
> Thanks for any help.
>
> Best regards basti
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list