Hi,
I would like to write a asp.net winform program to authenticate users
on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active
directory domain?
Is there a working example link that you can point me to?
Thanks
--
sync 7 5194
Are u interested in forms or in Windows Auth?
Look at this at:- http://support.microsoft.com/default...;EN-US;Q316748
GDLUCK!
"Sync Walantaji" wrote: Hi, I would like to write a asp.net winform program to authenticate users on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active directory domain?
Is there a working example link that you can point me to?
Thanks -- sync
I'm confused by the IIS setup.
It says you need to put in a domain account.
Does this means any domain account that can login to the domain will
work as an IIS account?
On Mon, 15 Nov 2004 17:15:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote: Are u interested in forms or in Windows Auth? Look at this at:- http://support.microsoft.com/default...;EN-US;Q316748 GDLUCK!
"Sync Walantaji" wrote:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active directory domain?
Is there a working example link that you can point me to?
Thanks -- sync
Yep..
Yes so far u have a domain and the users have accts in the domain it will
work!
U just have to pass the LDAP path of ur domain.
Just make sure that in IIS the virtual directory where ur application
resides has the
Anonymous Access clicked or forms Auth won't work.
[its under the directory Security tab ]
Enjoy..
Patrick
"Sync Walantaji" wrote: I'm confused by the IIS setup. It says you need to put in a domain account. Does this means any domain account that can login to the domain will work as an IIS account?
On Mon, 15 Nov 2004 17:15:02 -0800, "Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote:
Are u interested in forms or in Windows Auth? Look at this at:- http://support.microsoft.com/default...;EN-US;Q316748 GDLUCK!
"Sync Walantaji" wrote:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active directory domain?
Is there a working example link that you can point me to?
Thanks -- sync
I'm getting the following errors while submitting the form:
1.Error authenticating. Error authenticating user.
A referral was returned from the server
2.Error authenticating. Error obtaining group names. The specified
domain either does not exist or could not be contacted
What's the correct syntax to replace this?:
String adPath = "LDAP://DC=..,DC=..";
//Path to you LDAP directory server
I tried
String adPath =
"LDAP://domainname.company.com/DC=domainname,DC=company,DC=com";
String adPath =
"LDAP://domainname.company.com/ou=active,ou=company.com";
Basically No clue.
I can see the program is contacting Domain controller and is using
kerberros because tcp ports is active....
I have tried using this code on two different domains. One I created
myself, one from company central AD. Neither works.
I can logon to domain shares without any problem, so I know the
username and password is good on both domain.
Can someone help to teach me to debug this?
On Mon, 15 Nov 2004 17:15:02 -0800, "Patrick.O.Ige"
<Pa*********@discussions.microsoft.com> wrote: Are u interested in forms or in Windows Auth? Look at this at:- http://support.microsoft.com/default...;EN-US;Q316748 GDLUCK!
"Sync Walantaji" wrote:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active directory domain?
Is there a working example link that you can point me to?
Thanks -- sync
Hi Sync,
Actually the form Auth on the msdn never worked completely for me
too!But ur LDAP should be like
this :-String adPath =LDAP://code.com.au/DC=code,DC=com,DC=au
'm not quiet sure now bcos i'm out of the office on the road.
What i noticed in the code is that i could never get group Names.
So my advice is comment out the function code that is meant to get the
GROUPS and 'm sure u would authenticate!
If not mail me to am*****@yahoo.com and i'd help u sort that out.
Enjoy
Patrick
"Sync Walantaji" <no****@nospam.com> wrote in message
news:2s********************************@4ax.com... I'm getting the following errors while submitting the form:
1.Error authenticating. Error authenticating user. A referral was returned from the server 2.Error authenticating. Error obtaining group names. The specified domain either does not exist or could not be contacted
What's the correct syntax to replace this?: String adPath = "LDAP://DC=..,DC=.."; //Path to you LDAP directory server
I tried String adPath = "LDAP://domainname.company.com/DC=domainname,DC=company,DC=com";
String adPath = "LDAP://domainname.company.com/ou=active,ou=company.com";
Basically No clue. I can see the program is contacting Domain controller and is using kerberros because tcp ports is active.... I have tried using this code on two different domains. One I created myself, one from company central AD. Neither works. I can logon to domain shares without any problem, so I know the username and password is good on both domain.
Can someone help to teach me to debug this?
On Mon, 15 Nov 2004 17:15:02 -0800, "Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote:
Are u interested in forms or in Windows Auth? Look at this at:- http://support.microsoft.com/default...;EN-US;Q316748 GDLUCK!
"Sync Walantaji" wrote:
Hi, I would like to write a asp.net winform program to authenticate users on Active Directory.
Can I do this with asp.net if the IIS server is not part of the Active directory domain?
Is there a working example link that you can point me to?
Thanks -- sync
Ok, it's working except the group thing...
Thanks
On Tue, 16 Nov 2004 22:01:06 +1100, "Patrick.O.Ige"
<pa********@acn.waw.pl> wrote: Hi Sync, Actually the form Auth on the msdn never worked completely for me too!But ur LDAP should be like this :-String adPath =LDAP://code.com.au/DC=code,DC=com,DC=au 'm not quiet sure now bcos i'm out of the office on the road. What i noticed in the code is that i could never get group Names. So my advice is comment out the function code that is meant to get the GROUPS and 'm sure u would authenticate! If not mail me to am*****@yahoo.com and i'd help u sort that out. Enjoy Patrick
"Sync Walantaji" <no****@nospam.com> wrote in message news:2s********************************@4ax.com.. . I'm getting the following errors while submitting the form:
1.Error authenticating. Error authenticating user. A referral was returned from the server 2.Error authenticating. Error obtaining group names. The specified domain either does not exist or could not be contacted
What's the correct syntax to replace this?: String adPath = "LDAP://DC=..,DC=.."; //Path to you LDAP directory server
I tried String adPath = "LDAP://domainname.company.com/DC=domainname,DC=company,DC=com";
String adPath = "LDAP://domainname.company.com/ou=active,ou=company.com";
Basically No clue. I can see the program is contacting Domain controller and is using kerberros because tcp ports is active.... I have tried using this code on two different domains. One I created myself, one from company central AD. Neither works. I can logon to domain shares without any problem, so I know the username and password is good on both domain.
Can someone help to teach me to debug this?
On Mon, 15 Nov 2004 17:15:02 -0800, "Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote:
>Are u interested in forms or in Windows Auth? >Look at this at:- >http://support.microsoft.com/default...;EN-US;Q316748 >GDLUCK! > > >"Sync Walantaji" wrote: > >> Hi, >> I would like to write a asp.net winform program to authenticate users >> on Active Directory. >> >> Can I do this with asp.net if the IIS server is not part of the Active >> directory domain? >> >> Is there a working example link that you can point me to? >> >> Thanks >> -- >> sync >>
Good its working...
If you are interested in getting the groups let me know!
Enjoy!
Patrick
"Sync Walantaji" wrote: Ok, it's working except the group thing... Thanks
On Tue, 16 Nov 2004 22:01:06 +1100, "Patrick.O.Ige" <pa********@acn.waw.pl> wrote:
Hi Sync, Actually the form Auth on the msdn never worked completely for me too!But ur LDAP should be like this :-String adPath =LDAP://code.com.au/DC=code,DC=com,DC=au 'm not quiet sure now bcos i'm out of the office on the road. What i noticed in the code is that i could never get group Names. So my advice is comment out the function code that is meant to get the GROUPS and 'm sure u would authenticate! If not mail me to am*****@yahoo.com and i'd help u sort that out. Enjoy Patrick
"Sync Walantaji" <no****@nospam.com> wrote in message news:2s********************************@4ax.com.. . I'm getting the following errors while submitting the form:
1.Error authenticating. Error authenticating user. A referral was returned from the server 2.Error authenticating. Error obtaining group names. The specified domain either does not exist or could not be contacted
What's the correct syntax to replace this?: String adPath = "LDAP://DC=..,DC=.."; //Path to you LDAP directory server
I tried String adPath = "LDAP://domainname.company.com/DC=domainname,DC=company,DC=com";
String adPath = "LDAP://domainname.company.com/ou=active,ou=company.com";
Basically No clue. I can see the program is contacting Domain controller and is using kerberros because tcp ports is active.... I have tried using this code on two different domains. One I created myself, one from company central AD. Neither works. I can logon to domain shares without any problem, so I know the username and password is good on both domain.
Can someone help to teach me to debug this?
On Mon, 15 Nov 2004 17:15:02 -0800, "Patrick.O.Ige" <Pa*********@discussions.microsoft.com> wrote:
>Are u interested in forms or in Windows Auth? >Look at this at:- >http://support.microsoft.com/default...;EN-US;Q316748 >GDLUCK! > > >"Sync Walantaji" wrote: > >> Hi, >> I would like to write a asp.net winform program to authenticate users >> on Active Directory. >> >> Can I do this with asp.net if the IIS server is not part of the Active >> directory domain? >> >> Is there a working example link that you can point me to? >> >> Thanks >> -- >> sync >>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bonegavel |
last post by:
Going to sound strange, but here i go.
We use Windows 2000 AD for everything. However, we are also running
XAMPP (basically Apache, MySQL, PHP for windows) on a Windows box for
our Intranet. I...
|
by: Renato Neves |
last post by:
The following code is working fine, i can create the user in the Active
Directory and "enable" it.
My problem is that, when i'm trying to authenticate him, i can't get to
work!! The user and pass...
|
by: Ram |
last post by:
How to Authenticate NDS server using C#
|
by: GC |
last post by:
I'm looking to build a web app that authenticates against my current active
directory. Anyone have any examples on how to do this? Thanks!
|
by: Joeri KUMBRUCK |
last post by:
Hello,
I'm trying to create an ASP page where users can type in a username
and password, and these credential should be checked with active
directory. If username and password are correct, the...
|
by: B111Gates |
last post by:
OK I know this is a complex question so I will break it up.
I know that SSPI is the prefered method of authentication, however if I
use the sample provide by MS I cannot authenticate across...
|
by: gabriel.salama |
last post by:
I am desperately trying to create a login page in ASP.NET in which a
user can be authenticated against a Domino Directory but for the life
of me, I cannot even find anything remotely close to this...
|
by: Jon |
last post by:
I am modifying an app for a customer in ASP.Net 1.1. The app is running on a
server outside their network, yet they want to authenticate users against
their internal active directory set up (they...
|
by: =?Utf-8?B?SklNLkgu?= |
last post by:
Authenticate users over domains
If there are two unrelated domains; DomainA, DomainB; and both run LDAP.
WebA is a web application runs in DomainA and WebB a different application
runs on...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |