smbldap−populate − Populate your LDAP database
smbldap-populate [ldif−file]
The smbldap-populate command helps to populate an LDAP 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: Administrator)
−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