[Samba] "disappeared" user

j.enevoldsen at wlonk.com j.enevoldsen at wlonk.com
Fri Oct 28 20:50:11 GMT 2005


I would really appreciate some help figuring out why one of my students has
"disappeared" from the user list, and what to do about it. I'm using Samba3 on
Fedora; the client machines are running WinXP. The system has been up and
running since the beginning of September.

Today one of my 4th-graders was unable to log on; she didn't read the error
message carefully, so she couldn't tell me exactly what happened. (This student
has logged on successfully many times before.)

(The only change to the logs below is the students' names.)

So I tried to change her password so I could test her logon:

[root at zeus ~]# smbpasswd student1
New SMB password:
Retype new SMB password:
Failed to find entry for user student1.
Failed to modify password entry for user student1

I did not find her listed anymore in the linux users.

I used pdbedit to check her entry:

[root at zeus ~]# pdbedit -Lv student1
Unix username:        student1
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-1185660-1660059191-2813172890-2076
Primary Group SID:    S-1-5-21-1185660-1660059191-2813172890-2077
Full Name:            Student One
Home Directory:       \\zeus\profdata\student1
HomeDir Drive:
Logon Script:
Profile Path:         \\zeus\profiles\student1
Domain:               HELLAS
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Mon, 18 Jan 2038 19:14:07 GMT
Kickoff time:         Mon, 18 Jan 2038 19:14:07 GMT
Password last set:    Wed, 14 Sep 2005 09:53:32 GMT
Password can change:  Wed, 14 Sep 2005 09:53:32 GMT
Password must change: Mon, 18 Jan 2038 19:14:07 GMT
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

...and compared it with the entry for a student who successfully logged in about
the same time:

[root at zeus ~]# pdbedit -Lv student2
Unix username:        student2
NT username:
Account Flags:        [U          ]
User SID:             S-1-5-21-1185660-1660059191-2813172890-2098
Primary Group SID:    S-1-5-21-1185660-1660059191-2813172890-2099
Full Name:            Student Two
Home Directory:       \\zeus\profdata\student2
HomeDir Drive:
Logon Script:
Profile Path:         \\zeus\profiles\student2
Domain:               HELLAS
Account desc:
Workstations:
Munged dial:
Logon time:           0
Logoff time:          Mon, 18 Jan 2038 19:14:07 GMT
Kickoff time:         0
Password last set:    Wed, 14 Sep 2005 09:44:51 GMT
Password can change:  Wed, 14 Sep 2005 09:44:51 GMT
Password must change: Mon, 18 Jan 2038 19:14:07 GMT
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

I noticed that the unsuccessful student had a "kickoff time" entry (with a
peculiar date, same as the "Password must change" date), but the successful
student had only a "0" in the "kickoff time" field.

The log file for the machine she attempted to log onto contained these entries
for the time she tried to log in:

[2005/10/28 10:52:31, 1] smbd/service.c:make_connection_snum(642)
  hephaistos (192.168.1.52) connect to service profiles initially as user
student1 (uid=538, gid=538) (pid 30601)
[2005/10/28 10:53:18, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2005/10/28 10:53:18, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 25: ERRNO = Connection reset by
peer
[2005/10/28 10:53:18, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2005/10/28 10:53:18, 1] smbd/service.c:make_connection_snum(642)
  hephaistos (192.168.1.52) connect to service profiles initially as user
student1 (uid=538, gid=538) (pid 30970)
[2005/10/28 10:53:48, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Templates/quattro.wb2 (dev = fd00, inode
= 13371610, file_id = 2831).
[2005/10/28 10:53:48, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file
student1/Templates/quattro.wb2
[2005/10/28 10:54:18, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Templates/amipro.sam (dev = fd00, inode
= 13371623, file_id = 2829).
[2005/10/28 10:54:18, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file
student1/Templates/amipro.sam
[2005/10/28 10:54:35, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service profiles
[2005/10/28 10:55:00, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start Menu/Programs/Windows Media
Player.lnk (dev = fd00, inode = 13371626, file_id = 2764).
[2005/10/28 10:55:00, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Windows Media Player.lnk
[2005/10/28 10:55:30, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start
Menu/Programs/Accessories/Entertainment/desktop.ini (dev = fd00, inode =
13371668, file_id = 2774).
[2005/10/28 10:55:30, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Accessories/Entertainment/desktop.ini
[2005/10/28 10:56:00, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start
Menu/Programs/Accessories/Notepad.lnk (dev = fd00, inode = 13371654, file_id =
2773).
[2005/10/28 10:56:00, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Accessories/Notepad.lnk
[2005/10/28 10:56:30, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start
Menu/Programs/Accessories/Synchronize.lnk (dev = fd00, inode = 13371643,
file_id = 2775).
[2005/10/28 10:56:30, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Accessories/Synchronize.lnk
[2005/10/28 10:57:18, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start
Menu/Programs/Accessories/Entertainment/Windows Media Player.lnk (dev = fd00,
inode = 13371667, file_id = 2772).
[2005/10/28 10:57:18, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Accessories/Entertainment/Windows Media Player.lnk
[2005/10/28 10:57:48, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start Menu/Programs/desktop.ini (dev =
fd00, inode = 13371641, file_id = 2788).
[2005/10/28 10:57:48, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/desktop.ini
[2005/10/28 10:58:35, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start Menu/Programs/Remote
Assistance.lnk (dev = fd00, inode = 13371630, file_id = 2766).
[2005/10/28 10:58:35, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Remote Assistance.lnk
[2005/10/28 10:58:35, 0] smbd/oplock.c:remove_oplock(283)
  remove_oplock: failed to remove share oplock for file student1/Start
Menu/Programs/Remote Assistance.lnk fnum 5014, dev = fd00, inode = 13371630
[2005/10/28 10:59:05, 0] smbd/oplock.c:oplock_break(847)
  oplock_break: receive_smb timed out after 30 seconds.
  oplock_break failed for file student1/Start
Menu/Programs/Accessories/Accessibility/desktop.ini (dev = fd00, inode =
13371691, file_id = 2779).
[2005/10/28 10:59:05, 0] smbd/oplock.c:oplock_break(919)
  oplock_break: client failure in oplock break in file student1/Start
Menu/Programs/Accessories/Accessibility/desktop.ini
[2005/10/28 11:08:49, 0] lib/util_sock.c:read_socket_data(384)
  read_socket_data: recv failure for 4. Error = Connection timed out
[2005/10/28 11:08:49, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service profiles
[2005/10/28 11:08:49, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service profiles
[2005/10/28 11:08:49, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service profdata
[2005/10/28 11:08:49, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service netlogon
[2005/10/28 11:15:09, 0] lib/util_sock.c:write_socket_data(430)
  write_socket_data: write failure. Error = Connection reset by peer
[2005/10/28 11:15:09, 0] lib/util_sock.c:write_socket(455)
  write_socket: Error writing 4 bytes to socket 26: ERRNO = Connection reset by
peer
[2005/10/28 11:15:09, 0] lib/util_sock.c:send_smb(647)
  Error writing 4 bytes to client. -1. (Connection reset by peer)

...but for the same machine, this was the entry for the next student to log in:

[2005/10/28 11:15:51, 1] smbd/service.c:make_connection_snum(642)
  hephaistos (192.168.1.52) connect to service profiles initially as user
student3 (uid=561, gid=561) (pid 31188)
[2005/10/28 11:16:01, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service profiles
[2005/10/28 11:16:01, 1] smbd/service.c:make_connection_snum(642)
  hephaistos (192.168.1.52) connect to service netlogon initially as user
student3 (uid=561, gid=561) (pid 31188)
[2005/10/28 11:16:01, 1] smbd/service.c:make_connection_snum(642)
  hephaistos (192.168.1.52) connect to service profdata initially as user
student3 (uid=561, gid=561) (pid 31188)
[2005/10/28 11:26:33, 1] smbd/service.c:close_cnum(830)
  hephaistos (192.168.1.52) closed connection to service netlogon
[2005/10/28 11:28:42, 1] smbd/service.c:make_connection_snum(642)
  hephaistos (192.168.1.52) connect to service profiles initially as user
student3 (uid=561, gid=561) (pid 31188)

If there is other relevant information I need to decipher this puzzle, please
tell me what information to provide.

Sincerely,
Julie Enevoldsen
Tilden School


More information about the samba mailing list