Results 1 to 6 of 6

Thread: AD user limited to read ldap only

  1. #1
    Join Date
    Jan 2009
    Posts
    1

    AD user limited to read ldap only

    Hey guys, am in need of some urgent help form you all. I have non windows devices that uses AD username and password to access the LDAP info. Call me paranoid but if someone should happen to access the device and extract the user/password I would like to at least prevent the user from logging on to the network.

    I just wanted to know if there is any way to create an user without any other permission than reading ldap? If yes, please let me know how.

    Thank you.

  2. #2
    Join Date
    Jan 2009
    Posts
    1

    Re: AD user limited to read ldap only

    Yep, that is possible. Create the user and assign him only the following rights:

    • SeDenyBatchLogonRight
    • SeDenyInteractiveLogonRight
    • SeDenyRemoteInteractiveLogonRight
    • SeDenyServiceLogonRight


    Just remember not to remove SeDenyNetworkLogonRight because this will allow the user to authenticate over the network.

  3. #3
    Join Date
    Jun 2011
    Posts
    2

    Re: AD user limited to read ldap only

    Where do I find these settings?

  4. #4
    Join Date
    Dec 2007
    Posts
    1,736

    Re: AD user limited to read ldap only

    1. Open ADSIEdit from the Windows 2000 Support Tools.
    2. Locate the Domain Naming Context folder. This folder has the LDAP path of your domain.
    3. Right-click the Domain Naming Context folder, and then click Properties.
    4. Click Security.
    5. Click Advanced.
    6. Click Add.
    7. Click the User Object user, and then click OK.
    8. Click the Permission Type tab.
    9. Click Inheritance from the Apply onto box.
    10. Click to select the Allow check box for the Permission.

  5. #5
    Join Date
    Jun 2011
    Posts
    2

    Re: AD user limited to read ldap only

    Thanks for the steps. I was hoping the solution in this thread would help, but it hasn't. Perhaps someone could help in my my scenario:

    Native 2008 AD domain. We use a third-party app that allows authentication through LDAP. Regular users can authenticate in, but service accounts can't. Though I get a "user not found" error, the same error is generated when a user puts in the wrong password. I've tested placing the user(s) and service accounts in different OUs/containers, but that doesn't make any difference. The service account can log into a computer, so I know that it works otherwise. Vendor support says they have seen similar problems when the service account has read-only permissions to the AD, and that is what led me to this thread. And the LDAP guru for my environment tells me that there a problem in the app's code, however the vendor isn't admitting anything.

    So with the tip from this thread, I gave the service account Full Control over the deepest child container it is in, but that didn't fix my problem.

    Any suggestions out there?

  6. #6
    Join Date
    Dec 2007
    Posts
    996

    Re: AD user limited to read ldap only

    Hi a4andrew,

    The error message that you are getting is very general and it does not explain any specific problem or reason itself. Microsoft has a very good article to fix this issue at http://support.microsoft.com/kb/324321/en-us. You can also try to use the below method and see if it helps:

    • From the SQL Server running Windows 2008 R2, Click Start-> Run and type the command GPEDIT.MSC. This will open the Policy Editor.
    • From Policy Editor Expand “Computer configuration” - > Windows Settings -> Security Setttings -> Local Policies -> Security Options.
    • You will see all security policies on right hand side window. Make changes into the following two policies.
      • Domain member: Digitally encrypt secure channel data (when possible) – Disable this policy
      • Domain member: Digitally sign secure channel data (when possible) – Disable this policy

    After that close the policy editor and reboot.

Similar Threads

  1. LDAP user authentication error with VBScript from ASP
    By ridergroov in forum Active Directory
    Replies: 3
    Last Post: 04-01-2014, 12:08 PM
  2. Problem in binding the user in LDAP using Spring LDAP
    By deepti.agrawal in forum Software Development
    Replies: 1
    Last Post: 25-04-2011, 03:26 AM
  3. Replies: 2
    Last Post: 08-08-2008, 04:19 AM
  4. Ldap query to list groups a user is a member of?
    By SKREECH in forum Active Directory
    Replies: 1
    Last Post: 24-02-2008, 08:30 PM
  5. User permissions to read LDAP
    By Dharitree in forum Window 2000 Help
    Replies: 2
    Last Post: 14-05-2006, 07:13 PM

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,713,562,931.63267 seconds with 17 queries