Menu

Samba 3 and libnss

Help
Leo
2005-08-31
2013-04-17
  • Leo

    Leo - 2005-08-31

    I have installed libnss and it works great. I can see the users using ls normally. However, when I try to login on a Windows 2000 computer (the linux box is the domain controller) i get the following in my logs:

    Aug 31 16:37:26 linux smbd[17334]: libnss-mysql: Connection to server 'localhost' failed: Access denied for user 'nobody'@'localhost' (using password: YES)

    however:

    # cat /etc/libnss-mysql.cfg
    ....
    host        localhost
    database    sistema
    user        sistema_auth
    password    ******
    #socket      /var/lib/mysql/mysql.sock
    #port        3306

    and libnss-mysql-root.cfg seems to be right too. What's wrong with my configurations?

    Best Regards,
    Leo

     
    • Ben Goodwin

      Ben Goodwin - 2005-09-01

      That certainly seems strange.  I'm not sure offhand what this could be so I gues I'll need to try to reproduce it.  I need to know the versions of OS, libnss-mysql (source or rpm?), mysql, and samba.  In the meantime:

      Try a reboot of the samba server?
      Send strace of smbd and/or debug logs of libnss-mysql?

       

Log in to post a comment.