On Sun, 7 Jul 2002, Rob Clews wrote:
> Hi,
>
> Just a quick question, do you know if Pen works with Samba? I would like
> Pen to sit in front of a few FreeBSD Samba servers.
That's a really good question. I'm no expert on the protocol, but AFAIK it
is *mostly* a request-response protocol. I did a quick test, using my
laptop Libretto to run Pen and my desktop Blade for Samba (both client
and server).
On my laptop:
8<---
libretto:~# pen -df 139 blade:139
2002-07-05 18:32:05: local address=[0.0.0.0:139]
2002-07-05 18:32:05: n = 2, address = blade, pno = 139, maxc1 = 0, hard = 0
2002-07-05 18:32:05: servers:
2002-07-05 18:32:05: 0 192.168.4.24:139:0:0
2002-07-05 18:32:05: mainloop_select(3, -1)
8<---
And on Blade:
8<---
bash-2.03$ /usr/local/samba/bin/smbclient //libretto/filmer
added interface ip=192.168.4.24 bcast=192.168.4.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[BLADE] OS=[Unix] Server=[Samba 2.2.3a]
smb: \> dir
. D 0 Mon Jun 3 18:52:49 2002
.. D 0 Tue Jun 4 19:02:50 2002
Cube.avi 659245056 Tue May 28 23:47:34 2002
38657 blocks of size 1048576. 23209 blocks available
smb: \>
8<---
Cut back to the debug trace on Libretto:
8<---
2002-07-05 18:33:55: Client 192.168.4.24 has index -1
2002-07-05 18:33:55: lookup_client returns -1
2002-07-05 18:33:55: Trying server 0 at time 1025886835
2002-07-05 18:33:55: Successful connect to server 0
2002-07-05 18:33:55: Client 192.168.4.24 has index 0 and server 0
8<---
Again, I'm no expert but it "seems to work". This test involved a single
client and a single server, but that is unlikely to be an issue since Pen
tracks clients based on IP address, independently of upper-level
protocols.
I believe that there are conditions where the server will try to contact
the client directly. I don't know how that will work out.
And of course, browsing runs over UDP which Pen will not touch.
Ulric
This archive was generated by hypermail 2.1.2 : Mon Jul 08 2002 - 02:07:48 CEST