idmap backend = ldap:ldap://bdc-srv.domain.com idmap gid = 10000-20000 idmap uid = 10000-20000 ldap idmap suffix = ou=idmap,dc=domain,dc=com
and use something like this for the primary domain controller??:
ldap suffix = dc=domain,dc=com
passdb backend = ldapsam:ldap//pdc-srv.domain.com ldapsam:ldap//bdc-srv.domain.com
Note: ("passdb backend" reference to pdc-srv & bdc-srv is all on the same line).
Also, in the backup domain controller's smb.conf I assume I set "local master", "domain master" and "preferred master" all to "no", etc, etc. Basically I would like to get some feedback from someone who has been successful in getting a Samba 3.x PDC and BDC working together with LDAP. I am trying to setup my server configuration to support "hot-failover" and would like to allow my clients to login to access their documents on the Samba BDC if the PDC fails for whatever reason (the PDC and BDC are going to be setup for real-time mirroring).
Please submit the differences between a working PDC smb.conf and BDC smb.conf. The Samba 3.x "how-to" documentation is lacking as far as explaining this and needs better examples for what is needed to setup a PDC/BDC Samba/LDAP configuration.
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba