Topic
  • 4 replies
  • Latest Post - ‏2014-06-12T10:46:37Z by Sanjay Sutar
V7PY_LUIS_YOSHIHIRA
V7PY_LUIS_YOSHIHIRA
2 Posts

Pinned topic IBM TDS 6.3. Create an extra Person class that inherits inetorgPerson class

‏2014-06-06T22:06:50Z | tds

Hi dudes,

 

I need help with the following issue: ¿How to create an extra Person class that inherits inetorgPerson class?

We need to create an extra class or secondary class in order to add custom attributes for users.

We are using TDS 6.3. on AIX

I really appreciate your help

 

Updated on 2014-06-06T22:22:53Z at 2014-06-06T22:22:53Z by V7PY_LUIS_YOSHIHIRA
  • Sanjay Sutar
    Sanjay Sutar
    172 Posts

    Re: IBM TDS 6.3. Create an extra Person class that inherits inetorgPerson class

    ‏2014-06-07T11:44:18Z  

    You can use Web Admin tool (you need to deploy it if not done already) to manage schema for TDS. That would be easier if you are not very familier with commands. Refer the TDS docs on infocenter to deploy WAT for TDS.

  • V7PY_LUIS_YOSHIHIRA
    V7PY_LUIS_YOSHIHIRA
    2 Posts

    Re: IBM TDS 6.3. Create an extra Person class that inherits inetorgPerson class

    ‏2014-06-11T14:59:21Z  

    You can use Web Admin tool (you need to deploy it if not done already) to manage schema for TDS. That would be easier if you are not very familier with commands. Refer the TDS docs on infocenter to deploy WAT for TDS.

    Hi Sanjay, Thanks for your reply.

    Dude, what we really need to know are the steps to configure this requirement in TDS.

    I really apreccate your help with this issue.

     

  • goonitsupport
    goonitsupport
    121 Posts

    Re: IBM TDS 6.3. Create an extra Person class that inherits inetorgPerson class

    ‏2014-06-11T17:09:02Z  

    Hi Sanjay, Thanks for your reply.

    Dude, what we really need to know are the steps to configure this requirement in TDS.

    I really apreccate your help with this issue.

     

    Sanjay is probably the most correct here in the Web Administration Tool is probably the supported way to amend your schema.

    There are at least 3 ways to modify the schema (WAT, ldapmodify and lastly editing the V3.modifiedschema file). You really need to refer to IBM Directory Server admin guide to understand what you are trying to do and consider issues such as indexing,attribute length, syntax etc

    Here is an example of extending inetOrgPerson by modifying the <ldapinstancedir>\etc\V3.modifiedschema file on each LDAP server (server restart on each server).

    objectClasses {

    ( myPerson-oid NAME 'myPerson' SUP inetOrgPerson STRUCTURAL MUST uid MAY ( my_dob $ my_eid $ my_loa $ my_pgivenname $ my_ucrn $ my_uprn ) )
    }

    attributeTypes {

    ( my_dob-OID NAME 'my_dob' DESC 'DoB field' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_eid-OID NAME 'my_eid' DESC 'DoB field' SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_loa-OID NAME 'my_loa' DESC 'Level of Asset' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_pgivenname-OID NAME 'my_pgivenname' DESC 'Preferred Givenname' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_pmiddlename-OID NAME 'my_pmiddlename' DESC 'Preferred Middlename' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_psn-OID NAME 'my_psn' DESC 'Preferred Surname' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_ucrn-OID NAME 'my_ucrn' DESC 'Unique customer reference' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE )
    ( my_uprn-OID NAME 'my_uprn' DESC 'Unique property reference' EQUALITY 2.5.13.2 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
    }

    IBMattributeTypes {
    ( my_ucrn DBNAME ( 'my_ucrn' 'my_ucrn' ) EQUALITY )
    ( my_uprn DBNAME ( 'my_uprn' 'my_uprn' ) EQUALITY )
    }

    ldapSyntaxes {
    }

    matchingRules {
    }

     

  • Sanjay Sutar
    Sanjay Sutar
    172 Posts

    Re: IBM TDS 6.3. Create an extra Person class that inherits inetorgPerson class

    ‏2014-06-12T10:46:37Z  

    Hi Sanjay, Thanks for your reply.

    Dude, what we really need to know are the steps to configure this requirement in TDS.

    I really apreccate your help with this issue.

     

    Check the steps to install/deploy WAT on WAS here

    http://www.webspheretools.com/sites/webspheretools.nsf/docs/Installing%20IBM%20Tivoli%20Directory%20Server%20for%20WebSphere%20version%208!opendocument

    this looks better than infocenter as it has snaphots and lot of details..

    Once you have WAT, it should be easy to as the UI is quite self explainatory.. you can use links under (add attribute, manage object class) under  "Schema managemet"  for your purpose.