[Samba] Failing to get uids from AD

steve steve at steve-ss.com
Wed Jul 18 02:15:14 MDT 2012


On 18/07/12 03:00, Rob Townley wrote:
> Precisely what ldap attribute are you setting user id numbers in AD?  You
> may want to check.  There are numerous attribute names that include uid and
> gid, but you need the correct one.
>
Hi
In AD we have:
objectClass: posixAccount
and
uidNumber: xyz

with /etc/nsswitch.conf conatining:
passwd: compat ldap

nss-ldapd (for example) pulls the uidNumber fine using:
getent passwd

Is that what we are talking about?
Cheers,
Steve


More information about the samba mailing list