RE: LDAP Authentication from VFP

2006-12-12 Thread Manjit Basra
Hi everyone,
 
Has anyone tried to authenticate a user to Active Directory through VFP. I
found the following dot-net code that I would like to convert:

 
1)   Dim adPath as String = LDAP://wssumits 

2)   Dim adAuth as LdapAuthentication = new LdapAuthentication(adPath)

3)   ok = adAuth.IsAuthenticated(wssumits, txtUsername.Text,
txtPassword.Text)

 
I just don't understand how to convert line #2. Is this a don-net class? Any
help would be greatly appreciated. 

  

Manjit Basra





___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: LDAP Authentication from VFP

2006-12-12 Thread Hal Kaplan
= Subject: RE: LDAP Authentication from VFP
= 
= Hi everyone,
=  
= Has anyone tried to authenticate a user to Active Directory 
= through VFP. I found the following dot-net code that I would 
= like to convert:
= 
=  
= 1)   Dim adPath as String = LDAP://wssumits 
= 
= 2)   Dim adAuth as LdapAuthentication = new 
= LdapAuthentication(adPath)
= 
= 3)   ok = adAuth.IsAuthenticated(wssumits, txtUsername.Text,
= txtPassword.Text)
= 
=  
= I just don't understand how to convert line #2. Is this a 
= don-net class? Any help would be greatly appreciated. 
= 
= Manjit Basra
= 

I do not have an answer but I do have a question:

Why is it necessary to authenticate a user who obviously has sufficient 
credentials to execute the VFP program that is attempting to authenticate?  
What additional information or utility will the authentication provide?

TIA  

B+
HALinNY


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: LDAP Authentication from VFP

2006-12-12 Thread Manjit Basra
I sorry, I should have explained what I am trying to do. I use extensive VFP
COM objects in my Web App. I have about 2500 users, who will need to access
the system once a year. All of these users are already in LDAP. I don't need
to keep them in my system. The app needs to know if he/she belongs to a
specific group for security purpose. 

Manjit Basra


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Hal Kaplan
Sent: Tuesday, December 12, 2006 12:50 PM
To: ProFox Email List
Subject: RE: LDAP Authentication from VFP

= Subject: RE: LDAP Authentication from VFP
= 
= Hi everyone,
=  
= Has anyone tried to authenticate a user to Active Directory 
= through VFP. I found the following dot-net code that I would 
= like to convert:
= 
=  
= 1)   Dim adPath as String = LDAP://wssumits 
= 
= 2)   Dim adAuth as LdapAuthentication = new 
= LdapAuthentication(adPath)
= 
= 3)   ok = adAuth.IsAuthenticated(wssumits, txtUsername.Text,
= txtPassword.Text)
= 
=  
= I just don't understand how to convert line #2. Is this a 
= don-net class? Any help would be greatly appreciated. 
= 
= Manjit Basra
= 

I do not have an answer but I do have a question:

Why is it necessary to authenticate a user who obviously has sufficient
credentials to execute the VFP program that is attempting to authenticate?
What additional information or utility will the authentication provide?

TIA  

B+
HALinNY


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: LDAP Authentication from VFP

2006-12-12 Thread Ted Roche
On 12/12/06, Manjit Basra [EMAIL PROTECTED] wrote:

 Has anyone tried to authenticate a user to Active Directory through VFP. I
 found the following dot-net code that I would like to convert:


Mike Stewart, formerly of Microsoft, wrote a white paper on Active
Directory integration a long, long time ago. Google Visual FoxPro
Active Directory and I'll bet you'll turn up a copy.

-- 
Ted Roche
Ted Roche  Associates, LLC
http://www.tedroche.com


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: LDAP Authentication from VFP

2006-12-12 Thread Stephen the Cook
Manjit Basra  wrote:
 I sorry, I should have explained what I am trying to do. I use
 extensive VFP COM objects in my Web App. I have about 2500 users, who
 will need to access the system once a year. All of these users are
 already in LDAP. I don't need to keep them in my system. The app
 needs to know if he/she belongs to a specific group for security
 purpose. 
 
 Manjit Basra
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Hal Kaplan 
 Sent: Tuesday, December 12, 2006 12:50 PM
 To: ProFox Email List
 Subject: RE: LDAP Authentication from VFP
 
 = Subject: RE: LDAP Authentication from VFP = = Hi everyone, =
 = Has anyone tried to authenticate a user to Active Directory
 = through VFP. I found the following dot-net code that I would
 = like to convert: = = = 1)   Dim adPath as String =
 LDAP://wssumits =
 = 2)   Dim adAuth as LdapAuthentication = new
 = LdapAuthentication(adPath)
 =
 = 3)   ok = adAuth.IsAuthenticated(wssumits, txtUsername.Text,
 = txtPassword.Text)
 =
 =
 = I just don't understand how to convert line #2. Is this a
 = don-net class? Any help would be greatly appreciated. =
 = Manjit Basra
 =
 
 I do not have an answer but I do have a question:
 
 Why is it necessary to authenticate a user who obviously has
 sufficient credentials to execute the VFP program that is attempting
 to authenticate?  
 What additional information or utility will the authentication
 provide? 
 
 TIA
 
 B+
 HALinNY
 
 
[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: LDAP Authentication from VFP

2006-12-12 Thread Manjit Basra
Thanks Ted. Only thing I found was to how to read information from Active
Directory. Another word who are the users and groups etc.? I already know
how to do that. What I have trouble with is how to authenticate a user in
Active Directory?

http://support.microsoft.com/kb/q192766/


Manjit Basra


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ted Roche
Sent: Tuesday, December 12, 2006 1:41 PM
To: profox@leafe.com
Subject: Re: LDAP Authentication from VFP

On 12/12/06, Manjit Basra [EMAIL PROTECTED] wrote:

 Has anyone tried to authenticate a user to Active Directory through VFP. I
 found the following dot-net code that I would like to convert:


Mike Stewart, formerly of Microsoft, wrote a white paper on Active
Directory integration a long, long time ago. Google Visual FoxPro
Active Directory and I'll bet you'll turn up a copy.

-- 
Ted Roche
Ted Roche  Associates, LLC
http://www.tedroche.com


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


Re: LDAP Authentication from VFP

2006-12-12 Thread Ted Roche
On 12/12/06, Manjit Basra [EMAIL PROTECTED] wrote:
 Thanks Ted. Only thing I found was to how to read information from Active
 Directory. Another word who are the users and groups etc.? I already know
 how to do that. What I have trouble with is how to authenticate a user in
 Active Directory?


Sorry, Manjit, I haven't done ADSI work myself, other than invoking
some scripts inside the Exchange beast. Check the FoxPro wiki and Rick
Strahl's site?

http://fox.wikis.com/wc.dll?Wiki~AccessControlLists~WIN_COM_API

Looks a bit promising.

-- 
Ted Roche
Ted Roche  Associates, LLC
http://www.tedroche.com


___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.


RE: LDAP Authentication from VFP

2006-12-12 Thread Manjit Basra
Thanks again Ted. I will keep on looking.


Manjit Basra
Information Systems Manager
South Orange/Maplewood School District
Tel: (973) 762-5600  x1837
Fax: (973) 378-9464


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ted Roche
Sent: Tuesday, December 12, 2006 3:50 PM
To: profox@leafe.com
Subject: Re: LDAP Authentication from VFP

On 12/12/06, Manjit Basra [EMAIL PROTECTED] wrote:
 Thanks Ted. Only thing I found was to how to read information from Active
 Directory. Another word who are the users and groups etc.? I already know
 how to do that. What I have trouble with is how to authenticate a user in
 Active Directory?


Sorry, Manjit, I haven't done ADSI work myself, other than invoking
some scripts inside the Exchange beast. Check the FoxPro wiki and Rick
Strahl's site?

http://fox.wikis.com/wc.dll?Wiki~AccessControlLists~WIN_COM_API

Looks a bit promising.

-- 
Ted Roche
Ted Roche  Associates, LLC
http://www.tedroche.com


[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.