[Samba] wbinfo -u / getent passwd not working

basti mailinglist at unix-solution.de
Fri Jul 10 11:16:28 UTC 2020


Remove all winbindd_* in /var/lib/samba restart winbind and it works.
I do not understand.

On 10.07.20 13:10, basti via samba wrote:
> 
> 
> On 10.07.20 13:01, Rowland penny via samba wrote:
>> On 10/07/2020 11:45, basti via samba wrote:
>>>
>>> On 10.07.20 12:39, Rowland penny via samba wrote:
>>>
>>>>>> What OS and version is this ?
>>>>> debian 10
>>>>>> What Samba version ?
>>>>> 2:4.9.5+dfsg-5+deb10u1
>>>>>
>>>>> only winbind installed.
>>>> So you only require authentication
>>>>
>>>> Have you tried restarting winbind ?
>>> yes, restart winbind, network and the hole system does not help
>>> I have start winbind in debug level 3 and get the following:
>>>
>>> ...
>>> Successfully contacted LDAP server 192.168.30.2
>>> get_dc_list: preferred server list: "dc1.samdom.example.com, *"
>>>
>> Is '192.168.30.1' the IP of this laptop ?
> 192.168.30.1 is the gateway
> 192.168.30.2 and 192.168.30.6 is samba ad dc
>>
>> Also, is the users name actually 'alf' ?
> user ios obsolate
>>
>> If so, this user will always be ignored because '1006' < '2000'
>>
>> What are the passwd & group lines in /etc/nsswitch.conf ?
> 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:         files winbind
> group:          files winbind
> shadow:         files
> gshadow:        files
> 
> hosts:          files dns
> networks:       files
> 
> protocols:      db files
> services:       db files
> ethers:         db files
> rpc:            db files
> 
> netgroup:       nis
> 
>>
>> finally, probably hasn't happened, but has anyone deleted the user, or
>> is the user locked out ?
> 
> no, it work out of the on other ad members
> 
>> Rowland
>>
>>
>>
> 



More information about the samba mailing list