HighTechTalks DotNet Forums  

ADSI

ASP.net Security microsoft.public.dotnet.framework.aspnet.security


Discuss ADSI in the ASP.net Security forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Chris
 
Posts: n/a

Default ADSI - 11-29-2007 , 07:46 PM






Hi All,

I have question about Active Directory. We have developed a site it has 75K
users on SQL server 2005 associated with roles, now we are thinking to change
it to Active directory is it good idea or bad idea? if it is good how to
migrate it.

Thanks in advance.

Chris

Reply With Quote
  #2  
Old   
Joe Kaplan
 
Posts: n/a

Default Re: ADSI - 11-29-2007 , 09:52 PM






You haven't given us enough information about what you are doing to provide
you with a useful answer. In terms of size, 75K users is not really
significant for AD from a size perspective. I wouldn't worry about that.

Migration of users may be tricky, depending a great deal on how you have
stored the users' passwords in SQL and whether your intent is for your users
to have the same password they had before.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi All,

I have question about Active Directory. We have developed a site it has
75K
users on SQL server 2005 associated with roles, now we are thinking to
change
it to Active directory is it good idea or bad idea? if it is good how to
migrate it.

Thanks in advance.

Chris



Reply With Quote
  #3  
Old   
Chris
 
Posts: n/a

Default Re: ADSI - 11-30-2007 , 09:24 AM



Joe ,

Thanks for quick respone.

We developed a site with public and privatre applications, for private
applications user need to login those users paswwords we dont want to
distrub, you are rite we want to use same passwords.

Any kind of possible other solutions also welcome( there is no time
constraint for development).

Regards,
Chris

"Joe Kaplan" wrote:

Quote:
You haven't given us enough information about what you are doing to provide
you with a useful answer. In terms of size, 75K users is not really
significant for AD from a size perspective. I wouldn't worry about that.

Migration of users may be tricky, depending a great deal on how you have
stored the users' passwords in SQL and whether your intent is for your users
to have the same password they had before.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:0620E3BC-F4D3-4A6C-A4B6-ADC27F591D37 (AT) microsoft (DOT) com...
Hi All,

I have question about Active Directory. We have developed a site it has
75K
users on SQL server 2005 associated with roles, now we are thinking to
change
it to Active directory is it good idea or bad idea? if it is good how to
migrate it.

Thanks in advance.

Chris




Reply With Quote
  #4  
Old   
Joe Kaplan
 
Posts: n/a

Default Re: ADSI - 11-30-2007 , 09:40 AM



Can you provide more details on how the passwords are stored in the SQL
database? If they are in plaintext or encrypted in a reversible format,
then you should be able to recover them and use them provision identities in
AD or ADAM such that the users will have the same username and password they
used in SQL.

However, if they are in some sort of 1 way hash format, then it might be
very difficult to recover the plain text. That would make provisioning in
AD very difficult.

Username format might be a bit of a problem as well, depending the formats
you allow in SQL. You would want those to be compatible with AD. ADAM
gives you a little more flexibility here.

I definitely recommend that you try to use the SQL and AD membership
providers for the integration with your web application. They provide a
nice abstraction layer over the user store that makes it easier for your
application to not have to care where the users are stored. If you aren't
using the membership providers now, I recommend that as your first step.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
Joe ,

Thanks for quick respone.

We developed a site with public and privatre applications, for private
applications user need to login those users paswwords we dont want to
distrub, you are rite we want to use same passwords.

Any kind of possible other solutions also welcome( there is no time
constraint for development).

Regards,
Chris

"Joe Kaplan" wrote:

You haven't given us enough information about what you are doing to
provide
you with a useful answer. In terms of size, 75K users is not really
significant for AD from a size perspective. I wouldn't worry about that.

Migration of users may be tricky, depending a great deal on how you have
stored the users' passwords in SQL and whether your intent is for your
users
to have the same password they had before.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:0620E3BC-F4D3-4A6C-A4B6-ADC27F591D37 (AT) microsoft (DOT) com...
Hi All,

I have question about Active Directory. We have developed a site it has
75K
users on SQL server 2005 associated with roles, now we are thinking to
change
it to Active directory is it good idea or bad idea? if it is good how
to
migrate it.

Thanks in advance.

Chris






Reply With Quote
  #5  
Old   
Chris
 
Posts: n/a

Default Re: ADSI - 11-30-2007 , 10:08 AM




We are using username as firtsname.lastname password as plaintext. could
you please provide me more information on using the SQL and AD membership
providers for the integration with web application, how to implement it.

aslo we want to use this AD for MOSS 2007, my question is do I need to have
exchanger server for this to implementation, we are using this for government
site.


Regards,
Chris





"Joe Kaplan" wrote:

Quote:
Can you provide more details on how the passwords are stored in the SQL
database? If they are in plaintext or encrypted in a reversible format,
then you should be able to recover them and use them provision identities in
AD or ADAM such that the users will have the same username and password they
used in SQL.

However, if they are in some sort of 1 way hash format, then it might be
very difficult to recover the plain text. That would make provisioning in
AD very difficult.

Username format might be a bit of a problem as well, depending the formats
you allow in SQL. You would want those to be compatible with AD. ADAM
gives you a little more flexibility here.

I definitely recommend that you try to use the SQL and AD membership
providers for the integration with your web application. They provide a
nice abstraction layer over the user store that makes it easier for your
application to not have to care where the users are stored. If you aren't
using the membership providers now, I recommend that as your first step.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:FBDD0F3B-CA1F-4658-893F-6B760047043E (AT) microsoft (DOT) com...
Joe ,

Thanks for quick respone.

We developed a site with public and privatre applications, for private
applications user need to login those users paswwords we dont want to
distrub, you are rite we want to use same passwords.

Any kind of possible other solutions also welcome( there is no time
constraint for development).

Regards,
Chris

"Joe Kaplan" wrote:

You haven't given us enough information about what you are doing to
provide
you with a useful answer. In terms of size, 75K users is not really
significant for AD from a size perspective. I wouldn't worry about that.

Migration of users may be tricky, depending a great deal on how you have
stored the users' passwords in SQL and whether your intent is for your
users
to have the same password they had before.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:0620E3BC-F4D3-4A6C-A4B6-ADC27F591D37 (AT) microsoft (DOT) com...
Hi All,

I have question about Active Directory. We have developed a site it has
75K
users on SQL server 2005 associated with roles, now we are thinking to
change
it to Active directory is it good idea or bad idea? if it is good how
to
migrate it.

Thanks in advance.

Chris







Reply With Quote
  #6  
Old   
Joe Kaplan
 
Posts: n/a

Default Re: ADSI - 11-30-2007 , 12:51 PM



I'd suggest reading the patterns and practices guidance documentation on
using the ASP.NET membership provider framework. There is a ton written on
this topic and you'll get better information by reading the existing
documentation than by asking such a broad question on the newsgroups. The
newsgroups are much better for asking specific technical questions. Google
will find the P&P docs very easily for you.

Since your passwords are stored in plain text, it should not be difficult to
provision matching users in AD. You'll just need some sort of script to do
it.

You don't need Exchange unless you want to use Exchange to provision the AD
users with mailboxes or use Exchange for some other email routing feature.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote

Quote:
We are using username as firtsname.lastname password as plaintext. could
you please provide me more information on using the SQL and AD membership
providers for the integration with web application, how to implement it.

aslo we want to use this AD for MOSS 2007, my question is do I need to
have
exchanger server for this to implementation, we are using this for
government
site.


Regards,
Chris





"Joe Kaplan" wrote:

Can you provide more details on how the passwords are stored in the SQL
database? If they are in plaintext or encrypted in a reversible format,
then you should be able to recover them and use them provision identities
in
AD or ADAM such that the users will have the same username and password
they
used in SQL.

However, if they are in some sort of 1 way hash format, then it might be
very difficult to recover the plain text. That would make provisioning
in
AD very difficult.

Username format might be a bit of a problem as well, depending the
formats
you allow in SQL. You would want those to be compatible with AD. ADAM
gives you a little more flexibility here.

I definitely recommend that you try to use the SQL and AD membership
providers for the integration with your web application. They provide a
nice abstraction layer over the user store that makes it easier for your
application to not have to care where the users are stored. If you
aren't
using the membership providers now, I recommend that as your first step.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:FBDD0F3B-CA1F-4658-893F-6B760047043E (AT) microsoft (DOT) com...
Joe ,

Thanks for quick respone.

We developed a site with public and privatre applications, for private
applications user need to login those users paswwords we dont want to
distrub, you are rite we want to use same passwords.

Any kind of possible other solutions also welcome( there is no time
constraint for development).

Regards,
Chris

"Joe Kaplan" wrote:

You haven't given us enough information about what you are doing to
provide
you with a useful answer. In terms of size, 75K users is not really
significant for AD from a size perspective. I wouldn't worry about
that.

Migration of users may be tricky, depending a great deal on how you
have
stored the users' passwords in SQL and whether your intent is for your
users
to have the same password they had before.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Chris" <Chris (AT) discussions (DOT) microsoft.com> wrote in message
news:0620E3BC-F4D3-4A6C-A4B6-ADC27F591D37 (AT) microsoft (DOT) com...
Hi All,

I have question about Active Directory. We have developed a site it
has
75K
users on SQL server 2005 associated with roles, now we are thinking
to
change
it to Active directory is it good idea or bad idea? if it is good
how
to
migrate it.

Thanks in advance.

Chris









Reply With Quote
  #7  
Old   
Alexey Smirnov
 
Posts: n/a

Default Re: ADSI - 12-05-2007 , 02:19 AM



On Nov 30, 5:08 pm, Chris <Ch... (AT) discussions (DOT) microsoft.com> wrote:
Quote:
We are using username as firtsname.lastname password as plaintext. could
you please provide me more information on using the SQL and AD membership
providers for the integration with web application, how to implement it.

aslo we want to use this AD for MOSS 2007, my question is do I need to have
exchanger server for this to implementation, we are using this for government
site.

Regards,
Chris



"Joe Kaplan" wrote:
Can you provide more details on how the passwords are stored in the SQL
database? If they are in plaintext or encrypted in a reversible format,
then you should be able to recover them and use them provision identities in
AD or ADAM such that the users will have the same username and password they
used in SQL.

However, if they are in some sort of 1 way hash format, then it might be
very difficult to recover the plain text. That would make provisioning in
AD very difficult.

Username format might be a bit of a problem as well, depending the formats
you allow in SQL. You would want those to be compatible with AD. ADAM
gives you a little more flexibility here.

I definitely recommend that you try to use the SQL and AD membership
providers for the integration with your web application. They provide a
nice abstraction layer over the user store that makes it easier for your
application to not have to care where the users are stored. If you aren't
using the membership providers now, I recommend that as your first step.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Chris" <Ch... (AT) discussions (DOT) microsoft.com> wrote in message
news:FBDD0F3B-CA1F-4658-893F-6B760047043E (AT) microsoft (DOT) com...
Joe ,

Thanks for quick respone.

We developed a site with public and privatre applications, for private
applications user need to login those users paswwords we dont want to
distrub, you are rite we want to use same passwords.

Any kind of possible other solutions also welcome( there is no time
constraint for development).

Regards,
Chris

"Joe Kaplan" wrote:

You haven't given us enough information about what you are doing to
provide
you with a useful answer. In terms of size, 75K users is not really
significant for AD from a size perspective. I wouldn't worry about that.

Migration of users may be tricky, depending a great deal on how you have
stored the users' passwords in SQL and whether your intent is for your
users
to have the same password they had before.

Joe K.

--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Chris" <Ch... (AT) discussions (DOT) microsoft.com> wrote in message
news:0620E3BC-F4D3-4A6C-A4B6-ADC27F591D37 (AT) microsoft (DOT) com...
Hi All,

I have question about Active Directory. We have developed a site it has
75K
users on SQL server 2005 associated with roles, now we are thinking to
change
it to Active directory is it good idea or bad idea? if it is good how
to
migrate it.

Thanks in advance.

Chris- Hide quoted text -

- Show quoted text -
Chris, from what was written above I see no clear case to migrate to
AD.

If you need it for integration with MOSS only, then I'm not sure if AD
will be the best way in that case. SharePoint imports users from AD to
the own SQL database, and it means AD will be as an intermediate-level
"database" there. Moreover, SharePoint can obtain users connecting
with AspNetSqlMembershipProvider to either the local or remote
instance of SQL Server.


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.