Problem with "CentOS 5.x Samba Domain Controller With LDAP Backend"

Discussion in 'HOWTO-Related Questions' started by StinGer_ShoGuN, Jul 8, 2010.

  1. StinGer_ShoGuN

    StinGer_ShoGuN New Member

    [FIXED] Problem with "CentOS 5.x Samba Domain Controller With LDAP Backend"

    Hi there !

    For my first post, I will post an issue... I followed this howto: http://www.howtoforge.com/centos-5.x-samba-domain-controller-with-ldap-backend

    However, when starting the samba server. it crashes. Here is the log:
    Code:
    [2010/07/08 17:35:34, 0] smbd/server.c:main(944)
      smbd version 3.0.33-3.29.el5_5 started.
      Copyright Andrew Tridgell and the Samba Team 1992-2008
    [2010/07/08 17:35:34, 2] param/loadparm.c:do_section(3825)
      Processing section "[netlogon]"
    [2010/07/08 17:35:34, 2] param/loadparm.c:do_section(3825)
      Processing section "[profiles]"
    [2010/07/08 17:35:34, 0] printing/print_cups.c:cups_connect(69)
      Unable to connect to CUPS server localhost:631 - Connexion refusée
    [2010/07/08 17:35:34, 0] printing/print_cups.c:cups_connect(69)
      Unable to connect to CUPS server localhost:631 - Connexion refusée
    [2010/07/08 17:35:34, 2] lib/interface.c:add_interface(81)
      added interface ip=192.168.1.253 bcast=192.168.1.255 nmask=255.255.255.0
    [2010/07/08 17:35:34, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
      Registered MSG_REQ_POOL_USAGE
    [2010/07/08 17:35:34, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
      Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2010/07/08 17:35:34, 2] lib/smbldap_util.c:smbldap_search_domain_info(256)
      smbldap_search_domain_info: Searching for:[(&(objectClass=sambaDomain)(sambaDomainName=MJPM-DCORNEAUX.FR))]
    [2010/07/08 17:35:34, 2] lib/smbldap.c:smbldap_open_connection(786)
      smbldap_open_connection: connection opened
    [2010/07/08 17:35:34, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
      init_sam_from_ldap: Entry found for user: root
    [2010/07/08 17:35:34, 0] services/services_db.c:svcctl_init_keys(420)
      svcctl_init_keys: key lookup failed! (WERR_ACCESS_DENIED)
    [2010/07/08 17:35:34, 0] smbd/server.c:main(1059)
      ERROR: failed to setup guest info.
    I searched the web for that errore 420, but I have not found any solution.
    If you need, I can post my conf files, but I really followed the howto... So you won't learn many things...

    Hope someone will be able to help as I really need it. Thank you !
     
    Last edited: Jul 9, 2010
  2. StinGer_ShoGuN

    StinGer_ShoGuN New Member

    Fixed !

    I'll answer my question myself (I finally got smb running).

    I used the samba package, as described in the howto. However, there is now a samba3x package in CentOS 5.5. So you have to erase samba package and its related and install samba3x.

    Then, follow the howto and it works ! Hope this will help.
     

Share This Page