winbind not running

Astaro send me a lot of emails with this message:

winbind daemon not running - restarted


What is the problem ?
Parents
  • Winbindd is used by NTML authentication (called "Active Directory/NT Domain Membership" in Webadmin). Check the configuration of that one.

    Is winbindd running? Check with 'ps faux'.

    Are there any logings?

    Some other things you could do, if you like to  . Anyway, this might only help you, if winbindd is already running fine and the problem is related somewhere else. But it's worth a try.

    NTLM nearly logs nothing. But there are some small maybe useable logs:

    /var/log.winbindd
    /var/log/xinetd.log
    /var/log/fallback.log

    Also you can check the memberships of a user using the command 'wb_ntlmauth'. This offers a kind of shell. There type in "RG yourdomain\youruser". This gives you all the groups the user is member of.

    Go make winbindd more verbose, edit the ntml startscript /var/mdw/scrips/ntlm.

    change "winbindd" to "winbindd -d4".
    The logging will appear in /var/log.winbindd

    Xeno
  • This is the log in /var/log.winbindd:

    [2005/07/12 10:14:14, 0] param/params.c[:$]penConfFile(532)
      params.c[:$]penConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
            No such file or directory
    [2005/07/12 10:14:14, 0] nsswitch/winbindd.c:main(846)
      error opening config file
    [2005/07/12 10:14:30, 1] nsswitch/winbindd.c:main(842)
      winbindd version 3.0.1 started.
      Copyright The Samba Team 2000-2003
    [2005/07/12 10:14:30, 0] param/params.c[:$]penConfFile(532)
      params.c[:$]penConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
            No such file or directory
    [2005/07/12 10:14:30, 0] nsswitch/winbindd.c:main(846)
      error opening config file
    [2005/07/12 10:14:46, 1] nsswitch/winbindd.c:main(842)
      winbindd version 3.0.1 started.
      Copyright The Samba Team 2000-2003
    [2005/07/12 10:14:46, 0] param/params.c[:$]penConfFile(532)
      params.c[:$]penConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
            No such file or directory
    [2005/07/12 10:14:46, 0] nsswitch/winbindd.c:main(846)
      error opening config file


    /etc/samba/smb.conf not exist.

    loginuser@asl:/etc/samba > ls
    joinresult  private  smb.conf-default
  • OK, so you found the problem. The samba config file is missing (smb.conf). The system should create the file at the moment you join the firewall to the domain. Just repeat that step. After that, if smb.conf still does not exists, check the file permissions of the directory smb.conf is located in. The permissions should be:

    drwxr-xr-x   3 root root      4096 Jul 12 17:01 samba


    The permissions of the file smb.conf-default should be:

    -rwxr-xr-x  1 root root  216 Jun  9 17:23 smb.conf-default

    cheers
    Xeno
  • By the way: Did you import a V5 backup to V6?

    Xeno
Reply Children