4 069
contributi
Riga 654: | Riga 654: | ||
<pre> | <pre> | ||
[global] | [global] | ||
workgroup = | workgroup = MIODOMINIO | ||
server string = LAN Server %v | server string = LAN Server %v | ||
wins support = yes | wins support = yes | ||
Riga 691: | Riga 691: | ||
##### LDAP Configuration ##### | ##### LDAP Configuration ##### | ||
ldap admin dn = cn=admin,dc= | ldap admin dn = cn=admin,dc=miodominio,dc=local | ||
ldap suffix = dc= | ldap suffix = dc=miodominio,dc=local | ||
ldap group suffix = ou=Groups | ldap group suffix = ou=Groups | ||
ldap user suffix = ou=Users | ldap user suffix = ou=Users | ||
Riga 837: | Riga 837: | ||
# The base of your directory in database #1 | # The base of your directory in database #1 | ||
suffix "dc= | suffix "dc=miodominio,dc=local" | ||
# Where the database file are physically stored for database #1 | # Where the database file are physically stored for database #1 | ||
Riga 862: | Riga 862: | ||
# These access lines apply to database #1 only | # These access lines apply to database #1 only | ||
access to attrs=userPassword,sambaNTPassword,sambaLMPassword | access to attrs=userPassword,sambaNTPassword,sambaLMPassword | ||
by dn="cn=admin,dc= | by dn="cn=admin,dc=miodominio,dc=local" write | ||
by anonymous auth | by anonymous auth | ||
by self write | by self write | ||
Riga 881: | Riga 881: | ||
# can read everything. | # can read everything. | ||
access to * | access to * | ||
by dn="cn=admin,dc= | by dn="cn=admin,dc=miodominio,dc=local" write | ||
by * read | by * read | ||
Riga 887: | Riga 887: | ||
# profile for which they have write access to | # profile for which they have write access to | ||
#access to dn=".*,ou=Roaming,o=morsnet" | #access to dn=".*,ou=Roaming,o=morsnet" | ||
# by dn="cn=admin,dc= | # by dn="cn=admin,dc=miodominio,dc=local" write | ||
# by dnattr=owner write | # by dnattr=owner write | ||
Riga 913: | Riga 913: | ||
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666 | #URI ldap://ldap.example.com ldap://ldap-master.example.com:666 | ||
BASE dc= | BASE dc=miodominio,dc=local | ||
URI ldap://localhost | URI ldap://localhost | ||
Riga 930: | Riga 930: | ||
# By default, we will use the same DN (so it will work for standard Samba | # By default, we will use the same DN (so it will work for standard Samba | ||
# release) | # release) | ||
slaveDN="cn=admin,dc= | slaveDN="cn=admin,dc=miodominio,dc=local" | ||
slavePw="password" | slavePw="password" | ||
masterDN="cn=admin,dc= | masterDN="cn=admin,dc=miodominio,dc=local" | ||
masterPw="password" | masterPw="password" | ||
</pre> | </pre> | ||
Riga 1 022: | Riga 1 022: | ||
# LDAP Suffix | # LDAP Suffix | ||
# Ex: suffix=dc=IDEALX,dc=ORG | # Ex: suffix=dc=IDEALX,dc=ORG | ||
suffix="dc= | suffix="dc=miodominio,dc=local" | ||
# Where are stored Users | # Where are stored Users | ||
Riga 1 041: | Riga 1 041: | ||
# Where to store next uidNumber and gidNumber available | # Where to store next uidNumber and gidNumber available | ||
sambaUnixIdPooldn="sambaDomainName= | sambaUnixIdPooldn="sambaDomainName=MIODOMINIO,${suffix}" | ||
# Default scope Used | # Default scope Used | ||
Riga 1 118: | Riga 1 118: | ||
# Domain appended to the users "mail"-attribute | # Domain appended to the users "mail"-attribute | ||
# when smbldap-useradd -M is used | # when smbldap-useradd -M is used | ||
mailDomain=" | mailDomain="miodominio.local" | ||
############################################################################## | ############################################################################## |