configuring LDAP issues  Topic is solved

Discuss and get help installing, using and configuring SiT!

configuring LDAP issues

Postby sticcino » Wed Oct 05, 2011 7:45 pm

Hi,

So, I'm setting ldap.....

- have it successfully authenticating. LDAP Connection Sucessfull
011-10-05T15:32:22-04:00 /ajaxdata.php ldapOpen
2011-10-05T15:32:22-04:00 /ajaxdata.php LDAP TYPE: OPENLDAP
2011-10-05T15:32:22-04:00 /ajaxdata.php LDAP URL: ldap://192.168.1.10:389

i'm using clearOS which encapsulates many apps -- something like windows SBS.
it has a web Interface to setup the system

ldap setup as follows:
LDAP Base DN dc=davenportgroup,dc=local
LDAP Bind DN cn=manager,cn=internal,dc=davenportgroup,dc=local
LDAP Bind Password: xxxxxxxxxxxxxxxx

I created usergroups in clearos as:
situsers
sitadmin
sitcustomers
sitmanagers

in SIT LDAP settings, i have been trying various settings such as:

LDAP Base DN: dc=davenportgroup,dc=local
LDAP group for SIT users: cn=situsers,ou=davenportgroup,o=local
LDAP Customer Group: cn=sitcustomers,ou=davenportgroup,o=local

which yields the following errors:
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Warning ldap_search(): Search: No such object in /srv/www/htdocs/sit/auto.php at line 764
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Warning ldap_count_entries() expects parameter 2 to be resource, boolean given in /srv/www/htdocs/sit/auto.php at line 765
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Application Notice Group cn=sitmanagers,ou=davenportgroup,o=local not found in LDAP in /srv/www/htdocs/sit/auto.php at line 767
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Warning ldap_search(): Search: No such object in /srv/www/htdocs/sit/auto.php at line 764
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Warning ldap_count_entries() expects parameter 2 to be resource, boolean given in /srv/www/htdocs/sit/auto.php at line 765
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Application Notice Group cn=situsers not found in LDAP in /srv/www/htdocs/sit/auto.php at line 767
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php CONTACTS
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Warning ldap_search(): Search: No such object in /srv/www/htdocs/sit/auto.php at line 885
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Warning ldap_count_entries() expects parameter 2 to be resource, boolean given in /srv/www/htdocs/sit/auto.php at line 886
2011-10-05T15:42:01-04:00 /srv/www/htdocs/sit/auto.php ERROR: Application Notice No contact group found in LDAP in /srv/www/htdocs/sit/auto.php at line 888

i can seem to figure out what to define.

any help appreciated
Thanks,Johnny
sticcino
Lurker
Lurker
 
Posts: 4
Joined: Thu Aug 11, 2011 1:00 pm

Re: configuring LDAP issues  Topic is solved

Postby Tomse » Thu Oct 06, 2011 8:33 am

sticcino wrote:Hi,



LDAP Base DN: dc=davenportgroup,dc=local
LDAP group for SIT users: cn=situsers,ou=davenportgroup,o=local
LDAP Customer Group: cn=sitcustomers,ou=davenportgroup,o=local

any help appreciated
Thanks,Johnny


Hello Johnny.

your LDAP syntax doesn't match.
first you enter dc=davenportgroup, then later you define it as an ou, ou=davenportgroup
the same with local, first dc=local and later o=local

Since I don't know clearOS, and LDAP syntaxes differ from product to product I cannot tell you which you need to use, but I can recommend a LDAP browser of some sort.

Please note that SiT hasn't been tested with other LDAP servers than those presented.

so this is where you need to look first.

you also need to have either a container or our that contains all users and groups.

I can refer to Configuring_LDAP if you haven't seen this already.

Cheers
Tomse
Carsten Jensen, da-DK Translator Supporting Windows & Linux/FreeBSD installations, partial SiT developer / hacker / graphician
Live chat/support on IRC in channel #sit on freenode.net
User avatar
Tomse
SiT! Developer
SiT! Developer
 
Posts: 947
Joined: Fri Feb 20, 2009 10:51 am
Location: Somewhere near Copenhagen Denmark

Re: configuring LDAP issues

Postby Tomse » Wed Nov 09, 2011 1:45 pm

I've marked this one as resolved as no reply has been given in more than a month
Carsten Jensen, da-DK Translator Supporting Windows & Linux/FreeBSD installations, partial SiT developer / hacker / graphician
Live chat/support on IRC in channel #sit on freenode.net
User avatar
Tomse
SiT! Developer
SiT! Developer
 
Posts: 947
Joined: Fri Feb 20, 2009 10:51 am
Location: Somewhere near Copenhagen Denmark


Return to Installing, Configuring and Using SiT!

Who is online

Users browsing this forum: No registered users and 1 guest

cron