ROUGH NOTES PASTED FROM ORIGINAL SLACKWARE WALKTHROUGH
- edited the /etc/smbldap-tools/smbldap_bind.conf flie to contain the desired ldap admin password.
- Edited the /etc/smbldap-tools/smbldap.conf file to set the values I wanted.
- Shutdown slapd, remove any database entries if they exist, and make sure a DB_CONFIG exists
- Since the IDEALX smbldap-populate script can only populate an ldap tree where the LDAP SUFFIX consists of only two domain components (dc=example,dc=lan) and can NOT populate a suffix of ou=site1,dc=example,dc=lan we must create the dc=example,dc=lan and ou=site1,dc=example,dc=lan manually.
- Create a /tmp/ldapdata.import text file that contains
# Building the root node organization for Samba Base
dn: dc=example,dc=lan
objectclass: dcObject
objectclass: organization
dc: example
o: example LAN
description: Example.Lan network
# Setting up the site1 Organizational Unit
dn: ou=site1,dc=example,dc=lan
objectclass: top
objectclass: organizationalUnit
ou: site1
- With an emtpy LDAP database and without slapd running execute slapadd -l /tmp/ldapdata.import
- Start slapd and verified that it was running (/etc/rc.d/rc.slap start )
- executed smbldap-populate
- The system will ask for you to set the "root" password. This should mean the "rootdn" password because the password value set there does NOT equal the unix UID0 password.
- TODO: issue the "smbpaswd -w secret" command to put the ldap password in the secrets.tdb file