Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

How to set up LDAP



  • Hi

    I cannot find any documentation on how to setup LDAP

    Could you please point me to it?

    Thanks

    Product: ProGet
    Version: 4.2.1



  • Check out LDAP and Active Directory for more information.



  • Hi Alana,

    The link you send me is not giving the information we need.

    We need the info on how to set up the LDAP when we login in the Admin section

    Do you have such a info?

    Thanks

    Alberto



  • Basically you just go to Admin > Change User Directory (LDAP), and then follow the prompts on that screen.



  • Hi Alana,

    I have tryed to follow the link

    but I get the message

    "here are no privileges assigned for the specified user directory.

    Go to the assign privileges page to add some."

    When I try to got to "assign privileges" I don´t know what to do

    I have tried to add the Active Directory group to the Administer but is not showing up to the User and Group in the Tasks list

    How do I add it?

    Or do I need to add a Active Directory user ot the list?

    Please let us know since we are stuck in the installation setup process

    Thanks

    Alberto



  • Hi Alana

    I have added a group to the tasks list as Administator for LDAP directory

    Now I get the following error
    Server Error in '/' Application.

    The (&((name=Book - Innovation House White Room 4 (2 people)(10-01) (Restrict))((objectCategory=group))) search filter is invalid.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: The (&((name=Book - Innovation House White Room 4 (2 people)(10-01) (Restrict))((objectCategory=group))) search filter is invalid.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ArgumentException: The (&((name=Book - Innovation House White Room 4 (2 people)(10-01) (Restrict))((objectCategory=group))) search filter is invalid.]
    System.DirectoryServices.ResultsEnumerator.MoveNext() +318285
    System.DirectoryServices.DirectorySearcher.FindOne() +206
    Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +216 Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +356
    Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +356 Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +356
    Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +356 Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +356
    Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfGroup(String userName, HashSet1 groupList, Boolean recurse) +356 Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.GetParentGroupsOfUser(String userName, HashSet1 groupList, Boolean recurse) +356
    Inedo.ProGet.WebApplication.Security.UserDirectory.LdapUser.IsMemberOfGroup(String groupName) +210
    System.Linq.WhereArrayIterator1.MoveNext() +43 System.Linq.Buffer1..ctor(IEnumerable1 source) +488 System.Linq.<GetEnumerator>d__0.MoveNext() +252 System.Linq.Buffer1..ctor(IEnumerable1 source) +488 System.Linq.Enumerable.ToArray(IEnumerable1 source) +103
    System.Collections.Concurrent.ConcurrentDictionary2.GetOrAdd(TKey key, Func2 valueFactory) +83
    Inedo.ProGet.WebApplication.Security.TaskChecker.CanPerformAnyTask(IUserDirectoryUser user) +23
    Inedo.ProGet.WebApplication.ProGetHttpModule.ValidateSecuredTasks(HttpApplication app, IHttpHandler handler) +820
    Inedo.ProGet.WebApplication.ProGetHttpModule.ValidatePrivileges(HttpApplication app, IHttpHandler handler) +93
    Inedo.ProGet.WebApplication.ProGetHttpModule.PostMapRequestHandler(HttpApplication app) +750
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +165

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209

    I am not able to change it

    How can I reset the situation

    Please help

    Thanks

    Alberto



  • Hello;

    I believe the error is due to a bug in the LdapDirectory code, which is not properly escaping that group name that has a parenthesis in it.

    So, we will need to fix the bug; I've logged this as PG-602, and we can get it in the next maintence release (which is targeted for next week).

    Best,
    Steve


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation