[Samba] smblib/auth

Paul Reilly pareilly at tcd.ie
Sat Mar 15 18:53:25 GMT 2003


I need to do an smb auth in an application I'm writing.
I've looked at the source in smblib/*.c but I'm unsure
which library and which function call I should link against.

I'm looking for something like this

$result = smb_auth($user,$pass,$pdc);

so that I can check if a user/pass combination is a valid
username/password on the windows network.

What library, and what function call should I use?
I'm working with Samba 2.2.8
Thanks

Paul




More information about the samba mailing list