[Samba] Authenticating with Active Directory

Lutieri G. lutierigbtrabalho at gmail.com
Tue Mar 13 15:34:41 GMT 2007


take a look here:
http://www.hacom.nl/~richard/software/smb_auth_pt_br.html

it's a squid module for authentication. see the source code. maybe can help you.


2007/3/13, Jociel Andrade <jcainfo at gmail.com>:
> Hi all,
>
> I need to authenticate Active Directory users in Solaris. I wrote a program
> to do it using smbclient.a lib, but the method Valid_User is returning aways
> the code 1 (Network Error). The program is in attachment.
>
> When I use the following code, the user is sucessfully authenticated:
> smbclient '\\192.168.0.20\downloads' -W adteste -U dmadmin%Senha123
>
> But, this command log in the machine. I need a program that returns TRUE for
> valid username/password and FALSE, otherwise. Can somebody help me?
>
> Thanks in advance,
> Jociel
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
>


-- 
Att.
Lutieri G. B.


More information about the samba mailing list