Tr : Samba-4.2 Issue
toussaint ilboudo
toussaint02 at yahoo.fr
Mon Dec 5 15:08:13 UTC 2016
Le Lundi 5 décembre 2016 15h01, toussaint ilboudo <toussaint02 at yahoo.fr> a écrit :
Hi team,I hope you are doing well? I try to configure samba-4.2 with openldap-2.4 on centos 7.2 but it doesn't work. Here is the error message and my configuration file:
[2016/12/04 09:48:56.429628, 0, pid=6810, effective(0, 0), real(0, 0)] ../source3/passdb/pdb_interface.c:179(make_pdb_method_name) pdb backend ldapsam:"ldap://mail.linuxsys.com/" did not correctly init (error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO)
Configuration file:
[global] workgroup = LINUXSYS netbios name = LINUXSYS-SRV
deadtime = 10
log level = 1 log file = /var/log/samba/log.%m max log size = 5000 debug pid = yes debug uid = yes syslog = 0 utmp = yes
security = user domain logons = yes os level = 64 logon path = logon home = logon drive = logon script =
passdb backend = ldapsam:"ldap://mail.linuxsys.com/"# ldap ssl = start tls ldap ssl = no ldap admin dn = cn=Manager,dc=linuxsys,dc=com ldap delete dn = no
## Sync UNIX password with Samba password ## Method 1: ldap password sync = yes ## Method 2: ;ldap password sync = no ;unix password sync = yes ;passwd program = /usr/sbin/smbldap-passwd -u '%u' ;passwd chat = "Changing *\nNew password*" %n\n "*Retype new password*" %n\n"
ldap suffix = dc=linuxsys,dc=com ldap user suffix = ou=people ldap group suffix = ou=groups ldap machine suffix = ou=winstations,ou=systems ldap idmap suffix = ou=Idmapadd user script = /usr/sbin/smbldap-useradd -m '%u' -t 1 rename user script = /usr/sbin/smbldap-usermod -r '%unew' '%uold' delete user script = /usr/sbin/smbldap-userdel '%u' set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u' add group script = /usr/sbin/smbldap-groupadd -p '%g' delete group script = /usr/sbin/smbldap-groupdel '%g' add user to group script = /usr/sbin/smbldap-groupmod -m '%u' '%g' delete user from group script = /usr/sbin/smbldap-groupmod -x '%u' '%g' add machine script = /usr/sbin/smbldap-useradd -w '%u' -t 1
[NETLOGON] path = /var/lib/samba/netlogon browseable = no share modes = no
[PROFILES] path = /var/lib/samba/profiles browseable = no writeable = yes create mask = 0611 directory mask = 0700 profile acls = yes csc policy = disable map system = yes map hidden = yes
More information about the samba-technical
mailing list