Re: Synchronize Active Directory with a SQL-Server database
- From: "Babu VT" <babuvt@xxxxxxxxxxxxx>
- Date: Thu, 27 Jul 2006 22:52:19 +0530
Pictor,
Nope! you cant get password out of AD domain database....may be you might
need to redefine your model...However leave this post open for a while to
see if someone else has a better idea.
rgds
Babu
"Pictor" <Pictor@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AAF81CE6-572D-481E-B26D-F54BF64F58EF@xxxxxxxxxxxxxxxx
Unfortunately the problem is not the access to the SQL-Server database.
The question is not with the authorization; it is a synchronization
problem
with the DB.
The problem is I have a table in the db where I store data about the same
users of the Active Directory.
In that data I need to save, at least, the username and the password of
the
user of the active directory.
Infact, on the login I check if the user exist in the AD too.
But I can enable/disable this check and make the users to login checking
the
username and the password on the database.
So I need the record of the users in the database to have the same
username
and password of the users in the Active Directory.
But if I execute a query to get the userPassword it goes ok; BUT when I
try
to print the password it is empty.
I need to store the password in the table of the database. I can have it
crypted or not, it's not a problem. But at least I need to get it to read
and
compare.
I'm near to the suicide :(
.
- References:
- Prev by Date: Re: Retrieve attributes from Active Directory
- Next by Date: Re: Create Multiple Accounts
- Previous by thread: Re: Synchronize Active Directory with a SQL-Server database
- Next by thread: Re: Synchronize Active Directory with a SQL-Server database
- Index(es):
Relevant Pages
|