By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,582 Members | 1,694 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,582 IT Pros & Developers. It's quick & easy.

Domain Logons

P: n/a
i'm checking the logged on user at start of my program. if the user is not
in my database (e.g. he uses his private notebook instead of the company
desktop), i want to show a login screen where he can enter his windows
username and password. can i somehow send this to the logon server to check
if they are correct or do i have to enter passwords manually to my database
(i want to avoid this)?
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Yes, you can obtain users and groups from Active Directory. We're doing
authentication from within VB.NET against Server 2003.

Take a look at the following:

DirectoryEntry
DirectorySearcher
SearchResultCollection
SearchResult

Specify your LDAP root.

Regards,

Tom

"NetRacer" <ne******@netspeedway.net> wrote in message
news:d6*************@news.t-online.com...
i'm checking the logged on user at start of my program. if the user is not
in my database (e.g. he uses his private notebook instead of the company
desktop), i want to show a login screen where he can enter his windows
username and password. can i somehow send this to the logon server to
check if they are correct or do i have to enter passwords manually to my
database (i want to avoid this)?

Nov 21 '05 #2

P: n/a
hmm... we have no ActiveDirectory here, only a simple NT4 domain. is it
somehow possible with this, too?
"Tom Edelbrok" <an*******@anonymous.com> schrieb im Newsbeitrag
news:vo5he.37914$0X6.6311@edtnps90...
Yes, you can obtain users and groups from Active Directory. We're doing
authentication from within VB.NET against Server 2003.

Take a look at the following:

DirectoryEntry
DirectorySearcher
SearchResultCollection
SearchResult

Specify your LDAP root.

Regards,

Tom

"NetRacer" <ne******@netspeedway.net> wrote in message
news:d6*************@news.t-online.com...
i'm checking the logged on user at start of my program. if the user is
not in my database (e.g. he uses his private notebook instead of the
company desktop), i want to show a login screen where he can enter his
windows username and password. can i somehow send this to the logon
server to check if they are correct or do i have to enter passwords
manually to my database (i want to avoid this)?


Nov 21 '05 #3

P: n/a
I think you can still use the same methods as long as you can get to your
directory via LDAP.

"NetRacer" <ne******@netspeedway.net> wrote in message
news:d6*************@news.t-online.com...
hmm... we have no ActiveDirectory here, only a simple NT4 domain. is it
somehow possible with this, too?
"Tom Edelbrok" <an*******@anonymous.com> schrieb im Newsbeitrag
news:vo5he.37914$0X6.6311@edtnps90...
Yes, you can obtain users and groups from Active Directory. We're doing
authentication from within VB.NET against Server 2003.

Take a look at the following:

DirectoryEntry
DirectorySearcher
SearchResultCollection
SearchResult

Specify your LDAP root.

Regards,

Tom

"NetRacer" <ne******@netspeedway.net> wrote in message
news:d6*************@news.t-online.com...
i'm checking the logged on user at start of my program. if the user is
not in my database (e.g. he uses his private notebook instead of the
company desktop), i want to show a login screen where he can enter his
windows username and password. can i somehow send this to the logon
server to check if they are correct or do i have to enter passwords
manually to my database (i want to avoid this)?



Nov 21 '05 #4

P: n/a
NetRacer,
You still use the Active Directory components & namespace for NT4, however
you need to use the WINNT provider (instead of the LDAP provider). For
details on the different providers, the following may be a good starting
point.

http://msdn.microsoft.com/library/de...ectoryADSI.asp

Unfortunately I don't have a sample handy...

Hope this helps
Jay

"NetRacer" <ne******@netspeedway.net> wrote in message
news:d6*************@news.t-online.com...
| hmm... we have no ActiveDirectory here, only a simple NT4 domain. is it
| somehow possible with this, too?
|
|
| "Tom Edelbrok" <an*******@anonymous.com> schrieb im Newsbeitrag
| news:vo5he.37914$0X6.6311@edtnps90...
| > Yes, you can obtain users and groups from Active Directory. We're doing
| > authentication from within VB.NET against Server 2003.
| >
| > Take a look at the following:
| >
| > DirectoryEntry
| > DirectorySearcher
| > SearchResultCollection
| > SearchResult
| >
| > Specify your LDAP root.
| >
| > Regards,
| >
| > Tom
| >
| >
| >
| > "NetRacer" <ne******@netspeedway.net> wrote in message
| > news:d6*************@news.t-online.com...
| >> i'm checking the logged on user at start of my program. if the user is
| >> not in my database (e.g. he uses his private notebook instead of the
| >> company desktop), i want to show a login screen where he can enter his
| >> windows username and password. can i somehow send this to the logon
| >> server to check if they are correct or do i have to enter passwords
| >> manually to my database (i want to avoid this)?
| >>
| >>
| >
| >
|
|
Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.