Results 1 to 4 of 4

Thread: NT Security

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    Anyone know how to dig into NT to get the username password information (I am an NT administrator, so I have the rights) cos I want to pass the information off to SQL Server to set a shadow username, don't ask why.

    Cheers,

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    You can not do this. Even an administrator does not have the right to view other peoples passwords. He only has the right to change them.
    NT offers NO function (API or whatever) to retrieve a password.

  3. #3
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    However, you can use NT security with SQL Server.
    A connection string would look like this:
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=YourDatabase;Data Source=YourServerName

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    1,008
    Thanks for the reply, but what I was after was a bolt on to NT to allow the setting of a SQL Server password at the same time as the password was set for the Domain.

    For reasons too complex to go into, I cannot use integrated security.

    Thanks anyway.

    P.
    Not nearly so tired now...

    Haven't been around much so be gentle...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width