[Samba] getent passwd not showing domain users at boot

Ole Traupe ole.traupe at tu-berlin.de
Tue Oct 20 14:36:56 UTC 2015


You could als do a "service winbind status".


Am 20.10.2015 um 12:49 schrieb mathias dufresne:
> Mark,
>
> As you try to extract all users from AD and as it is not always advisable I
> would try into your rc script to retrieve only one user at boot time, just
> to check if winbind is not working at all at that moment or if it refuse to
> extract all domain users at that moment...
>
> Cheers,
>
> mathias
>
> 2015-10-20 10:18 GMT+02:00 Ole Traupe <ole.traupe at tu-berlin.de>:
>
>> Mark, did you make sure winbind service is startet, yet?
>>
>> Ole
>>
>>
>> Am 19.10.2015 um 20:41 schrieb Mark Foley:
>>
>>> I've joined a member server to my Samba4 AD/DC Domain. It all works
>>> great,but I
>>> have one minor problem at the moment. At boot-time, I want a list of
>>> domain
>>> users. In my /etc/rc.local script I have:
>>>
>>> /usr/bin/getent passwd > /etc/auto.domUsers 2>&1
>>>
>>> This runs, but none of the domain users are listed, only local users.
>>> When I log
>>> in and run `getent passwd` from the command line. I see all the configured
>>> domain users.
>>>
>>> What's the problem? Does the member server not have access to the domain
>>> information for some period of time after booting? rc.local is supposedly
>>> the
>>> last start-up script to run.
>>>
>>> AD/DC runs Samba 4.1.17.
>>>
>>> member server is Ubuntu 14.04.3
>>>
>>> THX - Mark
>>>
>>>
>> --
>>
>> Dr. Ole Traupe
>>
>> Lab Manager
>>
>> Technische Universität Berlin
>> Biopsychologie und Neuroergonomie
>> Institut für Psychologie und Arbeitswissenschaft
>>
>> Biological Psychology and Neuroergonomics
>> Department of Psychology and Ergonomics
>>
>> Postanschrift/Mail to:
>>
>> TU Berlin
>> Sekr. MAR 3-2
>> Marchstr. 23
>> 10587 Berlin
>> GERMANY
>>
>> Zimmer/Office: MAR 3.052
>> Telefon/Phone: (+49) 030 314 22721
>> Fax: (+49) 030 314 25274
>>
>> E-Mail: ole.traupe at tu-berlin.de
>> www.bpn.tu-berlin.de
>>
>>
>>
>>
>>
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba
>>

-- 

Dr. Ole Traupe

Lab Manager

Technische Universität Berlin
Biopsychologie und Neuroergonomie
Institut für Psychologie und Arbeitswissenschaft

Biological Psychology and Neuroergonomics
Department of Psychology and Ergonomics

Postanschrift/Mail to:

TU Berlin
Sekr. MAR 3-2
Marchstr. 23
10587 Berlin
GERMANY

Zimmer/Office: MAR 3.052
Telefon/Phone: (+49) 030 314 22721
Fax: (+49) 030 314 25274

E-Mail: ole.traupe at tu-berlin.de
www.bpn.tu-berlin.de






More information about the samba mailing list