Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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!

    LDAP nvarchar issue

    Scheduled Pinned Locked Moved Support
    proget
    4 Posts 2 Posters 11 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      hello, I need your help.
      I'm using Proget Basic ver.4.7.12 and I want to set permission for LDAP Directory group. However, I can't give my team permission because of nvarchar issue. Proget returns message 'username or password is incorrect'.(My team name includes word '팀') Also, when I try inserting to database directly word '팀' has been broken like '?'. How can I avoid this problem?

      Product: ProGet
      Version: 4.7.12

      1 Reply Last reply Reply Quote 0
      • T Offline
        thoven
        last edited by

        ProGet supports Unicode so there is no reason it shouldn't work.

        When adding directly to the DB are you using the N'test 팀' syntax (specifically the prepended N) to indicate NVARCHAR?

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          thanks to syntax using 'N', I could insert data correctly.
          But I can't solve error returned proget.
          hmm.. Domain URL may give me some issue?
          I'm using trial proget assigned domain 'localhost:port'. (It is for LDAP setting test.)
          If proget's domain is different with LDAP's searchRootPath it can be issue?
          (I've set Advanced LDAP setting in Manage User Directory)

          There is error log.
          Tks

          [COMException (0x8007052e): username or password is incorrect
          ]
          System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) +563482
          System.DirectoryServices.DirectoryEntry.Bind() +45
          System.DirectoryServices.DirectoryEntry.get_AdsObject() +40
          System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) +91
          System.DirectoryServices.DirectorySearcher.FindOne() +46
          Inedo.ProGet.WebApplication.Security.UserDirectory.LdapDirectory.TryGetGroup(String groupName) +264
          Inedo.ProGet.WebApplication.Pages.Administration.Security.Privileges.<>c__DisplayClass21_0.<CreateChildControls>b__6() +640
          Inedo.Web.Controls.ButtonLinks.PostBackButtonLink.Inedo.Web.Controls.ISimplePostControl.ProcessValidPost() +39
          Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls, Boolean isValid, IList1 validationResults, ISimplePostControl postbackTrigger, String eventName) +243
          Inedo.Web.PageFree.SimplePageBase.ProcessPost(IEnumerable1 controls, Boolean isValid, IList1 validationResults, ISimplePostControl postbackTrigger, String eventName) +319
          Inedo.Web.PageFree.SimplePageBase.ProcessPostBack() +291
          Inedo.Web.PageFree.<ProcessRequestAsync>d__48.MoveNext() +395
          System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +31
          System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +60
          System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +64
          System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +393
          System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
          System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128

          1 Reply Last reply Reply Quote 0
          • T Offline
            thoven
            last edited by

            If you need to supply credentials when connecting to the domain, make sure "Specific list..." is selected, and enter it as:

            domain.local,CredentialName
            

            Where CredentialName is the name of set of Username & Password resource credentials created via Admin > Change User Directory > Advanced > AD Credentials > Create

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation