Previous Topic: LDAPNODE Keyword—Define LDAP NodesNext Topic: LDS Keyword—Add or Remove LDS Attribute


Examples: LDAPNODE keyword

This example creates a new LDAPNODE named “testnode” with a single XREF sub field:

TSS ADD(NDT) LDAPNODE(testnode)
             ADMINDN('cn=USER1, o=CAI, c=USA')
             ADMPSWD(password)
             USERDNS('o=CAI, ou=TSS Team, c=USA')
             URL(ldap://ca.ldap.server:7000)
             XREF(ACIDNAME,ldap_attr_name1)

This example adds or modifies XREF sub fields for an existing LDAPNODE entry:

TSS ADD(NDT) LDAPNODE(testnode)
             XREF(DEPT,ldap_attr_name2)

This example removes XREF sub fields:

TSS REM(NDT) LDAPNODE(testnode)
             XREF(DEPT,ldap_attr_name2)

This example deletes an entire LDAPNODE definition:

TSS REM(NDT) LDAPNODE(testnode)

This example displays an LDAPNODE definition:

TSS LIST(NDT) LDAPNODE(ALL|testnode)

This example replaces an LDAPNODE definition:

TSS REP(NDT) LDAPNODE(testnode)
             ADMINDN('cn=USER1, o=CAI, c=USA')
             ADMPSWD(password)
             USERDNS('o=CAI, ou=TSS Team, c=USA')
             URL(ldap://ca.ldap.server:7000)
             XREF(DEPT,ldap_attr_name2)

The REP command removes all XREF entries.