LDAP catalog + specific domain users
I'm not having any success trying to set up an LDAP catalog. I'm not sure what the Server Address should be or how I might find it for my company.
Even if I do set it up correctly, I'm not sure how it works. We have a company with lots of employes, but I only want a handful of logins to have access to hglab. If LDAP is set up, does that mean anyone who can authenticate onto the network has access to hglab?
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Anton Gogolev on 05 Jul, 2013 06:21 AM
Fred,
What are the specific issues you're having with LDAP catalog?
As far as only enabling specific uses to sign in to HgLab, there are two options.
First, you can set Base Container so that it would only contain a subset of users (like
ou=Developers,ou=Staff,dc=example,dc=com
would only allow Developers to sign in to HgLab). This, however, requires your ActiveDirectory catalog to be set up with this kind of hierarchy in mind.Second (and this can either be used in combination with the first option or used independently) you can only add specific users/groups to Teams (for each project), so that only a select handful of users will be able to see stuff. Everybody else will still be able to sign in, but they will be presented with an empty page.
2 Posted by Fred on 05 Jul, 2013 01:32 PM
Thanks for the reply and great tool!
I can see now where I can make use of Teams. I just need to get the LDAP settings right.
For Server Address, how would you find that out?
Bind Login and Password. I assume that would be my "domain\username" and password?
Can Base Container be empty? I've no idea what that should be for my company.
LDAP Authentication, I assume we want it enabled?
Support Staff 3 Posted by Anton Gogolev on 05 Jul, 2013 05:54 PM
Setting up an LDAP connection will be a lot of trial and error.
You can run
echo %LOGONSERVER%
in a command prompt and the output will most likely be a name (or an IP address) of the domain controller.You can also try running
gpresult
- you can get lots of useful information from that tool.You'd typically want an IP to be used as the server address. It's also common to have a separate AD user to be used to connect to a domain controller to perform lookups. You can try using your own credentials (either prefixed with
domain\
or not - that really depends on your environment). Base container you can sort of get fromgpresult
output, but I'd recomment contacting a sysadmin for this task.Anton Gogolev closed this discussion on 22 Aug, 2013 07:53 AM.
Anton Gogolev re-opened this discussion on 22 Aug, 2013 07:54 AM
Support Staff 4 Posted by Anton Gogolev on 22 Aug, 2013 07:54 AM
Fred,
Any luck with setting up LDAP?
5 Posted by Fred on 25 Aug, 2013 10:45 AM
Hi Anton,
Unfortunately no not yet. I went into my company's active directory tool and created a user "hglab" for programmatic access.
I've tried various combinations of the settings attached. Secure server port, different server addresses etc. the "ldap.myOrg.com" is a load balancer which points to various servers around the globe.
If I do get the setting right, and a user attempts to log in, what happens then? Are they denied access until I enable it?
Support Staff 6 Posted by Anton Gogolev on 26 Aug, 2013 10:44 AM
Fred,
I'm not sure Bind Logins of this form are supported. Try
MYORG\hglab
or justhglab
.Also, Base Container seems to be a bit off. I think it should read
ou=People,dc=ldap,dc=myorg,dc=com
.I'm really sorry, but that's all I can help you with at the moment. You can also investigate logs under
App_Data
to see if there are any LDAP-related exceptions.As to what happens when you eventually configure your LDAP Catalog is that any user from the Base Container will be able to sign into HgLab.
7 Posted by Fergal on 10 Sep, 2013 10:33 AM
Thanks,
I've tried all sorts of combinations i can think of. There may be even proxy issues at play here. I see no logs in the App_Data folder.
I've manually added users for now, I might revisit LDAP in future.
Anton Gogolev closed this discussion on 23 Sep, 2013 10:39 AM.