Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Coppermine LDAP Bridging  (Read 24491 times)

0 Members and 1 Guest are viewing this topic.

twanfox

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 2
Coppermine LDAP Bridging
« on: August 29, 2007, 10:06:27 pm »

While I admit, it sounds weird to bridge LDAP and Coppermine, since it isn't exactly a BBS, I figured it was the easiest and most portable way to allow authentication between Coppermine and a backend LDAP Directory. For the moment, it's a work in progress, but after seeing some requests, I figured I'd drop the line that I had something working and (for the most part) it works. The sad part is that while it is designed as a bridge, it doesn't exactally store things like Group information in the LDAP directory but Coppermine doesn't use it's internal groups if bridging is enabled. It's caused some interesting issues. If someone knows more about Coppermine's interaction and requirements for bridging, I do accept help to figure it out. ;)

At any rate, here is the bridge file as I have it so far.
« Last Edit: September 05, 2007, 08:38:13 am by GauGau »
Logged

gosforth

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Coppermine LDAP Bridging
« Reply #1 on: September 25, 2007, 03:42:56 pm »

Would be great if at last we could have Coppermine - LDAP integration (not Active Directory even, AD is not a real LDAP in fact).
Logged

twanfox

  • Contributor
  • Coppermine newbie
  • ***
  • Offline Offline
  • Posts: 2
Re: Coppermine LDAP Bridging
« Reply #2 on: September 27, 2007, 03:49:14 am »

I would tend to agree with LDAP integration being a nice feature. However, at least as a starting measure, this seemed to be the easiest way to enable such functionality within the guidelines of the system. I've seen how other hacks and add-ons muddle the original codebase and, when it comes time to upgrade, those hacks prevent that. In this case, even Coppermine handles it's own internal user/group handling as a special-case bridge module.

This bridge could lead into that very easily. Some functionality that mirrors the coppermine "bridge" requires hacks in order to tell the gallery to treat the LDAP bridge like the Coppermine one. If the Coppermine devs feel that this bridge merits such integral revisions, I'd be love to investigate that possibility.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine LDAP Bridging
« Reply #3 on: September 27, 2007, 08:48:30 am »

If the Coppermine devs feel that this bridge merits such integral revisions, I'd be love to investigate that possibility.
Sounds very interessting. I'd love to see an integration of this bridge into the core. LDAP integration is the key to Coppermine being used in company's intranets or extranets.
So it would be great if you could look into this.
Logged

florismouwen

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Coppermine LDAP Bridging
« Reply #4 on: April 29, 2010, 02:23:17 pm »

I created a new version of the LDAP Bridge with these features:
 - Added CACHE_PASSWORD to prevent password caching in the database
 - Update e-mailaddress from LDAP users to the Database

Maybe in the near future i create another update with the possibility to use LDAP groups and synchronise them to Coppermine.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine LDAP Bridging
« Reply #5 on: April 30, 2010, 07:02:07 am »

Thanks for your contribution. The Coppermine version you designed this for is reaching it's end of life. Ideally, you might consider designing a new version for the upcoming cpg1.5.x stable release (currently, a release candidate is out).
Logged

blumer

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Coppermine LDAP Bridging
« Reply #6 on: May 03, 2010, 03:34:29 pm »

Hello. I have white screen after login to cpg with this LDAP hack. LDAP connection is bind to server and users are created in db after first login to gallery. Second and all next logins - white screen without any errors. Thanks for your ideas.

cpg 1.4.25
win XP
Vertrigo server with
Apache 2.0.63
PHP 5.2.6
Mysql 5.0.51b
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4856
    • Windsurf.me
Re: Coppermine LDAP Bridging
« Reply #7 on: May 03, 2010, 07:11:07 pm »

Logged
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine LDAP Bridging
« Reply #8 on: May 03, 2010, 11:10:15 pm »

In fact you should start a new thread and do as suggested in When requesting bridge support - mandatory!
Logged
Pages: [1]   Go Up
 

Page created in 0.027 seconds with 19 queries.