[Samba] objectClass:posixAccount missing

steve steve at steve-ss.com
Wed Aug 28 05:43:49 MDT 2013


On Wed, 2013-08-28 at 13:17 +0200, Luca Olivetti wrote:
> Al 28/08/13 09:58, En/na steve ha escrit:
> >> filter passwd (objectclass=user)
> >>
> >> to /etc/nslcd.conf
> >>
> >> and that gave me the missing users.
> >> I suppose I should add also a
> >>
> >> filter group (objectclass=group)
> 
> [...]
> 
> > With recent versions of nslcd, neither of the filters are needed and
> > serve only to slow down lookups. All that is needed is:
> 
> 0.8.12 is not recent enough and those filters are needed.

I'll try 0.8.12 later but I doubt it will have changed:
- - -
hh16:/home/steve # samba --version
Version 4.2.0pre1-GIT-617c647

hh16:/home/steve # nslcd --version
nss-pam-ldapd 0.8.10

uid nslcd-user
gid nslcd-user
uri ldap://hh3.site
base dc=hh3,dc=site
map    passwd uid              samAccountName
map    passwd homeDirectory    unixHomeDirectory
sasl_mech GSSAPI
sasl_realm HH3.SITE
krb5_ccname /tmp/nslcd.tkt

hh16:/home/steve # k5start -v -f /etc/krb5.keytab -U -o nslcd-user -K
360 -k /tmp/nslcd.tkt &

hh16:/home/steve # getent passwd
...
steve2:*:3000021:20513:steve2:/home/users/steve2:/bin/bash
steve3:*:3000022:20513:steve3:/home/users/steve3:/bin/bash
...
- - -
Cheers,
Steve




More information about the samba mailing list