Bugs item #1529389, was opened at 2006-07-26 18:26
Message generated for change (Settings changed) made by pegacat
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=480577&aid=1529389&group_id=55394

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Trudi Ersvaer (trudiersvaer)
Assigned to: Nobody/Anonymous (nobody)
Summary: Rename problem

Initial Comment:
JXplorer does not allow name change of surname after 
making it a naming attribute with special chars in the 
rdn


In JXplorer, if you add a new entry with 
cn="Fred,erick" and then add the same sn (Fred,erick) 
and make it a naming value and then modify it, the 
modify fails and it corrupts the entry. 
Steps to reproduce:

1. Create a new entry under Administration with 
cn=Fred,erick,sn=Fred,erick
2. Make sn a naming value and hit submit
3. Add a "s" to the end of the sn and an error occurs -
 "No such attribute or value".

Console.bat Trace:

javax.naming.directory.NoSuchAttributeException: 
[LDAP: error code 16 - No Such
Attribute]; remaining 
name 'cn=Fred\,erick+sn=Fred\,erick,ou=Administration,o
u=C
orporate,o=DEMOCORP,c=AU'
        at com.sun.jndi.ldap.LdapCtx.mapErrorCode
(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode
(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.processReturnCode
(Unknown Source)
        at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes
(Unknown Source)
        at 
com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAt
tributes(Unkno
wn Source)
        at 
com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.mod
ifyAttributes(
Unknown Source)
        at 
javax.naming.directory.InitialDirContext.modifyAttribut
es(Unknown Sou
rce)
        at com.ca.commons.jndi.JNDIOps.modifyAttributes
(Unknown Source)
        at 
com.ca.directory.jxplorer.broker.CBGraphicsOps.modifyAt
tributes(CBGra
phicsOps.java:110)
        at com.ca.commons.naming.DXOps.updateEntry
(Unknown Source)
        at com.ca.commons.naming.DXOps.modifyEntry
(Unknown Source)
        at 
com.ca.directory.jxplorer.broker.JNDIBroker.unthreadedM
odify(JNDIBrok
er.java:1049)
        at 
com.ca.directory.jxplorer.broker.Broker.doModifyQuery
(Broker.java:425
)
        at 
com.ca.directory.jxplorer.broker.Broker.processRequest
(Broker.java:20
6)
        at 
com.ca.directory.jxplorer.broker.JNDIBroker.processRequ
est(JNDIBroker
.java:357)
        at 
com.ca.directory.jxplorer.broker.Broker.processQueue
(Broker.java:158)

        at 
com.ca.directory.jxplorer.broker.JNDIBroker.processQueu
e(JNDIBroker.j
ava:880)
        at com.ca.directory.jxplorer.broker.Broker.run
(Broker.java:124)
        at java.lang.Thread.run(Unknown Source)



DX Console Trace:
- #0 DSP ADD-ENTRY-REQ
        invoke-id = 133   credit = 4
    Entry:
        <countryName "AU">
        <organizationName "DEMOCORP">
        <organizationalUnitName "Corporate">
        <organizationalUnitName "Administration">
        <commonName "Fred,erick">
    Contents:
        (commonName "Fred,erick")
        (objectClass inetOrgPerson, 
organizationalPerson, person, top)
        (surname "Fred,erick")
    Chaining Arguments:
        Trace Information:
            DSA:
                <countryName "AU">
                <commonName "DXserver">
            Operation Progress: Name Resolution 
Phase:  Not Started



-> #0 DSP ADD-ENTRY-CONFIRM
        invoke-id = 133   credit = 1



<- #0 DSP MOD-DN-REQ
        invoke-id = 134   credit = 4
    Entry:
        <countryName "AU">
        <organizationName "DEMOCORP">
        <organizationalUnitName "Corporate">
        <organizationalUnitName "Administration">
        <commonName "Fred,erick">
    New RDN:   <surname "Fred,erick" : 
commonName "Fred,erick">
    Dont delete old
    Chaining Arguments:
        Trace Information:
            DSA:
                <countryName "AU">
                <commonName "DXserver">
            Operation Progress: Name Resolution 
Phase:  Not Started



-> #0 DSP MOD-DN-CONFIRM
        invoke-id = 134   credit = 1



<- #0 DSP SEARCH-REQ
        invoke-id = 135   credit = 4
    Base object:
        <countryName "AU">
        <organizationName "DEMOCORP">
        <organizationalUnitName "Corporate">
        <organizationalUnitName "Administration">
        <commonName "Fred,erick" : 
surname "Fred,erick">
    Don't Search Aliases
    Chaining Arguments:
        Trace Information:
            DSA:
                <countryName "AU">
                <commonName "DXserver">
            Operation Progress: Name Resolution 
Phase:  Not Started



-> #0 DSP SEARCH-CONFIRM
        invoke-id = 135   credit = 1
    Entry:  (leaf)
        <countryName "AU">
        <organizationName "DEMOCORP">
        <organizationalUnitName "Corporate">
        <organizationalUnitName "Administration">
        <commonName "Fred,erick" : 
surname "Fred,erick">
    Contents:
        (objectClass inetOrgPerson, 
organizationalPerson, person, top)
        (commonName "Fred,erick")
        (surname "Fred,erick")




<- #0 DSP MOD-DN-REQ
        invoke-id = 136   credit = 4
    Entry:
        <countryName "AU">
        <organizationName "DEMOCORP">
        <organizationalUnitName "Corporate">
        <organizationalUnitName "Administration">
        <surname "Fred,erick" : 
commonName "Fred,erick">
    New RDN:   <surname "Fred,ericks" : 
commonName "Fred,erick">
    Delete old
    Chaining Arguments:
        Trace Information:
            DSA:
                <countryName "AU">
                <commonName "DXserver">
            Operation Progress: Name Resolution 
Phase:  Not Started



-> #0 DSP MOD-DN-CONFIRM
        invoke-id = 136   credit = 1



<- #0 DSP MOD-ENTRY-REQ
        invoke-id = 137   credit = 4
    Entry:
        <countryName "AU">
        <organizationName "DEMOCORP">
        <organizationalUnitName "Corporate">
        <organizationalUnitName "Administration">
        <surname "Fred,ericks" : 
commonName "Fred,erick">
    Remove-values:  (surname "Fred,erick")
    Chaining Arguments:
        Trace Information:
            DSA:
                <countryName "AU">
                <commonName "DXserver">
            Operation Progress: Name Resolution 
Phase:  Not Started



-> #0 DSP MOD-ENTRY-REFUSE
        invoke-id = 137   credit = 1
    Attribute Error:
        Entry:
            <countryName "AU">
            <organizationName "DEMOCORP">
            <organizationalUnitName "Corporate">
            <organizationalUnitName "Administration">
            <commonName "Fred,erick" : 
surname "Fred,ericks">
        Attribute: surname
        Value: "Fred,erick"
        Problem: No such attribute or value




----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=480577&aid=1529389&group_id=55394

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jxplorer-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jxplorer-devel

Reply via email to