Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#24 multiple attribute names

open
None
5
2012-10-15
2003-08-13
Anonymous
No

If in schema is used attribute with more names, example:

attributetype ( 0.9.2342.19200300.100.1.1
NAME ( 'uid' 'userid' )
DESC 'RFC1274: user identifier'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} )

and somewhere in this schema is used second name, for
this it's userid -> Table editor show both values,
userid as blank and uid with value. Not show only one
value !!

Big problem begin, if this attribute have MUST flag.
Because userid is taken as MUST, his value is show as
uid, Editor is unable to change or update this object.
-> Duplicit value error.

for example, this problem is shown on account object
from cosine.schema

objectclass ( 0.9.2342.19200300.100.4.5 NAME 'account'
SUP top STRUCTURAL
MUST userid
MAY ( description $ seeAlso $ localityName $
organizationName $
organizationalUnitName $ host )
)

Add object, fill userid on xxx.

Try modify, userid blank, bold (MUST) uid have xxx.

Error-> uid have more then one value.

Discussion

  • Logged In: NO

    I consider this bug critical, because it effectively renders
    jxplorer unusable for managin useraccounts in an ldap-db.

     
  • Logged In: YES
    user_id=558207

    This will need a bit of work, and so will have to be
    postponed to post v3. It is a problem; I think the schema
    checking needs to be overhauled.

    A 'workaround' is to modify your schema to just use the
    first value, but I agree this is not an acceptable long term
    solution :-/.

    • Chris
     
  • Logged In: YES
    user_id=558207

    This will need a bit of work, and so will have to be
    postponed to post v3. It is a problem; I think the schema
    checking needs to be overhauled.

    A 'workaround' is to modify your schema to just use the
    first value, but I agree this is not an acceptable long term
    solution :-/.

    Another (better) work around is to turn off schema checking
    in the options pane...

    • Chris
     
  • Logged In: NO

    I am uable to fine the sn attribute in list when creating a uid
    with attribute OrganizationalPerson, Person etc.. Any bright
    Ideas to bring that sn in the list....

    Thank you