[Samba] objectClass:posixAccount missing

steve steve at steve-ss.com
Fri Aug 30 13:51:21 MDT 2013


On Fri, 2013-08-30 at 19:44 +0100, Rowland Penny wrote:
> On 30/08/13 19:14, steve wrote:
> > On Fri, 2013-08-30 at 18:58 +0100, Rowland Penny wrote:
> >> On 30/08/13 18:21, Luca Olivetti wrote:
> >>> Al 30/08/13 18:54, En/na steve ha escrit:
> >>>
> >>>> Bueno, a ver:
> >>>> We can say for certain that /etc/krb5.keytab contains the key for
> >>>> nslcd-connect
> >>>> make sure you have:
> >>>>
> >>>> ldap_sasl_mech = gssapi
> >>>> ldap_sasl_authid = nslcd-connect at WETRON.ES
> >>>> ldap_krb5_keytab = /etc/krb5.keytab
> >>>>
> >>>> (note, I think you had a different keytab in an older post. Lose it.)
> >>> Done
> >>>
> >>>> Next, can you resolve the kerberos SRV record:
> >>>> host -t SRV _kerberos._udp.dc1.wetron.es.
> >>> It doesn't resolve, but _kerberos._udp.wetron.es. does
> >>>
> >>> _kerberos._udp.wetron.es has SRV record 0 100 88 hp.wetron.es.
> >>>
> >>>
> >>>> What do you have for /etc/krb5.conf
> >>> [libdefaults]
> >>>           default_realm = WETRON.ES
> >>>           dns_lookup_realm = true
> >>>           dns_lookup_kdc = true
> >>>
> >>> [realms]
> >>>    WETRON.ES = {
> >>>     kdc = 192.168.4.101
> >>>     admin_server = 192.168.4.101
> >>>    }
> >>>
> >>>
> >>>> What does:
> >>>> sssd --version
> >>>> give?
> >>> 1.9.4
> >>>
> >>> In case it matters, sasl is 2.1.25, and I have the relevant plugins
> >>> installed:
> >>>
> >>> # rpm -qa *sasl*
> >>> lib64sasl2-plug-sasldb-2.1.25-12.mga3
> >>> lib64sasl2-2.1.25-12.mga3
> >>> cyrus-sasl-2.1.25-12.mga3
> >>> lib64sasl2-plug-login-2.1.25-12.mga3
> >>> lib64sasl2-plug-plain-2.1.25-12.mga3
> >>> lib64sasl2-plug-ldapdb-2.1.25-12.mga3
> >>> lib64sasl2-plug-gssapi-2.1.25-12.mga3
> >>> lib64sasl2-devel-2.1.25-12.mga3
> >>>
> >>> Bye
> >> Hi, How about this for an idea, get the OP to create a VM on Mageia,
> >> install Ubuntu 12.04 or Centos 6.4 in it and then compile samba 4 on the
> >> VM. Then setup winbind or nslcd or sssd on it, once this is working the
> >> OP can work out to get the setup to run on Mageia himself.
> >>
> >> RFowlanf
> > Yep. +1 for the Ubuntu vm. We go for a git master because you can add
> > rfc2307 via samba-tool. Aim: To produce a Samba4 stand alone DC with a
> > single user. getent passwd user returns his rfc2307 from the directory.
> > Any takers?
> > Steve
> >
> >
> Hi Steve, the idea was for the OP to create the VM and we could talk him 
> through setting up samba 4 on it.
> I think that he may just be the only person in the world that is trying 
> to use Mageia for samba 4, so we need to show him how to setup samba 4 
> on a main stream distro, this should then help him to work out where he 
> is going wrong with his setup.
> 
> Rowland

Yep. Let me know if I can help.
Cheers,
Steve




More information about the samba mailing list