All pastes #948122 Raw Edit

smbd will not start

public text v1 · immutable
·published 2008-03-18 22:14 UTC
rendered paste body
[root@pdc samba]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_DOMAIN_PDC
Press enter to see a dump of your service definitions

[global]
        passdb backend = ldapsam:ldapsam://localhost
        log level = 5
        log file = /var/log/samba/%m.log
        max log size = 50
        add user script = /usr/sbin/useradd "%u" -n -g users
        delete user script = /usr/sbin/userdel "%u"
        add group script = /usr/sbin/groupadd "%g"
        delete group script = /usr/sbin/groupdel "%g"
        delete user from group script = /usr/sbin/userdel "%u" "%g"
        add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
        domain logons = Yes
        preferred master = Yes
        domain master = Yes
        ldap admin dn = cn=Manager,dc=net
        cups options = raw

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No

smbd.log errors

[2008/03/18 08:48:37, 5] passdb/pdb_interface.c:smb_register_passdb(81)
  Successfully added passdb backend 'tdbsam'
[2008/03/18 08:48:37, 5] passdb/pdb_interface.c:make_pdb_method_name(121)
  Attempting to find an passdb backend to match ldapsam:ldapsam://localhost (ldapsam)
[2008/03/18 08:48:37, 5] passdb/pdb_interface.c:make_pdb_method_name(142)
  Found pdb backend ldapsam
[2008/03/18 08:48:37, 2] lib/smbldap_util.c:smbldap_search_domain_info(256)
  smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=WORKGROUP))]
[2008/03/18 08:48:37, 5] lib/smbldap.c:smbldap_search_ext(1182)
  smbldap_search_ext: base => [], filter => [(&(objectClass=sambaDomain)(sambaDomainName=WORKGROUP))], scope => [2]
[2008/03/18 08:48:37, 5] lib/smbldap.c:smbldap_close(1085)
  The connection to the LDAP server was closed
[2008/03/18 08:48:40, 0] lib/smbldap.c:smb_ldap_setup_conn(636)
  ldap_initialize: Bad parameter to an ldap routine


ldap logging is at 256 and nothing is showing up in the log file from smbd starts.