Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Ldif files

The following should be copied to a file named org.ldif. The instructions for using this file will be included in the comments in the file. The command will need to be tailored for your ldap server (hostname, port number, bindDN, password)

# This LDIF file will build the basic LDAP structure for the Higgins STS demo.
# Before using this LDIF file ensure that the LDAP suffix dc=org is created.
#
# Usage:
# ldapmodify -h localhost -p 389 -D cn=root -w passw0rd -c -a -f ./org.ldif
#

dn: dc=org
objectClass: domain
objectClass: top
dc: org

dn: dc=eclipse,DC=ORG
dc: eclipse
objectClass: domain
objectClass: top

dn: dc=higgins,dc=eclipse,DC=ORG
dc: higgins
objectClass: domain
objectClass: top

dn: ou=identities,dc=higgins,dc=eclipse,DC=ORG
objectClass: organizationalUnit
objectClass: top
ou: identities

The following should be copied to a file named higgins_sts_schema.ldif. The instructions for using this file will be included in the comments in the file. The command will need to be tailored for your ldap server (hostname, port number, bindDN, password)

# This LDIF schema file will add the necessary schema entries.
# 
# Usage:
# ldapmodify -h localhost -p 389 -D cn=root -w passw0rd -c -a -f ./higgins_sts_schema.ldif
#

dn: cn=schema
changetype: modify
add: attributetypes
attributetypes: (
  1.3.6.1.4.1.8888.1.123
  NAME 'cardKeyHash'
  DESC 'base64.encode(sha1(base64.decode(ppid+modulus+exponent)))'
  SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
 )

dn: cn=schema
changetype: modify
add: objectclasses
objectclasses: ( 
  2.16.840.1.113719.1.1.4.1.666.777 
  NAME 'higginsPerson' 
  SUP top 
  AUXILIARY 
  MAY cardKeyHash
 )

Back to the top