sharing port with nmdb

Laurent.Boulard at Laurent.Boulard at
Tue Oct 19 06:47:12 GMT 1999

Le Tue, Oct 19, 1999 at 12:37:05PM +1000, Andrew Tridgell écrivait :
> indeed it is, I think that is too complex.

Me too !!

> My plan instead is to have a small shared memory region (say 16k),
> which would be used a a ring buffer and would hold any unexpected
> messages that nmbd gets. Clients would then attach to this buffer
> (which would be read-only to non-root processes) and could look for
> packets having the correct opcode for replies they are expecting.

ok, It seems I can't avoid to patch samba sources to reach my goal.

Ths ring buffer seems a good idea because it don't need to many
modifications to sources. I think I will try to make this in samba sources.

Please, can you explain a bit more how implements this ring buffer ? I don't 
know ring buffer very well (but IPC are fine) and here, many linux user have a 
need for this modifications.

Cheers, laurent.
   ("`-''-/").___..--''"`-._          |\      _,,,---,,_
   `6_ 6  )   `-.  (     ).`-.__.`)   /,`.-'`'    -.  ;-;;,_
   (_Y_.)'  ._   )  `._ `. ``-..-'   |,4-  ) )-,_..;\ (  `'-'
 _..`--'_..-_/  /--'_.' ,'          '---''(_/--'  `-'\_)
(il),-''  (li),'  ((!.-'        Laurent.Boulard at

More information about the samba-technical mailing list