It's because PAM rejects user "nobody". Adding the following line to the [global] section of /etc/samba/smb.conf should help:
obey pam restrictions = No Try it, and see what happens. By the way, it's always a good idea to attach your config files if you experience problems. It's much easier to help, if we can see how your configuration looks like. Regards Gergely Kiss 2008/7/22 Tito <[EMAIL PROTECTED]>: > I'm using FC8 Server with Samba 3.0.30-fc8 and have an erratic problem > assecing the share. > I have a Share that every one can acess and I use the nobody user to > acess everithing without any problem, and from time to time when user > tries to acess a file the share gets closed, than we have to resart the > machine and it goes wel again. > > the log for one user is below > > why does it closes the conection? and what can be done ? > > [2008/07/16 17:41:22, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/16 17:41:22, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > [2008/07/17 07:48:34, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service HPArma initially as user > nobody (uid=99, gid=99) (pid 6337) > [2008/07/17 07:48:36, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/17 07:48:36, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service F initially as user nobody > (uid=99, gid=99) (pid 6337) > [2008/07/17 07:48:38, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/17 09:51:49, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > [2008/07/17 09:51:49, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/17 09:55:09, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service HPArma initially as user > nobody (uid=99, gid=99) (pid 6660) > [2008/07/17 09:55:11, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/17 09:55:11, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service F initially as user nobody > (uid=99, gid=99) (pid 6660) > [2008/07/17 09:55:13, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/17 14:19:39, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > [2008/07/17 14:19:39, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/17 14:26:26, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service HPArma initially as user > nobody (uid=99, gid=99) (pid 7199) > [2008/07/17 14:26:28, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/17 14:26:28, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service F initially as user nobody > (uid=99, gid=99) (pid 7199) > [2008/07/17 14:26:30, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/17 16:46:04, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/17 16:46:04, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > [2008/07/18 07:39:38, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service HPArma initially as user > nobody (uid=99, gid=99) (pid 10523) > [2008/07/18 07:39:44, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/18 07:39:44, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service F initially as user nobody > (uid=99, gid=99) (pid 10523) > [2008/07/18 07:39:46, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/18 17:00:48, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/18 17:00:48, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > [2008/07/21 07:50:46, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service HPArma initially as user > nobody (uid=99, gid=99) (pid 5759) > [2008/07/21 07:50:49, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/21 07:50:49, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service F initially as user nobody > (uid=99, gid=99) (pid 5759) > [2008/07/21 07:50:51, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/21 17:36:27, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > [2008/07/21 17:36:27, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/22 07:56:25, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service HPArma initially as user > nobody (uid=99, gid=99) (pid 11859) > [2008/07/22 07:56:28, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/22 07:56:28, 1] smbd/service.c:make_connection_snum(1033) > carlap (192.168.6.114) connect to service F initially as user nobody > (uid=99, gid=99) (pid 11859) > [2008/07/22 07:56:30, 0] auth/pampass.c:smb_pam_passcheck(809) > smb_pam_passcheck: PAM: smb_pam_auth failed - Rejecting User nobody ! > [2008/07/22 16:54:17, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service HPArma > [2008/07/22 16:54:17, 1] smbd/service.c:close_cnum(1230) > carlap (192.168.6.114) closed connection to service F > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
