mirror of
https://github.com/samba-team/samba.git
synced 2025-09-09 01:44:21 +03:00
More fixes.
This commit is contained in:
committed by
Gerald W. Carter
parent
79ff46fcf1
commit
83f17d7dd9
@@ -989,21 +989,21 @@ undesirable actions from occurring unnoticed.
|
|||||||
#
|
#
|
||||||
# located in /etc/smbldap-tools/smbldap.conf
|
# located in /etc/smbldap-tools/smbldap.conf
|
||||||
#
|
#
|
||||||
##############################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# General Configuration
|
# General Configuration
|
||||||
#
|
#
|
||||||
##############################################################################
|
######################################################################
|
||||||
|
|
||||||
# Put your own SID
|
# Put your own SID
|
||||||
# to obtain this number do: net getlocalsid
|
# to obtain this number do: net getlocalsid
|
||||||
SID="S-1-5-21-725326080-1709766072-2910717368"
|
SID="S-1-5-21-725326080-1709766072-2910717368"
|
||||||
|
|
||||||
##############################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# LDAP Configuration
|
# LDAP Configuration
|
||||||
#
|
#
|
||||||
##############################################################################
|
######################################################################
|
||||||
|
|
||||||
# Notes: to use to dual ldap servers backend for Samba, you must patch
|
# Notes: to use to dual ldap servers backend for Samba, you must patch
|
||||||
# Samba with the dual-head patch from IDEALX. If not using this patch
|
# Samba with the dual-head patch from IDEALX. If not using this patch
|
||||||
@@ -1063,12 +1063,13 @@ computersdn="ou=People,${suffix}"
|
|||||||
# Ex groupsdn="ou=Groups,dc=IDEALX,dc=ORG"
|
# Ex groupsdn="ou=Groups,dc=IDEALX,dc=ORG"
|
||||||
groupsdn="ou=Groups,${suffix}"
|
groupsdn="ou=Groups,${suffix}"
|
||||||
|
|
||||||
# Where are stored Idmap entries (used if samba is a domain member server)
|
# Where are stored Idmap entries
|
||||||
|
# (used if samba is a domain member server)
|
||||||
# Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
|
# Ex groupsdn="ou=Idmap,dc=IDEALX,dc=ORG"
|
||||||
idmapdn="ou=Idmap,${suffix}"
|
idmapdn="ou=Idmap,${suffix}"
|
||||||
|
|
||||||
# Where to store next uidNumber and gidNumber available
|
# Where to store next uidNumber and gidNumber available
|
||||||
sambaUnixIdPooldn="sambaDomainName=MEGANET2,dc=abmas,dc=biz"
|
sambaUnixIdPooldn="sambaDomainName=MEGANET2,${suffix}"
|
||||||
|
|
||||||
# Default scope Used
|
# Default scope Used
|
||||||
scope="sub"
|
scope="sub"
|
||||||
@@ -1086,11 +1087,11 @@ hash_encrypt="MD5"
|
|||||||
# passwords if you use "$1$%.8s". This parameter is optional!
|
# passwords if you use "$1$%.8s". This parameter is optional!
|
||||||
crypt_salt_format="%s"
|
crypt_salt_format="%s"
|
||||||
|
|
||||||
##############################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# Unix Accounts Configuration
|
# Unix Accounts Configuration
|
||||||
#
|
#
|
||||||
##############################################################################
|
######################################################################
|
||||||
|
|
||||||
# Login defs
|
# Login defs
|
||||||
# Default Login Shell
|
# Default Login Shell
|
||||||
@@ -1113,9 +1114,10 @@ defaultComputerGid="515"
|
|||||||
# Skel dir
|
# Skel dir
|
||||||
skeletonDir="/etc/skel"
|
skeletonDir="/etc/skel"
|
||||||
|
|
||||||
# Default password validation time (time in days) Comment the next line if
|
# Default password validation time (time in days) Comment the next
|
||||||
# you don't want password to be enable for defaultMaxPasswordAge days (be
|
# line if you don't want password to be enable for
|
||||||
# careful to the sambaPwdMustChange attribute's value)
|
# defaultMaxPasswordAge days (be careful to the sambaPwdMustChange
|
||||||
|
# attribute's value)
|
||||||
defaultMaxPasswordAge="45"
|
defaultMaxPasswordAge="45"
|
||||||
</screen>
|
</screen>
|
||||||
</example>
|
</example>
|
||||||
@@ -1123,22 +1125,22 @@ defaultMaxPasswordAge="45"
|
|||||||
<example id="ch8ideal4">
|
<example id="ch8ideal4">
|
||||||
<title>Idealx smbldap-tools Control File &smbmdash; Part D</title>
|
<title>Idealx smbldap-tools Control File &smbmdash; Part D</title>
|
||||||
<screen>
|
<screen>
|
||||||
##############################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# SAMBA Configuration
|
# SAMBA Configuration
|
||||||
#
|
#
|
||||||
##############################################################################
|
######################################################################
|
||||||
|
|
||||||
# The UNC path to home drives location (%U username substitution)
|
# The UNC path to home drives location (%U username substitution)
|
||||||
# Ex: \\My-PDC-netbios-name\homes\%U
|
# Ex: \\My-PDC-netbios-name\homes\%U
|
||||||
# Just set it to a null string if you want to use the smb.conf 'logon home'
|
# Just set it to a null string if you want to use the smb.conf
|
||||||
# directive and/or disable roaming profiles
|
# 'logon home' directive and/or disable roaming profiles
|
||||||
userSmbHome=""
|
userSmbHome=""
|
||||||
|
|
||||||
# The UNC path to profiles locations (%U username substitution)
|
# The UNC path to profiles locations (%U username substitution)
|
||||||
# Ex: \\My-PDC-netbios-name\profiles\%U
|
# Ex: \\My-PDC-netbios-name\profiles\%U
|
||||||
# Just set it to a null string if you want to use the smb.conf 'logon path'
|
# Just set it to a null string if you want to use the smb.conf
|
||||||
# directive and/or disable roaming profiles
|
# 'logon path' directive and/or disable roaming profiles
|
||||||
userProfile=""
|
userProfile=""
|
||||||
|
|
||||||
# The default Home Drive Letter mapping
|
# The default Home Drive Letter mapping
|
||||||
@@ -1157,12 +1159,13 @@ userScript=""
|
|||||||
# when smbldap-useradd -M is used
|
# when smbldap-useradd -M is used
|
||||||
mailDomain="abmas.org"
|
mailDomain="abmas.org"
|
||||||
|
|
||||||
##############################################################################
|
######################################################################
|
||||||
#
|
#
|
||||||
# SMBLDAP-TOOLS Configuration (default are ok for a RedHat)
|
# SMBLDAP-TOOLS Configuration (default are ok for a RedHat)
|
||||||
#
|
#
|
||||||
##############################################################################
|
######################################################################
|
||||||
# Allows not to use smbpasswd (if with_smbpasswd == 0 in smbldap_conf.pm) but
|
# Allows not to use smbpasswd
|
||||||
|
# (if with_smbpasswd == 0 in smbldap_conf.pm) but
|
||||||
# prefer Crypt::SmbHash library
|
# prefer Crypt::SmbHash library
|
||||||
with_smbpasswd="0"
|
with_smbpasswd="0"
|
||||||
smbpasswd="/usr/bin/smbpasswd"
|
smbpasswd="/usr/bin/smbpasswd"
|
||||||
|
Reference in New Issue
Block a user