Quote:
Originally Posted by butch601
Hello Everybody,
For some reason we can not replicate the existing ldap to a second server. The error that we are seeing is the 'sambasid attribute type undefined'.
It was actually working, it stopped and we don't know why.
If somebody has any suggestions we'd appreciate it
thanks,
Butch
|
So sambasid is an attirbute in your samba schema (should be in /etc/openldap/schema/ by default [or another dir if specified in your slapd.conf]... check your samba.schema on each server and make sure they match. Something like:
Code:
dn: sambaDomainName=myserver,ou=samba,dc=example,dc=com
objectClass: sambaDomain
sambaDomainName: myserver
sambaSID: S-1-0-0
Then when you bring up regular user entries from your db you should have something that matches that sambaSID format (except for the last digits):
Code:
objectClass: sambaSamAccount
sambaAcctFlags: [U ]
sambaLMPassword: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
sambaNTPassword: yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
sambaSID: S-1-0-0-28976
For more examples you can check out the examples/LDAP/samba.schema in the Samba source distribution, or at /usr/share/doc/samba-ver/LDAP/samba.schema