Authenticate from C program

Gerald Carter jerry at
Thu May 7 12:13:10 GMT 2009

Adam Siegel wrote:

> Unfortunately I am using samba version 3.0.23.  It 
> does not look like that function is available.  Thank
> you so much for the response!

Look at the pam_winbind.c code and grep for PAM_AUTH.
Or look at the wbcAUthenticaUser() implementation in
Samba 3.2.  You can do the same thing in 3.0 but you
will have to statically link directly against some
Samba code.

cheers, jerry
"What man is a man who does not make the world better?"      --Balian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url :

More information about the smb-clients mailing list