[Bug 490201] Re: samba fails to open shares because of fixed unknown password
Stephen Cradock
s_cradock at hotmail.com
Mon Nov 30 15:50:17 GMT 2009
Thanks for getting back to me. Here is some additional information:
I'm using an upgraded Lucid install, trying to access the workgroup in
the same machine at this stage.
I had the same problem in (another) Karmic install, but fixed it by
installing system-config-samba and re-setting the password for my user.
I do not recall setting a password, and the password was not any that I
remember using for any purpose. I don't know what it was, but I could
reset it.
For some reason that doesn't work in Lucid. Trying to reset fails, the
old password reappears when I query again in s-c-samba.
Here is some of the information requested in the Wiki:
dpkg-query -W -f='${Package} ${Version} ${Source} ${Status}\n' grep samba
grep 2.5.4-4 install ok installed
samba 2:3.4.3-1ubuntu1 install ok installed
sc at sc-laptop:~$ smbclient //workgroup/joana-pc
Enter sc's password:
Connection to workgroup failed (Error NT_STATUS_UNSUCCESSFUL)
sc at sc-laptop:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No
browsable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
last few errors from log.sc-laptop:
[2009/11/09 21:13:42, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2009/11/09 21:13:42, 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.
[2009/11/27 19:04:53, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2009/11/27 19:04:53, 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.
[2009/11/27 19:04:53, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2009/11/27 19:04:53, 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.
[2009/11/29 16:01:25, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2009/11/29 16:01:25, 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.
[2009/11/29 16:01:25, 0] lib/util_sock.c:539(read_fd_with_timeout)
[2009/11/29 16:01:25, 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.
--
samba fails to open shares because of fixed unknown password
https://bugs.launchpad.net/bugs/490201
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list