Populate your ldap database
smbldap-populate [ldif-file]
The smbldap-populate command helps to populate an \s-1LDAP\s0 server by adding the necessary entries : base suffix (doesn't abort if already there), organizational units for users, groups and computers, builtin users : Administrator and guest, builtin groups (though posixAccount only, no SambaTNG support).
-a name Your local administrator login name (default: root)
-b name Your local guest login name (default: nobody)
-e file export an ldif file
-i file import an ldif file (Options -a and -b will be ignored)
/etc/smbldap-tools/smbldap.conf : main configuration /etc/smbldap-tools/smbldap_bind.conf : credentials for binding to the directory
smb.conf\|(5)