[Samba] Samba 3 member server connected to Samba 4 DC (using nslcd)
chrisa at acs-info.co.uk
Mon Jul 8 11:12:52 MDT 2013
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:
map passwd uid sAMAccountName
map passwd gidNumber primaryGroupID
map passwd homeDirectory unixHomeDirectory
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!
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?
> 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: [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?
ACS (Alavoine Computer Services Ltd)
mob +44 (0)7724 710 730
More information about the samba