bugPhamm (PHP LDAP Virtual Hosting Manager) - Bugs: bug #17439, attribute called delete prevents...

 
 

bug #17439: attribute called delete prevents use of OpenLDAP replication

Submitter:  Ken Yap <ken_yap>
Submitted:  Wed 16 Aug 2006 12:07:03 AM UTC
   
 
Category:  LDAP Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  mgrava Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Sun 30 Sep 2007 02:00:13 PM UTC, comment #4: 

LDAP developers says that do not exists reserver words, but the problem exists (see slurpd by UMich). So we planning to change the name of attribute in the next release.

Alessandro De Zorzi <lotabi>
Group administrator
Tue 03 Oct 2006 05:42:25 AM UTC, comment #3: 

I also found your report here
http://www.openld ... /its/?findid=4639

note that in jamm you can found "delete" as attribute value

ex. replace: delete

in phamm you can only found "delete" as attribute name like:

ex. delete: TRUE

anyway we can only planning to change attribute name whan phamm.schema will change in the next release, alreadey add in TODO

Alessandro

Alessandro De Zorzi <lotabi>
Group administrator
Tue 03 Oct 2006 12:52:54 AM UTC, comment #2: 

I was using OpenLDAP 2.3. I have one master and two replication slaves. I'm using JAMM, but PHAMM would face the same problem.

It's not a reserved word problem. I think it's a bug in the slurpd replication utility. It doesn't know the difference between delete in the command part of the replog and in the data part.

As I have mentioned in the linked to thread, I solved the problem using syncrepl (supported since 2.3) so that is evidence it's a slurpd bug. I also looked at the slurpd code.

Ken Yap <ken_yap>
Tue 26 Sep 2006 07:39:13 AM UTC, comment #1: 

We will investigate about "reserved name" in OpenLDAP schema... but my test do not give me this problem. Which version of openLDAP are you using? Plese post your sldap.conf files.

Alessandro De Zorzi <lotabi>
Group administrator
Wed 16 Aug 2006 12:07:03 AM UTC, original submission:  

This is a problem with the original JAMM schema. The attribute called delete of accounts prevents replication because it is mistaken as a command by the LDAP parser of the replica machine. Although I believe it is an OpenLDAP bug, I think it was a bad idea  in JAMM to use a word like "delete" as an attribute.

I have attached a link to the tracker item of the JAMM sourceforge site. I hope this can be fixed in phamm, since it should be easier to do so in PHP than in Java. For people with existing LDAP databases, changing over would require a dump, change schema and a reload, which is not too bad. For people starting to use phamm, this is not a problem.

https://sourcefor ... mp;group_id=44809

Ken Yap <ken_yap>

 

Attached Files

This item currently has no attached files.

(Note: upload size limit is set to 4.0MiB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by lotabi (Updated the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    History

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-09-01 lotabi Assigned toNone mgrava

    Back to the top

    Powered by Savane 3.16-8b18.
    Corresponding source code