Samba4 idmap using uidNumber/gidNumber
steve at steve-ss.com
Tue Jun 19 15:25:59 MDT 2012
On 19/06/12 20:53, Greg Dickie wrote:
> Hi Steve,
> You are using LDAP to pull these attributes correct?
How did you get
> authenticated binds working in nss?
We use sasl binds under nss-pam-ldapd, and k5start to get and maintain
the ticket cache for us. Here is our /etc/nslcd.conf:
map passwd uid samAccountName
map passwd homeDirectory unixHomeDirectory
map group uniqueMember member
The latest version includes looking in the dn for the member attributes
so you can lose the group mapping, making it even faster.
> Also note that windows server ADs will require the msSFU30NIS objects
> in the directory before they will "recognize" the other attributes (ie:
> let you access them). You need to install the Identity Management for
> UNIX stuff to get that working. Silly windows ;-)
No. Not needed, for S4 at least. The schema as it is allows for all the
rfc2307 attributes and objectClasses that are needed for Linux
integration. A script to write new users/groups to the directory and
away you go.
I was wrong when I said we don't touch idmap. We do, but only for
uidNumber and gidNumber. I believe that this is due to change soon or at
least be made an option, after which we will be able to read these from
the directory too. In any case, it's easy enough to do just by using
Looking better day by day for the Linux client side:-)
More information about the samba-technical