Networks Thread, Zero One Helpdesk in Technical; Hi
I am having a lot of fun trying to sort out LDAP authentication. I think I have managed to ...
-
28th March 2008, 10:39 AM #1 Zero One Helpdesk
Hi
I am having a lot of fun trying to sort out LDAP authentication. I think I have managed to get the program to see the server, but I get an error with the user account. The error is:
Warning: ldap_search() [function.ldap-search]: Search: No such object in D:\www\st-helpdesk\common\common.php on line 167
I am not totally sure where to llok for this one, I downloaded the ldp tool thing, and I cannot see the info.
Can anyone shed any light?.
My LDAP settings are:
ldap_host = "myserverip"
ldap_domain = "mydomain"
ldap_binddn = "administrator@mydomain"
ldap_bindpwd = "adminpassword"
ldap_rootdn = "CN=ogs,DC=mydomain,DC=internal"
ldap_searchattr = "DC=mydomain,DC=internal"
ldap_fname = "givenname"
ldap_lname = "sn"
ldap_uname = "samaccountName"
ldap_email_add = "mail"
ldap_office = "l"
ldap_phone = "telephonenumber"
ldap_context = "DC=mydomain,DC=internal"
Thanks
Scot
-
-
IDG Tech News
-
21st October 2008, 04:24 PM #2 Did you figure this? I'm having some problems setting up ldap on this.
Thanks,
-
-
22nd October 2008, 07:42 AM #3 This is my LDAP Config..
auth_method = "AD"
ldap_host = "my_domain_controller.school.internal"
ldap_domain = "school.internal"
ldap_binddn = "administrator@school.internal"
ldap_bindpwd = "admin_password"
ldap_rootdn = "OU=school_OU,DC=school,DC=internal"
ldap_searchattr = "sAMAccountName"
ldap_fname = "givenname"
ldap_lname = "sn"
ldap_uname = "samaccountname"
ldap_email_add = "mail"
ldap_office = "physicaldeliveryofficename"
ldap_phone = "telephonenumber"
ldap_context = "sAMAccountName"
Note the highlighted section!
-
Thanks to Gatt from:
Hightower (22nd October 2008)
-
22nd October 2008, 09:04 AM #4 Looks like it worked. Now I get this though:
Cannot create new user! ... This user does not have an 'Email' LDAP value or check 'LDAP Email Attribute' in the OneOrZero Task Management System Server Settings
Changed the email value to 'givenname' to test and now can log in. But why would I get this error? The email value is filled in within active directory
-
-
22nd October 2008, 09:37 AM #5 Are you using Exchange? I don't think the AD LDAP field for your Exchange email address is the same as the 'mail' field.
-
-
22nd October 2008, 09:45 AM #6 No - our email system is external. Another thing: Is it possible to add two locations to ldap_rootdn because otherwise the students will have access which I don't want.
I've tried OU=Location1,DC=school,DC=internal;OU=Location2,DC=school,DC=internal
but that doesn't work.
Thanks for the help
-
-
22nd October 2008, 09:55 AM #7 I think email is a required field - you need the email field populated in the user's AD properties
As for 2 locations - i think you can by seperating them with Semi-Colons but not sure..
If Staff and Pupils are in same AD, then easiest was is to create OU's for staff and pupils then set the STAFF OU as the rootdn
Last edited by Gatt; 22nd October 2008 at 09:57 AM.
-
-
22nd October 2008, 10:06 AM #8 It's a CC3 network so we have OU's for Non-teaching, teaching, system admins and students. If I add the OU above it opens up access to the students as everyone falls under the TCS OU
I need to add the non-teaching and teaching - semi-colon didn't work.
-
-
22nd October 2008, 10:54 AM #9 The mail part is working now - Just need to figure out how to add two OU's.
I've tried adding a group like CN=Group name,OU=Location,DC=School,DC=Internal but this didn't work either.
-
-
21st April 2009, 04:03 PM #10
- Rep Power
- 0
One Or Zero Ldap Problems
I have fully installed One Or Zero with no problems but im having some problems with LDAP, I have successfully got LDAP to work but I need a way to add multiple OUs like in Moodle. As we need to have several ou`s across domain and A sub domain.
below is a list of the OU's I have need to add how would i do it?
OU=Admin Users,DC=nsnet,DC=net
OU=S Teachers,DC=nsnet,DC=net
OU=Teachers,DC=nsnet,DC=net
OU=Students,DC=nsnet,DC=net
OU=S Teachers,DC=Juniorschool,DC=nsnet,DC=net
OU=Teachers,DC=Juniorschool,DC=nsnet,DC=net
OU=Students,DC=Juniorschool,DC=nsnet,DC=net
chris
-
SHARE:
Similar Threads
-
By bizzel in forum Coding
Replies: 19
Last Post: 23rd March 2011, 05:41 PM
-
By Grommit in forum Network and Classroom Management
Replies: 6
Last Post: 21st April 2008, 03:39 PM
-
By pmassingham in forum Downloads
Replies: 5
Last Post: 8th April 2008, 03:00 PM
-
By wesleyw in forum How do you do....it?
Replies: 8
Last Post: 18th October 2006, 08:30 AM
-
By russdev in forum General Chat
Replies: 9
Last Post: 23rd March 2006, 02:05 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules