Hi,

Trying to setup Samba to use an LDAP backend. I'm also using it with NSS which is working fine for all the unix related stuff (i.e. i can finger accounts etc).

When i start samba i get the following error:

Sep 5 19:42:57 staging1 nmbd[30805]: [2007/09/05 19:42:57, 0] nmbd/nmbd.c:terminate(58)
Sep  5 19:42:57 staging1 nmbd[30805]:   Got SIGTERM: going down...
Sep 5 19:42:57 staging1 smbd[31035]: [2007/09/05 19:42:57, 0] services/services_db.c:svcctl_init_keys(420) Sep 5 19:42:57 staging1 smbd[31035]: init_services_keys: key lookup failed! (WERR_ACCESS_DENIED) Sep 5 19:42:57 staging1 smbd[31035]: [2007/09/05 19:42:57, 0] smbd/server.c:main(960)
Sep  5 19:42:57 staging1 smbd[31035]:   ERROR: failed to setup guest info.

Here is the config i'm using:

#/usr/local/etc/smb.conf
#======================= Global Settings =====================================
[global]
  log level = 5
  workgroup = foo
  server string = foo Server
  security = user
#   passdb backend = tdbsam
  passdb backend = ldapsam:ldap://localhost
  ldap suffix = ou=windows,dc=foointernet,dc=com
  ldap user suffix = ou=users
  ldap group suffix = ou=groups
  # change password with  'smbpasswd -w <password>'
  ldap admin dn = cn=Manager,dc=foointernet,dc=com
  load printers = yes
  log file = /var/log/samba/log.%m
  max log size = 5000
  dns proxy = no
  store dos attributes = yes
  nt acl support = yes
  inherit acls = yes
  map acl inherit = yes
  obey pam restrictions = Yes
  ldapsam:trusted = Yes

[tmp]
  comment = Temporary file space
  path = /tmp
  read only = no
  public = yes

Had almost exactly the same setup working with 3.0.10-1.4E.1 with no problems.

Any and all help appreciated!

--N
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to