تغييرات

اذهب إلى التنقل اذهب إلى البحث
سطر 175: سطر 175:  
  sudo apt-get install samba samba-doc smbldap-tools
 
  sudo apt-get install samba samba-doc smbldap-tools
    +
تأكد أن إسم خادم ال داب مضاف إلى /etc/hosts أو يمكن قراءته من خادم الأسماء، ثم في ملف /etc/samba/smb.conf إبحث عن :
 +
passdb backend = tdbsam
 +
 +
قم بتعليقها، وإضف الآتي:
 +
 +
<pre>
 +
#  passdb backend = tdbsam
 +
 +
# LDAP Settings
 +
  passdb backend = ldapsam:ldap://hostname
 +
  ldap suffix = dc=example,dc=com
 +
  ldap user suffix = ou=People
 +
  ldap group suffix = ou=Groups
 +
  ldap machine suffix = ou=Computers
 +
  ldap idmap suffix = ou=Idmap
 +
  ldap admin dn = cn=adefadmin,dc=adefcamps,dc=org
 +
  ldap ssl = start tls#
 +
  ldap ssl = off#
 +
  ldap passwd sync = yes
 +
...
 +
  add machine script = sudo /usr/sbin/smbldap-useradd -t 0 -w "%u"
 +
</pre>
 
الخطوات: https://help.ubuntu.com/lts/serverguide/samba-ldap.html#samba-ldap-samba-configuration
 
الخطوات: https://help.ubuntu.com/lts/serverguide/samba-ldap.html#samba-ldap-samba-configuration
  
بيروقراطيون، checkuser، smwadministrator، smwcurator، staff، إداريون، تقنيون
2٬074

تعديل

قائمة التصفح