I get an error when trying to validate with Paddle:
Username is missing from configuration, and anonymous authentication not configured
I don't see "Username" as a field anywhere in the documentation.
root@ip-10-13-8-43 ~]# java -jar paddle-2.0.jar debug ########################################################################################################################### LDAP Support Tool version 2.0 ########################################################################################################################### Username is missing from configuration, and anonymous authentication not configured Exception in thread "main" java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:459) at com.atlassian.paddle.connection.DefaultConnectionFactory.buildEnvironment(DefaultConnectionFactory.java:68) at com.atlassian.paddle.connection.DefaultConnectionFactory.<init>(DefaultConnectionFactory.java:18) at com.atlassian.paddle.Paddle.main(Paddle.java:58)
Hello Weston,
Thank you for your update.
This is the minimum required to connect to your LDAP.
<atlassian-user> <repositories> <ldap key="ldapRepository" name="ADHOSTNAME" cache="true"> <host>192.168.10.71</host> <port>389</port> <securityPrincipal>CN=Bamboo User,OU=Service Accounts,DC=USCorp,DC=MyDomain,DC=com</securityPrincipal> <securityCredential>abc123</securityCredential> <securityProtocol>plain</securityProtocol> <securityAuthentication>simple</securityAuthentication> <baseContext>DC=USCorp,DC=MyDomain,DC=com</baseContext> </ldap> <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/> </repositories> </atlassian-user>
In case you continue on experiencing issues, I would suggest you on raising Support Request on https://support.atlassian.com or from "Bamboo administration >> Bamboo Administration >> System >> Atlassian Support Tools >> Support Request".
—
Kind regards,
Rafael P. Sperafico
Atlassian Support
Hello Weston,
Thank you for your inquire.
What is the User (CN= or UID= ) you are using to authenticate against LDAP?
<securityPrincipal>CN=[DISPLAY-NAME],CN=Users,DC=example,DC=com</securityPrincipal>
Please, refer to the following fro further information:
If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.
Thank you for your understanding.
—
Kind regards,
Rafael P. Sperafico
Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Weston, Please, place the '<bamboo-home>/xml-data/configuration/atlassian-user.xml ' content so we can review it. Please, obfuscate the following tags as per following: <host>[HOSTNAME]</host> <port>389</port> <securityCredential>[PASSWORD]</securityCredential> — Kind regards, Rafael P. Sperafico Atlassian Support
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just joined this forum, and I don't have any "points", so I can only reply once every 24 hours. If you couple please remove that restriction from my account, that would be great, as I could really use this help so we can finish our migration to Bamboo. Here's atlassian-user.xml <atlassian-user> <repositories> <ldap key="ldapRepository" name="[ADHOSTNAME]" cache="true"> <host>[HOSTNAME]</host> <port>389</port> <securityPrinciple>CN=Bamboo User,OU=Service Accounts,DC=USCorp,DC=MyDomain,DC=com</securityPrinciple> <securityCredential>[PASSWORD]</securityCredential> <securityProtocol>plain</securityProtocol> <securityAuthentication>simple</securityAuthentication> <baseContext>dc=USCorp,dc=MyDomain,dc=com</baseContext> <baseUserNamespace>ou=USCorp Users,dc=USCorp,dc=MyDomain,dc=com</baseUserNamespace> <baseGroupNamespace>ou=Security Groups,dc=USCorp,dc=MyDomain,dc=com</baseGroupNamespace> <usernameAttribute>sAMAccountName</usernameAttribute> <userSearchFilter>(objectClass=user)</userSearchFilter> <firstnameAttribute>givenName</firstnameAttribute> <surnameAttribute>sn</surnameAttribute> <emailAttribute>mail</emailAttribute> <groupnameAttribute>cn</groupnameAttribute> <groupSearchFilter>(objectClass=group)</groupSearchFilter> <membershipAttribute>member</membershipAttribute> </ldap> <hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/> </repositories> </atlassian-user>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.