Linkage dependencies

Mayers, Philip J p.mayers at
Tue Dec 5 18:53:10 GMT 2000

Well, the current extsec code uses:


The files that these are in (and hence their .o's) use functions from
passdb, which aren't needed, and other stuff which is. This might be good
time to discuss abstracting out the authentication APIs.


| Phil Mayers, Network Support     |
| Centre for Computing Services    |
| Imperial College                 |

-----Original Message-----
From: Gerald Carter [mailto:gcarter at]
Sent: 05 December 2000 17:50
To: Mayers, Philip J
Cc: 'samba-technical at'
Subject: Re: Linkage dependencies

"Mayers, Philip J" wrote:
> All,
> The SMB extended security support (which is 
> currently stalled waiting on an "outside party" <ahem>) 
> uses the prs_init and smb_io_rpc_auth_ntlmssp_* functions 
> - these are already linked into smbd, but not libsmb - 
> so now libsmb depends on the RPC parsing functions, which 
> in turn depend on the passdb functions.

the client side RPC's should be in a spearate library i think.

So to summarize, I think we should have

  o libsmb.a
  o libmsrpc.a
  o passdb.a

> Is this ok? I don't believe it's sensible to have 
> two sets of functions that (un)marshall/process the same 
> thing, but the linkage dependencies make me uncertain 
> (especially if the guys from Caldera are splitting out libsmb 
> as a separate library). Note that if my hunch is right, 
> the RPC auth code might need reworking too, making 
> them more tightly dependent on each other.

Could you describe the actually dependencies more
(i haven't dig through the current code for this).
Or point me towards a previous summary in the archives.
What structures / functions exactrly are causing the problems?

> Thoughts? Libtoolise the lot as shared libraries 
> (which is the "right" thing to do anyway)?

   /\  Gerald (Jerry) Carter                     Professional Services
 \/  VA Linux Systems   gcarter at       SAMBA Team          jerry at                     jerry at

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )

More information about the samba-technical mailing list