[Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2004-01-08 Thread UNON . Samba
 Dear All,

  Have not received any response on this from the list.  I had also
submitted this as a bug report (BUG ID 914) at https://bugzilla.samba.org.
We would very much like to use it on our PDC and BDCs but it is extremely
important for us to be able to log logins with the hostnames.  IVersion
2.2.8a was patched to log hostnames.  Is there a need to patch ver. 3.0.1
also.  If so, can someone point me to the patch?  Thanks much in advance

Regards
SK


Season's Greetings and a Very Happy and Propserous New Year 2004
++
| Suresh Khatry (Mr.)  mailto:[EMAIL PROTECTED]
| Chief, Network Services Unitmailto:[EMAIL PROTECTED]
| Information Technology ServicesICQ:44617574
| United Nations Office at Nairobi (UNON)  NIC Handle: SK465
| P.O. Box 47074, Nairobi, Kenya RIPE Handle: SK136-RIPE
| Phone: +254 (20) 621234, [Direct: +254 (20) 623427]
| Fax:   +254 (20) 226890, [Direct: +254 (20) 624297]
| Cell:  +254 (0)733 05
| WWW = http://www.unon.org  http://www.unep.org
++
 K E E P I N G  Y O U  I N  T O U C H  W I T H  T H E  W O R L D

- Forwarded by Suresh Khatry/UNON/NBO/UNO on 06/01/2004 11:59 -

  [EMAIL PROTECTED]

  Sent by:  To:
[EMAIL PROTECTED]
  [EMAIL PROTECTED]cc:

  s.samba.org
Subject:  [Samba] UTMP logging in Samba 3.0.1 does not have

hostnames

  23/12/2003 11:38







  Hi,

  I was testing Samba 3.0.1 as a logon server on a Solaris 9 Sparc box.
I compiled Samba using gcc 3.3 with the following options:

configure --prefix=/local/samba-3.0.1 --enable-static --with-nis
--with-quotas --with-syslog --with-msdfs --with-utmp

  I set utmp = yes in the smb.conf file

  The samba server does create login entries but minus the hostname
entries.  The following lists the after and before login entries:

  With Samba 3.0.1

mackensj  smb/1 Tue Dec 23 11:22 - 11:24  (00:02)
regoa smb/2 Tue Dec 23 11:22 - 11:24  (00:02)
cunningg  smb/2 Tue Dec 23 11:21 - 11:21  (00:00)

  With Samba 2.2.8a I was getting the following:

ochomoj   smb/6docsdp100Mon Dec 22 23:11 - 23:59  (00:47)
wichmanr  smb/7unchs25  Mon Dec 22 23:07 - 23:07  (00:00)
regoa smb/4gefpq198 Mon Dec 22 22:59 - 00:46  (01:46)

  Please advise whether this is intentional and if there is a
workaround since knowing which PCs are being used by specific staff is
essential for troubleshooting

Best Regards
Suresh Khatry
United Nations Office at nairobi (UNON)
Nairobi
Kenya



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2004-01-08 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 8 Jan 2004 [EMAIL PROTECTED] wrote:

   Have not received any response on this from the list.  I had also
 submitted this as a bug report (BUG ID 914) at
 https://bugzilla.samba.org. We would very much like to use it on our PDC
 and BDCs but it is extremely important for us to be able to log logins
 with the hostnames.  IVersion 2.2.8a was patched to log hostnames.  Is
 there a need to patch ver. 3.0.1 also.  If so, can someone point me to
 the patch?  Thanks much in advance

I just updated this bug the other day to add it to the hot list of things 
we will try to get fixed for 3.0.2




cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE//YXuIR7qMdg1EfYRAixIAKDhQlsdDnfthb+EI3+o0/ZPgVqQOgCg3Esx
WfKh9kB8+tuagY0hzdVR3bs=
=u+4O
-END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2004-01-06 Thread UNON . Samba


  Dear All,

  Have not received any response on this from the list.  I had also
submitted this as a bug report (BUG ID 914) at https://bugzilla.samba.org.
We would very much like to use 3.0.1 on our PDC and BDCs but it is
extremely
important for us to be able to log logins with the hostnames.  Version
2.2.8a was patched to log hostnames.  Is there a need to patch ver. 3.0.1
also?  If so, can someone point me to the patch?  Thanks much in advance

Regards
SK







- Forwarded by Suresh Khatry/UNON/NBO/UNO on 06/01/2004 11:59 -

From: [EMAIL PROTECTED]

Sent by: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject:  [Samba] UTMP logging in Samba 3.0.1 does not have hostnames

Date: 23/12/2003 11:38




  Hi,

  I was testing Samba 3.0.1 as a logon server on a Solaris 9 Sparc box.
I compiled Samba using gcc 3.3 with the following options:

configure --prefix=/local/samba-3.0.1 --enable-static --with-nis
--with-quotas --with-syslog --with-msdfs --with-utmp

  I set utmp = yes in the smb.conf file

  The samba server does create login entries but minus the hostname
entries.  The following lists the after and before login entries:

  With Samba 3.0.1

mackensj  smb/1 Tue Dec 23 11:22 - 11:24  (00:02)
regoa smb/2 Tue Dec 23 11:22 - 11:24  (00:02)
cunningg  smb/2 Tue Dec 23 11:21 - 11:21  (00:00)

  With Samba 2.2.8a I was getting the following:

ochomoj   smb/6docsdp100Mon Dec 22 23:11 - 23:59  (00:47)
wichmanr  smb/7unchs25  Mon Dec 22 23:07 - 23:07  (00:00)
regoa smb/4gefpq198 Mon Dec 22 22:59 - 00:46  (01:46)

  Please advise whether this is intentional and if there is a
workaround since knowing which PCs are being used by specific staff is
essential for troubleshooting

Best Regards
Suresh Khatry
United Nations Office at nairobi (UNON)
Nairobi
Kenya



--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba







-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2003-12-24 Thread UNON . Samba

  Yes it was running 2.2.8a but I had patched it as per the advice of
one of the good guys that monitor this discussion list.  The patch was in
session.c as follows:

Replace the following line
hostname = client_addr();

with
   hostname = client_name();
   if (strequal(hostname,UNKNOWN))
   hostname = client_addr();

Ciao
SK




   

  Tom Crane [EMAIL PROTECTED]
   
  Sent by:  To:   [EMAIL 
PROTECTED]
  [EMAIL PROTECTED]cc: 
   
  s.samba.org   Subject:  Re: 
[Samba] UTMP logging in Samba 3.0.1 does not 
 have hostnames

   

  23/12/2003 20:59 

   

   





   Hi,

   I was testing Samba 3.0.1 as a logon server on a Solaris 9 Sparc
box.
 I compiled Samba using gcc 3.3 with the following options:

 configure --prefix=/local/samba-3.0.1 --enable-static --with-nis
 --with-quotas --with-syslog --with-msdfs --with-utmp

   I set utmp = yes in the smb.conf file

   The samba server does create login entries but minus the hostname
 entries.  The following lists the after and before login entries:

   With Samba 3.0.1

 mackensj  smb/1 Tue Dec 23 11:22 - 11:24  (00:02)
 regoa smb/2 Tue Dec 23 11:22 - 11:24  (00:02)
 cunningg  smb/2 Tue Dec 23 11:21 - 11:21  (00:00)
Two sessions both on smb/2 - this must be a bug??


   With Samba 2.2.8a I was getting the following:

 ochomoj   smb/6docsdp100Mon Dec 22 23:11 - 23:59  (00:47)
 wichmanr  smb/7unchs25  Mon Dec 22 23:07 - 23:07
(00:00)
 regoa smb/4gefpq198 Mon Dec 22 22:59 - 00:46
(01:46)

Were you definitely running 2.2.8a? My understanding is it only logs by
IP address... or am I missing something here???

Regards
Tom
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2003-12-23 Thread UNON . Samba
  Hi,

  I was testing Samba 3.0.1 as a logon server on a Solaris 9 Sparc box.
I compiled Samba using gcc 3.3 with the following options:

configure --prefix=/local/samba-3.0.1 --enable-static --with-nis
--with-quotas --with-syslog --with-msdfs --with-utmp

  I set utmp = yes in the smb.conf file

  The samba server does create login entries but minus the hostname
entries.  The following lists the after and before login entries:

  With Samba 3.0.1

mackensj  smb/1 Tue Dec 23 11:22 - 11:24  (00:02)
regoa smb/2 Tue Dec 23 11:22 - 11:24  (00:02)
cunningg  smb/2 Tue Dec 23 11:21 - 11:21  (00:00)

  With Samba 2.2.8a I was getting the following:

ochomoj   smb/6docsdp100Mon Dec 22 23:11 - 23:59  (00:47)
wichmanr  smb/7unchs25  Mon Dec 22 23:07 - 23:07  (00:00)
regoa smb/4gefpq198 Mon Dec 22 22:59 - 00:46  (01:46)

  Please advise whether this is intentional and if there is a
workaround since knowing which PCs are being used by specific staff is
essential for troubleshooting

Best Regards
Suresh Khatry
United Nations Office at nairobi (UNON)
Nairobi
Kenya



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2003-12-23 Thread John H Terpstra
Suresh,

Suggest you log a bug report at:

https://bugzilla.samba.org

This will get lost in the noise if you do not. Please file this as a
reversion opf functionality.

- John T.

On Tue, 23 Dec 2003 [EMAIL PROTECTED] wrote:

   Hi,

   I was testing Samba 3.0.1 as a logon server on a Solaris 9 Sparc box.
 I compiled Samba using gcc 3.3 with the following options:

 configure --prefix=/local/samba-3.0.1 --enable-static --with-nis
 --with-quotas --with-syslog --with-msdfs --with-utmp

   I set utmp = yes in the smb.conf file

   The samba server does create login entries but minus the hostname
 entries.  The following lists the after and before login entries:

   With Samba 3.0.1

 mackensj  smb/1 Tue Dec 23 11:22 - 11:24  (00:02)
 regoa smb/2 Tue Dec 23 11:22 - 11:24  (00:02)
 cunningg  smb/2 Tue Dec 23 11:21 - 11:21  (00:00)

   With Samba 2.2.8a I was getting the following:

 ochomoj   smb/6docsdp100Mon Dec 22 23:11 - 23:59  (00:47)
 wichmanr  smb/7unchs25  Mon Dec 22 23:07 - 23:07  (00:00)
 regoa smb/4gefpq198 Mon Dec 22 22:59 - 00:46  (01:46)

   Please advise whether this is intentional and if there is a
 workaround since knowing which PCs are being used by specific staff is
 essential for troubleshooting

 Best Regards
 Suresh Khatry
 United Nations Office at nairobi (UNON)
 Nairobi
 Kenya





-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] UTMP logging in Samba 3.0.1 does not have hostnames

2003-12-23 Thread Tom Crane
   Hi,
 
   I was testing Samba 3.0.1 as a logon server on a Solaris 9 Sparc box.
 I compiled Samba using gcc 3.3 with the following options:
 
 configure --prefix=/local/samba-3.0.1 --enable-static --with-nis
 --with-quotas --with-syslog --with-msdfs --with-utmp
 
   I set utmp = yes in the smb.conf file
 
   The samba server does create login entries but minus the hostname
 entries.  The following lists the after and before login entries:
 
   With Samba 3.0.1
 
 mackensj  smb/1 Tue Dec 23 11:22 - 11:24  (00:02)
 regoa smb/2 Tue Dec 23 11:22 - 11:24  (00:02)
 cunningg  smb/2 Tue Dec 23 11:21 - 11:21  (00:00)
Two sessions both on smb/2 - this must be a bug??

 
   With Samba 2.2.8a I was getting the following:
 
 ochomoj   smb/6docsdp100Mon Dec 22 23:11 - 23:59  (00:47)
 wichmanr  smb/7unchs25  Mon Dec 22 23:07 - 23:07   (00:00)
 regoa smb/4gefpq198 Mon Dec 22 22:59 - 00:46   (01:46)

Were you definitely running 2.2.8a? My understanding is it only logs by
IP address... or am I missing something here???

Regards
Tom
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba