I have this very same problem which seems to have started after upgrading from Ubuntu server 9.10 to 10.04 LTS. Two users on my windows7 machine both connecting to network shares on my Ubuntu server. One of them always manages to connect, the other sometimes managed to connect but every now and then, the samba user seems to not exist
Both users use the same login script in windows consisting of: net use l: /delete net use l: \\192.168.1.98\data When it doesn't work, I get this message in the login script: "The password or user name is invalid for \\192.168.1.98\data." The workaround is to log into ubuntu, perform a sudo smbpasswd -a and then run the script again which now works perfectly... (for a while) Looking at my log files (/var/log/samba/log.xxx) I get the following error message when it doesn't work: [2010/05/09 16:24:55, 0] lib/util_sock.c:539(read_fd_with_timeout) [2010/05/09 16:24:55, 0] lib/util_sock.c:1491(get_peer_addr_internal) getpeername failed. Error was Transport endpoint is not connected read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer. After re-adding the same user in ubuntu with smbpasswd using the same password and running the script again, I get this message when it works: [2010/05/09 16:33:18, 1] smbd/service.c:1063(make_connection_snum) dumleburken (192.168.1.123) connect to service data initially as user carl (uid=1000, gid=116) (pid 1566) Anyone got any idea what could be wrong? Let me know what kind of further information you need from me -- samba server requires smbpasswd -a user constantly https://bugs.launchpad.net/bugs/566560 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to samba in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs