Re: winbind auth lib?

2002-11-12 Thread Andrew Bartlett
On Wed, 2002-11-13 at 02:00, Jelmer Vernooij wrote:
> On Tue, Nov 12, 2002 at 01:44:46PM +, Paul Reilly wrote about 'winbind auth 
>lib?':
> 
> > I'd like to link a program against the winbind libraries, so that it
> > can call a winbind function to do a NT authentication. Is the winbind API
> > described anywhere, or can anyone point me to the function call to use?
> I don't know what you need exactly, but you might want to consider
> linking with the PAM library (and loading pam_winbind or others into
> PAM).

In particular the PAM interface is fixed, while we regularly change the
actual winbind interface.  I have a proposal out for an ntlm_auth
program that will provide a stable interface here (squid needs it in
particular) but I have not yet had time to implement it.

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Manager, Authentication Subsystems, Samba Team  [EMAIL PROTECTED]
Student Network Administrator, Hawker College   [EMAIL PROTECTED]
http://samba.org http://build.samba.org http://hawkerc.net



signature.asc
Description: This is a digitally signed message part


Re: winbind auth lib?

2002-11-12 Thread Jelmer Vernooij
On Tue, Nov 12, 2002 at 01:44:46PM +, Paul Reilly wrote about 'winbind auth lib?':

> I'd like to link a program against the winbind libraries, so that it
> can call a winbind function to do a NT authentication. Is the winbind API
> described anywhere, or can anyone point me to the function call to use?
I don't know what you need exactly, but you might want to consider
linking with the PAM library (and loading pam_winbind or others into
PAM).

Jelmer

-- 
Jelmer Vernooij <[EMAIL PROTECTED]> - http://nl.linux.org/~jelmer/
 15:59:16 up 5 min,  3 users,  load average: 0.07, 0.17, 0.08



Re: winbind auth lib?

2002-11-12 Thread Gerald (Jerry) Carter
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 12 Nov 2002, Paul Reilly wrote:

> I'd like to link a program against the winbind libraries, so that it can
> call a winbind function to do a NT authentication. Is the winbind API
> described anywhere, or can anyone point me to the function call to use?
> Thanks Paul

Look at wbinfo.c.  



cheers, jerry
 -
 Hewlett-Packard   - http://www.hp.com
 SAMBA Team-- http://www.samba.org
 GnuPG Key  http://www.plainjoe.org/gpg_public.asc
 ISBN 0-672-32269-2"SAMS Teach Yourself Samba in 24 Hours" 2ed
 "I never saved anything for the swim back." Ethan Hawk in Gattaca
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQE90Q9KIR7qMdg1EfYRAmMpAKCTon9KwY2osz/v9heDvkQAMSS2LQCg0vJ9
ceeyu0UEqxEKNzGizldVe88=
=xfRk
-END PGP SIGNATURE-




winbind auth lib?

2002-11-12 Thread Paul Reilly

I'd like to link a program against the winbind libraries, so that it
can call a winbind function to do a NT authentication. Is the winbind API
described anywhere, or can anyone point me to the function call to use?
Thanks
Paul