could not initialize lsa pipe

Christopher R. Hertel crh at
Tue Oct 5 22:40:23 GMT 2004

On Tue, Oct 05, 2004 at 10:57:05AM -0700, David Wuertele wrote:
> My question is about the section between the #ifdef WTF_IS_LSA and the
> #endif.  The question is, WTF is LSA, and why does net initialize it?
> Is this necessary to enumerate a server's shares?

If memory serves, LSA is Local Security Authority.  I think it's described
in Luke Leighton's book, to some extent.

Note that what you're working on is the MS-RPC version of share
enumeration.  The RAP (older protocol) version is much simpler but it 
cannot return share names that are longer than 12 bytes.

Info on the RAP call (NetShareEnum()) can be found here:

Doubt that's much help but it's all I've got just now...  :)

Chris -)-----

"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team --     -)-----   Christopher R. Hertel
jCIFS Team --   -)-----   ubiqx development, uninq.
ubiqx Team --     -)-----   crh at
OnLineBook --    -)-----   crh at

More information about the samba-technical mailing list