samba unable to contact ldap server
Today i am trying to setup samba+ldap on one of RHEL 5.2 server, and samba is unable to contact ldap and generate following error in /var/log/samba/smbd.log
Oct 22 15:43:23 abpdel1 smbd[3664]: [2009/10/22 15:43:23, 0] services/services_db.c:svcctl_init_keys(420) Oct 22 15:43:23 abpdel1 smbd[3664]: svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED) Oct 22 15:43:23 abpdel1 smbd[3664]: [2009/10/22 15:43:23, 0] smbd/server.c:main Oct 22 15:43:23 abpdel1 smbd[3664]: ERROR: failed to setup guest info. My smb.conf is #======================= Global Settings ======================= [global] workgroup = abp server string = abcdel1 netbios name = abc security = user passdb backend = ldapsam:ldap://127.0.0.1 ldap suffix = "dc=abc=,dc=del" ldap machine suffix = ou=Computers,dc=abc,dc=del ldap user suffix = ou=People,dc=abc,dc=del ldap group suffix = ou=Group,dc=abc,dc=del ldap admin dn= "cn=Manager,dc=abc,dc=del" domain master = yes domain logons = yes add user script = /usr/sbin/smbldap-useradd "%u" add group script = /usr/sbin/smbldap-groupadd "%g" add machine script = /usr/sbin/smbldap-useradd -w "%u" delete user script = /usr/sbin/smbldap-userdel "%u" delete group script = /usr/sbin/smbldap-groupdel "%g" local master = yes os level = 65 preferred master = yes #============================ Share Definitions ========== [netlogon] comment = Network Logon Service path = /var/lib/samba/netlogon guest ok = yes writable = no share modes = no |
Quote:
Code:
Domain Users Take a look at the smbldap-tools scripts: https://gna.org/projects/smbldap-tools/ Chapter 5 of the "Samba 3 by Example" book can be very useful to you. It deals Samba with LDAP configuration. Look here: http://www.samba.org/samba/docs/man/...ide/happy.html |
Thanks TBOne
I solved the problem , there was some error in smb.conf configuration |
Quote:
|
All times are GMT -5. The time now is 01:25 AM. |