Displaying 1 result from an estimated 1 matches for "senha123".
2007 Mar 13
2
Authenticating with Active Directory
...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
-------------- next part --------------
#include "valid.h"
#include <stdarg.h>
#include <shadow.h>
#incl...