es locations (% U username substitution)
# Just set it to a null string if you want to use the smb.conf «logon path»
# directive and / or disable roaming profiles
# Ex: userProfile=« PDC-SMB3 profiles % U»
# userProfile=«% L profiles % U»=«»
# The default Home Drive Letter mapping
# (will be automatically mapped at logon time if home directory exist)
# Ex: userHomeDrive=«H:"="U:»
# The default user netlogon script name (% U username substitution)
# if not used, will be automatically username.cmd
# make sure script file is edited under dos
# Ex: userScript=«startup.cmd» # Make sure script file is edited under dos
# userScript=«logon.bat»=«»
# Domain appended to the users «mail»-attribute
# when smbldap-useradd-M is used
# Ex: mailDomain=«idealx»=«ldap»
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
#
# SMBLDAP-TOOLS Configuration (default are ok for a RedHat) І для Debian Squeeze, хе-хе
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Allows not to use smbpasswd (if with_smbpasswd == 0 in smbldap_conf.pm) but
# prefer Crypt :: SmbHash library_smbpasswd=«0»=«/ usr / bin / smbpasswd»
# Allows not to use slappasswd (if with_slappasswd == 0 in smbldap_conf.pm)
# but prefer Crypt :: libraries_slappasswd=«0»=«/ usr / sbin / slappasswd»
# comment out the following line to get rid of the default banner
# no_banner=«1»
Дізнатіся SID домену можна командою:
# net getlocalsid
# nano / etc / smbldap-tools / smbldap_bind.conf:
# # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Credential Configuration #
# # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Notes: you can specify two differents configuration if you use a
# master ldap for writing access and a slave ldap server for reading access
# By default, we will use the same DN (so it will work for standard Samba
# release)=«cn=admin,dc=ldap»=«password»=«cn=admin,dc=ldap»=«password»
Налаштовуємо конфігурацію за замовчанням:
# cp / usr / share / doc / smbldap-tools / examples / smbldap_bind.conf / etc / smbldap-tools / smbldap_bind.conf
# zcat / usr / share / doc / smbldap-tools / examples / smbldap.conf.gz>/Etc / smbldap-tools / smbldap.conf