HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


LDAP synchronisation - help please!

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#54368 (In Topic #11850)
Avatar

Fan in training

Hey!

First up, I must say that OCP is hands down the best CMS I've had the pleasure of using (i stumbled across OCP after using Joomla! and PHPNuke for many years, and have regretted not finding you guys far far sooner, you knock the competition out of the water!)

I've been running OCP on shared hosting for the last few months with no problems at all. I'm currently in the process of moving all of my webaps over to a new VPS - and tie to lot in with LDAP, which will solve the admin nightmare ive been facing.

The situation;
- My OCP experience is limited, but i know my way around reasonably well.
- My LDAP experience is also very limited, but i learn quickly..!
- New Open LDAP server, currently no user data there at all - LDAP is working OK - has been tested.
- New OCP install - as above, no data as yet

OCP doesnt seem to be syncing with the LDAP db at all. it states that none of the website groups exist on LDAP (i have created these in every pheasable way with no success). It doesnt show any of the groups already in ldap.

As far as i can tell, all configuration done in the admin section of OCP for the LDAP sync is correct. I have tried both anon and with a user with R+W LDAP access, with no joy at all. I have checked all the obvious error logs, and find nothing shouting out at me. Any ideas?

Presuming I can get the LDAP syncing working, i have a further question regarding merging existing users;

The plan is to import the existing OCP setup, users, posts, etc etc etc. From there, I plan on using the 'merge user' feature to merge the old OCP user -> newly created LDAP user. once done, i plan on removing all of the OCP users and disabling OCP registration… Will this work? if not, is there any other way of coming up with the same end result? (which is to merge existing OCP users, which will be impored at a later date, with LDAP users with differnt usernames - thus keeping forum posts etc)

I look forward to any assistance that anyone around can provide!


Last edit: by pieboy
Back to the top
 
Posted
Rating:
#54382
Avatar

Fan in training

a small amount of progression, I actually tried logging in using an LDAP user last night, and received the following error;

PHP WARNING [2] ldap_bind() [http://ocportal.com/function.ldap-bind.php]: Unable to bind to server: Invalid DN syntax (version: 4.1.13, PHP version: 5.2.6-3ubuntu4.2, URL: /site/index.php?page=login&type=login)

the DN I've provided in the admin area config seems correct to me…
Back to the top
 
Posted
Rating:
#54385
Avatar

Hi pieboy,

(lol)

If you want to send FTP access details to chris@ocportal.com (and any LDAP details that might help me) I'll look into it for you. If you don't have FTP details, anything that will allow me to change files is fine (e.g. SSH login).


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#54386
Avatar

Will this work?

Should work, yes.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#54400
Avatar

Fan in training

info sent - thanks!
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: