Validate Active Directory User

Validate Active Directory User

am 08.04.2009 20:53:04 von Tony Bass

This is a multi-part message in MIME format.

--===============1967786522==
Content-class: urn:content-classes:message
Content-Type: multipart/alternative;
boundary="----_=_NextPart_001_01C9B87A.F47E747E"

This is a multi-part message in MIME format.

------_=_NextPart_001_01C9B87A.F47E747E
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello Everyone,

=20

I am writing an application that needs to have security on some
functions and I want to have the user log in to the application using
their windows domain credentials. I have tried Win32::NetAdmin
UserGetAttributes function to get the password for verification but it
comes back empty (by design?). Does anyone know of a way to pass Active
Directory a username/password combination and have it returned as valid?

=20

Thanks,

=20

Tony Bass


------_=_NextPart_001_01C9B87A.F47E747E
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">


charset=3Dus-ascii">









Hello Everyone,



 



I am writing an application that needs to have =
security on
some functions and I want to have the user log in to the application =
using their
windows domain credentials. I have tried Win32::NetAdmin =
UserGetAttributes
function to get the password for verification but it comes back empty =
(by design?).
Does anyone know of a way to pass Active Directory a username/password
combination and have it returned as valid?



 



Thanks,



 



Tony Bass









------_=_NextPart_001_01C9B87A.F47E747E--

--===============1967786522==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1967786522==--

Re: Validate Active Directory User

am 08.04.2009 21:23:49 von Angelos Karageorgiou

--===============1865281958==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit








Hello Tony



The way about varies depending on the application, The best bet is to
use Net::Ldap and try to bind to you AD server with a binddn of
$username@$domain , if it succeeds it is sufficient.



try it before hand with an ldapsearch





Tony W. Bass wrote:
cite="mid:161BA30711D8AE4FB5870BB54E65987E09845E@mail.galler ycnd.com"
type="cite">





Hello Everyone,


 


I am writing an application that needs to have
security on
some functions and I want to have the user log in to the application
using their
windows domain credentials. I have tried Win32::NetAdmin
UserGetAttributes
function to get the password for verification but it comes back empty
(by design?).
Does anyone know of a way to pass Active Directory a username/password
combination and have it returned as valid?


 


Thanks,


 


Tony Bass







--===============1865281958==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ActivePerl mailing list
ActivePerl@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--===============1865281958==--