[Samba] samab unable to contact ldap or something else
vishesh kumar
linuxtovishesh at gmail.com
Fri Oct 23 22:28:37 MDT 2009
Dear all
I am trying to configure samba+ldap on our rhel 5.2 server. samba version is
3.0.33-3.14.el5 and openldap version is openldap-2.3.43 . My samba
configuration is
#======================= Global Settings =======================
[global]
workgroup = abp
server string = abpdel1
netbios name = abp
security = user
passdb backend = ldapsam:ldap://127.0.0.1
ldap suffix = "dc=abp=,dc=del"
ldap machine suffix = ou=Computers,dc=abp,dc=del
ldap user suffix = ou=People,dc=abp,dc=del
ldap group suffix = ou=Group,dc=abp,dc=del
ldap admin dn= "cn=Manager,dc=abp,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
=====================================================================================
My ldap configuration is ok because i tested ldap separately but my samba
service die automatically by generationg following error messages in
/var/log/samba/smb.log
lib/smbldap_util.c:smbldap_search_domain_info(263)
smbldap_search_domain_info: Problem during LDAPsearch: Time limit exceeded
lib/smbldap_util.c:smbldap_search_domain_info(264)
smbldap_search_domain_info: Query was: dc=abp=,dc=del,
(&(objectClass=sambaDomain)(sambaDomainName=ABP))
passdb/pdb_ldap.c:pdb_init_ldapsam(5667)
pdb_init_ldapsam: WARNING: Could not get domain info, nor add one to the
domain
pdb_init_ldapsam: Continuing on regardless, will be unable to allocate new
users/groups, and will risk BDCs having inconsistant SIDs
services/services_db.c:svcctl_init_keys(420)
svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
abpdel1 smbd[3664]: [2009/10/22 15:43:23, 0] smbd/server.c:main
abpdel1 smbd[3664]: ERROR: failed to setup guest info.
Any suggestions in this regard will greatly appreciated
Thanks
More information about the samba
mailing list