473,320 Members | 2,004 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Windows Authentication through Active Directory

Hi there, Please help me..It is urgent
This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails
Nov 20 '05 #1
10 4008
Hi Hriday,

I use "IsInRole" to find these pages on MSDN, can you use this as a start
place to check if this can help you?

Cor

This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails

Nov 20 '05 #2
Hi Hriday,

I use "IsInRole" to find these pages on MSDN, can you use this as a start
place to check if this can help you?

Cor

This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails

Nov 20 '05 #3
On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday" <hr********@yahoo.com> wrote:

¤ Hi there, Please help me..It is urgent
¤
¤
¤ This is Hriday, working on windows authentication with
¤ Active Directory...
¤ My requirment is when a user sends a request to my web
¤ Applicatoin I want to Pop up windows Authentication box so
¤ that user will give his userId, Password & domain name for
¤ authenticaion. After that I want to take these three info
¤ of user and make a search in Active Directory.
¤
¤ I am able to display Win Authentication Pop up by using
¤ Authentication mode="Windows" and in Authrization tag,
¤ deny user="?" and setting Win Integrated authentication in
¤ IIS.
¤
¤ But I am not able to take user's info from Win
¤ Authenication Pop-up Windows..as I used server variable
¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD I
¤ am getting null value...

You cannot obtain the password from the login dialog when using integrated Windows based
authentication.

If you want to capture the user ID and password you will have to use Forms based authentication:

http://samples.gotdotnet.com/quickst...formsauth.aspx
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #4
-----Original Message-----
On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday" <hr********@yahoo.com> wrote:
¤ Hi there, Please help me..It is urgent
¤
¤
¤ This is Hriday, working on windows authentication with
¤ Active Directory...
¤ My requirment is when a user sends a request to my web
¤ Applicatoin I want to Pop up windows Authentication box so ¤ that user will give his userId, Password & domain name for ¤ authenticaion. After that I want to take these three info ¤ of user and make a search in Active Directory.
¤
¤ I am able to display Win Authentication Pop up by using
¤ Authentication mode="Windows" and in Authrization tag,
¤ deny user="?" and setting Win Integrated authentication in ¤ IIS.
¤
¤ But I am not able to take user's info from Win
¤ Authenication Pop-up Windows..as I used server variable
¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD I ¤ am getting null value...

You cannot obtain the password from the login dialog when using integrated Windows basedauthentication.

If you want to capture the user ID and password you will have to use Forms based authentication:
http://samples.gotdotnet.com/quickst...lus/default.as px?url=/quickstart/aspplus/doc/formsauth.aspx

Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
.


Thanks Paul for your cooperation,

But My requirment is to use Windows Authentication and
make a search in Active directory and get user's
information. For that I think I don't need user's
Password. Only with UserId I should be able to make a
search in Active Directory. Even I am able to do this when
my Web Application is on Active Directory's IIS. But I
have to make a search in such a senario that both Active
Directory and IIS are located on different phisical
machine. In this senario when I search using only Path and
user name...It raises an exception called
System.Runtime.InteropServices.COMException

I have search in msdn but did not get solution....

Please help me in this senario...

Thanks in adavance..
Hriday.
Nov 20 '05 #5
Funny I see I did not paste the link in.
http://msdn.microsoft.com/library/de...nroletopic.asp

Cor

I use "IsInRole" to find these pages on MSDN, can you use this as a start
place to check if this can help you?

Cor

This is Hriday, working on windows authentication with
Active Directory...
My requirment is when a user sends a request to my web
Applicatoin I want to Pop up windows Authentication box so
that user will give his userId, Password & domain name for
authenticaion. After that I want to take these three info
of user and make a search in Active Directory.

I am able to display Win Authentication Pop up by using
Authentication mode="Windows" and in Authrization tag,
deny user="?" and setting Win Integrated authentication in
IIS.

But I am not able to take user's info from Win
Authenication Pop-up Windows..as I used server variable
AUTH_USER and got userId. but when I use AUTH_PASSWORD I
am getting null value...

Can some one tell me how to get password and domain fields
value form Windows Authenticaion Box....

If this is not posible ... how can I make a search without
password and domain..in Active directory ....

I copy my code for retrieving user info form Active
Directory. Please help me..It is urgent.

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String, ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username

Private path As String
= "LDAP://AD/DC=AD,DC=SOLVERSA,DC=COM"
Dim entry As New DirectoryEntry(path,
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
'Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails


Nov 20 '05 #6
On Fri, 25 Jun 2004 08:17:19 -0700, "Hriday" <hr********@yahoo.com> wrote:

¤
¤ >-----Original Message-----
¤ >On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday"
¤ <hr********@yahoo.com> wrote:
¤ >
¤ >¤ Hi there, Please help me..It is urgent
¤ >¤
¤ >¤
¤ >¤ This is Hriday, working on windows authentication with
¤ >¤ Active Directory...
¤ >¤ My requirment is when a user sends a request to my web
¤ >¤ Applicatoin I want to Pop up windows Authentication box
¤ so
¤ >¤ that user will give his userId, Password & domain name
¤ for
¤ >¤ authenticaion. After that I want to take these three
¤ info
¤ >¤ of user and make a search in Active Directory.
¤ >¤
¤ >¤ I am able to display Win Authentication Pop up by using
¤ >¤ Authentication mode="Windows" and in Authrization tag,
¤ >¤ deny user="?" and setting Win Integrated authentication
¤ in
¤ >¤ IIS.
¤ >¤
¤ >¤ But I am not able to take user's info from Win
¤ >¤ Authenication Pop-up Windows..as I used server variable
¤ >¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD
¤ I
¤ >¤ am getting null value...
¤ >
¤ >You cannot obtain the password from the login dialog when
¤ using integrated Windows based
¤ >authentication.
¤ >
¤ >If you want to capture the user ID and password you will
¤ have to use Forms based authentication:
¤ >
¤ >http://samples.gotdotnet.com/quickst...lus/default.as
¤ px?url=/quickstart/aspplus/doc/formsauth.aspx
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Thanks Paul for your cooperation,
¤
¤ But My requirment is to use Windows Authentication and
¤ make a search in Active directory and get user's
¤ information. For that I think I don't need user's
¤ Password. Only with UserId I should be able to make a
¤ search in Active Directory. Even I am able to do this when
¤ my Web Application is on Active Directory's IIS. But I
¤ have to make a search in such a senario that both Active
¤ Directory and IIS are located on different phisical
¤ machine. In this senario when I search using only Path and
¤ user name...It raises an exception called
¤ System.Runtime.InteropServices.COMException
¤
¤ I have search in msdn but did not get solution....
¤
¤ Please help me in this senario...

If your web server is in the AD domain you should be able to query AD.

What is the line of code that is causing the error?
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #7
-----Original Message-----
On Fri, 25 Jun 2004 08:17:19 -0700, "Hriday" <hr********@yahoo.com> wrote:
¤
¤ >-----Original Message-----
¤ >On Thu, 24 Jun 2004 23:08:12 -0700, "Hriday"
¤ <hr********@yahoo.com> wrote:
¤ >
¤ >¤ Hi there, Please help me..It is urgent
¤ >¤
¤ >¤
¤ >¤ This is Hriday, working on windows authentication with ¤ >¤ Active Directory...
¤ >¤ My requirment is when a user sends a request to my web ¤ >¤ Applicatoin I want to Pop up windows Authentication box ¤ so
¤ >¤ that user will give his userId, Password & domain name ¤ for
¤ >¤ authenticaion. After that I want to take these three
¤ info
¤ >¤ of user and make a search in Active Directory.
¤ >¤
¤ >¤ I am able to display Win Authentication Pop up by using ¤ >¤ Authentication mode="Windows" and in Authrization tag, ¤ >¤ deny user="?" and setting Win Integrated authentication ¤ in
¤ >¤ IIS.
¤ >¤
¤ >¤ But I am not able to take user's info from Win
¤ >¤ Authenication Pop-up Windows..as I used server variable ¤ >¤ AUTH_USER and got userId. but when I use AUTH_PASSWORD ¤ I
¤ >¤ am getting null value...
¤ >
¤ >You cannot obtain the password from the login dialog when ¤ using integrated Windows based
¤ >authentication.
¤ >
¤ >If you want to capture the user ID and password you will ¤ have to use Forms based authentication:
¤ >
¤
http://samples.gotdotnet.com/quickst...lus/default.as
¤ px?url=/quickstart/aspplus/doc/formsauth.aspx
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Thanks Paul for your cooperation,
¤
¤ But My requirment is to use Windows Authentication and
¤ make a search in Active directory and get user's
¤ information. For that I think I don't need user's
¤ Password. Only with UserId I should be able to make a
¤ search in Active Directory. Even I am able to do this when ¤ my Web Application is on Active Directory's IIS. But I
¤ have to make a search in such a senario that both Active ¤ Directory and IIS are located on different phisical
¤ machine. In this senario when I search using only Path and ¤ user name...It raises an exception called
¤ System.Runtime.InteropServices.COMException
¤
¤ I have search in msdn but did not get solution....
¤
¤ Please help me in this senario...

If your web server is in the AD domain you should be able to query AD.
What is the line of code that is causing the error?
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
.


Hi Paul,

My web server in the AD domain only, but I am not able to
search user's info by the following code if I pass only
path as parameter to DirectoyEntry class..The same code is
working if I pass all the three parameter as path,userId
and password. but I can't get password from Windows
authenticatoin Popup box.....

I think I should be able to search in AD by only having
complete LDAP path and Username. I copy the complete code
here...I get error on following line
Dim obj As Object = entry.NativeObject

Thanks a lot for your cooparation..

COMPLETE CODE IS LIKE THIS...

Private path As String
= "LDAP://AD/DC=AD,DC=MyComp,DC=COM"
Private filterAttribute As String
Public fullname As String
Public groupName As String
Public email As String

Public Sub GetUserDetails(ByVal domain As String, ByVal
username As String) ', ByVal pwd As String)
Dim domainAndUsername As [String] = domain & "\" &
username
Dim entry As New DirectoryEntry(path) ',
domainAndUsername, pwd)

Try
'Bind to the native AdsObject to force
authentication.
Dim obj As Object = entry.NativeObject

Dim search As New DirectorySearcher(entry)

search.Filter = "(SAMAccountName=" & username
& ")"
search.PropertiesToLoad.Add("cn")
Dim result As SearchResult = search.FindOne()

'Update the new path to the user in the
directory.
path = result.Path
filterAttribute = CType(result.Properties("cn")
(0), String)
fullname = CType(result.Properties("cn")(0),
String)
search.PropertiesToLoad.Add("mail")
Dim resultemail As SearchResult =
search.FindOne()
email = CType(resultemail.Properties("mail")
(0), String)

search.PropertiesToLoad.Add("MemberOf")
Dim resultgp As SearchResult = search.FindOne()
groupName = CType(resultgp.Properties
("MemberOf")(0), String)

Catch ex As Exception
Throw New Exception("Error obtaining user
details. " + ex.Message)
End Try

End Sub 'GetUserDetails
Nov 20 '05 #8
On Sat, 26 Jun 2004 02:01:59 -0700, "Hriday" <hr********@yahoo.com> wrote:
¤ >What is the line of code that is causing the error?
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Hi Paul,
¤
¤ My web server in the AD domain only, but I am not able to
¤ search user's info by the following code if I pass only
¤ path as parameter to DirectoyEntry class..The same code is
¤ working if I pass all the three parameter as path,userId
¤ and password. but I can't get password from Windows
¤ authenticatoin Popup box.....
¤
¤ I think I should be able to search in AD by only having
¤ complete LDAP path and Username. I copy the complete code
¤ here...I get error on following line
¤ Dim obj As Object = entry.NativeObject
¤
¤ Thanks a lot for your cooparation..
¤
¤ COMPLETE CODE IS LIKE THIS...
¤
¤ Private path As String
¤ = "LDAP://AD/DC=AD,DC=MyComp,DC=COM"

Is this the root path of your domain? It doesn't look right to me. What is returned as the root when
you execute the following code?

Dim RootDSE As New DirectoryServices.DirectoryEntry("LDAP://RootDSE")
MsgBox(RootDSE.Properties("DefaultNamingContext"). Value)
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #9
-----Original Message-----
On Sat, 26 Jun 2004 02:01:59 -0700, "Hriday" <hr********@yahoo.com> wrote:

¤ >What is the line of code that is causing the error?
¤ >
¤ >
¤ >Paul ~~~ pc******@ameritech.net
¤ >Microsoft MVP (Visual Basic)
¤ >.
¤ >
¤
¤ Hi Paul,
¤
¤ My web server in the AD domain only, but I am not able to ¤ search user's info by the following code if I pass only
¤ path as parameter to DirectoyEntry class..The same code is ¤ working if I pass all the three parameter as path,userId ¤ and password. but I can't get password from Windows
¤ authenticatoin Popup box.....
¤
¤ I think I should be able to search in AD by only having
¤ complete LDAP path and Username. I copy the complete code ¤ here...I get error on following line
¤ Dim obj As Object = entry.NativeObject
¤
¤ Thanks a lot for your cooparation..
¤
¤ COMPLETE CODE IS LIKE THIS...
¤
¤ Private path As String
¤ = "LDAP://AD/DC=AD,DC=MyComp,DC=COM"

Is this the root path of your domain? It doesn't look right to me. What is returned as the root whenyou execute the following code?

Dim RootDSE As New DirectoryServices.DirectoryEntry("LDAP://RootDSE") MsgBox(RootDSE.Properties

("DefaultNamingContext").Value)
Hi paul, thank you for your help..

When I execute the above code to get root path of AD, I
get error that The
specified domain either does not exist or could not be
contacted.

But the same code gives my root path of AD as
DC=AD,DC=MyComp,DC=Com when I excute it from a Windows
Applicatoin. Why is it so...?

same code gives right result from Windows App, but gives
above error from my Web Application...is this because of
there is some problem of my IIS ? otherwise what is
different in accessing AD through Windows App and Web App..

How can I get and set my IIS root path to my Active
directory?

Please write me back...

Thanking you..

Hriday.

Nov 20 '05 #10
On Fri, 2 Jul 2004 03:12:44 -0700, "hriday" <hr********@yahoo.com> wrote:
¤ >¤
¤ >¤ Private path As String
¤ >¤ = "LDAP://AD/DC=AD,DC=MyComp,DC=COM"
¤ >
¤ >Is this the root path of your domain? It doesn't look
¤ right to me. What is returned as the root when
¤ >you execute the following code?
¤ >
¤ > Dim RootDSE As New
¤ DirectoryServices.DirectoryEntry("LDAP://RootDSE")
¤ > MsgBox(RootDSE.Properties
¤ ("DefaultNamingContext").Value)
¤
¤
¤ Hi paul, thank you for your help..
¤
¤ When I execute the above code to get root path of AD, I
¤ get error that The
¤ specified domain either does not exist or could not be
¤ contacted.
¤
¤ But the same code gives my root path of AD as
¤ DC=AD,DC=MyComp,DC=Com when I excute it from a Windows
¤ Applicatoin. Why is it so...?
¤
¤ same code gives right result from Windows App, but gives
¤ above error from my Web Application...is this because of
¤ there is some problem of my IIS ? otherwise what is
¤ different in accessing AD through Windows App and Web App..
¤
¤ How can I get and set my IIS root path to my Active
¤ directory?
¤

Sounds like a permissions problem. I would see the following Microsoft article:

http://msdn.microsoft.com/library/de...asp?frame=true
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Andrew | last post by:
Hey all, I would like to preface my question by stating I am still learning ASP.net and while I am confident in the basics and foundation, the more advanced stuff is still a challenge. Ok....
2
by: Dan | last post by:
hi ng, i have a problem with windows authentification. i want to forward every user who 1. is not authorized 2. or could not be authenticated to a login page -------------------
1
by: Eric | last post by:
I trying to setup an intranet based on windows NT groups or roles. I have used windows integrated authentication with impersonation first but this include to use a user to access the database. I...
0
by: Hriday | last post by:
Hi there, Please help me..It is urgent This is Hriday, working on windows authentication with Active Directory... My requirment is when a user sends a request to my web Applicatoin I want to...
6
by: Mr Newbie | last post by:
Hi, Im in a situation where I need to restrict users, but I dont have access or wont be allowed access to manage groups in the domain. How can I restrict access is this case ? -- Best...
6
by: Jimmy | last post by:
Hi, I need to develop a secure Web Service that requires a username and password. One of the requirements is that the WS supports Windows Authentication, meaning accepts the username and...
1
by: Lucky | last post by:
hi guys, after long long efforts i got access to the active directory for "Intigrated windows authentication". now i', suppose to get access the network resources. the problem is i'm getting...
1
by: Luwk | last post by:
I have an application that communicates with the Company's Active Directory to get the OU of the users. This said application is an ASP.Net web site and has the Windows Authentication enabled. ....
0
JamieHowarth0
by: JamieHowarth0 | last post by:
I have been trying to find a solution to this on the Internet for months. Literally, ages and ages and ages, praying that someone in the open-source community has enough knowledge to put together an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.