[Samba] 3.0: smbclient reporting wrong Server=[unix] string

Giulio Orsero giulioo at pobox.com
Fri Oct 24 16:34:15 GMT 2003


host-A: 3.0.1pre1, Red Hat 7.3. (domain logons & domain master = yes)
host-B: 3.0.1pre1, Red Hat 6.x
host-C: 2.2.x, red Hat 6.x

======= On host-A
smbclient cannot show correct version for same server's samba:

smbclient -L host-A -d1 -Uunknown% | grep Domain
[2003/10/24 16:36:38, 1] client/client.c:do_connect(2597)
  Domain=[WORKGROUP] OS=[Unix] Server=[Unix]  <=========
[2003/10/24 16:36:38, 1] client/client.c:do_connect(2597)
  Domain=[WORKGROUP] OS=[Unix] Server=[Unix]  <============

$ smbclient -L host-B -d1 -Uunknown%|grep Domain
[2003/10/24 16:36:55, 1] client/client.c:do_connect(2597)
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.1pre1-14.3E.gol] <==
[2003/10/24 16:36:55, 1] client/client.c:do_connect(2597)
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.1pre1-14.3E.gol] <==

$ smbclient -L host-C -d1 -Uunknown%|grep Domain
[2003/10/24 16:37:00, 1] client/client.c:do_connect(2597)
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a]  <==
[2003/10/24 16:37:01, 1] client/client.c:do_connect(2597)
  Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.7a] <==
$

======= On host-C
$ smbclient -L host-A -Uunknown% |grep Domain
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.0-14.3E.gol]  <==
$

=============================================

1. why smbclient cannot show correct version?

2. why useful info (domain, version) was "declassed" to debug1

3. I'm thinking of editing source to put "Domain=..." at debug=0, am I right
that i'd get that info twice?

Thanks
-- 
giulioo at pobox.com



More information about the samba mailing list