Mini C project - Digging the source ?

Ulf Bertilsson ulf.bertilsson at
Mon Jan 7 23:55:07 GMT 2002

> I am very enthusiastic regarding libsmbclient.  It is a very 
> good idea and
> one which I am very glad to see happening.  However, I have a 
> few issues
> with the design of libsmbclient.  These are not problems, 
> per. se., but in
> specific cases can cause trouble. 

Things are newer perfect :)
But I guess an studie of the source will come handy.

It's just basic stuff I need anyway.
> Libsmbclient is based on Samba and uses a lot of samba-isms.

No offence, but UGH!

> On any system with nmbd running, that's okay.  If I recall 
> correctly, however,
> libsmbclient does things like read packets out of the 
> unexpected packet
> database.  Again, this is okay on systems running nmbd.

> Also, libsmbclient is designed for Unix.  I know Ulf's 
> platform, and it isn't Unix.

Yepp, one step closer to heaven :)

It's not Wintel
Not Posix/Bsd/*Nix
Not Mac
No *nix clone

We not welcome anywhere ;)

> Personally, I'm working on an NBTD.  Several people have 
> asked about this. 
> The idea is fairly simple:  Run a daemon that provides the 
> virtual NetBIOS
> layer *separate from* the other layers.  This has some 
> disadvantages.  For
> example, one reason Samba is fast is that we can build and 
> parse packets
> all at once.  Dividing up the layers would slow things a bit.

I remeber you talking about it.
Sounds cool.

I'm happy to steal code ;)
> On the plus side, it makes it easy to switch between port 139 
> and port 
> 445 semantics.  It also makes it easier to write light-weight clients 
> and servers--the equivalent of W/9x peer-to-peer type stuff.

Yepp, why would I want an Samba big Elefant monster ?
There must be platforms out there that don't like this ither ?

Then again the X86 CPU power/price just raise to the sky,
so nobody care if the code is way to huge.
> Finally, jCIFS already does a lot of what Ulf is looking to 
> do.  Ulf, if  you can run Java on the Amiga or convert Java
> to C or C++ you may be in business.

Hopefully I could use parts of the code.

>     Ideals are like stars; you will not succeed in touching them
>     with your choose them as your guides, and following
>     them you will reach your destiny.  --Carl Schultz

In the spirit of Jay M =D

Ulf Bertilsson

More information about the samba-technical mailing list