Annex 1

/etc/smbldap-tools/smbldap.conf

SID="S-1-5-21-2985063129-2976061446-3412244960" # (**)
sambaDomain="LOCALDOMAIN" 
masterLDAP="server-01.localdomain"
masterPort="636"
# slaveLDAP="ldap_srv_name"
# slavePort="636"
ldapSSL="1"
cafile="/etc/ssl/certs/CA_server-01.localdomain.cert"
verify="require"
suffix="dc=localdomain"
usersdn="ou=people,${suffix}"
computersdn="ou=machines,${suffix}"
groupsdn="ou=groups,${suffix}"
#idmapdn="ou=Idmap,${suffix}"
scope="sub"
hash_encrypt="SSHA"
crypt_salt_format="%s"
userLoginShell="/bin/bash"
userHome="/homes/%U"
userHomeDirectoryMode="700"
userGecos="User"
defaultUserGid="513"
defaultComputerGid="515"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="3650"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
with_slappasswd="0"
slappasswd="/usr/sbin/slappasswd"

(**) This SID will be tge SAMBA ID that was got because of running the command “net getlocalsid”. Each one of you should own one SID.

Last updated