Hi everybody! I've been noticing some strange entries in samba/utmp. I have a lot of 00:00 timed sessions. But the worst problem is that i found some conflicting information. Since windows doesn't allow concurrent login sessions, I think utmp should not have generated the following entries. liana smb/2 192.168.0.207 Fri Sep 2 18:43 - 00:52 (06:08) rodrigobaso smb/25 192.168.0.207 Fri Sep 2 17:11 - 18:11 (00:59) josianealomino smb/28 192.168.0.207 Fri Sep 2 15:54 - 16:58 (01:03) liana smb/73 192.168.0.207 Fri Sep 2 14:56 - 15:54 (00:58) rodrigobaso smb/57 192.168.0.207 Fri Sep 2 14:09 - 01:00 (10:50) rodrigobaso smb/57 192.168.0.207 Fri Sep 2 14:09 - 14:09 (00:00) mcicogna smb/29 192.168.0.207 Fri Sep 2 13:05 - 13:56 (00:51) andersongali smb/29 192.168.0.207 Fri Sep 2 09:12 - 13:04 (03:51) cunha smb/2 192.168.0.207 Fri Sep 2 08:53 - 08:55 (00:02) marcelomb smb/15 192.168.0.207 Fri Sep 2 08:14 - 08:21 (00:07) tesia smb/8 192.168.0.207 Fri Sep 2 07:48 - 01:00 (17:11) tesia smb/8 192.168.0.207 Fri Sep 2 07:48 - 07:48 (00:00) The server is a FreeBSD 5.3 with Samba 3.0.14a with 'utmp=yes'. Thanks in advance! Fabiano
Windows does allow duplicate sessions actually. If you net use * \\hostname\share and then net use \\ipaddress\share for the same server you will get two connections to the same server on your client (you can even use different users). Is it possible that this is what some users are doing? Also machines configured as terminal servers allow multiple concurrent logins from the same client. -Marc> -----Original Message----- > From: samba-bounces+marc_kaplan=adaptec.com@lists.samba.org[mailto:samba-> bounces+marc_kaplan=adaptec.com@lists.samba.org] On Behalf Of Fabiano > Caixeta Duarte > Sent: Wednesday, September 21, 2005 10:40 AM > To: SAMBA Maillist > Subject: [Samba] UTMP duplicated entries > > Hi everybody! > > I've been noticing some strange entries in samba/utmp. I have a lot of > 00:00 timed sessions. > > But the worst problem is that i found some conflicting information.Since> windows doesn't allow concurrent login sessions, I think utmp shouldnot> have generated the following entries. > > liana smb/2 192.168.0.207 Fri Sep 2 18:43 - 00:52(06:08)> rodrigobaso smb/25 192.168.0.207 Fri Sep 2 17:11 - 18:11(00:59)> josianealomino smb/28 192.168.0.207 Fri Sep 2 15:54 - 16:58(01:03)> liana smb/73 192.168.0.207 Fri Sep 2 14:56 - 15:54(00:58)> rodrigobaso smb/57 192.168.0.207 Fri Sep 2 14:09 - 01:00(10:50)> rodrigobaso smb/57 192.168.0.207 Fri Sep 2 14:09 - 14:09(00:00)> mcicogna smb/29 192.168.0.207 Fri Sep 2 13:05 - 13:56(00:51)> andersongali smb/29 192.168.0.207 Fri Sep 2 09:12 - 13:04(03:51)> cunha smb/2 192.168.0.207 Fri Sep 2 08:53 - 08:55(00:02)> marcelomb smb/15 192.168.0.207 Fri Sep 2 08:14 - 08:21(00:07)> tesia smb/8 192.168.0.207 Fri Sep 2 07:48 - 01:00(17:11)> tesia smb/8 192.168.0.207 Fri Sep 2 07:48 - 07:48(00:00)> > The server is a FreeBSD 5.3 with Samba 3.0.14a with 'utmp=yes'. > > Thanks in advance! > > Fabiano > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba
I know this might be a stupid question but how can I view my utmp file to see who is connected to the server via smb connection? -----Original Message----- From: Kaplan, Marc [mailto:marc_kaplan@adaptec.com] Sent: Wednesday, September 21, 2005 1:56 PM To: Fabiano Caixeta Duarte; SAMBA Maillist Subject: RE: [Samba] UTMP duplicated entries Windows does allow duplicate sessions actually. If you net use * \\hostname\share and then net use \\ipaddress\share for the same server you will get two connections to the same server on your client (you can even use different users). Is it possible that this is what some users are doing? Also machines configured as terminal servers allow multiple concurrent logins from the same client. -Marc> -----Original Message----- > From: samba-bounces+marc_kaplan=adaptec.com@lists.samba.org[mailto:samba-> bounces+marc_kaplan=adaptec.com@lists.samba.org] On Behalf Of Fabiano > Caixeta Duarte > Sent: Wednesday, September 21, 2005 10:40 AM > To: SAMBA Maillist > Subject: [Samba] UTMP duplicated entries > > Hi everybody! > > I've been noticing some strange entries in samba/utmp. I have a lot of > 00:00 timed sessions. > > But the worst problem is that i found some conflicting information.Since> windows doesn't allow concurrent login sessions, I think utmp shouldnot> have generated the following entries. > > liana smb/2 192.168.0.207 Fri Sep 2 18:43 - 00:52(06:08)> rodrigobaso smb/25 192.168.0.207 Fri Sep 2 17:11 - 18:11(00:59)> josianealomino smb/28 192.168.0.207 Fri Sep 2 15:54 - 16:58(01:03)> liana smb/73 192.168.0.207 Fri Sep 2 14:56 - 15:54(00:58)> rodrigobaso smb/57 192.168.0.207 Fri Sep 2 14:09 - 01:00(10:50)> rodrigobaso smb/57 192.168.0.207 Fri Sep 2 14:09 - 14:09(00:00)> mcicogna smb/29 192.168.0.207 Fri Sep 2 13:05 - 13:56(00:51)> andersongali smb/29 192.168.0.207 Fri Sep 2 09:12 - 13:04(03:51)> cunha smb/2 192.168.0.207 Fri Sep 2 08:53 - 08:55(00:02)> marcelomb smb/15 192.168.0.207 Fri Sep 2 08:14 - 08:21(00:07)> tesia smb/8 192.168.0.207 Fri Sep 2 07:48 - 01:00(17:11)> tesia smb/8 192.168.0.207 Fri Sep 2 07:48 - 07:48(00:00)> > The server is a FreeBSD 5.3 with Samba 3.0.14a with 'utmp=yes'. > > Thanks in advance! > > Fabiano > -- > 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
You mean utmp=yes Yes I have put this line in the smb.conf and when I run the last command I don't see myself connected to the server via smb connection. But I do see myself when I telnet or ssh into the box. Do I need to be doing anything else. -----Original Message----- From: Fabiano Caixeta Duarte [mailto:fabiano@fearp.usp.br] Sent: Wednesday, September 21, 2005 3:56 PM To: SAMBA Maillist Subject: RE: [Samba] UTMP duplicated entries On Wed, 21 Sep 2005, Talwar, Puneet (NIH/NIAID) wrote:> I know this might be a stupid question but how can I view my utmp file to > see who is connected to the server via smb connection?I think I didn't understand your question. Is that it? Use the 'last' command :) And you must have umtp=yes in your smb.conf! Fabiano. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
I would like if UTMP would be installed with the samba RPM package that comes with the Red Hat system? -----Original Message----- From: Talwar, Puneet (NIH/NIAID) Sent: Wednesday, September 21, 2005 4:19 PM To: 'Fabiano Caixeta Duarte' Cc: SAMBA Maillist Subject: RE: [Samba] UTMP duplicated entries You mean utmp=yes Yes I have put this line in the smb.conf and when I run the last command I don't see myself connected to the server via smb connection. But I do see myself when I telnet or ssh into the box. Do I need to be doing anything else. -----Original Message----- From: Fabiano Caixeta Duarte [mailto:fabiano@fearp.usp.br] Sent: Wednesday, September 21, 2005 3:56 PM To: SAMBA Maillist Subject: RE: [Samba] UTMP duplicated entries On Wed, 21 Sep 2005, Talwar, Puneet (NIH/NIAID) wrote:> I know this might be a stupid question but how can I view my utmp file to > see who is connected to the server via smb connection?I think I didn't understand your question. Is that it? Use the 'last' command :) And you must have umtp=yes in your smb.conf! Fabiano. -- 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