Bitnami stack install windows sbs2003 active directory problem
Added by andy copsey about 15 years ago
I'm a newbie to a lot of this and would greatly appreciate some basic guidance. Have installed redmine bitnami stack 0.8.5 which AFAIK is running mysql. redmine works, emails work, adding users works and I can add and edit issues. However I cannot get active directory to work. Ideally - I want to assign existing security groups to projects, but it would be good just to be able to authenticate individual users (one step at a time!)
I don't understand the ldap settings page and cannot relate the contents of the fields to info I can get from the sbs server. Have created a new authentication mode and pressing on the test - it reports successful connection - so it is correct to that point. However having changed my user login to use this rather than local authentication - I cannot login. I presume it is failing to find me as a user in AD.
In our server - the active directory structure in the server damager looks like this
advanced management
|active directory users and computers
|coppo23.local
|MyBusiness
|Users
|SBSUsers
Fred
andy
sid
etc
From this - how do I work out the distinguished name entry for redmine?
I have attached a screen shot of the redmine page
Secondly - one to look at later perhap - is the idea of linking existing security groups to projects possible for someone with limited experience and if so can you point me at info to do this. (I am a general engineer with lots of embedded experience - but specifically no background in ruby, apache and sql!)
Any help greatly appreciated.
Coppo
redmine.JPG (37.8 KB) redmine.JPG | Screen shot of redmine ldap settings |
Replies (2)
RE: Bitnami stack install windows sbs2003 active directory problem - Added by andy copsey about 15 years ago
andy copsey wrote:
I'm a newbie to a lot of this and would greatly appreciate some basic guidance. Have installed redmine bitnami stack 0.8.5 which AFAIK is running mysql. redmine works, emails work, adding users works and I can add and edit issues. However I cannot get active directory to work. Ideally - I want to assign existing security groups to projects, but it would be good just to be able to authenticate individual users (one step at a time!)
I don't understand the ldap settings page and cannot relate the contents of the fields to info I can get from the sbs server. Have created a new authentication mode and pressing on the test - it reports successful connection - so it is correct to that point. However having changed my user login to use this rather than local authentication - I cannot login. I presume it is failing to find me as a user in AD.
In our server - the active directory structure in the server damager looks like this
advanced management |active directory users and computers |coppo23.local |MyBusiness |Users |SBSUsers
Fred
andy
sid
etcFrom this - how do I work out the distinguished name entry for redmine?
I have attached a screen shot of the redmine page
Secondly - one to look at later perhap - is the idea of linking existing security groups to projects possible for someone with limited experience and if so can you point me at info to do this. (I am a general engineer with lots of embedded experience - but specifically no background in ruby, apache and sql!)
Any help greatly appreciated.
Coppo
I have done some more testing using softerra tools and thought I was getting somewhere - still not far enough though.
If I navigate to the users pot in softerra ldap admin tool a typical user - me in this case - has a distinguished name as follows
distinguishedName: CN=myname,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=ADI,DC=local
I still don't know exactly what to enter for the base DN in redmine - I currently have
OU=SBSUsers,OU=Users,OU=MyBusiness,DC=ADI,DC=local
In redmine attributes Login I have sAMAccountName and I have checked in softerra that this exactly matches the login name myname.
Turning on logging in windows event monitor I am seeing error 525 - name not found.
I have set up an account and password for redmine authentication mode as I discovered without it - I was getting a binding error reported in event viewer.
HELP! There has to be someone out there who has been through this pain before and sorted it!
RE: Bitnami stack install windows sbs2003 active directory problem - Added by andy copsey about 15 years ago
Sorted active directory at long last.
The only thing that was wrong is that the account needs to be formatted as a distinguished name - not a login name. Grrr. The base name didn't really matter as long as it included the location where all the users where located.
See attached file.
redmine.jpg (61.4 KB) redmine.jpg | Now working settings - company name edited |