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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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?