Define two base DN’s in ldif file that contains the schema for LDAP server like
dn: dc=com
objectclass: domain
objectclass: top
dc: com
dn: SECAUTHORITY=DEFAULT
objectclass: domain
objectclass: top
SECAUTHORITY: DEFAULT
You have to give two –baseDN parameters for command that will be executed from command prompt. It will be like:
in-memory-directory-server –additionalbinddn “dc=com” –additionalbindPassword “password” –baseDN “dc=com” –baseDN “SECAUTHORITY=DEFAULT” –port 389 –ldifFile samldap2.ldif