[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba-technical
Subject:    Re: sharing port with nmdb
From:       Laurent.Boulard () eleve ! emn ! fr
Date:       1999-10-19 6:48:41
[Download RAW message or body]

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@eleve.emn.fr
                                     http://www.emn.fr/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic