[Samba] samba machine accounts problem

Ray Klassen rayklassen at gmail.com
Wed Apr 15 13:13:21 GMT 2009


/etc/ldap.conf

are you including a line like
nss_base_passwd         ou=hosts,dc=server,dc=intern?one

/etc/nsswitch.conf

does it include the following?

passwd:     files ldap
shadow:     files ldap
group:      files ldap

This is how machine accounts in ldap become 'unix accounts' or that's
the way I do it...


On Tue, Apr 14, 2009 at 11:31 PM, Sven Buchstaller <ask at quickline.de> wrote:
> Hi list
>
> samba3-3.0.31-36
> openldap2-2.3.43-1.1
>
> my problem is i have stop my working openldap and restart it again, in
> the Log i see now = pdb_get_group_sid: Failed to find Unix account
> for ... a lot of machine accounts.
> Whats wrong? i must now all accounts rejoin to domain?
>
> example from a host
>
> # bart$, hosts, server.intern
> dn: uid=bart$,ou=hosts,dc=server,dc=intern
> objectClass: sambaSamAccount
> objectClass: posixAccount                <---unix account ?
> objectClass: account
> sambaDomainName: srv01
> displayName: bart
> sambaPrimaryGroupSID: S-1-5-21-3991578539-3149662252-1894531253-515
> sambaSID: S-1-5-21-3991578539-3149662252-1894531253-101524
> gidNumber: 515
> loginShell: /bin/false
> homeDirectory: /dev/null
> uid: bart$
> cn: bart
> uidNumber: 50262
> sambaPwdCanChange: 1196710001
> sambaPwdMustChange: 1204486001
> sambaAcctFlags: [WX         ]
> sambaPwdLastSet: 1238649797
>
> # search result
> search: 2
> result: 0 Success
>
>
>
>
> mfg sven
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list