Status: New
Owner: ----
Labels: Type-Defect Component-Docs

New issue 3951 by coronari...@gmail.com: [Active Directory LDAP ] Misleading info for Anonymous User Mask
https://code.google.com/p/reviewboard/issues/detail?id=3951

What's the URL of the page containing the problem?

I'm using 1.7.21:

https://www.reviewboard.org/docs/manual/1.7/admin/configuration/authentication-settings/

But it's the same in the last version:

https://www.reviewboard.org/docs/manual/2.5/admin/configuration/authentication-settings/


Describe the problem and any recommendations below.

The Anonymous User Mask says (both in inline help on the Authentication configuration on RB and on the docs):

"The user mask string for anonymous users. This should be in the same format as User Mask."

However in my case I had to use the following format to make it work:

Anonymous User Mask        : myusername@windows.domain
Anonymous User Password : myusernamePassword

I found the solution in this thread:

https://groups.google.com/forum/#!searchin/reviewboard/ldap$20active$20directory$20user$20mask/reviewboard/XpRvjYp7SJ4/hs-pJ0v_S4AJ

(look at the reply from Jan Koprowsky)

When I was following the hint of the documentation I was using this mask for the anon user mask:

sAMAccountName=myusername,cn=common.name,ou=subgroup,ou=something,ou=USERS,dc=mydomain,dc=com

...and I was getting the following error:

LDAP error: The specified object does not exist in the Directory: sAMAccountName=myusername

(The same error was popping up when leaving the field empty)



Please provide any additional information below.


My RB is 17.21 and installed on a Ubuntu server 12.04 LTS

I set the other fields for LDAP Active Directory like this:

LDAP Server: ldap://mydomain.com:389
LDAP Base DN: ou=something,ou=USERS,dc=mydomain,dc=com
Given Name Attribute: givenName
Surname Attribute: sn
E-Mail LDAP Attribute: mail
User Mask: sAMAccountName=%s

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to