You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Paul Dorman (JIRA)" <ji...@apache.org> on 2009/02/10 09:01:00 UTC

[jira] Created: (DIRSTUDIO-461) Add validation functionality

Add validation functionality
----------------------------

                 Key: DIRSTUDIO-461
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-461
             Project: Directory Studio
          Issue Type: New Feature
    Affects Versions: 1.3.0
            Reporter: Paul Dorman
            Priority: Minor


For testing my software application, I have bogus entries in my group membership lists. It would be useful to select a vertex in the directory tree and have 'validate entries' or some such to identify invalid entries. This would help me tune my deliberate directory corruption so I can be confident my application handles real errors. I use OpenLDAP, which seems to allow a lot of errors.

This feature would also be helpful for those reorganizing or debugging a directory. Our directory is particularly poor at the moment and we would benefit from some good analysis tools.

Thanks for a great program though. Beats Luma (QT3 and Python) and LDAPBrowser (Java) hands down.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (DIRSTUDIO-461) Add validation functionality

Posted by Howard Chu <hy...@symas.com>.
Paul Dorman (JIRA) wrote:
> Add validation functionality
> ----------------------------
>
>                   Key: DIRSTUDIO-461
>                   URL: https://issues.apache.org/jira/browse/DIRSTUDIO-461
>               Project: Directory Studio
>            Issue Type: New Feature
>      Affects Versions: 1.3.0
>              Reporter: Paul Dorman
>              Priority: Minor
>
>
> For testing my software application, I have bogus entries in my group
membership lists. It would be useful to select a vertex in the directory tree
and have 'validate entries' or some such to identify invalid entries. This
would help me tune my deliberate directory corruption so I can be confident my
application handles real errors. I use OpenLDAP, which seems to allow a lot of
errors.
>
> This feature would also be helpful for those reorganizing or debugging a
directory. Our directory is particularly poor at the moment and we would
benefit from some good analysis tools.

Your description of "validate" is a bit vague, but since you're talking about 
bogus members of groups, it sounds like you want referential integrity. 
Regarding OpenLDAP, you should read the slapo-refint(5) manpage and also read 
the Admin Guide.
-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

[jira] Commented: (DIRSTUDIO-461) Add validation functionality

Posted by "Paul Dorman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672331#action_12672331 ] 

Paul Dorman commented on DIRSTUDIO-461:
---------------------------------------

Thanks for your informative comment Stefan. Yes, referential integrity was exactly the thing I was thinking of :o). In the case of uniqueMembers of groups, I can select an entry and discover that it is invalid by pressing the F3 key. When a number of entries are selected, the F3 functionality could be changed to highlight invalid entries, as it is otherwise disabled at that time. The other cases you mention would clearly require more work though.

> Add validation functionality
> ----------------------------
>
>                 Key: DIRSTUDIO-461
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-461
>             Project: Directory Studio
>          Issue Type: New Feature
>    Affects Versions: 1.3.0
>            Reporter: Paul Dorman
>            Priority: Minor
>
> For testing my software application, I have bogus entries in my group membership lists. It would be useful to select a vertex in the directory tree and have 'validate entries' or some such to identify invalid entries. This would help me tune my deliberate directory corruption so I can be confident my application handles real errors. I use OpenLDAP, which seems to allow a lot of errors.
> This feature would also be helpful for those reorganizing or debugging a directory. Our directory is particularly poor at the moment and we would benefit from some good analysis tools.
> Thanks for a great program though. Beats Luma (QT3 and Python) and LDAPBrowser (Java) hands down.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (DIRSTUDIO-461) Add validation functionality

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DIRSTUDIO-461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672214#action_12672214 ] 

Stefan Seelmann commented on DIRSTUDIO-461:
-------------------------------------------

LDAP doesn't specifiy referential integrity. However some server implement it. OpenLDAP for example has an overlay for that. In ApacheDS it could be implemented with a new interceptor or by using Triggers and StoredProcedures.

Group membership (which uses DNs for relationship) is only one case. For example when you store posixAccount and posixGroup in your LDAP then the reference between them is based on integer attributes (gidNumber, uidNumber, memberUid). So I think what's 'valid'  depends on the data you store in your LDAP.


> Add validation functionality
> ----------------------------
>
>                 Key: DIRSTUDIO-461
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-461
>             Project: Directory Studio
>          Issue Type: New Feature
>    Affects Versions: 1.3.0
>            Reporter: Paul Dorman
>            Priority: Minor
>
> For testing my software application, I have bogus entries in my group membership lists. It would be useful to select a vertex in the directory tree and have 'validate entries' or some such to identify invalid entries. This would help me tune my deliberate directory corruption so I can be confident my application handles real errors. I use OpenLDAP, which seems to allow a lot of errors.
> This feature would also be helpful for those reorganizing or debugging a directory. Our directory is particularly poor at the moment and we would benefit from some good analysis tools.
> Thanks for a great program though. Beats Luma (QT3 and Python) and LDAPBrowser (Java) hands down.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.