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
-
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 -
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 prependedN) to indicate NVARCHAR? -
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 -
If you need to supply credentials when connecting to the domain, make sure "Specific list..." is selected, and enter it as:
domain.local,CredentialNameWhere
CredentialNameis the name of set ofUsername & Passwordresource credentials created via Admin > Change User Directory > Advanced > AD Credentials > Create
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