Results 1 to 4 of 4

Thread: LDAP connection on local server without domain and active directory

  1. #1
    Join Date
    Jul 2006
    Posts
    182

    LDAP connection on local server without domain and active directory

    I want to set the "msNPAllowDialin" value to deny for a local user on stand alone Windows 2003. I am right now using the WinNT:// connection method and found that this property can only be set with LDAP connection. Can anyone tell me how should the LDAP connection string look like if you need to modify this on a user named "TestUser" in the default "Users" folder on the server "TestServer"? Thanks

  2. #2
    Join Date
    Nov 2005
    Posts
    930

    Re: LDAP connection on local server without domain and active directory

    I think that it can be done with userDN = The users distinguished name:

    Set objUser = GetObject ("LDAP://" & userDN )

    objUser.Put "msNPAllowDialin", newValue

    objUser.SetInfo

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792
    I dont think you will be able to access RAS objects with the WINNT Provider.

  4. #4
    Join Date
    Oct 2005
    Posts
    2,358
    Could you please specify in detail what are you trying to do exactly? Unless you are running AD LDS (ADAM) locally there is no LDAP server on your machine. So I just want to clear up that, are you trying to connect to AD from a standalone into the domain or trying to read the local sam file? Thanks.

Similar Threads

  1. Replies: 4
    Last Post: 29-12-2011, 06:01 AM
  2. Replies: 1
    Last Post: 02-06-2009, 06:32 AM
  3. Replies: 4
    Last Post: 03-04-2008, 10:33 AM
  4. 2003 Terminal Server on Active Directory Domain Controller
    By Jahbriel in forum Active Directory
    Replies: 1
    Last Post: 03-02-2008, 10:34 PM
  5. Replies: 5
    Last Post: 13-06-2007, 07:23 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,163,600.73227 seconds with 17 queries