[Date Prev][Date Next]
Patch to provide peer name to shell backends (ITS#2448)
Full_Name: Paul Ashton
OS: Linux 2.4.20
Submission from: (NULL) (126.96.36.199)
We at http://www.gnomemeeting.org/ have been running an ILS server
for some time which is a perl server run via a shell backend from
openldap (due to the fact that it isn't quite LDAP compliant).
One requirement is that whoever registers an entry
can be the only one that modifies or deletes it, and we base that
on the IP address. Unfortunately, openldap doesn't propogate
the peer address to shell backends so I created a patch to do so.
This currently uses an environment variable but could easily
also use a command line argument if thought preferable. I attach
the current patch (tested against 2.1.12 and 2.1.17).
Please consider for inclusion or inform me how I could make it
Not sure if it needs a license statement since it's so trivial, but
just in case:
Written by Paul Ashton and placed into the public domain.