Originally Posted by butch601
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
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:
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):
sambaAcctFlags: [U ]
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