[Samba] How to join join Ubuntu desktop to AD

lingpanda101 lingpanda101 at gmail.com
Mon Dec 12 19:53:59 UTC 2016


On 12/11/2016 8:59 AM, Brian Candler via samba wrote:
> On 10/12/2016 16:25, Brian Candler wrote:
>> I think there's plenty of emphasis now, but I think there is a part 
>> which is misleading:
>>
>> > To enable Samba to retrieve user and group information from Active 
>> Directory (AD):
>> >
>> > * Users must have at least the uidNumber and groups the gidNumber 
>> attribute set. 
>
> I'm so sorry: I misread this as "Users must have at least the 
> uidNumber and gidNumber attribute set", which is of course *not* what 
> it says.  Hence the text is accurate (if you read it correctly); it's 
> my brain which is at fault.
>
> I do still think that the alternative text I gave is clearer - for my 
> brain anyway :-)
>
> Regards,
>
> Brian.
>
>

OK I have progress....

I needed to disable avahi. Totally forgot about this. Probably should be 
added to the wiki for folks who are stuck with .local domains at the moment.

vi /etc/nsswitch.conf

     #hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

     hosts:            files dns

I heard changing the avahi suffix might work as well but didn't confirm. 
I couldn't ping my DC's FQDN until I disabled it either. The strange 
thing is

     'getent passwd user'

returns nothing still. However if I use

     'getent passwd user at DOMAIN.LOCAL'

It works and returns expected results. Any reason why?



-- 
- James




More information about the samba mailing list