[Samba] Samba 3 member server connected to Samba 4 DC (using nslcd)

Chris Alavoine chrisa at acs-info.co.uk
Mon Jul 8 11:12:52 MDT 2013


Hi Marc,

I've had many many problems with Winbind and after a few weeks of dead-ends
I decided to switch to nslcd and everything started working very nicely, so
I haven't looked back.

I've just had a major success on getting getent passwd to work by adding
this to my nslcd.conf:

# users
map passwd uid sAMAccountName
map passwd gidNumber primaryGroupID
map passwd homeDirectory unixHomeDirectory

# groups
map group cn sAMAccountName
map    group  uniqueMember     member

This now lets me see all users and groups via getent. Just doing some more
testing now, but I think this may be fixed.

Typical, you spend all day on something, finally decided to post on samba
lists and then fix it 5 mins later :)

Thanks for the swift reply though!

Cheers,
c:)





On 8 July 2013 18:05, Marc Muehlfeld <samba at marc-muehlfeld.de> wrote:

> Hello Chris,
>
> Am 08.07.2013 18:54, schrieb Chris Alavoine:
>
>  My problem is that I have a Samba 3 member server (fileserver) that I'm
>> trying to get to get work in this scenario. I've installed nslcd and am
>> using the following conf file:
>>
>
> Why don't you use winbind on your member server?
> http://wiki.samba.org/index.**php/Samba4/Domain_Member<http://wiki.samba.org/index.php/Samba4/Domain_Member>
>
>
>
>
>
>
>  If I then do a "getent group" I get success and can see all the groups,
>> however "getent passwd" fails and I see this in the logs:
>>
>> Jul  8 17:51:46 test-fs-001 nslcd[4587]: [8e1f29] passwd entry
>> CN=ice,CN=Users,DC=test,DC=**internal,DC=com does not contain uid value
>>
>
> Does this account have an "uid" attribute in AD?
>
>
>
> Regards,
> Marc
>



-- 
ACS (Alavoine Computer Services Ltd)
Chris Alavoine
mob +44 (0)7724 710 730
www.alavoinecs.co.uk
http://twitter.com/#!/alavoinecs
http://www.linkedin.com/pub/chris-alavoine/39/606/192


More information about the samba mailing list