├── .gitignore ├── .vscode ├── .gitignore ├── launch.json ├── launch.test.json └── settings.json ├── CHANGELOG.md ├── GenGitChangeLog.py ├── LICENSE ├── README.md ├── build.xml ├── dist ├── bin │ ├── myvd-init.sh │ ├── myvd.sh │ ├── myvd.vbs │ ├── quickStart.sh │ ├── quickStart.vbs │ └── runserver.sh ├── conf │ ├── log4j2.xml │ ├── myvd.conf │ └── openldap_schema.ldif ├── quickStarts │ ├── ad2linux.conf │ └── ad2linuxjdbc.conf └── samples │ ├── DB │ ├── employees.csv │ ├── myvd.conf │ └── myvdtest-mysql.sql │ └── Joiner │ ├── myvdjoin-mysql.sql │ └── userdata.csv ├── doc ├── images │ ├── LinuxADArchitecture.dia │ ├── LinuxADArchitecture.png │ ├── LinuxADVD.dia │ ├── LinuxADVD.png │ ├── browser │ │ ├── addDialog.png │ │ ├── browser.png │ │ ├── browserCaptions.png │ │ ├── conWindow.png │ │ ├── dbBrowser.png │ │ ├── dbConnection.png │ │ ├── dbSearchResults.png │ │ ├── mainWindow.png │ │ ├── modifyDialog.png │ │ ├── newMainWindow.png │ │ ├── prefs.png │ │ ├── searchDialog.png │ │ ├── searchResultsTable.png │ │ └── searchResultsTree.png │ ├── collapsed.gif │ ├── delauth.dia │ ├── delauth.png │ ├── dt.dia │ ├── dt.png │ ├── edge.dia │ ├── edge.png │ ├── expanded.gif │ ├── logo-wiki.dia │ ├── logo-wiki.png │ ├── logo.dia │ ├── logo.png │ ├── logoleft.dia │ ├── logoleft.png │ ├── nsintegration.dia │ ├── nsintegration.png │ ├── overview.png │ └── sample1.png └── myvd.asc ├── null └── test │ └── derbyHome │ └── myvdTestJoin │ └── log │ └── logmirror.ctrl ├── pom.xml ├── server └── src │ ├── main │ └── java │ │ ├── net │ │ └── sourceforge │ │ │ └── myvd │ │ │ ├── chain │ │ │ ├── AddInterceptorChain.java │ │ │ ├── BindInterceptorChain.java │ │ │ ├── CompareInterceptorChain.java │ │ │ ├── DeleteInterceptorChain.java │ │ │ ├── ExetendedOperationInterceptorChain.java │ │ │ ├── InterceptorChain.java │ │ │ ├── ModifyInterceptorChain.java │ │ │ ├── PostSearchCompleteInterceptorChain.java │ │ │ ├── PostSearchEntryInterceptorChain.java │ │ │ ├── RenameInterceptorChain.java │ │ │ ├── SearchInterceptorChain.java │ │ │ └── jdbcLdapImpl │ │ │ │ ├── ChainedImpl.java │ │ │ │ ├── Delete.java │ │ │ │ ├── EntrySetSearchResults.java │ │ │ │ ├── Insert.java │ │ │ │ ├── RetrieveResults.java │ │ │ │ ├── Update.java │ │ │ │ └── UpdateEntry.java │ │ │ ├── core │ │ │ ├── InsertChain.java │ │ │ └── NameSpace.java │ │ │ ├── inserts │ │ │ ├── AccessLog.java │ │ │ ├── DumpTransaction.java │ │ │ ├── Insert.java │ │ │ ├── RootDSE.java │ │ │ ├── RootObject.java │ │ │ ├── SchemaInsert.java │ │ │ ├── accessControl │ │ │ │ ├── AccessControlItem.java │ │ │ │ ├── AccessMgmt.java │ │ │ │ ├── AccessMgr.java │ │ │ │ └── SubjectType.java │ │ │ ├── ad │ │ │ │ ├── ADInsert.java │ │ │ │ ├── ADPosixJoiner.java │ │ │ │ ├── GeneratePosixGID.java │ │ │ │ ├── ObjectGuidToString.java │ │ │ │ ├── PosixDB.java │ │ │ │ └── PrimaryGroup.java │ │ │ ├── cache │ │ │ │ └── simple │ │ │ │ │ ├── CacheKey.java │ │ │ │ │ ├── SimpleCache.java │ │ │ │ │ └── SimpleCacheEntrySet.java │ │ │ ├── composite │ │ │ │ └── CompositeInsert.java │ │ │ ├── extensions │ │ │ │ └── PasswordChangeOperation.java │ │ │ ├── idm │ │ │ │ ├── CreateSPMLIdentity.java │ │ │ │ └── FlattenNamespace.java │ │ │ ├── jcifs │ │ │ │ └── NTLMAuthenticator.java │ │ │ ├── jdbc │ │ │ │ ├── CompositeAttrib.java │ │ │ │ ├── DBAddOnModify.java │ │ │ │ ├── DBGroups.java │ │ │ │ ├── DBTableUpdate.java │ │ │ │ ├── JdbcEntrySet.java │ │ │ │ ├── JdbcInsert.java │ │ │ │ ├── JdbcPool.java │ │ │ │ ├── MapDBObjectClass.java │ │ │ │ └── SimpleDBAuth.java │ │ │ ├── join │ │ │ │ ├── JoinAddFlatNS.java │ │ │ │ ├── JoinData.java │ │ │ │ ├── Joiner.java │ │ │ │ ├── JoinerEntrySet.java │ │ │ │ └── SimpleJoinModify.java │ │ │ ├── kerberos │ │ │ │ ├── KerbHandler.java │ │ │ │ └── KerberosInterceptor.java │ │ │ ├── ldap │ │ │ │ ├── ConnectionWrapper.java │ │ │ │ ├── DynamicGroups.java │ │ │ │ ├── EmbeddedGroups.java │ │ │ │ ├── IgnoreRef.java │ │ │ │ ├── LDAPConnectionPool.java │ │ │ │ ├── LDAPConnectionType.java │ │ │ │ ├── LDAPEntrySet.java │ │ │ │ ├── LDAPInterceptor.java │ │ │ │ ├── LDAPSocketFactory.java │ │ │ │ ├── ReferallInterceptor.java │ │ │ │ └── StaticDNMap.java │ │ │ ├── mapping │ │ │ │ ├── AddAttribute.java │ │ │ │ ├── AttributeCleaner.java │ │ │ │ ├── AttributeFilter.java │ │ │ │ ├── AttributeMapper.java │ │ │ │ ├── AttributeValueMapper.java │ │ │ │ └── DNAttributeMapper.java │ │ │ ├── routing │ │ │ │ ├── MasterReplicaRouter.java │ │ │ │ ├── RequiredForSearch.java │ │ │ │ └── RouteByAttributeValue.java │ │ │ ├── setrdn │ │ │ │ └── SetRDN.java │ │ │ └── virtualHost │ │ │ │ └── VirtualHost.java │ │ │ ├── quickstart │ │ │ ├── ADQuickStart.java │ │ │ ├── ADQuickStartJDBC.java │ │ │ └── util │ │ │ │ └── GetSSLCert.java │ │ │ ├── router │ │ │ ├── Level.java │ │ │ └── Router.java │ │ │ ├── server │ │ │ ├── Server.java │ │ │ ├── ServerCore.java │ │ │ └── apacheds │ │ │ │ ├── ApacheDSUtil.java │ │ │ │ ├── MyVDBaseCursor.java │ │ │ │ ├── MyVDCursor.java │ │ │ │ ├── MyVDInterceptor.java │ │ │ │ └── MyVDReferalManager.java │ │ │ ├── test │ │ │ └── util │ │ │ │ ├── StartApacheDS.java │ │ │ │ ├── StartMyVD.java │ │ │ │ ├── StartOpenDS.java │ │ │ │ ├── StartOpenLDAP.java │ │ │ │ ├── StreamReader.java │ │ │ │ ├── StreamWriter.java │ │ │ │ └── Util.java │ │ │ ├── types │ │ │ ├── Attribute.java │ │ │ ├── Bool.java │ │ │ ├── DNComparer.java │ │ │ ├── DistinguishedName.java │ │ │ ├── Entry.java │ │ │ ├── EntrySet.java │ │ │ ├── ExtendedOperation.java │ │ │ ├── Filter.java │ │ │ ├── FilterNode.java │ │ │ ├── FilterType.java │ │ │ ├── Int.java │ │ │ ├── Password.java │ │ │ ├── RequestVariables.java │ │ │ ├── Result.java │ │ │ ├── Results.java │ │ │ └── SessionVariables.java │ │ │ └── util │ │ │ ├── ConnectionUtil.java │ │ │ ├── EntryUtil.java │ │ │ ├── IteratorEntrySet.java │ │ │ ├── NamingUtils.java │ │ │ └── SchemaUtil.java │ │ └── org │ │ └── apache │ │ └── directory │ │ └── server │ │ ├── core │ │ ├── DefaultOperationManager.java │ │ ├── api │ │ │ ├── CoreSession.java │ │ │ ├── entry │ │ │ │ └── ServerEntryUtils.java │ │ │ └── interceptor │ │ │ │ └── context │ │ │ │ └── FilteringOperationContext.java │ │ ├── exception │ │ │ └── ExceptionInterceptor.java │ │ ├── schema │ │ │ └── SchemaInterceptor.java │ │ └── shared │ │ │ ├── DefaultCoreSession.java │ │ │ └── partition │ │ │ └── DefaultPartitionNexus.java │ │ └── ldap │ │ ├── LdapServer.java │ │ └── handlers │ │ ├── request │ │ ├── BindRequestHandler.java │ │ ├── ExtendedRequestHandler.java │ │ └── SearchRequestHandler.java │ │ └── ssl │ │ └── LdapsInitializer.java │ └── test │ └── java │ └── net │ └── sourceforge │ └── myvd │ └── test │ ├── Server │ ├── TestConfigServer.java │ ├── TestDisableNamespace.java │ ├── TestSchemaInsert.java │ └── TestStartServer.java │ ├── acl │ ├── TestACLPlugin.java │ ├── TestGetACI.java │ ├── TestParseACI.java │ ├── TestRequestVars.java │ └── TestValidateSubjects.java │ ├── adposix │ └── ADPosix.java │ ├── chain │ ├── TestChain.java │ ├── TestFilter.java │ └── TestLocalChainLDAP.java │ ├── interceptor │ ├── ExceptionInterceptor.java │ ├── TestJDBCLDAP.java │ └── TestJdbcInterceptor.java │ ├── jdbc │ ├── TestDBGroup.java │ ├── TestJDBC.java │ ├── TestJDBCSimple.java │ ├── TestJDBCUid.java │ └── UpdateDB.java │ ├── join │ ├── TestJoin.java │ └── TestJoinAD.java │ ├── ldap │ ├── TestAddAttribute.java │ ├── TestDN.java │ ├── TestDynGroup.java │ ├── TestEmbededGroups.java │ ├── TestEmbededGroupsSync.java │ ├── TestLDAP.java │ ├── TestLDAPSearch.java │ ├── TestMapDNAttribute.java │ ├── TestStaticDNMap.java │ ├── TestTimeout.java │ └── WaitInsert.java │ ├── namespace │ └── TestNamespaceMapper.java │ ├── ref │ └── TestRefPlugin.java │ ├── router │ ├── SearchFromRoot.java │ ├── TestAttributeRouter.java │ ├── TestChainR.java │ ├── TestChooseRoute.java │ ├── TestMultiRouteGlobalLDAP.java │ ├── TestMultiRouteLDAP.java │ ├── TestRouteCredentials.java │ ├── TestRouter.java │ ├── TestSingleRouteLDAP.java │ └── TestglobalChain.java │ └── setrdn │ └── SetRDN.java ├── src ├── main │ ├── java │ │ ├── com │ │ │ └── tremolosecurity │ │ │ │ ├── myvd │ │ │ │ └── inserts │ │ │ │ │ └── mapping │ │ │ │ │ └── Attribute2DN.java │ │ │ │ └── proxy │ │ │ │ └── myvd │ │ │ │ └── inserts │ │ │ │ ├── ad │ │ │ │ ├── KrbAuthInsert.java │ │ │ │ └── UpnPwdCallbackHandler.java │ │ │ │ ├── format │ │ │ │ └── FormatDate.java │ │ │ │ └── util │ │ │ │ ├── CorruptObjectGUID.java │ │ │ │ ├── CreateUPN.java │ │ │ │ ├── MultiNameSpaceInsert.java │ │ │ │ └── UUIDtoText.java │ │ ├── net │ │ │ └── sourceforge │ │ │ │ └── myvd │ │ │ │ ├── chain │ │ │ │ ├── AddInterceptorChain.java │ │ │ │ ├── BindInterceptorChain.java │ │ │ │ ├── CompareInterceptorChain.java │ │ │ │ ├── DeleteInterceptorChain.java │ │ │ │ ├── ExetendedOperationInterceptorChain.java │ │ │ │ ├── InterceptorChain.java │ │ │ │ ├── ModifyInterceptorChain.java │ │ │ │ ├── PostSearchCompleteInterceptorChain.java │ │ │ │ ├── PostSearchEntryInterceptorChain.java │ │ │ │ ├── RenameInterceptorChain.java │ │ │ │ ├── SearchInterceptorChain.java │ │ │ │ └── jdbcLdapImpl │ │ │ │ │ ├── ChainedImpl.java │ │ │ │ │ ├── Delete.java │ │ │ │ │ ├── EntrySetSearchResults.java │ │ │ │ │ ├── Insert.java │ │ │ │ │ ├── RetrieveResults.java │ │ │ │ │ ├── Update.java │ │ │ │ │ └── UpdateEntry.java │ │ │ │ ├── core │ │ │ │ ├── ConnectionEventLogger.java │ │ │ │ ├── InsertChain.java │ │ │ │ └── NameSpace.java │ │ │ │ ├── inserts │ │ │ │ ├── AccessLog.java │ │ │ │ ├── DumpTransaction.java │ │ │ │ ├── Insert.java │ │ │ │ ├── RootDSE.java │ │ │ │ ├── RootObject.java │ │ │ │ ├── SchemaInsert.java │ │ │ │ ├── accessControl │ │ │ │ │ ├── AccessControlItem.java │ │ │ │ │ ├── AccessMgmt.java │ │ │ │ │ ├── AccessMgr.java │ │ │ │ │ └── SubjectType.java │ │ │ │ ├── ad │ │ │ │ │ ├── ADInsert.java │ │ │ │ │ ├── ADPosixJoiner.java │ │ │ │ │ ├── GeneratePosixGID.java │ │ │ │ │ ├── ObjectGuidToString.java │ │ │ │ │ ├── PosixDB.java │ │ │ │ │ └── PrimaryGroup.java │ │ │ │ ├── cache │ │ │ │ │ └── simple │ │ │ │ │ │ ├── CacheKey.java │ │ │ │ │ │ ├── SimpleCache.java │ │ │ │ │ │ └── SimpleCacheEntrySet.java │ │ │ │ ├── composite │ │ │ │ │ └── CompositeInsert.java │ │ │ │ ├── extensions │ │ │ │ │ └── PasswordChangeOperation.java │ │ │ │ ├── idm │ │ │ │ │ ├── CreateSPMLIdentity.java │ │ │ │ │ └── FlattenNamespace.java │ │ │ │ ├── jcifs │ │ │ │ │ └── NTLMAuthenticator.java │ │ │ │ ├── jdbc │ │ │ │ │ ├── CompositeAttrib.java │ │ │ │ │ ├── DBAddOnModify.java │ │ │ │ │ ├── DBGroups.java │ │ │ │ │ ├── DBTableUpdate.java │ │ │ │ │ ├── JdbcEntrySet.java │ │ │ │ │ ├── JdbcInsert.java │ │ │ │ │ ├── JdbcPool.java │ │ │ │ │ ├── JdbcPoolHolder.java │ │ │ │ │ ├── MapDBObjectClass.java │ │ │ │ │ ├── Pbkdf2Auth.java │ │ │ │ │ └── SimpleDBAuth.java │ │ │ │ ├── join │ │ │ │ │ ├── JoinAddFlatNS.java │ │ │ │ │ ├── JoinData.java │ │ │ │ │ ├── JoinSearchMapDNAttribute.java │ │ │ │ │ ├── Joiner.java │ │ │ │ │ ├── JoinerEntrySet.java │ │ │ │ │ └── SimpleJoinModify.java │ │ │ │ ├── kerberos │ │ │ │ │ ├── KerbHandler.java │ │ │ │ │ └── KerberosInterceptor.java │ │ │ │ ├── ldap │ │ │ │ │ ├── ConnectionCleanupPool.java │ │ │ │ │ ├── ConnectionWrapper.java │ │ │ │ │ ├── DynamicGroups.java │ │ │ │ │ ├── EmbeddedGroups.java │ │ │ │ │ ├── IgnoreRef.java │ │ │ │ │ ├── LDAPConnectionPool.java │ │ │ │ │ ├── LDAPConnectionType.java │ │ │ │ │ ├── LDAPEntrySet.java │ │ │ │ │ ├── LDAPHeartBeat.java │ │ │ │ │ ├── LDAPInterceptor.java │ │ │ │ │ ├── LDAPInterceptorExperimental.java │ │ │ │ │ ├── LDAPSocketFactory.java │ │ │ │ │ ├── LegacyLDAPEntrySet.java │ │ │ │ │ ├── LegacyLDAPInterceptor.java │ │ │ │ │ ├── ReferallInterceptor.java │ │ │ │ │ ├── StaticDNMap.java │ │ │ │ │ └── pool2 │ │ │ │ │ │ ├── InspectCheckedoutConnections.java │ │ │ │ │ │ ├── LdapConnection.java │ │ │ │ │ │ ├── LdapPool.java │ │ │ │ │ │ ├── LdapResult.java │ │ │ │ │ │ └── LdapSearchResults.java │ │ │ │ ├── local │ │ │ │ │ └── LocalUserInsert.java │ │ │ │ ├── mapping │ │ │ │ │ ├── AddActiveDirectoryEnabledFlag.java │ │ │ │ │ ├── AddAttribute.java │ │ │ │ │ ├── AttributeCleaner.java │ │ │ │ │ ├── AttributeFilter.java │ │ │ │ │ ├── AttributeMapper.java │ │ │ │ │ ├── AttributeValueMapper.java │ │ │ │ │ ├── CopyAttirbute.java │ │ │ │ │ ├── DNAttributeMapper.java │ │ │ │ │ ├── DeleteAttribute.java │ │ │ │ │ ├── Dn2Attribute.java │ │ │ │ │ ├── EntryFilter.java │ │ │ │ │ ├── LimitAttributesInFilter.java │ │ │ │ │ ├── RemoveDoubleQuotesFromDNFilter.java │ │ │ │ │ └── VirtualMemberOf.java │ │ │ │ ├── routing │ │ │ │ │ ├── MasterReplicaRouter.java │ │ │ │ │ ├── RequiredForSearch.java │ │ │ │ │ └── RouteByAttributeValue.java │ │ │ │ ├── setrdn │ │ │ │ │ └── SetRDN.java │ │ │ │ └── virtualHost │ │ │ │ │ └── VirtualHost.java │ │ │ │ ├── router │ │ │ │ ├── Level.java │ │ │ │ └── Router.java │ │ │ │ ├── server │ │ │ │ ├── IdleIoServiceListener.java │ │ │ │ ├── Server.java │ │ │ │ ├── ServerCore.java │ │ │ │ ├── apacheds │ │ │ │ │ ├── ApacheDSUtil.java │ │ │ │ │ ├── MyVDApacheDSAttribute.java │ │ │ │ │ ├── MyVDApacheDSEntry.java │ │ │ │ │ ├── MyVDBaseCursor.java │ │ │ │ │ ├── MyVDCursor.java │ │ │ │ │ ├── MyVDInterceptor.java │ │ │ │ │ └── MyVDReferalManager.java │ │ │ │ └── ssl │ │ │ │ │ ├── AliasX509KeyManager.java │ │ │ │ │ └── MyVDTrustManager.java │ │ │ │ ├── test │ │ │ │ └── util │ │ │ │ │ ├── OpenLDAPUtils.java │ │ │ │ │ ├── StartApacheDS.java │ │ │ │ │ ├── StartMyVD.java │ │ │ │ │ ├── StartOpenDS.java │ │ │ │ │ ├── StartOpenLDAP.java │ │ │ │ │ ├── StreamReader.java │ │ │ │ │ ├── StreamWriter.java │ │ │ │ │ └── Util.java │ │ │ │ ├── types │ │ │ │ ├── Attribute.java │ │ │ │ ├── Bool.java │ │ │ │ ├── DNComparer.java │ │ │ │ ├── DistinguishedName.java │ │ │ │ ├── Entry.java │ │ │ │ ├── EntrySet.java │ │ │ │ ├── ExtendedOperation.java │ │ │ │ ├── Filter.java │ │ │ │ ├── FilterNode.java │ │ │ │ ├── FilterType.java │ │ │ │ ├── Int.java │ │ │ │ ├── Password.java │ │ │ │ ├── RequestVariables.java │ │ │ │ ├── Result.java │ │ │ │ ├── Results.java │ │ │ │ ├── SessionVariables.java │ │ │ │ └── TlsParameters.java │ │ │ │ └── util │ │ │ │ ├── ConnectionUtil.java │ │ │ │ ├── EntryUtil.java │ │ │ │ ├── IteratorEntrySet.java │ │ │ │ ├── NamingUtils.java │ │ │ │ ├── PBKDF2.java │ │ │ │ └── SchemaUtil.java │ │ └── org │ │ │ └── apache │ │ │ └── directory │ │ │ ├── api │ │ │ └── ldap │ │ │ │ └── model │ │ │ │ └── entry │ │ │ │ └── TremoloEntry.java │ │ │ └── server │ │ │ ├── core │ │ │ ├── DefaultDirectoryService.java │ │ │ ├── DefaultOperationManager.java │ │ │ ├── LoggingFilter.java │ │ │ ├── exception │ │ │ │ └── ExceptionInterceptor.java │ │ │ ├── factory │ │ │ │ └── DefaultDirectoryServiceFactory.txt │ │ │ ├── schema │ │ │ │ ├── SchemaInterceptor.java │ │ │ │ └── SchemaSubentryManager.java │ │ │ ├── security │ │ │ │ ├── CertificateUtil.java │ │ │ │ ├── CoreKeyStoreSpi.java │ │ │ │ └── TlsKeyGenerator.java │ │ │ └── shared │ │ │ │ └── DefaultCoreSessionImpl.java │ │ │ └── ldap │ │ │ ├── LdapServerImpl.java │ │ │ ├── MyVDLdapProtocolHandler.java │ │ │ └── handlers │ │ │ ├── MyVDSearchAbandonListener.java │ │ │ ├── request │ │ │ ├── BindRequestHandler.java │ │ │ ├── ExtendedRequestHandler.java │ │ │ ├── MyVDExtendedRequest.java │ │ │ └── SearchRequestHandler.java │ │ │ └── ssl │ │ │ └── LdapsInitializer.java │ ├── resources │ │ └── net │ │ │ └── sourceforge │ │ │ └── myvd │ │ │ └── server │ │ │ └── apacheds │ │ │ └── version.properties │ └── xml │ │ └── create-distro.xml └── test │ └── java │ └── net │ └── sourceforge │ └── myvd │ └── test │ ├── Server │ ├── TestClientAuth.java │ ├── TestConfigServer.java │ ├── TestDisableNamespace.java │ ├── TestSchemaInsert.java │ ├── TestStartServer.java │ ├── TestStartServerAuthRequired.java │ ├── TestStartServerHost.java │ ├── TestStartServerSearchCompare.java │ ├── TestVirtualMemberOf.java │ └── TestVirtualMemberOfLocal.java │ ├── acl │ ├── TestACLPlugin.java │ ├── TestGetACI.java │ ├── TestParseACI.java │ ├── TestRequestVars.java │ └── TestValidateSubjects.java │ ├── adposix │ └── ADPosix.java │ ├── chain │ ├── TestChain.java │ ├── TestFilter.java │ └── TestLocalChainLDAP.java │ ├── inserts │ └── AddTlsParamInsert.java │ ├── interceptor │ ├── ExceptionInterceptor.java │ ├── TestJDBCLDAP.java │ └── TestJdbcInterceptor.java │ ├── jdbc │ ├── TestDBGroup.java │ ├── TestJDBC.java │ ├── TestJDBCSimple.java │ ├── TestJDBCUid.java │ └── UpdateDB.java │ ├── join │ ├── TestJoin.java │ └── TestJoinAD.java │ ├── ldap │ ├── TestAddAttribute.java │ ├── TestDN.java │ ├── TestDynGroup.java │ ├── TestEmbededGroups.java │ ├── TestEmbededGroupsSync.java │ ├── TestLDAP.java │ ├── TestLDAPSearch.java │ ├── TestMapDNAttribute.java │ ├── TestStaticDNMap.java │ ├── TestTimeout.java │ ├── TestTooManyResults.java │ └── WaitInsert.java │ ├── local │ └── TestLocalUser.java │ ├── namespace │ └── TestNamespaceMapper.java │ ├── ref │ └── TestRefPlugin.java │ ├── router │ ├── SearchFromRoot.java │ ├── TestAttributeRouter.java │ ├── TestAttributeRouterNotBelowBase.java │ ├── TestChainR.java │ ├── TestChooseRoute.java │ ├── TestMultiRouteGlobalLDAP.java │ ├── TestMultiRouteLDAP.java │ ├── TestRouteCredentials.java │ ├── TestRouter.java │ ├── TestSearchOverlap.java │ ├── TestSingleRouteLDAP.java │ └── TestglobalChain.java │ └── setrdn │ ├── SetRDN.java │ └── SetRDNAD.java └── test ├── ACITest ├── data.ldif └── slapd.conf ├── ADPosixSim ├── ad.schema ├── core.schema ├── cosine.schema ├── data.ldif ├── inetorgperson.schema ├── nis.schema ├── slapd.conf └── test-ldifs │ ├── fulldir.ldif │ ├── gidNumberSearch.ldif │ ├── groupHasGroups.ldif │ ├── groupMemberships.ldif │ ├── sudoersSearch.ldif │ ├── uidNumberSearch.ldif │ └── uidSearch.ldif ├── Base ├── data.ldif └── slapd.conf ├── BogusExternal ├── data.ldif └── slapd.conf ├── BogusInternal ├── data.ldif └── slapd.conf ├── DBAdapter-Simple ├── dbdata.properties ├── dbdata.script ├── derby-groups.sql ├── derby.sql ├── ldif │ └── groupBaseSearch.ldif ├── myvd-dbgroups.props └── vldap.props ├── DBAdapter ├── dbdata.properties ├── dbdata.script ├── dbdata.script.orig ├── derby.sql └── vldap.props ├── DBAdapterUID ├── dbdata.properties ├── derby.sql └── vldap.props ├── DynGroups ├── data.ldif ├── domainGroupSMemberSearch.ldif ├── domainGroupSearch.ldif ├── domainGroupSearch2.ldif ├── dyngroup.schema ├── slapd.conf ├── testMemberships.ldif └── testMemberships2.ldif ├── EmbeddedGroups ├── data-apacheds.ldif ├── data.ldif ├── dyngroup.schema ├── expandMembers-apacheds.ldif ├── expandMembers.ldif ├── membershipSearch-apacheds.ldif ├── membershipSearch.ldif ├── north_east-apacheds.ldif ├── north_east.ldif ├── slapd.conf ├── us_ldif-apacheds.ldif ├── us_ldif.ldif ├── us_ldif_search-apacheds.ldif └── us_ldif_search.ldif ├── ExternalUsers ├── data.ldif └── slapd.conf ├── ExternalUsersRoute ├── data.ldif └── slapd.conf ├── FromRoot ├── derby.sql └── myvd-db.conf ├── InternalUsers ├── add-result.ldif ├── add-src.ldif ├── basesearch.ldif ├── data.ldif ├── mod-result.ldif ├── modgroup.ldif └── slapd.conf ├── InternalUsersCustom ├── custom.schema ├── data.ldif └── slapd.conf ├── InternalUsersRoute ├── add-result.ldif ├── add-src.ldif ├── basesearch.ldif ├── data.ldif ├── mod-result.ldif ├── modgroup.ldif └── slapd.conf ├── Kerberos ├── jaas.conf ├── krb5.conf └── testStartServer.props ├── LocalUsers ├── control-results.ldif ├── data.ldif ├── default-results.ldif ├── default_internal-results.ldif ├── external-results.ldif ├── internal-results.ldif └── slapd.conf ├── Master ├── data.ldif └── slapd.conf ├── TestAD ├── custom.schema ├── data.ldif ├── domainGroupSearch.ldif └── slapd.conf ├── TestADPosix ├── custom.schema ├── data.ldif ├── groupLinuxSearch.ldif ├── nis.schema ├── slapd.conf └── userSearch.ldif ├── TestJoin ├── db │ ├── joindb.properties │ └── joindb.script.orig ├── ldap │ ├── data.ldif │ └── slapd.conf ├── ldifs │ ├── afterAdd.ldif │ ├── afterModifyJoined.ldif │ ├── afterModifyPrimary.ldif │ ├── baseSearch.ldif │ ├── filterJoined.ldif │ ├── filterPrimary.ldif │ ├── joinadd.ldif │ ├── pickAttribs.ldif │ └── wholeTree.ldif └── myvd.conf ├── TestLDAP ├── data-orig.ldif ├── data.ldif └── slapd.conf ├── TestServer ├── ad-domaingroup.conf ├── ad-join-posix-comp-derby.conf ├── ad-join-posix-comp.conf ├── ad-join-posix.conf ├── ad-posix.conf ├── addattribute.props ├── basicvd.props ├── cert.cert ├── dyngroups.conf ├── embgroups-sync.conf ├── embgroups.conf ├── kerb-ad.conf ├── ldap-overlapp-test.conf ├── log4j2.xml ├── logging.conf ├── myvd-router.props ├── myvd-ssl.conf ├── setrdn.props ├── staticdnmap.conf ├── test-local-user.props ├── test.jks ├── testACI.props ├── testACLs.props ├── testAttributeRoute.props ├── testAttributeRouteNoRouteBase.props ├── testJDBCLDAP.props ├── testJoin.props ├── testMaster.props ├── testSPML.props ├── testSchema.conf ├── testStartServer.props ├── testVirtualMemberOf-local.props ├── testVirtualMemberOf.props ├── testconfig-host.props ├── testconfig-required-auth.props ├── testconfig-searchcompare.props ├── testconfig.jks ├── testconfig.props ├── testconfigdisable.props ├── testdnmap.conf ├── testtimeout.props └── toomany.props ├── TlsServer └── conf │ ├── client.jks │ ├── clientcert.pem │ ├── myvd.conf │ └── server.jks ├── TooManyResults ├── control-results.ldif ├── data.ldif ├── default-results.ldif ├── default_internal-results.ldif ├── external-results.ldif ├── internal-results.ldif └── slapd.conf ├── log4j └── log4j2.xml ├── opends-1.0b7 ├── QuickSetup.app │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ └── JavaApplicationStub │ │ ├── PkgInfo │ │ └── Resources │ │ └── OpenDS.icns ├── README ├── Uninstall.app │ └── Contents │ │ ├── Info.plist │ │ ├── MacOS │ │ └── JavaApplicationStub │ │ ├── PkgInfo │ │ └── Resources │ │ └── OpenDS.icns ├── bat │ ├── backup.bat │ ├── base64.bat │ ├── dbtest.bat │ ├── dsconfig.bat │ ├── dsframework.bat │ ├── dsreplication.bat │ ├── encode-password.bat │ ├── export-ldif.bat │ ├── import-ldif.bat │ ├── ldapcompare.bat │ ├── ldapdelete.bat │ ├── ldapmodify.bat │ ├── ldappasswordmodify.bat │ ├── ldapsearch.bat │ ├── ldif-diff.bat │ ├── ldifmodify.bat │ ├── ldifsearch.bat │ ├── list-backends.bat │ ├── make-ldif.bat │ ├── manage-account.bat │ ├── manage-tasks.bat │ ├── rebuild-index.bat │ ├── restore.bat │ ├── start-ds.bat │ ├── status-panel.bat │ ├── status.bat │ ├── stop-ds.bat │ ├── verify-index.bat │ └── windows-service.bat ├── bin │ ├── README_WINDOWS.txt │ ├── StatusPanel.app │ │ └── Contents │ │ │ ├── Info.plist │ │ │ ├── MacOS │ │ │ └── JavaApplicationStub │ │ │ ├── PkgInfo │ │ │ └── Resources │ │ │ └── OpenDS.icns │ ├── backup │ ├── base64 │ ├── create-rc-script │ ├── dbtest │ ├── dsconfig │ ├── dsframework │ ├── dsreplication │ ├── encode-password │ ├── export-ldif │ ├── import-ldif │ ├── ldapcompare │ ├── ldapdelete │ ├── ldapmodify │ ├── ldappasswordmodify │ ├── ldapsearch │ ├── ldif-diff │ ├── ldifmodify │ ├── ldifsearch │ ├── list-backends │ ├── make-ldif │ ├── manage-account │ ├── manage-tasks │ ├── rebuild-index │ ├── restore │ ├── start-ds │ ├── status │ ├── status-panel │ ├── stop-ds │ └── verify-index ├── config │ ├── MakeLDIF │ │ ├── cities │ │ ├── example.template │ │ ├── first.names │ │ ├── last.names │ │ ├── states │ │ └── streets │ ├── admin-backend.ldif │ ├── ads-truststore │ ├── ads-truststore.pin │ ├── archived-configs │ │ ├── config-20071117185003Z.gz │ │ └── config-20071117185034Z.gz │ ├── config.ldif │ ├── config.ldif.startok │ ├── messages │ │ ├── account-disabled.template │ │ ├── account-enabled.template │ │ ├── account-expired.template │ │ ├── account-idle-locked.template │ │ ├── account-permanently-locked.template │ │ ├── account-reset-locked.template │ │ ├── account-temporarily-locked.template │ │ ├── account-unlocked.template │ │ ├── password-changed.template │ │ ├── password-expired.template │ │ ├── password-expiring.template │ │ └── password-reset.template │ ├── replication.ldif │ ├── schema │ │ ├── 00-core.ldif │ │ ├── 01-pwpolicy.ldif │ │ ├── 02-config.ldif │ │ ├── 03-changelog.ldif │ │ ├── 03-rfc2713.ldif │ │ ├── 03-rfc2714.ldif │ │ ├── 03-rfc2739.ldif │ │ ├── 03-rfc2926.ldif │ │ ├── 03-rfc3112.ldif │ │ ├── 03-rfc3712.ldif │ │ ├── 03-uddiv3.ldif │ │ └── 04-rfc2307bis.ldif │ ├── tasks.ldif │ ├── tools.properties │ ├── upgrade │ │ ├── config.ldif.3367 │ │ └── schema.ldif.3367 │ └── wordlist.txt ├── example-plugin.zip ├── legal-notices │ ├── BerkeleyDB-JE.LICENSE │ └── OpenDS.LICENSE ├── lib │ ├── _client-script.bat │ ├── _client-script.sh │ ├── _server-script.bat │ ├── _server-script.sh │ ├── launcher_administrator.exe │ ├── opends_service.exe │ ├── set-java-home │ ├── setcp.bat │ └── winlauncher.exe ├── locks │ ├── backend-adminRoot.lock │ ├── backend-ads-truststore.lock │ ├── backend-backup.lock │ ├── backend-monitor.lock │ ├── backend-schema.lock │ ├── backend-tasks.lock │ ├── backend-userRoot.lock │ └── server.lock ├── logs │ └── replication ├── setup ├── setup.bat ├── uninstall ├── uninstall.bat ├── upgrade └── upgrade.bat ├── startopenldap ├── data.ldif └── slapd.conf └── test-data └── ldap-overlap ├── onelevel-from-openldap-ou.ldif ├── onelevel-from-overlap-ou.ldif ├── onelevel-from-root.ldif ├── subtree-from-openldap-ou.ldif ├── subtree-from-overlap-ou.ldif └── subtree-root.ldif /.gitignore: -------------------------------------------------------------------------------- 1 | # Directories # 2 | /build/ 3 | /bin/ 4 | target/ 5 | .idea 6 | *.iml 7 | 8 | # OS Files # 9 | .DS_Store 10 | 11 | *.class 12 | 13 | # Package Files # 14 | *.jar 15 | *.war 16 | *.ear 17 | *.db 18 | 19 | ###################### 20 | # Windows 21 | ###################### 22 | 23 | # Windows image file caches 24 | Thumbs.db 25 | 26 | # Folder config file 27 | Desktop.ini 28 | 29 | ###################### 30 | # OSX 31 | ###################### 32 | 33 | .DS_Store 34 | .svn 35 | 36 | # Thumbnails 37 | ._* 38 | 39 | # Files that might appear on external disk 40 | .Spotlight-V100 41 | .Trashes 42 | 43 | 44 | ###################### 45 | # Eclipse 46 | ###################### 47 | 48 | *.pydevproject 49 | .project 50 | .metadata 51 | bin/** 52 | tmp/** 53 | tmp/**/* 54 | *.tmp 55 | *.bak 56 | *.swp 57 | *~.nib 58 | local.properties 59 | .classpath 60 | .settings/ 61 | .loadpath 62 | /src/main/resources/rebel.xml 63 | # External tool builders 64 | .externalToolBuilders/ 65 | 66 | # Locally stored "Eclipse launch configurations" 67 | *.launch 68 | 69 | # CDT-specific 70 | .cproject 71 | 72 | # PDT-specific 73 | .buildpath 74 | 75 | /test/**/slapd-gen.conf 76 | /test/**/data 77 | /test/derbyHome 78 | /test/lib 79 | /test/**/apacheds-data 80 | /test/opends-1.0b7/db 81 | /test/opends-1.0b7/logs 82 | /.factorypath 83 | -------------------------------------------------------------------------------- /.vscode/.gitignore: -------------------------------------------------------------------------------- 1 | /settings.json 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "java.test.config" :{ 3 | "name":"test-myvd-pfizer", 4 | "workingDirectory":"${workplaceFolder}", 5 | 6 | "vmArgs": [ 7 | "-Dlog4j.configurationFile=/Users/marcboorshtein/git/OpenUnison/unison/open-unison-webapp/src/main/webapp/WEB-INF/classes/log4j2.xml" 8 | ], 9 | "env" : { 10 | "PROJ_DIR": "/Users/marcboorshtein/git/MyVirtualDirectory", 11 | "SCHEMA_DIR" : "/etc/ldap", 12 | "SLAPD_PATH":"/Users/marcboorshtein/bin", 13 | "TMP_DIR":"/tmp/ldap", 14 | } 15 | }, 16 | "java.configuration.updateBuildConfiguration": "automatic" 17 | } -------------------------------------------------------------------------------- /build.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 12 | description 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /dist/bin/myvd-init.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | . /etc/rc.d/init.d/functions 4 | 5 | export CONFIG_FILE= 6 | export LOCAL_CP= 7 | export INSTALL_DIR= 8 | 9 | for jarFile in `ls $INSTALL_DIR/lib` 10 | do 11 | export LOCAL_CP="$INSTALL_DIR/lib/$jarFile:$LOCAL_CP" 12 | done 13 | 14 | export CLASSPATH=$LOCAL_CP 15 | 16 | MYVD="java -server net.sourceforge.myvd.server.Server $CONFIG_FILE" 17 | 18 | case "$1" in 19 | "start") 20 | echo -n "Starting MYVD......" 21 | daemon $MYVD 22 | exit $? 23 | ;; 24 | 25 | "stop") 26 | echo "stopped....." 27 | ;; 28 | esac -------------------------------------------------------------------------------- /dist/bin/myvd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | #First see where java is 5 | echo "Java home : $JAVA_HOME" 6 | 7 | if [ ! -z $JAVA_HOME ]; then 8 | export JAVA_CMD="$JAVA_HOME/bin/java" 9 | else 10 | JAVA_CMD=`which java` 11 | fi 12 | 13 | #determine where $MYVD_HOME is 14 | 15 | if [ -z $MYVD_HOME ]; then 16 | export MYVD_HOME="$(cd ..;pwd)" 17 | fi 18 | 19 | echo "MyVD Home : $MYVD_HOME" 20 | 21 | if [ $1 = "start" ]; then 22 | echo "Starting MyVD..." 23 | 24 | export LOCAL_CLASSPATH="$MYVD_HOME/jar/myvd.jar:" 25 | for jarFile in `ls $MYVD_HOME/lib/*.jar` 26 | do 27 | export LOCAL_CLASSPATH="$jarFile:$LOCAL_CLASSPATH" 28 | done 29 | 30 | if [ -d $MYVD_HOME/qslib ]; then 31 | for jarFile in `ls $MYVD_HOME/qslib/*.jar` 32 | do 33 | export LOCAL_CLASSPATH="$jarFile:$LOCAL_CLASSPATH" 34 | done 35 | fi 36 | 37 | export LOCAL_CLASSPATH="$MYVD_HOME/conf:$LOCAL_CLASSPATH" 38 | 39 | echo "Classpath : $LOCAL_CLASSPATH" 40 | 41 | 42 | export MYVD_CMD="$JAVA_CMD -server -Djavax.net.ssl.trustStore=$MYVD_HOME/conf/myvd-server.ks -Dderby.system.home=$MYVD_HOME/derbyHome net.sourceforge.myvd.server.Server $MYVD_HOME/conf/myvd.conf" 43 | 44 | 45 | 46 | $MYVD_HOME/bin/runserver.sh "$LOCAL_CLASSPATH" "$MYVD_HOME" "$MYVD_CMD" 2>&1 > /dev/null & 47 | 48 | 49 | elif [ $1 = "stop" ]; then 50 | echo "Stopping MyVD..." 51 | export PID=`cat $MYVD_HOME/.myvdpid` 52 | kill $PID 53 | fi 54 | -------------------------------------------------------------------------------- /dist/bin/quickStart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | #First see where java is 5 | echo "Java home : $JAVA_HOME" 6 | 7 | if [ ! -z $JAVA_HOME ]; then 8 | export JAVA_CMD="$JAVA_HOME/bin/java" 9 | else 10 | JAVA_CMD=`which java` 11 | fi 12 | 13 | #determine where $MYVD_HOME is 14 | 15 | if [ -z $MYVD_HOME ]; then 16 | export MYVD_HOME="$(cd ..;pwd)" 17 | fi 18 | 19 | echo "MyVD Home : $MYVD_HOME" 20 | 21 | 22 | echo "Starting MyVD..." 23 | 24 | export LOCAL_CLASSPATH="$MYVD_HOME/jar/myvd.jar:$MYVD_HOME/jar/myvd-test.jar:" 25 | for jarFile in `ls $MYVD_HOME/lib/*.jar` 26 | do 27 | export LOCAL_CLASSPATH="$jarFile:$LOCAL_CLASSPATH" 28 | done 29 | 30 | for jarFile in `ls $MYVD_HOME/qslib/*.jar` 31 | do 32 | export LOCAL_CLASSPATH="$jarFile:$LOCAL_CLASSPATH" 33 | done 34 | 35 | echo "Classpath : $LOCAL_CLASSPATH" 36 | 37 | export CLASSPATH=$LOCAL_CLASSPATH 38 | export MYVD_CMD="$JAVA_CMD -server -Djavax.net.ssl.trustStore=$MYVD_HOME/conf/myvd-server.ks -Dderby.system.home=$MYVD_HOME/derbyHome net.sourceforge.myvd.quickstart.$1 $MYVD_HOME" 39 | 40 | exec $MYVD_CMD 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /dist/bin/runserver.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | export CLASSPATH=$1 4 | export MYVD_HOME=$2 5 | export MYVD_CMD=$3 6 | 7 | echo $$ > $MYVD_HOME/.myvdpid 8 | 9 | exec $MYVD_CMD -------------------------------------------------------------------------------- /dist/conf/log4j2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /dist/conf/myvd.conf: -------------------------------------------------------------------------------- 1 | server.listener.port=10983 2 | #Configure global chains 3 | server.globalChain= 4 | 5 | 6 | server.nameSpaces=Root 7 | 8 | #Define RootDSE 9 | server.Root.chain=RootDSE 10 | server.Root.nameSpace= 11 | server.Root.weight=0 12 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 13 | server.Root.RootDSE.config.namingContexts=o=mycompany,c=us 14 | server.Root.RootDSE.config.supportedControls=2.16.840.1.113730.3.4.18,2.16.840.1.113730.3.4.2,1.3.6.1.4.1.4203.1.10.1,1.2.840.113556.1.4.319,1.2.826.0.1.334810.2.3,1.2.826.0.1.3344810.2.3,1.3.6.1.1.13.2,1.3.6.1.1.13.1,1.3.6.1.1.12 15 | server.Root.RootDSE.config.supportedSaslMechanisms=NONE 16 | 17 | 18 | -------------------------------------------------------------------------------- /dist/samples/DB/employees.csv: -------------------------------------------------------------------------------- 1 | "1","John","Doe","jdoe@test.com","Boston" 2 | "2","Jen","Burnstein","jburnstein@test.com","Boston" 3 | "3","Josh","Bora","jbora@test.com","New York" 4 | "4","Alice","Raden","araden@test.com","Los Angeles" 5 | -------------------------------------------------------------------------------- /dist/samples/Joiner/userdata.csv: -------------------------------------------------------------------------------- 1 | "1","jsmith000","Boston","widgets","doo-dads" 2 | "2","jsmith002","Boston","wing-dings","doo-dads" 3 | "3","bdund003","LA","wing-dings","thingamabobers" 4 | "4","rsandburg015","Chicago","widgets","thingamabobers" 5 | -------------------------------------------------------------------------------- /doc/images/LinuxADArchitecture.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/LinuxADArchitecture.dia -------------------------------------------------------------------------------- /doc/images/LinuxADArchitecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/LinuxADArchitecture.png -------------------------------------------------------------------------------- /doc/images/LinuxADVD.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/LinuxADVD.dia -------------------------------------------------------------------------------- /doc/images/LinuxADVD.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/LinuxADVD.png -------------------------------------------------------------------------------- /doc/images/browser/addDialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/addDialog.png -------------------------------------------------------------------------------- /doc/images/browser/browser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/browser.png -------------------------------------------------------------------------------- /doc/images/browser/browserCaptions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/browserCaptions.png -------------------------------------------------------------------------------- /doc/images/browser/conWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/conWindow.png -------------------------------------------------------------------------------- /doc/images/browser/dbBrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/dbBrowser.png -------------------------------------------------------------------------------- /doc/images/browser/dbConnection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/dbConnection.png -------------------------------------------------------------------------------- /doc/images/browser/dbSearchResults.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/dbSearchResults.png -------------------------------------------------------------------------------- /doc/images/browser/mainWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/mainWindow.png -------------------------------------------------------------------------------- /doc/images/browser/modifyDialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/modifyDialog.png -------------------------------------------------------------------------------- /doc/images/browser/newMainWindow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/newMainWindow.png -------------------------------------------------------------------------------- /doc/images/browser/prefs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/prefs.png -------------------------------------------------------------------------------- /doc/images/browser/searchDialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/searchDialog.png -------------------------------------------------------------------------------- /doc/images/browser/searchResultsTable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/searchResultsTable.png -------------------------------------------------------------------------------- /doc/images/browser/searchResultsTree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/browser/searchResultsTree.png -------------------------------------------------------------------------------- /doc/images/collapsed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/collapsed.gif -------------------------------------------------------------------------------- /doc/images/delauth.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/delauth.dia -------------------------------------------------------------------------------- /doc/images/delauth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/delauth.png -------------------------------------------------------------------------------- /doc/images/dt.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/dt.dia -------------------------------------------------------------------------------- /doc/images/dt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/dt.png -------------------------------------------------------------------------------- /doc/images/edge.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/edge.dia -------------------------------------------------------------------------------- /doc/images/edge.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/edge.png -------------------------------------------------------------------------------- /doc/images/expanded.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/expanded.gif -------------------------------------------------------------------------------- /doc/images/logo-wiki.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/logo-wiki.dia -------------------------------------------------------------------------------- /doc/images/logo-wiki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/logo-wiki.png -------------------------------------------------------------------------------- /doc/images/logo.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/logo.dia -------------------------------------------------------------------------------- /doc/images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/logo.png -------------------------------------------------------------------------------- /doc/images/logoleft.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/logoleft.dia -------------------------------------------------------------------------------- /doc/images/logoleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/logoleft.png -------------------------------------------------------------------------------- /doc/images/nsintegration.dia: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/nsintegration.dia -------------------------------------------------------------------------------- /doc/images/nsintegration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/nsintegration.png -------------------------------------------------------------------------------- /doc/images/overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/overview.png -------------------------------------------------------------------------------- /doc/images/sample1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/doc/images/sample1.png -------------------------------------------------------------------------------- /null/test/derbyHome/myvdTestJoin/log/logmirror.ctrl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/null/test/derbyHome/myvdTestJoin/log/logmirror.ctrl -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/chain/jdbcLdapImpl/ChainedImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.chain.jdbcLdapImpl; 17 | 18 | import net.sourceforge.myvd.chain.InterceptorChain; 19 | 20 | public interface ChainedImpl { 21 | 22 | public abstract InterceptorChain getChain(); 23 | 24 | public abstract void setChain(InterceptorChain chain); 25 | 26 | } -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/inserts/accessControl/SubjectType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.inserts.accessControl; 17 | 18 | public enum SubjectType { 19 | SUBTREE, 20 | DN, 21 | THIS, 22 | GROUP, 23 | DYNAMIC_GROUP, 24 | PUBLIC; 25 | } 26 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/inserts/jdbc/JdbcPool.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.inserts.jdbc; 2 | 3 | import java.sql.Connection; 4 | import java.sql.SQLException; 5 | 6 | public interface JdbcPool { 7 | public Connection getCon() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException; 8 | 9 | public void returnCon(Connection con); 10 | } 11 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/inserts/join/JoinData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.inserts.join; 17 | 18 | import java.util.ArrayList; 19 | import java.util.HashSet; 20 | 21 | import net.sourceforge.myvd.types.Attribute; 22 | import net.sourceforge.myvd.types.DistinguishedName; 23 | import net.sourceforge.myvd.types.Filter; 24 | import net.sourceforge.myvd.types.Int; 25 | 26 | class JoinData { 27 | String joinType; 28 | Filter joinFilter; 29 | Filter joinPrimaryFilter; 30 | Filter joinJoinedFilter; 31 | ArrayList joinAttribs; 32 | DistinguishedName joinBase; 33 | Int joinScope; 34 | ArrayList joinPrimaryAttribs; 35 | ArrayList joinJoinAttribs; 36 | HashSet joinedAttribsSet; 37 | HashSet primaryAttribSet; 38 | } 39 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/inserts/ldap/LDAPConnectionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.inserts.ldap; 17 | 18 | public enum LDAPConnectionType { 19 | LDAP, 20 | DSMLV2, 21 | SPML, 22 | LDAPS; 23 | } 24 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/inserts/ldap/LDAPSocketFactory.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.inserts.ldap; 2 | 3 | import javax.net.ssl.SSLSocketFactory; 4 | 5 | public interface LDAPSocketFactory { 6 | SSLSocketFactory getSSLSocketFactory(); 7 | } 8 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/router/Level.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.router; 17 | 18 | import java.util.ArrayList; 19 | 20 | import net.sourceforge.myvd.core.NameSpace; 21 | 22 | 23 | /** 24 | * This private class is used as a place holder for the backends 25 | * @author mlb 26 | * 27 | * TODO To change the template for this generated type comment go to 28 | * Window - Preferences - Java - Code Style - Code Templates 29 | */ 30 | public class Level { 31 | public ArrayList backends = new ArrayList(); 32 | } 33 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/types/Bool.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class Bool { 19 | boolean val; 20 | 21 | public Bool(boolean val) { 22 | this.val = val; 23 | } 24 | 25 | public void setValue(boolean val) { 26 | this.val = val; 27 | } 28 | 29 | public boolean getValue() { 30 | return this.val; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/types/EntrySet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | import com.novell.ldap.LDAPException; 19 | 20 | 21 | public interface EntrySet { 22 | public boolean hasMore() throws LDAPException; 23 | 24 | public Entry getNext() throws LDAPException; 25 | 26 | public void abandon() throws LDAPException; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/types/FilterType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public enum FilterType { 19 | PRESENCE, 20 | EQUALS, 21 | LESS_THEN, 22 | GREATER_THEN, 23 | NOT, 24 | AND, 25 | OR, 26 | SUBSTR, 27 | EXT; 28 | } 29 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/types/Int.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class Int { 19 | int val; 20 | 21 | public Int(int val) { 22 | this.val = val; 23 | } 24 | 25 | public void setValue(int val) { 26 | this.val = val; 27 | } 28 | 29 | public int getValue() { 30 | return this.val; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/types/Password.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class Password { 19 | byte[] val; 20 | 21 | public Password() { 22 | this.val = new byte[0]; 23 | } 24 | 25 | public Password(String val) { 26 | this.val = val.getBytes(); 27 | } 28 | 29 | public Password(byte[] val) { 30 | this.val = val; 31 | } 32 | 33 | public byte[] getValue() { 34 | return this.val; 35 | } 36 | 37 | public void setValue(byte[] val) { 38 | this.val = val; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/types/SessionVariables.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class SessionVariables { 19 | public static final String BOUND_INTERCEPTORS = "VDAP_BOUND_INTERCEPTORS"; 20 | } 21 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/util/IteratorEntrySet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.util; 17 | 18 | import java.util.Iterator; 19 | 20 | import net.sourceforge.myvd.types.Entry; 21 | import net.sourceforge.myvd.types.EntrySet; 22 | 23 | import com.novell.ldap.LDAPException; 24 | 25 | public class IteratorEntrySet implements EntrySet { 26 | 27 | Iterator it; 28 | 29 | public IteratorEntrySet(Iterator it) { 30 | this.it = it; 31 | } 32 | 33 | public boolean hasMore() throws LDAPException { 34 | return it.hasNext(); 35 | } 36 | 37 | public Entry getNext() throws LDAPException { 38 | return (Entry) it.next(); 39 | } 40 | 41 | public void abandon() throws LDAPException { 42 | 43 | 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /server/src/main/java/net/sourceforge/myvd/util/SchemaUtil.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.util; 2 | 3 | import java.util.HashSet; 4 | 5 | public class SchemaUtil { 6 | static SchemaUtil schemaUtil; 7 | 8 | HashSet binaryAttribs; 9 | 10 | private SchemaUtil() { 11 | this.binaryAttribs = new HashSet(); 12 | } 13 | 14 | public static SchemaUtil getSchemaUtil() { 15 | if (schemaUtil == null) { 16 | schemaUtil = new SchemaUtil(); 17 | } 18 | 19 | return schemaUtil; 20 | } 21 | 22 | public boolean isBinary(String name) { 23 | return this.binaryAttribs.contains(name.toLowerCase()); 24 | } 25 | 26 | public void addBinaryAttribute(String name) { 27 | this.binaryAttribs.add(name.toLowerCase()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /server/src/test/java/net/sourceforge/myvd/test/ldap/TestDN.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.test.ldap; 2 | 3 | import com.novell.ldap.util.DN; 4 | 5 | import junit.framework.TestCase; 6 | 7 | public class TestDN extends TestCase { 8 | public void testDNWithPlus() throws Exception { 9 | //DN dn = new DN("cn=my\\+dn,dc=domain,dc=com"); 10 | DN dn = new DN("CN=Schedule\\+ Free Busy Information - COG,CN=Microsoft Exchange System Objects,DC=mwcog,DC=org"); 11 | String dnStr = dn.toString(); 12 | System.out.println(dnStr); 13 | dn = new DN(dnStr); 14 | } 15 | 16 | /*public void testDNWithDash() throws Exception { 17 | DN dn = new DN("cn=my-dn,dc=domain,dc=com"); 18 | } 19 | 20 | public void testDNWithSpace() throws Exception { 21 | DN dn = new DN("cn=my dn,dc=domain,dc=com"); 22 | }*/ 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/chain/jdbcLdapImpl/ChainedImpl.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.chain.jdbcLdapImpl; 17 | 18 | import net.sourceforge.myvd.chain.InterceptorChain; 19 | 20 | public interface ChainedImpl { 21 | 22 | public abstract InterceptorChain getChain(); 23 | 24 | public abstract void setChain(InterceptorChain chain); 25 | 26 | } -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/core/ConnectionEventLogger.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright 2021 Tremolo Security, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | package net.sourceforge.myvd.core; 17 | 18 | import org.apache.mina.core.session.IoSession; 19 | 20 | public interface ConnectionEventLogger { 21 | 22 | public abstract void onNewSession(IoSession session,boolean isTls); 23 | 24 | public abstract void onCloseSession(IoSession session,boolean isTls); 25 | 26 | public abstract void unbind(IoSession session); 27 | } 28 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/inserts/accessControl/SubjectType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.inserts.accessControl; 17 | 18 | public enum SubjectType { 19 | SUBTREE, 20 | DN, 21 | THIS, 22 | GROUP, 23 | DYNAMIC_GROUP, 24 | PUBLIC; 25 | } 26 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/inserts/jdbc/JdbcPool.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.inserts.jdbc; 2 | 3 | import java.sql.Connection; 4 | import java.sql.SQLException; 5 | 6 | public interface JdbcPool { 7 | public Connection getCon() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException; 8 | 9 | public void returnCon(Connection con); 10 | } 11 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/inserts/join/JoinData.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.inserts.join; 17 | 18 | import java.util.ArrayList; 19 | import java.util.HashSet; 20 | 21 | import net.sourceforge.myvd.types.Attribute; 22 | import net.sourceforge.myvd.types.DistinguishedName; 23 | import net.sourceforge.myvd.types.Filter; 24 | import net.sourceforge.myvd.types.Int; 25 | 26 | class JoinData { 27 | String joinType; 28 | Filter joinFilter; 29 | Filter joinPrimaryFilter; 30 | Filter joinJoinedFilter; 31 | ArrayList joinAttribs; 32 | DistinguishedName joinBase; 33 | Int joinScope; 34 | ArrayList joinPrimaryAttribs; 35 | ArrayList joinJoinAttribs; 36 | HashSet joinedAttribsSet; 37 | HashSet primaryAttribSet; 38 | } 39 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/inserts/ldap/LDAPConnectionType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.inserts.ldap; 17 | 18 | public enum LDAPConnectionType { 19 | LDAP, 20 | DSMLV2, 21 | SPML, 22 | LDAPS; 23 | } 24 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/inserts/ldap/LDAPSocketFactory.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.inserts.ldap; 2 | 3 | import javax.net.ssl.SSLSocketFactory; 4 | 5 | public interface LDAPSocketFactory { 6 | SSLSocketFactory getSSLSocketFactory(); 7 | } 8 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/inserts/ldap/LegacyLDAPInterceptor.java: -------------------------------------------------------------------------------- 1 | /******************************************************************************* 2 | * Copyright (c) 2023 Tremolo Security, Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | *******************************************************************************/ 16 | package net.sourceforge.myvd.inserts.ldap; 17 | 18 | public class LegacyLDAPInterceptor extends LDAPInterceptor { 19 | 20 | } 21 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/router/Level.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.router; 17 | 18 | import java.util.ArrayList; 19 | 20 | import net.sourceforge.myvd.core.NameSpace; 21 | 22 | 23 | /** 24 | * This private class is used as a place holder for the backends 25 | * @author mlb 26 | * 27 | * TODO To change the template for this generated type comment go to 28 | * Window - Preferences - Java - Code Style - Code Templates 29 | */ 30 | public class Level { 31 | public ArrayList backends = new ArrayList(); 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/test/util/OpenLDAPUtils.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.test.util; 2 | 3 | public class OpenLDAPUtils { 4 | 5 | public static void killAllOpenLDAPS() throws Exception { 6 | Process p = Runtime.getRuntime().exec("/usr/bin/killall slapd"); 7 | 8 | StreamReader out = new StreamReader(p.getInputStream(),true); 9 | StreamReader err = new StreamReader(p.getErrorStream(),true); 10 | 11 | out.start(); 12 | err.start(); 13 | 14 | 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/Bool.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class Bool { 19 | boolean val; 20 | 21 | public Bool(boolean val) { 22 | this.val = val; 23 | } 24 | 25 | public void setValue(boolean val) { 26 | this.val = val; 27 | } 28 | 29 | public boolean getValue() { 30 | return this.val; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/EntrySet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | import com.novell.ldap.LDAPException; 19 | 20 | 21 | public interface EntrySet { 22 | public boolean hasMore() throws LDAPException; 23 | 24 | public Entry getNext() throws LDAPException; 25 | 26 | public void abandon() throws LDAPException; 27 | 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/FilterType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public enum FilterType { 19 | PRESENCE, 20 | EQUALS, 21 | LESS_THEN, 22 | GREATER_THEN, 23 | NOT, 24 | AND, 25 | OR, 26 | SUBSTR, 27 | EXT; 28 | } 29 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/Int.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class Int { 19 | int val; 20 | 21 | public Int(int val) { 22 | this.val = val; 23 | } 24 | 25 | public void setValue(int val) { 26 | this.val = val; 27 | } 28 | 29 | public int getValue() { 30 | return this.val; 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/Password.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class Password { 19 | byte[] val; 20 | 21 | public Password() { 22 | this.val = new byte[0]; 23 | } 24 | 25 | public Password(String val) { 26 | this.val = val.getBytes(); 27 | } 28 | 29 | public Password(byte[] val) { 30 | this.val = val; 31 | } 32 | 33 | public byte[] getValue() { 34 | return this.val; 35 | } 36 | 37 | public void setValue(byte[] val) { 38 | this.val = val; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/SessionVariables.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.types; 17 | 18 | public class SessionVariables { 19 | public static final String BOUND_INTERCEPTORS = "VDAP_BOUND_INTERCEPTORS"; 20 | public static final String TLS_PARAMS = "MYVD_TLS_PARAMS"; 21 | } 22 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/types/TlsParameters.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.types; 2 | 3 | import java.security.cert.X509Certificate; 4 | 5 | public class TlsParameters { 6 | X509Certificate[] clientChain; 7 | String cipherSuite; 8 | 9 | 10 | public TlsParameters(String cipherSuite,X509Certificate[] x509Certificates) { 11 | this.cipherSuite = cipherSuite; 12 | this.clientChain = x509Certificates; 13 | } 14 | 15 | 16 | public X509Certificate[] getClientChain() { 17 | return clientChain; 18 | } 19 | 20 | 21 | public String getCipherSuite() { 22 | return cipherSuite; 23 | } 24 | 25 | 26 | } 27 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/util/IteratorEntrySet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Marc Boorshtein 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package net.sourceforge.myvd.util; 17 | 18 | import java.util.Iterator; 19 | 20 | import net.sourceforge.myvd.types.Entry; 21 | import net.sourceforge.myvd.types.EntrySet; 22 | 23 | import com.novell.ldap.LDAPException; 24 | 25 | public class IteratorEntrySet implements EntrySet { 26 | 27 | Iterator it; 28 | 29 | public IteratorEntrySet(Iterator it) { 30 | this.it = it; 31 | } 32 | 33 | public boolean hasMore() throws LDAPException { 34 | return it.hasNext(); 35 | } 36 | 37 | public Entry getNext() throws LDAPException { 38 | return (Entry) it.next(); 39 | } 40 | 41 | public void abandon() throws LDAPException { 42 | 43 | 44 | } 45 | 46 | } 47 | -------------------------------------------------------------------------------- /src/main/java/net/sourceforge/myvd/util/SchemaUtil.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.util; 2 | 3 | import java.util.HashSet; 4 | 5 | public class SchemaUtil { 6 | static SchemaUtil schemaUtil; 7 | 8 | HashSet binaryAttribs; 9 | 10 | private SchemaUtil() { 11 | this.binaryAttribs = new HashSet(); 12 | } 13 | 14 | public static SchemaUtil getSchemaUtil() { 15 | if (schemaUtil == null) { 16 | schemaUtil = new SchemaUtil(); 17 | } 18 | 19 | return schemaUtil; 20 | } 21 | 22 | public boolean isBinary(String name) { 23 | return this.binaryAttribs.contains(name.toLowerCase()); 24 | } 25 | 26 | public void addBinaryAttribute(String name) { 27 | this.binaryAttribs.add(name.toLowerCase()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /src/main/java/org/apache/directory/server/ldap/MyVDLdapProtocolHandler.java: -------------------------------------------------------------------------------- 1 | package org.apache.directory.server.ldap; 2 | 3 | import org.apache.directory.server.ldap.LdapProtocolHandler; 4 | import org.apache.log4j.Logger; 5 | import org.apache.mina.core.session.IdleStatus; 6 | import org.apache.mina.core.session.IoSession; 7 | 8 | public class MyVDLdapProtocolHandler extends LdapProtocolHandler { 9 | 10 | static Logger logger = Logger.getLogger(MyVDLdapProtocolHandler.class); 11 | 12 | MyVDLdapProtocolHandler(LdapServer ldapServer) { 13 | super(ldapServer); 14 | 15 | } 16 | 17 | @Override 18 | public void sessionIdle(IoSession session, IdleStatus status) throws Exception { 19 | if (logger.isDebugEnabled()) { 20 | logger.debug(new StringBuilder().append("Idle timeout reached for '").append(session.getRemoteAddress()).append("', closing").toString()); 21 | } 22 | 23 | session.close(true); 24 | } 25 | 26 | 27 | } 28 | -------------------------------------------------------------------------------- /src/main/resources/net/sourceforge/myvd/server/apacheds/version.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | apacheds.version=${project.version} 19 | -------------------------------------------------------------------------------- /src/test/java/net/sourceforge/myvd/test/ldap/TestDN.java: -------------------------------------------------------------------------------- 1 | package net.sourceforge.myvd.test.ldap; 2 | 3 | import com.novell.ldap.util.DN; 4 | 5 | import org.junit.After; 6 | import org.junit.Before; 7 | import org.junit.Test; 8 | import org.junit.BeforeClass; 9 | import org.junit.AfterClass; 10 | import static org.junit.Assert.*; 11 | 12 | public class TestDN { 13 | 14 | @Test 15 | public void testDNWithPlus() throws Exception { 16 | //DN dn = new DN("cn=my\\+dn,dc=domain,dc=com"); 17 | DN dn = new DN("CN=Schedule\\+ Free Busy Information - COG,CN=Microsoft Exchange System Objects,DC=mwcog,DC=org"); 18 | String dnStr = dn.toString(); 19 | System.out.println(dnStr); 20 | dn = new DN(dnStr); 21 | } 22 | 23 | /*public void testDNWithDash() throws Exception { 24 | DN dn = new DN("cn=my-dn,dc=domain,dc=com"); 25 | } 26 | 27 | public void testDNWithSpace() throws Exception { 28 | DN dn = new DN("cn=my dn,dc=domain,dc=com"); 29 | }*/ 30 | } 31 | -------------------------------------------------------------------------------- /test/ADPosixSim/ad.schema: -------------------------------------------------------------------------------- 1 | attributetype ( 2.16.840.1.113330.3.1.1 2 | NAME 'samAccountName' 3 | DESC 'AD uid' 4 | EQUALITY caseIgnoreMatch 5 | SUBSTR caseIgnoreSubstringsMatch 6 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) 7 | 8 | attributetype ( 2.16.840.1.113330.3.1.2 9 | NAME 'objectGUID' 10 | DESC 'AD uid' 11 | EQUALITY octetStringMatch 12 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) 13 | 14 | attributetype ( 2.16.840.1.113330.3.1.3 15 | NAME 'objectSID' 16 | DESC 'AD uid' 17 | EQUALITY octetStringMatch 18 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.40 ) 19 | 20 | attributetype ( 2.16.840.1.113330.3.1.4 21 | NAME 'primaryGroupID' 22 | DESC 'AD uid' 23 | EQUALITY caseIgnoreMatch 24 | SUBSTR caseIgnoreSubstringsMatch 25 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) 26 | 27 | objectclass ( 2.16.840.1.333730.3.2.2 28 | NAME 'container' 29 | DESC 'ad container' 30 | SUP top 31 | STRUCTURAL 32 | MUST ( cn ) 33 | MAY ( objectGUID ) ) 34 | 35 | objectclass ( 2.16.840.1.333730.3.2.3 36 | NAME 'user' 37 | DESC 'ad person' 38 | SUP inetOrgPerson 39 | STRUCTURAL 40 | MUST ( samAccountName $ objectGUID $ objectSID $ primaryGroupID ) ) 41 | 42 | objectclass ( 2.16.840.1.333730.3.2.4 43 | NAME 'group' 44 | DESC 'ad group' 45 | SUP top 46 | STRUCTURAL 47 | MUST ( cn $ objectGUID $ objectSID ) 48 | MAY (samAccountName $ member) ) 49 | -------------------------------------------------------------------------------- /test/ADPosixSim/test-ldifs/gidNumberSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Domain Users,cn=Users,o=mycompany,c=us 4 | uniqueMember: cn=Administrator,cn=Users,o=mycompany,c=us 5 | uniqueMember: cn=SUPPORT_388945a0,cn=Users,o=mycompany,c=us 6 | uniqueMember: cn=unixadmin1 admin,cn=Users,o=mycompany,c=us 7 | uniqueMember: cn=krbtgt,cn=Users,o=mycompany,c=us 8 | uniqueMember: cn=Marc Boorshtein,cn=Users,o=mycompany,c=us 9 | uniqueMember: cn=Jen Smith,cn=Users,o=mycompany,c=us 10 | uniqueMember: cn=IUSR_PWC-IDM06,cn=Users,o=mycompany,c=us 11 | uniqueMember: cn=IWAM_PWC-IDM06,cn=Users,o=mycompany,c=us 12 | gidnumber: 500 13 | cn: Domain Users -------------------------------------------------------------------------------- /test/ADPosixSim/test-ldifs/groupHasGroups.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Administrator,cn=Users,o=mycompany,c=us 4 | uid: Administrator 5 | objectClass: top 6 | objectClass: person 7 | objectClass: organizationalPerson 8 | objectClass: posixAccount 9 | -------------------------------------------------------------------------------- /test/ADPosixSim/test-ldifs/groupMemberships.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Domain Admins,cn=Users,o=mycompany,c=us 4 | gidnumber: 511 5 | 6 | dn: cn=ldapgroup,cn=Users,o=mycompany,c=us 7 | gidnumber: 516 8 | 9 | dn: cn=sudoers,cn=Users,o=mycompany,c=us 10 | gidnumber: 529 11 | 12 | dn: cn=Domain Users,cn=Users,o=mycompany,c=us 13 | gidnumber: 500 14 | 15 | dn: cn=CERTSVC_DCOM_ACCESS,cn=Users,o=mycompany,c=us 16 | gidnumber: 530 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /test/ADPosixSim/test-ldifs/sudoersSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=sudoers,cn=Users,o=mycompany,c=us 4 | uid: sudoers 5 | uniqueMember: cn=Marc Boorshtein,cn=Users,o=mycompany,c=us 6 | objectClass: top 7 | objectClass: posixGroup 8 | -------------------------------------------------------------------------------- /test/ADPosixSim/test-ldifs/uidNumberSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Marc Boorshtein,cn=Users,o=mycompany,c=us 4 | uidnumber: 505 5 | loginshell: /bin/bash 6 | homedirectory: /home/mlb 7 | uid: mlb 8 | gidnumber: 500 9 | cn: Marc Boorshtein 10 | userPassword: mlbsecret 11 | objectClass: top 12 | objectClass: person 13 | objectClass: organizationalPerson 14 | objectClass: posixAccount -------------------------------------------------------------------------------- /test/ADPosixSim/test-ldifs/uidSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Marc Boorshtein,cn=Users,o=mycompany,c=us 4 | objectGUID: 0ebbad98-f66f-43dc-b447-51a6e0d2263c 5 | primaryBase: ou=ad 6 | uidnumber: 505 7 | loginshell: /bin/bash 8 | sn: Boorshtein 9 | joinedBases: ou=unix-attribs 10 | homedirectory: /home/mlb 11 | primaryDN: cn=Marc Boorshtein,cn=Users,ou=ad 12 | joinedDNs: objectguid=0ebbad98-f66f-43dc-b447-51a6e0d2263c,ou=users,ou=unix-at 13 | tribs 14 | userPassword:: bWxic2VjcmV0 15 | uid: mlb 16 | primaryGroupID: 513 17 | gidnumber: 500 18 | objectSID: S-1-5-21-948560706-4013754706-535057578-1107 19 | cn: Marc Boorshtein 20 | objectClass: top 21 | objectClass: person 22 | objectClass: organizationalPerson 23 | objectClass: posixAccount -------------------------------------------------------------------------------- /test/Base/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain -------------------------------------------------------------------------------- /test/BogusExternal/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=external,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: external 10 | 11 | dn: cn=Test Bogus,ou=external,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | cn: Test Bogus 14 | sn: Bogus 15 | uid: tbogus 16 | userPassword: secret 17 | -------------------------------------------------------------------------------- /test/BogusInternal/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=internal,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | dn: cn=Test Bogus,ou=internal,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | cn: Test Bogus 14 | sn: Bogus 15 | uid: tbogus 16 | userPassword: secret 17 | -------------------------------------------------------------------------------- /test/DBAdapter-Simple/dbdata.properties: -------------------------------------------------------------------------------- 1 | #HSQL Database Engine 2 | #Mon Jun 23 05:57:11 GMT-05:00 2008 3 | hsqldb.script_format=0 4 | runtime.gc_interval=0 5 | sql.enforce_strict_size=false 6 | hsqldb.cache_size_scale=8 7 | readonly=false 8 | hsqldb.nio_data_file=true 9 | hsqldb.cache_scale=14 10 | version=1.8.0 11 | hsqldb.default_table_type=memory 12 | hsqldb.cache_file_scale=1 13 | hsqldb.log_size=200 14 | modified=yes 15 | hsqldb.cache_version=1.7.0 16 | hsqldb.original_version=1.8.0 17 | hsqldb.compatible_version=1.8.0 18 | -------------------------------------------------------------------------------- /test/DBAdapter-Simple/dbdata.script: -------------------------------------------------------------------------------- 1 | CREATE SCHEMA PUBLIC AUTHORIZATION DBA 2 | CREATE MEMORY TABLE USERS(ID INTEGER,FIRST VARCHAR(50),LAST VARCHAR(50),USERNAME VARCHAR(50)) 3 | CREATE MEMORY TABLE LOCATIONS(ID INTEGER,NAME VARCHAR(50)) 4 | CREATE MEMORY TABLE LOCATIONMAP(PERSON INTEGER,LOCATION INTEGER) 5 | CREATE MEMORY TABLE GROUPS(ID INTEGER,NAME VARCHAR(50)) 6 | CREATE MEMORY TABLE GROUPMAP(USER INTEGER,GROUPID INTEGER) 7 | CREATE USER SA PASSWORD "" 8 | GRANT DBA TO SA 9 | SET WRITE_DELAY 20 10 | SET SCHEMA PUBLIC 11 | INSERT INTO USERS VALUES(1,'Jack','Jackson','jjackson') 12 | INSERT INTO USERS VALUES(3,'Jen','Jeffords','jjeffords') 13 | INSERT INTO USERS VALUES(2,'Al','Alberts','aalberts') 14 | INSERT INTO LOCATIONS VALUES(1,'Boston') 15 | INSERT INTO LOCATIONS VALUES(2,'NY') 16 | INSERT INTO LOCATIONS VALUES(3,'LA') 17 | INSERT INTO LOCATIONS VALUES(4,'Syracuse') 18 | INSERT INTO LOCATIONMAP VALUES(1,1) 19 | INSERT INTO LOCATIONMAP VALUES(1,2) 20 | INSERT INTO LOCATIONMAP VALUES(2,2) 21 | INSERT INTO LOCATIONMAP VALUES(2,3) 22 | INSERT INTO LOCATIONMAP VALUES(3,4) 23 | INSERT INTO GROUPS VALUES(1,'Admins') 24 | INSERT INTO GROUPS VALUES(2,'Users') 25 | INSERT INTO GROUPMAP VALUES(3,1) 26 | INSERT INTO GROUPMAP VALUES(1,2) 27 | INSERT INTO GROUPMAP VALUES(2,2) 28 | -------------------------------------------------------------------------------- /test/DBAdapter-Simple/derby-groups.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE tDBGroups (id int,member varchar(50)) 2 | INSERT INTO tDBGroups (id,member) VALUES (1,'cn=Marc Boorshtein,ou=people,dc=domain,dc=com') 3 | INSERT INTO tDBGroups (id,member) VALUES (1,'cn=Marc Johnson,ou=people,dc=domain,dc=com') 4 | INSERT INTO tDBGroups (id,member) VALUES (1,'cn=Marc Jackson,ou=people,dc=domain,dc=com') 5 | INSERT INTO tDBGroups (id,member) VALUES (1,'cn=Marc Allesy,ou=people,dc=domain,dc=com') 6 | INSERT INTO tDBGroups (id,member) VALUES (2,'cn=Jack Boorshtein,ou=people,dc=domain,dc=com') 7 | INSERT INTO tDBGroups (id,member) VALUES (2,'cn=Jack Johnson,ou=people,dc=domain,dc=com') 8 | INSERT INTO tDBGroups (id,member) VALUES (2,'cn=Jack Jackson,ou=people,dc=domain,dc=com') 9 | INSERT INTO tDBGroups (id,member) VALUES (2,'cn=Jack Allesy,ou=people,dc=domain,dc=com') -------------------------------------------------------------------------------- /test/DBAdapter-Simple/derby.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE Users(id int, firstname varchar(50),lastname VARCHAR(50),username VARCHAR(50),password VARCHAR(255)) 2 | CREATE TABLE LOCATIONS(ID INT,NAME VARCHAR(50)) 3 | CREATE TABLE LOCATIONMAP(PERSON INT,LOCATION INTEGER) 4 | CREATE TABLE GROUPS(ID INT,NAME VARCHAR(50)) 5 | CREATE TABLE GROUPMAP(USERID INTEGER,GROUPID INTEGER) 6 | INSERT INTO USERS VALUES(1,'Jack','Jackson','jjackson','') 7 | INSERT INTO USERS VALUES(3,'Jen','Jeffords','jjeffords','{myvd}xk3Z6TO5CbjxQzHjrpayXa6/34jNjsnrE7DkK+5MfxLmM137cTFhKiJXMwPyKv11vsfuLCXdkPnUarL6NY1YPw==:QQUSS8M0WSTOb1GZQKu78ixl9rJApjS+mEgNghWZyYA=') 8 | INSERT INTO USERS VALUES(2,'Al','Alberts','aalberts','') 9 | INSERT INTO LOCATIONS VALUES(1,'Boston') 10 | INSERT INTO LOCATIONS VALUES(2,'NY') 11 | INSERT INTO LOCATIONS VALUES(3,'LA') 12 | INSERT INTO LOCATIONS VALUES(4,'Syracuse') 13 | INSERT INTO LOCATIONMAP VALUES(1,1) 14 | INSERT INTO LOCATIONMAP VALUES(1,2) 15 | INSERT INTO LOCATIONMAP VALUES(2,2) 16 | INSERT INTO LOCATIONMAP VALUES(2,3) 17 | INSERT INTO LOCATIONMAP VALUES(3,4) 18 | INSERT INTO GROUPS VALUES(1,'Admins') 19 | INSERT INTO GROUPS VALUES(2,'Users') 20 | INSERT INTO GROUPMAP VALUES(3,1) 21 | INSERT INTO GROUPMAP VALUES(1,2) 22 | INSERT INTO GROUPMAP VALUES(2,2) 23 | -------------------------------------------------------------------------------- /test/DBAdapter-Simple/ldif/groupBaseSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=1,dc=nam,dc=compinternal,dc=com 4 | cn: 1 5 | objectClass: groupOgUniqueNames 6 | uniqueMember: cn=Marc Boorshtein,ou=people,dc=domain,dc=com 7 | uniqueMember: cn=Marc Johnson,ou=people,dc=domain,dc=com 8 | uniqueMember: cn=Marc Jackson,ou=people,dc=domain,dc=com 9 | uniqueMember: cn=Marc Allesy,ou=people,dc=domain,dc=com 10 | 11 | -------------------------------------------------------------------------------- /test/DBAdapter-Simple/myvd-dbgroups.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | server.nameSpaces=Root,db 5 | 6 | 7 | server.Root.chain=RootDSE 8 | server.Root.nameSpace= 9 | server.Root.weight=0 10 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 11 | server.Root.RootDSE.config.namingContexts=dc=nam,dc=compinternal,dc=com 12 | 13 | 14 | 15 | 16 | server.db.chain=LDAPBaseServer 17 | server.db.nameSpace=dc=nam,dc=compinternal,dc=com 18 | server.db.weight=0 19 | server.db.LDAPBaseServer.className=net.sourceforge.myvd.inserts.jdbc.JdbcInsert 20 | #server.db.LDAPBaseServer.config.driver=org.hsqldb.jdbcDriver 21 | server.db.LDAPBaseServer.config.driver=org.apache.derby.jdbc.EmbeddedDriver 22 | #server.db.LDAPBaseServer.config.url=jdbc:hsqldb:file:%PROJ_DIR%/test/DBAdapter-Simple/dbdata 23 | server.db.LDAPBaseServer.config.url=jdbc:derby:dbsimple;create=true 24 | server.db.LDAPBaseServer.config.user= 25 | server.db.LDAPBaseServer.config.password= 26 | server.db.LDAPBaseServer.config.maxCons=1 27 | server.db.LDAPBaseServer.config.maxConsIdle=100 28 | server.db.LDAPBaseServer.config.rdn=cn 29 | server.db.LDAPBaseServer.config.mapping=cn=id,uniqueMember=member 30 | server.db.LDAPBaseServer.config.objectClass=groupOfUnqiueNames 31 | server.db.LDAPBaseServer.config.sql=SELECT * FROM tDBGroups 32 | server.db.LDAPBaseServer.config.useSimple=true 33 | -------------------------------------------------------------------------------- /test/DBAdapter/dbdata.properties: -------------------------------------------------------------------------------- 1 | #HSQL Database Engine 2 | #Mon Jun 23 06:53:27 GMT-05:00 2008 3 | hsqldb.script_format=0 4 | runtime.gc_interval=0 5 | sql.enforce_strict_size=false 6 | hsqldb.cache_size_scale=8 7 | readonly=false 8 | hsqldb.nio_data_file=true 9 | hsqldb.cache_scale=14 10 | version=1.8.0 11 | hsqldb.default_table_type=memory 12 | hsqldb.cache_file_scale=1 13 | hsqldb.log_size=200 14 | modified=yes 15 | hsqldb.cache_version=1.7.0 16 | hsqldb.original_version=1.8.0 17 | hsqldb.compatible_version=1.8.0 18 | -------------------------------------------------------------------------------- /test/DBAdapter/dbdata.script: -------------------------------------------------------------------------------- 1 | CREATE SCHEMA PUBLIC AUTHORIZATION DBA 2 | CREATE MEMORY TABLE USERS(ID INTEGER,FIRST VARCHAR(50),LAST VARCHAR(50),USERNAME VARCHAR(50)) 3 | CREATE MEMORY TABLE LOCATIONS(ID INTEGER,NAME VARCHAR(50)) 4 | CREATE MEMORY TABLE LOCATIONMAP(PERSON INTEGER,LOCATION INTEGER) 5 | CREATE MEMORY TABLE GROUPS(ID INTEGER,NAME VARCHAR(50)) 6 | CREATE MEMORY TABLE GROUPMAP(USER INTEGER,GROUPID INTEGER) 7 | CREATE USER SA PASSWORD "" 8 | GRANT DBA TO SA 9 | SET WRITE_DELAY 20 10 | SET SCHEMA PUBLIC 11 | INSERT INTO USERS VALUES(1,'Jack','Jackson','jjackson') 12 | INSERT INTO USERS VALUES(3,'Jen','Jeffords','jjeffords') 13 | INSERT INTO USERS VALUES(2,'Al','Alberts','aalberts') 14 | INSERT INTO LOCATIONS VALUES(1,'Boston') 15 | INSERT INTO LOCATIONS VALUES(2,'NY') 16 | INSERT INTO LOCATIONS VALUES(3,'LA') 17 | INSERT INTO LOCATIONS VALUES(4,'Syracuse') 18 | INSERT INTO LOCATIONMAP VALUES(1,1) 19 | INSERT INTO LOCATIONMAP VALUES(1,2) 20 | INSERT INTO LOCATIONMAP VALUES(2,2) 21 | INSERT INTO LOCATIONMAP VALUES(2,3) 22 | INSERT INTO LOCATIONMAP VALUES(3,4) 23 | INSERT INTO GROUPS VALUES(1,'Admins') 24 | INSERT INTO GROUPS VALUES(2,'Users') 25 | INSERT INTO GROUPMAP VALUES(3,1) 26 | INSERT INTO GROUPMAP VALUES(1,2) 27 | INSERT INTO GROUPMAP VALUES(2,2) 28 | -------------------------------------------------------------------------------- /test/DBAdapter/dbdata.script.orig: -------------------------------------------------------------------------------- 1 | CREATE SCHEMA PUBLIC AUTHORIZATION DBA 2 | CREATE MEMORY TABLE USERS(ID INTEGER,FIRST VARCHAR(50),LAST VARCHAR(50),USERNAME VARCHAR(50)) 3 | CREATE MEMORY TABLE LOCATIONS(ID INTEGER,NAME VARCHAR(50)) 4 | CREATE MEMORY TABLE LOCATIONMAP(PERSON INTEGER,LOCATION INTEGER) 5 | CREATE MEMORY TABLE GROUPS(ID INTEGER,NAME VARCHAR(50)) 6 | CREATE MEMORY TABLE GROUPMAP(USER INTEGER,GROUPID INTEGER) 7 | CREATE USER SA PASSWORD "" 8 | GRANT DBA TO SA 9 | SET WRITE_DELAY 20 10 | SET SCHEMA PUBLIC 11 | INSERT INTO USERS VALUES(1,'Jack','Jackson','jjackson') 12 | INSERT INTO USERS VALUES(3,'Jen','Jeffords','jjeffords') 13 | INSERT INTO USERS VALUES(2,'Al','Alberts','aalberts') 14 | INSERT INTO LOCATIONS VALUES(1,'Boston') 15 | INSERT INTO LOCATIONS VALUES(2,'NY') 16 | INSERT INTO LOCATIONS VALUES(3,'LA') 17 | INSERT INTO LOCATIONS VALUES(4,'Syracuse') 18 | INSERT INTO LOCATIONMAP VALUES(1,1) 19 | INSERT INTO LOCATIONMAP VALUES(1,2) 20 | INSERT INTO LOCATIONMAP VALUES(2,2) 21 | INSERT INTO LOCATIONMAP VALUES(2,3) 22 | INSERT INTO LOCATIONMAP VALUES(3,4) 23 | INSERT INTO GROUPS VALUES(1,'Admins') 24 | INSERT INTO GROUPS VALUES(2,'Users') 25 | INSERT INTO GROUPMAP VALUES(3,1) 26 | INSERT INTO GROUPMAP VALUES(1,2) 27 | INSERT INTO GROUPMAP VALUES(2,2) 28 | -------------------------------------------------------------------------------- /test/DBAdapter/derby.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE Users(id int, firstname varchar(50),lastname VARCHAR(50),username VARCHAR(50)) 2 | CREATE TABLE LOCATIONS(ID INT,NAME VARCHAR(50)) 3 | CREATE TABLE LOCATIONMAP(PERSON INT,LOCATION INTEGER) 4 | CREATE TABLE GROUPS(ID INT,NAME VARCHAR(50)) 5 | CREATE TABLE GROUPMAP(USERID INTEGER,GROUPID INTEGER) 6 | INSERT INTO USERS VALUES(1,'Jack','Jackson','jjackson') 7 | INSERT INTO USERS VALUES(3,'Jen','Jeffords','jjeffords') 8 | INSERT INTO USERS VALUES(2,'Al','Alberts','aalberts') 9 | INSERT INTO LOCATIONS VALUES(1,'Boston') 10 | INSERT INTO LOCATIONS VALUES(2,'NY') 11 | INSERT INTO LOCATIONS VALUES(3,'LA') 12 | INSERT INTO LOCATIONS VALUES(4,'Syracuse') 13 | INSERT INTO LOCATIONMAP VALUES(1,1) 14 | INSERT INTO LOCATIONMAP VALUES(1,2) 15 | INSERT INTO LOCATIONMAP VALUES(2,2) 16 | INSERT INTO LOCATIONMAP VALUES(2,3) 17 | INSERT INTO LOCATIONMAP VALUES(3,4) 18 | INSERT INTO GROUPS VALUES(1,'Admins') 19 | INSERT INTO GROUPS VALUES(2,'Users') 20 | INSERT INTO GROUPMAP VALUES(3,1) 21 | INSERT INTO GROUPMAP VALUES(1,2) 22 | INSERT INTO GROUPMAP VALUES(2,2) 23 | -------------------------------------------------------------------------------- /test/DBAdapterUID/dbdata.properties: -------------------------------------------------------------------------------- 1 | #HSQL Database Engine 2 | #Sun May 04 08:24:20 GMT-05:00 2008 3 | hsqldb.script_format=0 4 | runtime.gc_interval=0 5 | sql.enforce_strict_size=false 6 | hsqldb.cache_size_scale=8 7 | readonly=false 8 | hsqldb.nio_data_file=true 9 | hsqldb.cache_scale=14 10 | version=1.8.0 11 | hsqldb.default_table_type=memory 12 | hsqldb.cache_file_scale=1 13 | hsqldb.log_size=200 14 | modified=yes 15 | hsqldb.cache_version=1.7.0 16 | hsqldb.original_version=1.8.0 17 | hsqldb.compatible_version=1.8.0 18 | -------------------------------------------------------------------------------- /test/DBAdapterUID/derby.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE Users(id int, firstname varchar(50),lastname VARCHAR(50),username VARCHAR(50)) 2 | CREATE TABLE LOCATIONS(ID INT,NAME VARCHAR(50)) 3 | CREATE TABLE LOCATIONMAP(PERSON INT,LOCATION INTEGER) 4 | CREATE TABLE GROUPS(ID INT,NAME VARCHAR(50)) 5 | CREATE TABLE GROUPMAP(USERID INTEGER,GROUPID INTEGER) 6 | INSERT INTO USERS VALUES(1,'Jack','Jackson','jjackson') 7 | INSERT INTO USERS VALUES(3,'Jen','Jeffords','jjeffords') 8 | INSERT INTO USERS VALUES(2,'Al','Alberts','aalberts') 9 | INSERT INTO LOCATIONS VALUES(1,'Boston') 10 | INSERT INTO LOCATIONS VALUES(2,'NY') 11 | INSERT INTO LOCATIONS VALUES(3,'LA') 12 | INSERT INTO LOCATIONS VALUES(4,'Syracuse') 13 | INSERT INTO LOCATIONMAP VALUES(1,1) 14 | INSERT INTO LOCATIONMAP VALUES(1,2) 15 | INSERT INTO LOCATIONMAP VALUES(2,2) 16 | INSERT INTO LOCATIONMAP VALUES(2,3) 17 | INSERT INTO LOCATIONMAP VALUES(3,4) 18 | INSERT INTO GROUPS VALUES(1,'Admins') 19 | INSERT INTO GROUPS VALUES(2,'Users') 20 | INSERT INTO GROUPMAP VALUES(3,1) 21 | INSERT INTO GROUPMAP VALUES(1,2) 22 | INSERT INTO GROUPMAP VALUES(2,2) 23 | -------------------------------------------------------------------------------- /test/DynGroups/domainGroupSMemberSearch.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/DynGroups/domainGroupSMemberSearch.ldif -------------------------------------------------------------------------------- /test/DynGroups/domainGroupSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Sales,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: Sales 6 | uniqueMember: uid=tuser4,ou=people,dc=domain,dc=com 7 | uniqueMember: uid=tuser2,ou=people,dc=domain,dc=com 8 | uniqueMember: uid=tuser1,ou=people,dc=domain,dc=com 9 | -------------------------------------------------------------------------------- /test/DynGroups/domainGroupSearch2.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Sales,ou=groups,o=ad 4 | objectClass: groupOfUniqueNames 5 | cn: Sales 6 | uniqueMember: uid=tuser4,ou=people,o=ad 7 | uniqueMember: uid=tuser2,ou=people,o=ad 8 | uniqueMember: uid=tuser1,ou=people,o=ad 9 | -------------------------------------------------------------------------------- /test/DynGroups/testMemberships.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=boston,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | 6 | dn: cn=Sales,ou=groups,dc=domain,dc=com 7 | objectClass: groupOfUniqueNames -------------------------------------------------------------------------------- /test/DynGroups/testMemberships2.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=boston,ou=groups,o=ad 4 | objectClass: groupOfUniqueNames 5 | 6 | dn: cn=Sales,ou=groups,o=ad 7 | objectClass: groupOfUniqueNames -------------------------------------------------------------------------------- /test/EmbeddedGroups/expandMembers-apacheds.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=North East,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | objectClass: top 6 | cn: North East 7 | uniqueMember: cn=boston,ou=groups,dc=domain,dc=com 8 | uniqueMember: cn=new york,ou=groups,dc=domain,dc=com 9 | uniqueMember: uid=tuser1,ou=people,dc=domain,dc=com 10 | uniqueMember: uid=tuser3,ou=people,dc=domain,dc=com 11 | uniqueMember: uid=tuser2,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/EmbeddedGroups/expandMembers.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=North East,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: North East 6 | uniqueMember: cn=boston,ou=groups,dc=domain,dc=com 7 | uniqueMember: cn=new york,ou=groups,dc=domain,dc=com 8 | uniqueMember: uid=tuser1,ou=people,dc=domain,dc=com 9 | uniqueMember: uid=tuser3,ou=people,dc=domain,dc=com 10 | uniqueMember: uid=tuser2,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/EmbeddedGroups/membershipSearch-apacheds.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=new york,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | objectClass: top 6 | 7 | dn: cn=Sales,ou=groups,dc=domain,dc=com 8 | objectClass: groupOfUniqueNames 9 | objectClass: top 10 | 11 | dn: cn=SysAdmins,ou=groups,dc=domain,dc=com 12 | objectClass: groupOfUniqueNames 13 | objectClass: top 14 | 15 | dn: cn=North East,ou=groups,dc=domain,dc=com 16 | objectClass: groupOfUniqueNames 17 | objectClass: top 18 | -------------------------------------------------------------------------------- /test/EmbeddedGroups/membershipSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=new york,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | 6 | dn: cn=Sales,ou=groups,dc=domain,dc=com 7 | objectClass: groupOfUniqueNames 8 | 9 | dn: cn=SysAdmins,ou=groups,dc=domain,dc=com 10 | objectClass: groupOfUniqueNames 11 | 12 | dn: cn=North East,ou=groups,dc=domain,dc=com 13 | objectClass: groupOfUniqueNames 14 | -------------------------------------------------------------------------------- /test/EmbeddedGroups/north_east-apacheds.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=North East,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | objectClass: top -------------------------------------------------------------------------------- /test/EmbeddedGroups/north_east.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=North East,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames -------------------------------------------------------------------------------- /test/EmbeddedGroups/us_ldif-apacheds.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | 4 | dn: cn=West Coast,ou=groups,dc=domain,dc=com 5 | changetype: add 6 | objectClass: groupOfUniqueNames 7 | cn: West Coast 8 | uniqueMember: uid=tuser4,ou=people,dc=domain,dc=com 9 | 10 | 11 | dn: cn=North East,ou=groups,dc=domain,dc=com 12 | changetype: modify 13 | add: uniqueMember 14 | uniqueMember: cn=West Coast,ou=groups,dc=domain,dc=com 15 | - -------------------------------------------------------------------------------- /test/EmbeddedGroups/us_ldif.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | 4 | dn: cn=West Coast,ou=groups,dc=domain,dc=com 5 | changetype: add 6 | objectClass: groupOfUniqueNames 7 | cn: West Coast 8 | uniqueMember: uid=tuser4,ou=people,dc=domain,dc=com 9 | 10 | 11 | dn: cn=North East,ou=groups,dc=domain,dc=com 12 | changetype: modify 13 | add: uniqueMember 14 | uniqueMember: cn=West Coast,ou=groups,dc=domain,dc=com 15 | - -------------------------------------------------------------------------------- /test/EmbeddedGroups/us_ldif_search-apacheds.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=North East,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | objectClass: top 6 | cn: North East 7 | uniqueMember: cn=West Coast,ou=groups,dc=domain,dc=com 8 | uniqueMember: uid=tuser4,ou=people,dc=domain,dc=com 9 | uniqueMember: cn=boston,ou=groups,dc=domain,dc=com 10 | uniqueMember: cn=new york,ou=groups,dc=domain,dc=com 11 | uniqueMember: uid=tuser1,ou=people,dc=domain,dc=com 12 | uniqueMember: uid=tuser3,ou=people,dc=domain,dc=com 13 | uniqueMember: uid=tuser2,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/EmbeddedGroups/us_ldif_search.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=North East,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: North East 6 | uniqueMember: cn=West Coast,ou=groups,dc=domain,dc=com 7 | uniqueMember: uid=tuser4,ou=people,dc=domain,dc=com 8 | uniqueMember: cn=boston,ou=groups,dc=domain,dc=com 9 | uniqueMember: cn=new york,ou=groups,dc=domain,dc=com 10 | uniqueMember: uid=tuser1,ou=people,dc=domain,dc=com 11 | uniqueMember: uid=tuser3,ou=people,dc=domain,dc=com 12 | uniqueMember: uid=tuser2,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/ExternalUsers/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=external,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: external 10 | 11 | dn: cn=Test Cust,ou=external,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | cn: Test Cust 14 | sn: Cust 15 | uid: testCust 16 | l: shouldnotmatter 17 | userPassword: secret 18 | 19 | dn: cn=Test Group,ou=external,dc=domain,dc=com 20 | objectClass: groupOfUniqueNames 21 | cn: Test Group 22 | uniqueMember: cn=Test Cust,ou=external,dc=domain,dc=com 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /test/ExternalUsersRoute/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=external,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: external 10 | 11 | dn: cn=Test Cust,ou=external,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | cn: Test Cust 14 | sn: Cust 15 | uid: testCust 16 | userPassword: secret 17 | 18 | dn: uid=externaluser,ou=external,dc=domain,dc=com 19 | objectClass: inetOrgPerson 20 | cn: testrouting 21 | sn: User 22 | uid: externaluser 23 | mail: externaluser@external.domain.com 24 | -------------------------------------------------------------------------------- /test/FromRoot/derby.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE GROUPS (id int,name varchar(255)) 2 | CREATE TABLE USERS (id int,login varchar(255),firstname varchar(255),lastname varchar(255),city varchar(255)) 3 | CREATE TABLE USERGROUPS (id int,userid int,groupid int) 4 | INSERT INTO GROUPS VALUES (1,'users') 5 | INSERT INTO GROUPS VALUES (2,'admins') 6 | INSERT INTO USERGROUPS VALUES (1,3,1) 7 | INSERT INTO USERGROUPS VALUES (2,3,2) 8 | INSERT INTO USERGROUPS VALUES (3,4,1) 9 | INSERT INTO USERS VALUES (1,'testuser0','Test','User','Arlington, VA') 10 | INSERT INTO USERS VALUES (2,'testuser3','Test','User3','Arlington, VA') 11 | INSERT INTO USERS VALUES (3,'testuser1','test','user1','Boston') 12 | INSERT INTO USERS VALUES (4,'testuser2','test','user2','NY') -------------------------------------------------------------------------------- /test/InternalUsers/add-result.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group2,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group2 6 | uniqueMember: uid=testuser4,ou=people,dc=domain,dc=com 7 | uniqueMember: uid=testuser5,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/InternalUsers/add-src.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group2,ou=groups,o=mycompany,c=us 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group2 6 | uniqueMember: uid=testuser4,ou=people,o=mycompany,c=us 7 | uniqueMember: uid=testuser5,ou=people,o=mycompany,c=us -------------------------------------------------------------------------------- /test/InternalUsers/basesearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group,ou=groups,o=mycompany,c=us 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group 6 | uniqueMember: uid=testuser1,ou=people,o=mycompany,c=us 7 | uniqueMember: uid=testuser2,ou=people,o=mycompany,c=us -------------------------------------------------------------------------------- /test/InternalUsers/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | 8 | dn: ou=internal,dc=domain,dc=com 9 | objectClass: organizationalUnit 10 | ou: internal 11 | 12 | 13 | 14 | dn: ou=groups,dc=domain,dc=com 15 | objectClass: organizationalUnit 16 | ou: groups 17 | 18 | dn: cn=Test Group,ou=groups,dc=domain,dc=com 19 | objectClass: groupOfUniqueNames 20 | cn: Test Group 21 | uniqueMember: uid=testuser1,ou=people,dc=domain,dc=com 22 | uniqueMember: uid=testuser2,ou=people,dc=domain,dc=com 23 | 24 | dn: cn=Test User,ou=internal,dc=domain,dc=com 25 | objectClass: inetOrgPerson 26 | cn: Test User 27 | sn: User 28 | uid: testUser 29 | userPassword: secret 30 | -------------------------------------------------------------------------------- /test/InternalUsers/mod-result.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group 6 | uniqueMember: uid=testuser1,ou=people,dc=domain,dc=com 7 | uniqueMember: uid=testuser2,ou=people,dc=domain,dc=com 8 | uniqueMember: uid=testuser5,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/InternalUsers/modgroup.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group,ou=groups,o=mycompany,c=us 4 | changeType: modify 5 | add: uniqueMember 6 | uniqueMember: uid=testuser5,ou=people,o=mycompany,c=us 7 | - 8 | -------------------------------------------------------------------------------- /test/InternalUsersCustom/custom.schema: -------------------------------------------------------------------------------- 1 | attributetype ( 2.16.840.1.113330.3.1.1 2 | NAME 'sumNum' 3 | DESC 'some number' 4 | EQUALITY integerMatch 5 | ORDERING integerOrderingMatch 6 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 ) 7 | 8 | objectclass ( 2.16.840.1.333730.3.2.2 9 | NAME 'customPerson' 10 | DESC 'custom test person' 11 | SUP inetOrgPerson 12 | STRUCTURAL 13 | MAY ( sumNum ) ) 14 | -------------------------------------------------------------------------------- /test/InternalUsersCustom/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=internal,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | dn: cn=Test User,ou=internal,dc=domain,dc=com 12 | objectClass: customPerson 13 | cn: Test User 14 | sn: User 15 | uid: testUser 16 | userPassword: secret 17 | sumNum: 5 18 | -------------------------------------------------------------------------------- /test/InternalUsersRoute/add-result.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group2,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group2 6 | uniqueMember: uid=testuser4,ou=people,dc=domain,dc=com 7 | uniqueMember: uid=testuser5,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/InternalUsersRoute/add-src.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group2,ou=groups,o=mycompany,c=us 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group2 6 | uniqueMember: uid=testuser4,ou=people,o=mycompany,c=us 7 | uniqueMember: uid=testuser5,ou=people,o=mycompany,c=us -------------------------------------------------------------------------------- /test/InternalUsersRoute/basesearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group,ou=groups,o=mycompany,c=us 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group 6 | uniqueMember: uid=testuser1,ou=people,o=mycompany,c=us 7 | uniqueMember: uid=testuser2,ou=people,o=mycompany,c=us -------------------------------------------------------------------------------- /test/InternalUsersRoute/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | 8 | dn: ou=internal,dc=domain,dc=com 9 | objectClass: organizationalUnit 10 | ou: internal 11 | 12 | 13 | 14 | dn: ou=groups,dc=domain,dc=com 15 | objectClass: organizationalUnit 16 | ou: groups 17 | 18 | dn: cn=Test Group,ou=groups,dc=domain,dc=com 19 | objectClass: groupOfUniqueNames 20 | cn: Test Group 21 | uniqueMember: uid=testuser1,ou=people,dc=domain,dc=com 22 | uniqueMember: uid=testuser2,ou=people,dc=domain,dc=com 23 | 24 | dn: cn=Test User,ou=internal,dc=domain,dc=com 25 | objectClass: inetOrgPerson 26 | cn: Test User 27 | sn: User 28 | uid: testUser 29 | userPassword: secret 30 | 31 | dn: uid=internaluser,ou=internal,dc=domain,dc=com 32 | objectClass: inetOrgPerson 33 | cn: testrouting 34 | sn: User 35 | uid: internaluser 36 | mail: internaluser@internal.domain.com 37 | 38 | -------------------------------------------------------------------------------- /test/InternalUsersRoute/mod-result.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group,ou=groups,dc=domain,dc=com 4 | objectClass: groupOfUniqueNames 5 | cn: Test Group 6 | uniqueMember: uid=testuser1,ou=people,dc=domain,dc=com 7 | uniqueMember: uid=testuser2,ou=people,dc=domain,dc=com 8 | uniqueMember: uid=testuser5,ou=people,dc=domain,dc=com -------------------------------------------------------------------------------- /test/InternalUsersRoute/modgroup.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test Group,ou=groups,o=mycompany,c=us 4 | changeType: modify 5 | add: uniqueMember 6 | uniqueMember: uid=testuser5,ou=people,o=mycompany,c=us 7 | - 8 | -------------------------------------------------------------------------------- /test/Kerberos/jaas.conf: -------------------------------------------------------------------------------- 1 | /** Login Configuration for the JaasAcn and 2 | ** JaasAzn Applications 3 | **/ 4 | 5 | MyVD { 6 | com.sun.security.auth.module.Krb5LoginModule required client=TRUE; 7 | 8 | }; 9 | 10 | -------------------------------------------------------------------------------- /test/Kerberos/krb5.conf: -------------------------------------------------------------------------------- 1 | [libdefaults] 2 | default_realm = AD.DOMAIN.COM 3 | default_checksum = rsa-md5 4 | default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 5 | default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 6 | permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1 7 | 8 | [realms] 9 | AD.DOMAIN.COM = { 10 | kdc = SERVER.AD.DOMAIN.COM 11 | } 12 | 13 | [domain_realm] 14 | ad.domain.com = AD.DOMAIN.COM 15 | -------------------------------------------------------------------------------- /test/Kerberos/testStartServer.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | server.nameSpaces=Root,AD 5 | 6 | 7 | server.Root.chain=RootDSE 8 | server.Root.nameSpace= 9 | server.Root.weight=0 10 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 11 | server.Root.RootDSE.config.namingContexts=dc=nam,dc=domain,dc=com 12 | 13 | 14 | 15 | 16 | server.AD.chain=LDAPBaseServer 17 | server.AD.nameSpace=dc=nam,dc=domain,dc=com 18 | server.AD.weight=0 19 | server.AD.LDAPBaseServer.className=net.sourceforge.myvd.inserts.kerberos.KerberosInterceptor 20 | -------------------------------------------------------------------------------- /test/LocalUsers/control-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=externaluser,ou=external,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | cn: testrouting 6 | sn: User 7 | uid: externaluser 8 | mail: externaluser@external.domain.com 9 | 10 | dn: uid=localuser,ou=local,o=mycompany,c=us 11 | objectClass: inetOrgPerson 12 | uid: localuser 13 | cn: testrouting 14 | sn: localuser 15 | mail: localuser@local.domain.com 16 | 17 | dn: uid=internaluser,ou=internal,o=mycompany,c=us 18 | objectClass: inetOrgPerson 19 | cn: testrouting 20 | sn: User 21 | uid: internaluser 22 | mail: internaluser@internal.domain.com 23 | 24 | -------------------------------------------------------------------------------- /test/LocalUsers/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: ou=local,dc=domain,dc=com 4 | objectClass: organizationalUnit 5 | ou: local 6 | 7 | 8 | dn: uid=localuser,ou=local,dc=domain,dc=com 9 | objectClass: inetOrgPerson 10 | uid: localuser 11 | cn: testrouting 12 | sn: localuser 13 | mail: localuser@local.domain.com 14 | -------------------------------------------------------------------------------- /test/LocalUsers/default-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=localuser,ou=local,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | uid: localuser 6 | cn: testrouting 7 | sn: localuser 8 | mail: localuser@local.domain.com 9 | -------------------------------------------------------------------------------- /test/LocalUsers/default_internal-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=internaluser,ou=internal,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | cn: testrouting 6 | sn: User 7 | uid: internaluser 8 | mail: internaluser@internal.domain.com 9 | 10 | dn: uid=localuser,ou=local,o=mycompany,c=us 11 | objectClass: inetOrgPerson 12 | uid: localuser 13 | cn: testrouting 14 | sn: localuser 15 | mail: localuser@local.domain.com 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/LocalUsers/external-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=externaluser,ou=external,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | cn: testrouting 6 | sn: User 7 | uid: externaluser 8 | mail: externaluser@external.domain.com -------------------------------------------------------------------------------- /test/LocalUsers/internal-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | 4 | 5 | dn: uid=internaluser,ou=internal,o=mycompany,c=us 6 | objectClass: inetOrgPerson 7 | cn: testrouting 8 | sn: User 9 | uid: internaluser 10 | mail: internaluser@internal.domain.com 11 | 12 | -------------------------------------------------------------------------------- /test/Master/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=internal,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | dn: ou=external,dc=domain,dc=com 12 | objectClass: organizationalUnit 13 | ou: external 14 | 15 | dn: cn=Test CustM,ou=external,dc=domain,dc=com 16 | objectClass: inetOrgPerson 17 | cn: Test CustM 18 | sn: CustM 19 | uid: testCust 20 | userPassword: secret 21 | 22 | 23 | dn: cn=Test UserM,ou=internal,dc=domain,dc=com 24 | objectClass: inetOrgPerson 25 | cn: Test UserM 26 | sn: UserM 27 | uid: testUser 28 | userPassword: secret 29 | -------------------------------------------------------------------------------- /test/TestAD/custom.schema: -------------------------------------------------------------------------------- 1 | attributetype ( 2.16.840.1.113330.3.1.1 2 | NAME 'samAccountName' 3 | DESC 'AD uid' 4 | EQUALITY caseIgnoreMatch 5 | SUBSTR caseIgnoreSubstringsMatch 6 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) 7 | 8 | 9 | objectclass ( 2.16.840.1.333730.3.2.2 10 | NAME 'container' 11 | DESC 'ad container' 12 | SUP top 13 | STRUCTURAL 14 | MUST ( cn ) ) 15 | 16 | objectclass ( 2.16.840.1.333730.3.2.3 17 | NAME 'user' 18 | DESC 'ad person' 19 | SUP inetOrgPerson 20 | STRUCTURAL 21 | MUST ( samAccountName ) ) 22 | 23 | objectclass ( 2.16.840.1.333730.3.2.4 24 | NAME 'group' 25 | DESC 'ad group' 26 | SUP top 27 | STRUCTURAL 28 | MUST ( cn ) 29 | MAY ( member ) ) 30 | -------------------------------------------------------------------------------- /test/TestAD/domainGroupSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Domain Users,cn=users,o=ad 4 | objectClass: group 5 | cn: Domain Users 6 | member: cn=Test1 User,cn=users,o=ad 7 | member: cn=Test2 User,cn=users,o=ad -------------------------------------------------------------------------------- /test/TestADPosix/custom.schema: -------------------------------------------------------------------------------- 1 | attributetype ( 2.16.840.1.113330.3.1.1 2 | NAME 'samAccountName' 3 | DESC 'AD uid' 4 | EQUALITY caseIgnoreMatch 5 | SUBSTR caseIgnoreSubstringsMatch 6 | SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{256} ) 7 | 8 | 9 | 10 | objectclass ( 2.16.840.1.333730.3.2.2 11 | NAME 'container' 12 | DESC 'ad container' 13 | SUP top 14 | STRUCTURAL 15 | MUST ( cn ) ) 16 | 17 | objectclass ( 2.16.840.1.333730.3.2.3 18 | NAME 'user' 19 | DESC 'ad person' 20 | SUP inetOrgPerson 21 | STRUCTURAL 22 | MUST ( samAccountName ) ) 23 | 24 | objectclass ( 2.16.840.1.333730.3.2.4 25 | NAME 'group' 26 | DESC 'ad group' 27 | SUP top 28 | STRUCTURAL 29 | MUST ( member $ cn ) ) -------------------------------------------------------------------------------- /test/TestADPosix/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: o=unix 4 | objectClass: organization 5 | o: unix 6 | 7 | dn: uid=tuser001,o=unix 8 | uid: tuser001 9 | uidNumber: 550 10 | objectClass: inetOrgPerson 11 | objectClass: posixAccount 12 | objectClass: shadowAccount 13 | loginShell: /bin/bash 14 | homeDirectory: /home/tuser001 15 | shadowMax: 999999 16 | shadowLastChange: 1087 17 | shadowWarning: 7 18 | shadowInactive: -1 19 | shadowFlag: 0 20 | cn: Test1 User 21 | sn: User 22 | shadowExpire: -1 23 | shadowMin: 0 24 | gidNumber: 200 25 | gecos: Test User1 26 | userPassword: posixsecret 27 | 28 | dn: cn=UNIX Users,o=unix 29 | cn: UNIX Users 30 | objectClass: posixGroup 31 | gidNumber: 200 32 | -------------------------------------------------------------------------------- /test/TestADPosix/groupLinuxSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=UNIX Users,cn=users,dc=domain,dc=com 4 | gidNumber: 200 5 | 6 | dn: cn=UNIX SUDO Users,cn=users,dc=domain,dc=com 7 | -------------------------------------------------------------------------------- /test/TestADPosix/userSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test1 User,CN=Users,dc=domain,dc=com 4 | joinedDNs: uid=tuser001,o=unix 5 | uidNumber: 550 6 | objectClass: inetOrgPerson 7 | objectClass: posixAccount 8 | objectClass: shadowAccount 9 | loginShell: /bin/bash 10 | homeDirectory: /home/tuser001 11 | shadowMax: 999999 12 | shadowLastChange: 1087 13 | shadowWarning: 7 14 | shadowInactive: -1 15 | shadowFlag: 0 16 | shadowExpire: -1 17 | shadowMin: 0 18 | gidNumber: 200 19 | gecos: Test User1 20 | primaryDN: cn=Test1 User,cn=users,o=ad 21 | cn: Test1 User 22 | sn: User 23 | uid: tuser001 24 | userPassword: secret 25 | primaryBase: o=ad 26 | joinedBases: o=unix -------------------------------------------------------------------------------- /test/TestJoin/db/joindb.properties: -------------------------------------------------------------------------------- 1 | #HSQL Database Engine 2 | #Sat Apr 12 22:47:15 GMT-05:00 2008 3 | hsqldb.script_format=0 4 | runtime.gc_interval=0 5 | sql.enforce_strict_size=false 6 | hsqldb.cache_size_scale=8 7 | readonly=false 8 | hsqldb.nio_data_file=true 9 | hsqldb.cache_scale=14 10 | version=1.8.0 11 | hsqldb.default_table_type=memory 12 | hsqldb.cache_file_scale=1 13 | hsqldb.log_size=200 14 | modified=yes 15 | hsqldb.cache_version=1.7.0 16 | hsqldb.original_version=1.8.0 17 | hsqldb.compatible_version=1.8.0 18 | -------------------------------------------------------------------------------- /test/TestJoin/db/joindb.script.orig: -------------------------------------------------------------------------------- 1 | CREATE SCHEMA PUBLIC AUTHORIZATION DBA 2 | CREATE MEMORY TABLE APPDATA(USERNAME VARCHAR(50),APPATTRIB1 VARCHAR(50),APPATTRIB2 VARCHAR(50)) 3 | CREATE USER SA PASSWORD "" 4 | GRANT DBA TO SA 5 | SET WRITE_DELAY 20 6 | SET SCHEMA PUBLIC 7 | INSERT INTO APPDATA VALUES('user1','sysx','app-g') 8 | INSERT INTO APPDATA VALUES('user2','sysy','app-g') 9 | INSERT INTO APPDATA VALUES('user3','sysx','app-i') 10 | -------------------------------------------------------------------------------- /test/TestJoin/ldap/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=people,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: people 10 | 11 | dn: uid=user1,ou=people,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | uid: user1 14 | cn: Test User1 15 | givenName: Test 16 | sn: User1 17 | userPassword: secret 18 | 19 | dn: uid=user2,ou=people,dc=domain,dc=com 20 | objectClass: inetOrgPerson 21 | uid: user2 22 | cn: Test User2 23 | givenName: Test 24 | sn: User2 25 | userPassword: secret 26 | 27 | dn: uid=user3,ou=people,dc=domain,dc=com 28 | objectClass: inetOrgPerson 29 | uid: user3 30 | cn: Test User3 31 | givenName: Test 32 | sn: User3 33 | userPassword: secret -------------------------------------------------------------------------------- /test/TestJoin/ldifs/afterAdd.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user4,ou=people,o=mycompany,c=us 4 | uid: user4 5 | sn: User4 6 | cn: Test User4 7 | appattrib2: app-f 8 | appattrib1: sysa 9 | objectClass: inetOrgPerson 10 | objectClass: appPerson 11 | givenName: Test 12 | primaryDN: uid=user4,ou=people,o=enterprise 13 | joinedDNs: uid=user4,o=appdb 14 | joinedBases: o=appdb 15 | primaryBase: o=enterprise 16 | -------------------------------------------------------------------------------- /test/TestJoin/ldifs/afterModifyJoined.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user3,ou=people,o=mycompany,c=us 4 | uid: user3 5 | sn: User3 6 | cn: Test User3 7 | appattrib2: app-i 8 | userPassword: secret 9 | appattrib1: sysy 10 | objectClass: inetOrgPerson 11 | objectClass: appPerson 12 | givenName: Test 13 | primaryDN: uid=user3,ou=people,o=enterprise 14 | joinedDNs: uid=user3,o=appdb 15 | joinedBases: o=appdb 16 | primaryBase: o=enterprise -------------------------------------------------------------------------------- /test/TestJoin/ldifs/afterModifyPrimary.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user3,ou=people,o=mycompany,c=us 4 | uid: user3 5 | sn: User3 6 | cn: Test User3 7 | appattrib2: app-i 8 | userPassword: secret 9 | appattrib1: sysx 10 | objectClass: inetOrgPerson 11 | objectClass: appPerson 12 | givenName: TestName 13 | primaryDN: uid=user3,ou=people,o=enterprise 14 | joinedDNs: uid=user3,o=appdb 15 | joinedBases: o=appdb 16 | primaryBase: o=enterprise -------------------------------------------------------------------------------- /test/TestJoin/ldifs/baseSearch.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user3,ou=people,o=mycompany,c=us 4 | uid: user3 5 | sn: User3 6 | cn: Test User3 7 | appattrib2: app-i 8 | userPassword: secret 9 | appattrib1: sysx 10 | objectClass: inetOrgPerson 11 | objectClass: appPerson 12 | givenName: Test 13 | primaryDN: uid=user3,ou=people,o=enterprise 14 | joinedDNs: uid=user3,o=appdb 15 | primaryBase: o=enterprise 16 | joinedBases: o=appdb -------------------------------------------------------------------------------- /test/TestJoin/ldifs/filterJoined.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user1,ou=people,o=mycompany,c=us 4 | uid: user1 5 | sn: User1 6 | cn: Test User1 7 | appattrib2: app-g 8 | userPassword: secret 9 | appattrib1: sysx 10 | objectClass: inetOrgPerson 11 | objectClass: appPerson 12 | givenName: Test 13 | primaryDN: uid=user1,ou=people,o=enterprise 14 | joinedDNs: uid=user1,o=appdb 15 | primaryBase: o=enterprise 16 | joinedBases: o=appdb 17 | 18 | dn: uid=user3,ou=people,o=mycompany,c=us 19 | uid: user3 20 | sn: User3 21 | cn: Test User3 22 | appattrib2: app-i 23 | userPassword: secret 24 | appattrib1: sysx 25 | objectClass: inetOrgPerson 26 | objectClass: appPerson 27 | givenName: Test 28 | primaryDN: uid=user3,ou=people,o=enterprise 29 | joinedDNs: uid=user3,o=appdb 30 | primaryBase: o=enterprise 31 | joinedBases: o=appdb 32 | -------------------------------------------------------------------------------- /test/TestJoin/ldifs/filterPrimary.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user2,ou=people,o=mycompany,c=us 4 | uid: user2 5 | sn: User2 6 | cn: Test User2 7 | appattrib2: app-g 8 | userPassword: secret 9 | appattrib1: sysy 10 | objectClass: inetOrgPerson 11 | objectClass: appPerson 12 | givenName: Test 13 | primaryDN: uid=user2,ou=people,o=enterprise 14 | joinedDNs: uid=user2,o=appdb 15 | primaryBase: o=enterprise 16 | joinedBases: o=appdb 17 | -------------------------------------------------------------------------------- /test/TestJoin/ldifs/joinadd.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user4,ou=people,o=mycompany,c=us 4 | uid: user4 5 | sn: User4 6 | cn: Test User4 7 | appattrib2: app-f 8 | appattrib1: sysa 9 | objectClass: inetOrgPerson 10 | objectClass: appPerson 11 | givenName: Test -------------------------------------------------------------------------------- /test/TestJoin/ldifs/pickAttribs.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=user1,ou=people,o=mycompany,c=us 4 | cn: Test User1 5 | appattrib2: app-g 6 | appattrib1: sysx 7 | 8 | dn: uid=user3,ou=people,o=mycompany,c=us 9 | cn: Test User3 10 | appattrib2: app-i 11 | appattrib1: sysx -------------------------------------------------------------------------------- /test/TestJoin/ldifs/wholeTree.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: o=mycompany,c=us 4 | dc: domain 5 | objectClass: domain 6 | 7 | dn: ou=people,o=mycompany,c=us 8 | ou: people 9 | objectClass: organizationalUnit 10 | 11 | dn: uid=user1,ou=people,o=mycompany,c=us 12 | uid: user1 13 | sn: User1 14 | cn: Test User1 15 | appattrib2: app-g 16 | userPassword: secret 17 | appattrib1: sysx 18 | objectClass: inetOrgPerson 19 | objectClass: appPerson 20 | givenName: Test 21 | primaryDN: uid=user1,ou=people,o=enterprise 22 | joinedDNs: uid=user1,o=appdb 23 | primaryBase: o=enterprise 24 | joinedBases: o=appdb 25 | 26 | dn: uid=user2,ou=people,o=mycompany,c=us 27 | uid: user2 28 | sn: User2 29 | cn: Test User2 30 | appattrib2: app-g 31 | userPassword: secret 32 | appattrib1: sysy 33 | objectClass: inetOrgPerson 34 | objectClass: appPerson 35 | givenName: Test 36 | primaryDN: uid=user2,ou=people,o=enterprise 37 | joinedDNs: uid=user2,o=appdb 38 | primaryBase: o=enterprise 39 | joinedBases: o=appdb 40 | 41 | dn: uid=user3,ou=people,o=mycompany,c=us 42 | uid: user3 43 | sn: User3 44 | cn: Test User3 45 | appattrib2: app-i 46 | userPassword: secret 47 | appattrib1: sysx 48 | objectClass: inetOrgPerson 49 | objectClass: appPerson 50 | givenName: Test 51 | primaryDN: uid=user3,ou=people,o=enterprise 52 | joinedDNs: uid=user3,o=appdb 53 | primaryBase: o=enterprise 54 | joinedBases: o=appdb -------------------------------------------------------------------------------- /test/TestLDAP/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=internal,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | dn: cn=Test User,ou=internal,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | cn: Test User 14 | sn: User 15 | uid: testUser 16 | userPassword: secret 17 | -------------------------------------------------------------------------------- /test/TestServer/cert.cert: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/TestServer/cert.cert -------------------------------------------------------------------------------- /test/TestServer/kerb-ad.conf: -------------------------------------------------------------------------------- 1 | #Listen on port 389 2 | server.listener.port=50983 3 | 4 | #Listen on 636 using SSL 5 | #server.secure.listener.port=636 6 | #server.secure.keystore=/var/keystores/myvd.ks 7 | #server.secure.keypass=secret 8 | 9 | #Configure global chains 10 | server.globalChain= 11 | 12 | 13 | #Configure namespaces 14 | server.nameSpaces=Root,ad 15 | 16 | #Define RootDSE 17 | server.Root.chain=RootDSE 18 | server.Root.nameSpace= 19 | server.Root.weight=0 20 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 21 | server.Root.RootDSE.config.namingContexts=dc=test,dc=mydomain,dc=com 22 | 23 | 24 | 25 | server.ad.chain=clean,kerb,LDAP 26 | server.ad.nameSpace=dc=test,dc=mydomain,dc=com 27 | server.ad.weight=0 28 | server.ad.clean.className=net.sourceforge.myvd.inserts.mapping.AttributeCleaner 29 | 30 | server.ad.kerb.className=net.sourceforge.myvd.inserts.kerberos.ADKerberosInsert 31 | server.ad.kerb.config.host=192.168.1.105 32 | server.ad.kerb.config.port=88 33 | 34 | server.ad.LDAP.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 35 | server.ad.LDAP.config.host=192.168.1.105 36 | server.ad.LDAP.config.port=389 37 | server.ad.LDAP.config.remoteBase=dc=test,dc=mydomain,dc=com 38 | server.ad.LDAP.config.proxyDN=CN=Administrator,CN=Users,DC=test,DC=mydomain,DC=com 39 | server.ad.LDAP.config.proxyPass=p@ssw0rd 40 | server.ad.LDAP.config.passBindOnly=true 41 | server.ad.LDAP.config.ignoreRefs=true 42 | -------------------------------------------------------------------------------- /test/TestServer/log4j2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /test/TestServer/logging.conf: -------------------------------------------------------------------------------- 1 | #This file allows you to overload the default log4j logging configuration. 2 | #default logger : rootLogger 3 | #default appender : logfile 4 | #default log level : info 5 | #default layout : org.apache.logging.log4j.PatternLayout 6 | 7 | -------------------------------------------------------------------------------- /test/TestServer/myvd-ssl.conf: -------------------------------------------------------------------------------- 1 | #Listen on port 389 2 | server.listener.port=10389 3 | 4 | #Listen on 636 using SSL 5 | server.secure.listener.port=10636 6 | server.secure.keystore=/home/mlb/workspace/MyVD-MINA/test/TestServer/test.jks 7 | server.secure.keypass=secret 8 | 9 | #Configure global chains 10 | server.globalChain=LogAllTransactions 11 | server.globalChain.LogAllTransactions.className=net.sourceforge.myvd.inserts.DumpTransaction 12 | server.globalChain.LogAllTransactions.config.logLevel=info 13 | server.globalChain.LogAllTransactions.config.label=Global 14 | 15 | 16 | #Configure namespaces 17 | server.nameSpaces=Root 18 | 19 | #Define RootDSE 20 | server.Root.chain=RootDSE 21 | server.Root.nameSpace= 22 | server.Root.weight=0 23 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 24 | server.Root.RootDSE.config.namingContexts=o=mycompany,c=us|cn=schema -------------------------------------------------------------------------------- /test/TestServer/test-local-user.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | 5 | #Test global 6 | 7 | 8 | #Password change extended operation 9 | 10 | 11 | server.nameSpaces=local 12 | 13 | server.local.chain=localUser 14 | server.local.nameSpace=ou=localuser,dc=domain,dc=com 15 | server.local.weight=0 16 | server.local.localUser.className=net.sourceforge.myvd.inserts.local.LocalUserInsert 17 | server.local.localUser.config.uid=localuser 18 | server.local.localUser.config.password=start123 19 | server.local.localUser.config.objectClass=inetOrgPerson 20 | 21 | 22 | -------------------------------------------------------------------------------- /test/TestServer/test.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/TestServer/test.jks -------------------------------------------------------------------------------- /test/TestServer/testACI.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | 5 | server.nameSpaces=Root,Proxy,Schema 6 | 7 | 8 | server.Root.chain=RootDSE 9 | server.Root.nameSpace= 10 | server.Root.weight=0 11 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 12 | server.Root.RootDSE.config.namingContexts=dc=domain,dc=com 13 | 14 | 15 | 16 | 17 | server.Proxy.chain=LDAPBaseServer 18 | server.Proxy.nameSpace=dc=domain,dc=com 19 | server.Proxy.weight=0 20 | server.Proxy.LDAPBaseServer.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 21 | server.Proxy.LDAPBaseServer.config.host=localhost 22 | server.Proxy.LDAPBaseServer.config.port=10983 23 | server.Proxy.LDAPBaseServer.config.remoteBase=dc=domain,dc=com 24 | server.Proxy.LDAPBaseServer.config.proxyDN=cn=admin,dc=domain,dc=com 25 | server.Proxy.LDAPBaseServer.config.proxyPass=manager 26 | 27 | 28 | server.Schema.chain=LDAPSchema 29 | server.Schema.nameSpace=cn=schema 30 | server.Schema.weight=15 31 | 32 | server.Schema.LDAPSchema.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 33 | server.Schema.LDAPSchema.config.host=localhost 34 | server.Schema.LDAPSchema.config.port=10983 35 | server.Schema.LDAPSchema.config.remoteBase=cn=subschema 36 | server.Schema.LDAPSchema.config.proxyDN= 37 | server.Schema.LDAPSchema.config.proxyPass= 38 | 39 | -------------------------------------------------------------------------------- /test/TestServer/testJDBCLDAP.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | server.nameSpaces=BaseServer 5 | 6 | server.BaseServer.chain=Exception,TestJDBC,LDAPBaseServer 7 | server.BaseServer.nameSpace=o=mycompany,c=us 8 | server.BaseServer.weight=0 9 | 10 | server.BaseServer.Exception.className=net.sourceforge.myvd.test.interceptor.ExceptionInterceptor 11 | 12 | server.BaseServer.TestJDBC.className=net.sourceforge.myvd.test.interceptor.TestJdbcInterceptor 13 | 14 | server.BaseServer.LDAPBaseServer.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 15 | server.BaseServer.LDAPBaseServer.config.host=localhost 16 | server.BaseServer.LDAPBaseServer.config.port=10983 17 | server.BaseServer.LDAPBaseServer.config.remoteBase=dc=domain,dc=com 18 | server.BaseServer.LDAPBaseServer.config.proxyDN=cn=admin,dc=domain,dc=com 19 | server.BaseServer.LDAPBaseServer.config.proxyPass=manager -------------------------------------------------------------------------------- /test/TestServer/testSchema.conf: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | 5 | server.nameSpaces=Root,Schema 6 | 7 | 8 | server.Root.chain=RootDSE 9 | server.Root.nameSpace= 10 | server.Root.weight=0 11 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 12 | server.Root.RootDSE.config.namingContexts=o=mycompany,c=us 13 | 14 | server.Schema.chain=schema 15 | server.Schema.nameSpace=cn=schema 16 | server.Schema.weight=0 17 | server.Schema.schema.className=net.sourceforge.myvd.inserts.SchemaInsert 18 | server.Schema.schema.config.schemaLDIF=%PROJ_DIR%/dist/conf/openldap_schema.ldif 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /test/TestServer/testconfig-host.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.listener.host=127.0.0.1 3 | 4 | server.nameSpaces=InternalServer,ExternalServer 5 | 6 | server.InternalServer.chain=LDAPInternalServer 7 | server.InternalServer.nameSpace=ou=internal,o=mycompany,c=us 8 | server.InternalServer.weight=10 9 | 10 | server.InternalServer.LDAPInternalServer.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 11 | server.InternalServer.LDAPInternalServer.config.host=127.0.0.1 12 | server.InternalServer.LDAPInternalServer.config.port=11983 13 | server.InternalServer.LDAPInternalServer.config.remoteBase=ou=internal,dc=domain,dc=com 14 | server.InternalServer.LDAPInternalServer.config.proxyDN=cn=admin,ou=internal,dc=domain,dc=com 15 | server.InternalServer.LDAPInternalServer.config.proxyPass=manager 16 | 17 | 18 | server.ExternalServer.chain=LDAPExternalServer 19 | server.ExternalServer.nameSpace=ou=external,o=mycompany,c=us 20 | server.ExternalServer.weight=15 21 | 22 | server.ExternalServer.LDAPExternalServer.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 23 | server.ExternalServer.LDAPExternalServer.config.host=localhost 24 | server.ExternalServer.LDAPExternalServer.config.port=12983 25 | server.ExternalServer.LDAPExternalServer.config.remoteBase=ou=external,dc=domain,dc=com 26 | server.ExternalServer.LDAPExternalServer.config.proxyDN=cn=admin,ou=external,dc=domain,dc=com 27 | server.ExternalServer.LDAPExternalServer.config.proxyPass=manager 28 | -------------------------------------------------------------------------------- /test/TestServer/testconfig.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/TestServer/testconfig.jks -------------------------------------------------------------------------------- /test/TestServer/testdnmap.conf: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | #Test global 5 | 6 | 7 | 8 | 9 | server.nameSpaces=groups 10 | 11 | server.groups.chain=dump,dnmap,dump2,LDAP 12 | server.groups.nameSpace=o=mycompany,c=us 13 | server.groups.weight=0 14 | server.groups.dump.className=net.sourceforge.myvd.inserts.DumpTransaction 15 | server.groups.dump.config.logLevel=info 16 | server.groups.dump.config.label=GROUPS 17 | server.groups.dnmap.className=net.sourceforge.myvd.inserts.mapping.DNAttributeMapper 18 | server.groups.dnmap.config.dnAttribs=uniqueMember 19 | server.groups.dnmap.config.localBase=o=mycompany,c=us 20 | server.groups.dnmap.config.remoteBase=dc=domain,dc=com 21 | server.groups.dump2.className=net.sourceforge.myvd.inserts.DumpTransaction 22 | server.groups.dump2.config.logLevel=info 23 | server.groups.dump2.config.label=GROUPS2 24 | server.groups.LDAP.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 25 | server.groups.LDAP.config.host=localhost 26 | server.groups.LDAP.config.port=10983 27 | server.groups.LDAP.config.remoteBase=dc=domain,dc=com 28 | server.groups.LDAP.config.proxyDN=cn=admin,ou=internal,dc=domain,dc=com 29 | server.groups.LDAP.config.proxyPass=manager 30 | -------------------------------------------------------------------------------- /test/TestServer/toomany.props: -------------------------------------------------------------------------------- 1 | server.listener.port=50983 2 | server.globalChain= 3 | 4 | #Test global 5 | 6 | 7 | 8 | server.nameSpaces=openldap 9 | 10 | server.openldap.chain=LDAPBaseServer 11 | server.openldap.nameSpace=ou=local,dc=domain,dc=com 12 | server.openldap.weight=0 13 | server.openldap.LDAPBaseServer.className=net.sourceforge.myvd.inserts.ldap.LDAPInterceptor 14 | server.openldap.LDAPBaseServer.config.host=localhost 15 | server.openldap.LDAPBaseServer.config.port=10983 16 | server.openldap.LDAPBaseServer.config.remoteBase=ou=local,dc=domain,dc=com 17 | server.openldap.LDAPBaseServer.config.proxyDN=cn=admin,ou=local,dc=domain,dc=com 18 | server.openldap.LDAPBaseServer.config.proxyPass=manager 19 | 20 | -------------------------------------------------------------------------------- /test/TlsServer/conf/client.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/TlsServer/conf/client.jks -------------------------------------------------------------------------------- /test/TlsServer/conf/clientcert.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN CERTIFICATE----- 2 | MIIDdTCCAl2gAwIBAgIEGq4jSTANBgkqhkiG9w0BAQsFADBrMQswCQYDVQQGEwJ1czERMA8GA1UE 3 | CBMIdmlyZ2luaWExEjAQBgNVBAcTCWFybGluZ3RvbjEUMBIGA1UEChMLbXl2ZC1jbGllbnQxDDAK 4 | BgNVBAsTA2RldjERMA8GA1UEAxMIc29tZXVzZXIwHhcNMTUwMzE5MDIzNTA3WhcNMjUwMzE2MDIz 5 | NTA3WjBrMQswCQYDVQQGEwJ1czERMA8GA1UECBMIdmlyZ2luaWExEjAQBgNVBAcTCWFybGluZ3Rv 6 | bjEUMBIGA1UEChMLbXl2ZC1jbGllbnQxDDAKBgNVBAsTA2RldjERMA8GA1UEAxMIc29tZXVzZXIw 7 | ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC8yeE8BBSNKqbfJs9Ti+3naOoUwqbass80 8 | lP62xlX4smEYATIiMFU7XyS86ReJ7CwZT+UFlTe+dmOdv7OToFzPjcuAmgSFtkEqxtY4yr8wt95u 9 | uwFSY2Ty6kZnxAfl7WOD9gqh+wIlcH4ZldpULOxqWq04nmDXC9Vvi9xIoiCIAkmi/Vgb+AWmcJ07 10 | shdUFoPmNlcnRpZt3zVxg6McqAyrEmGpAndTVja+rjcRueIgfJqap1+8C5JuICaAcFZ02J2JOEXp 11 | iODFr0dpvKzw67Ey4Cvgkc1qRcs4Cr2x8yp1sa/2+iia9GAN5MrASek7ZDkLTKQgHOZMhCk4EuwM 12 | 5yNzAgMBAAGjITAfMB0GA1UdDgQWBBT4q//p0y0AsuxsTsum4CrgQRCpWjANBgkqhkiG9w0BAQsF 13 | AAOCAQEAJrDUEz6i/xEMyq0gwC6jkIaFWNg97H1EBzVNNMVQYs1qa5eVbNNQRFb5zaHa9awQintG 14 | cFHDvR3Ky6DiVpkDLbHDcSTykvKmZam6td3JxFLI4lEgnpogoU4PIe1bUfi36Q8ViDHkOWloTKb3 15 | UjHA1jnkFtW+Z1y91IFi8ciSOwO5CI00Ome7xIirVAF7aWU9JoQoLHcBXXjCK90Bj7F7lOwQLhiy 16 | CUb+WmkTHZwYHtE6Kz1DBZT1FjNA0+I1i9NjuuB35RLIRb1vMkYMbjCBdCQRZ21jr33X/xbP7kgS 17 | u69U3nLF7Jcs5j2i01Q1bzqMaa9M534pLlz19rFh6D7s6w== 18 | -----END CERTIFICATE----- 19 | -------------------------------------------------------------------------------- /test/TlsServer/conf/myvd.conf: -------------------------------------------------------------------------------- 1 | server.listener.port=10983 2 | server.secure.listener.port=10636 3 | server.secure.keystore=server.jks 4 | server.secure.keypass=start123 5 | server.secure.clientmode=want 6 | server.secure.allowedAliases=clientkey 7 | 8 | #Configure global chains 9 | server.globalChain= 10 | 11 | 12 | server.nameSpaces=Root 13 | 14 | #Define RootDSE 15 | server.Root.chain=checktls,RootDSE 16 | server.Root.nameSpace= 17 | server.Root.weight=0 18 | server.Root.checktls.className=net.sourceforge.myvd.test.inserts.AddTlsParamInsert 19 | server.Root.RootDSE.className=net.sourceforge.myvd.inserts.RootDSE 20 | server.Root.RootDSE.config.namingContexts=o=mycompany,c=us 21 | server.Root.RootDSE.config.supportedControls=2.16.840.1.113730.3.4.18,2.16.840.1.113730.3.4.2,1.3.6.1.4.1.4203.1.10.1,1.2.840.113556.1.4.319,1.2.826.0.1.334810.2.3,1.2.826.0.1.3344810.2.3,1.3.6.1.1.13.2,1.3.6.1.1.13.1,1.3.6.1.1.12 22 | server.Root.RootDSE.config.supportedSaslMechanisms=NONE 23 | 24 | -------------------------------------------------------------------------------- /test/TlsServer/conf/server.jks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/TlsServer/conf/server.jks -------------------------------------------------------------------------------- /test/TooManyResults/control-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=externaluser,ou=external,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | cn: testrouting 6 | sn: User 7 | uid: externaluser 8 | mail: externaluser@external.domain.com 9 | 10 | dn: uid=localuser,ou=local,o=mycompany,c=us 11 | objectClass: inetOrgPerson 12 | uid: localuser 13 | cn: testrouting 14 | sn: localuser 15 | mail: localuser@local.domain.com 16 | 17 | dn: uid=internaluser,ou=internal,o=mycompany,c=us 18 | objectClass: inetOrgPerson 19 | cn: testrouting 20 | sn: User 21 | uid: internaluser 22 | mail: internaluser@internal.domain.com 23 | 24 | -------------------------------------------------------------------------------- /test/TooManyResults/default-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=localuser,ou=local,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | uid: localuser 6 | cn: testrouting 7 | sn: localuser 8 | mail: localuser@local.domain.com 9 | -------------------------------------------------------------------------------- /test/TooManyResults/default_internal-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=internaluser,ou=internal,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | cn: testrouting 6 | sn: User 7 | uid: internaluser 8 | mail: internaluser@internal.domain.com 9 | 10 | dn: uid=localuser,ou=local,o=mycompany,c=us 11 | objectClass: inetOrgPerson 12 | uid: localuser 13 | cn: testrouting 14 | sn: localuser 15 | mail: localuser@local.domain.com 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /test/TooManyResults/external-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: uid=externaluser,ou=external,o=mycompany,c=us 4 | objectClass: inetOrgPerson 5 | cn: testrouting 6 | sn: User 7 | uid: externaluser 8 | mail: externaluser@external.domain.com -------------------------------------------------------------------------------- /test/TooManyResults/internal-results.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | 4 | 5 | dn: uid=internaluser,ou=internal,o=mycompany,c=us 6 | objectClass: inetOrgPerson 7 | cn: testrouting 8 | sn: User 9 | uid: internaluser 10 | mail: internaluser@internal.domain.com 11 | 12 | -------------------------------------------------------------------------------- /test/log4j/log4j2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /test/opends-1.0b7/QuickSetup.app/Contents/MacOS/JavaApplicationStub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/QuickSetup.app/Contents/MacOS/JavaApplicationStub -------------------------------------------------------------------------------- /test/opends-1.0b7/QuickSetup.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /test/opends-1.0b7/QuickSetup.app/Contents/Resources/OpenDS.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/QuickSetup.app/Contents/Resources/OpenDS.icns -------------------------------------------------------------------------------- /test/opends-1.0b7/README: -------------------------------------------------------------------------------- 1 | OpenDS Directory Server 2 | 3 | This archive contains the OpenDS Directory Server. Complete documentation for 4 | this product may be found online at https://OpenDS.dev.java.net/. 5 | 6 | To configure the server, run the setup script on UNIX-based platforms, or the 7 | setup.bat batch file on Windows. To start the server, run bin/start-ds on 8 | UNIX-based platforms, or bat\start-ds.bat on Windows systems. 9 | 10 | This product is made available under the Common Development and Distribution 11 | License (CDDL). The complete text for this license, and for alternate licenses 12 | of included components, may be found in the legal-notices directory. 13 | 14 | -------------------------------------------------------------------------------- /test/opends-1.0b7/Uninstall.app/Contents/MacOS/JavaApplicationStub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/Uninstall.app/Contents/MacOS/JavaApplicationStub -------------------------------------------------------------------------------- /test/opends-1.0b7/Uninstall.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /test/opends-1.0b7/Uninstall.app/Contents/Resources/OpenDS.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/Uninstall.app/Contents/Resources/OpenDS.icns -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/backup.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.BackUpDB" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=backup" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/base64.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.util.Base64" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=base64" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/dbtest.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.DBTest" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=dbtest" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/dsconfig.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.dsconfig.DSConfig" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=dsconfig" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/dsframework.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.admin.client.cli.DsFrameworkCliMain" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=dsframework" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/dsreplication.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.guitools.replicationcli.ReplicationCliMain" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=dsreplication" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/encode-password.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.EncodePassword" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=encode-password" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/export-ldif.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.ExportLDIF" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=export-ldif" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/import-ldif.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.ImportLDIF" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=import-ldif" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldapcompare.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPCompare" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapcompare" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldapdelete.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPDelete" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapdelete" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldapmodify.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPModify" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapmodify" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldappasswordmodify.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPPasswordModify" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldappasswordmodify" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldapsearch.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPSearch" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapsearch" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldif-diff.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDIFDiff" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldif-diff" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldifmodify.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDIFModify" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldifmodify" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/ldifsearch.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.LDIFSearch" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldifsearch" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/list-backends.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.ListBackends" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=list-backends" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/make-ldif.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.makeldif.MakeLDIF" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=make-ldif" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" --resourcePath "%%~dPsi..\config\MakeLDIF" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/manage-account.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.ManageAccount" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=manage-account" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/manage-tasks.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.ManageTasks" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=manage-tasks" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/rebuild-index.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.RebuildIndex" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=rebuild-index" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/restore.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.RestoreDB" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=restore" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/status.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.guitools.statuspanel.StatusCli" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=status" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/verify-index.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.VerifyIndex" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=verify-index" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_server-script.bat" %* 33 | 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bat/windows-service.bat: -------------------------------------------------------------------------------- 1 | 2 | @echo off 3 | rem CDDL HEADER START 4 | rem 5 | rem The contents of this file are subject to the terms of the 6 | rem Common Development and Distribution License, Version 1.0 only 7 | rem (the "License"). You may not use this file except in compliance 8 | rem with the License. 9 | rem 10 | rem You can obtain a copy of the license at 11 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | rem See the License for the specific language governing permissions 14 | rem and limitations under the License. 15 | rem 16 | rem When distributing Covered Code, include this CDDL HEADER in each 17 | rem file and include the License file at 18 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | rem add the following below this CDDL HEADER, with the fields enclosed 20 | rem by brackets "[]" replaced with your own identifying information: 21 | rem Portions Copyright [yyyy] [name of copyright owner] 22 | rem 23 | rem CDDL HEADER END 24 | rem 25 | rem 26 | rem Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | setlocal 29 | 30 | set OPENDS_INVOKE_CLASS="org.opends.server.tools.ConfigureWindowsService" 31 | set SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=windows-service" 32 | for %%i in (%~sf0) do call "%%~dPsi\..\lib\_client-script.bat" %* 33 | 34 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/README_WINDOWS.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * CDDL HEADER START 3 | * 4 | * The contents of this file are subject to the terms of the 5 | * Common Development and Distribution License, Version 1.0 only 6 | * (the "License"). You may not use this file except in compliance 7 | * with the License. 8 | * 9 | * You can obtain a copy of the license at 10 | * trunk/opends/resource/legal-notices/OpenDS.LICENSE 11 | * or https://OpenDS.dev.java.net/OpenDS.LICENSE. 12 | * See the License for the specific language governing permissions 13 | * and limitations under the License. 14 | * 15 | * When distributing Covered Code, include this CDDL HEADER in each 16 | * file and include the License file at 17 | * trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 18 | * add the following below this CDDL HEADER, with the fields enclosed 19 | * by brackets "[]" replaced with your own identifying information: 20 | * Portions Copyright [yyyy] [name of copyright owner] 21 | * 22 | * CDDL HEADER END 23 | * 24 | * 25 | * Portions Copyright 2007 Sun Microsystems, Inc. 26 | */ 27 | Note that all the batch files under the 'bin' directory have been moved to the 28 | 'bat' directory. 29 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/StatusPanel.app/Contents/MacOS/JavaApplicationStub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/bin/StatusPanel.app/Contents/MacOS/JavaApplicationStub -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/StatusPanel.app/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/StatusPanel.app/Contents/Resources/OpenDS.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/bin/StatusPanel.app/Contents/Resources/OpenDS.icns -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/backup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform a backup of a Directory Server backend. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.BackUpDB" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=backup" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/base64: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to display the status panel. 30 | OPENDS_INVOKE_CLASS="org.opends.server.util.Base64" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=base64" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/create-rc-script: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to display the status panel. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.CreateRCScript" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=create-rc-script" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/dbtest: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to debug JE backends in the Directory Server. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.DBTest" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=dbtest" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/dsconfig: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform configuration operations on the server. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.dsconfig.DSConfig" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=dsconfig" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/export-ldif: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform an LDIF export for a Directory Server 30 | # backend. 31 | OPENDS_INVOKE_CLASS="org.opends.server.tools.ExportLDIF" 32 | export OPENDS_INVOKE_CLASS 33 | 34 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=export-ldif" 35 | export SCRIPT_NAME_ARG 36 | 37 | SCRIPT_DIR=`dirname "${0}"` 38 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 39 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/import-ldif: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to import LDIF data into a Directory Server backend. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.ImportLDIF" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=import-ldif" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldapcompare: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform LDAP compare operations. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPCompare" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapcompare" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldapdelete: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform LDAP delete operations. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPDelete" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapdelete" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldapmodify: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform LDAP add, delete, modify, and modify DN 30 | # operations. 31 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPModify" 32 | export OPENDS_INVOKE_CLASS 33 | 34 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapmodify" 35 | export SCRIPT_NAME_ARG 36 | 37 | SCRIPT_DIR=`dirname "${0}"` 38 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 39 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldapsearch: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform LDAP search operations. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDAPSearch" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldapsearch" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldif-diff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to compare the contents of two LDIF files. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDIFDiff" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldif-diff" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldifmodify: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to alter the contents of an LDIF file. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDIFModify" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldifmodify" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/ldifsearch: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform searches in an LDIF file. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.LDIFSearch" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=ldifsearch" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/list-backends: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform a restore of a Directory Server backend. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.ListBackends" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=list-backends" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/manage-account: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform LDAP search operations. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.ManageAccount" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=manage-account" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/manage-tasks: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to manage tasks in the Directory Server. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.ManageTasks" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=manage-tasks" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/restore: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2006-2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to perform a restore of a Directory Server backend. 30 | OPENDS_INVOKE_CLASS="org.opends.server.tools.RestoreDB" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=restore" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_server-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/status: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to display the status panel. 30 | OPENDS_INVOKE_CLASS="org.opends.guitools.statuspanel.StatusCli" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=status" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/bin/status-panel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # CDDL HEADER START 4 | # 5 | # The contents of this file are subject to the terms of the 6 | # Common Development and Distribution License, Version 1.0 only 7 | # (the "License"). You may not use this file except in compliance 8 | # with the License. 9 | # 10 | # You can obtain a copy of the license at 11 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE 12 | # or https://OpenDS.dev.java.net/OpenDS.LICENSE. 13 | # See the License for the specific language governing permissions 14 | # and limitations under the License. 15 | # 16 | # When distributing Covered Code, include this CDDL HEADER in each 17 | # file and include the License file at 18 | # trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 19 | # add the following below this CDDL HEADER, with the fields enclosed 20 | # by brackets "[]" replaced with your own identifying information: 21 | # Portions Copyright [yyyy] [name of copyright owner] 22 | # 23 | # CDDL HEADER END 24 | # 25 | # 26 | # Portions Copyright 2007 Sun Microsystems, Inc. 27 | 28 | 29 | # This script may be used to display the status panel. 30 | OPENDS_INVOKE_CLASS="org.opends.guitools.statuspanel.StatusPanelLauncher" 31 | export OPENDS_INVOKE_CLASS 32 | 33 | SCRIPT_NAME_ARG="-Dorg.opends.server.scriptName=status-panel" 34 | export SCRIPT_NAME_ARG 35 | 36 | SCRIPT_DIR=`dirname "${0}"` 37 | "${SCRIPT_DIR}/../lib/_client-script.sh" "${@}" 38 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/MakeLDIF/example.template: -------------------------------------------------------------------------------- 1 | define suffix=dc=example,dc=com 2 | define maildomain=example.com 3 | define numusers=10001 4 | 5 | branch: [suffix] 6 | 7 | branch: ou=People,[suffix] 8 | subordinateTemplate: person:[numusers] 9 | 10 | template: person 11 | rdnAttr: uid 12 | objectClass: top 13 | objectClass: person 14 | objectClass: organizationalPerson 15 | objectClass: inetOrgPerson 16 | givenName: 17 | sn: 18 | cn: {givenName} {sn} 19 | initials: {givenName:1}{sn:1} 20 | employeeNumber: 21 | uid: user.{employeeNumber} 22 | mail: {uid}@[maildomain] 23 | userPassword: password 24 | telephoneNumber: 25 | homePhone: 26 | pager: 27 | mobile: 28 | street: Street 29 | l: 30 | st: 31 | postalCode: 32 | postalAddress: {cn}${street}${l}, {st} {postalCode} 33 | description: This is the description for {cn}. 34 | 35 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/MakeLDIF/states: -------------------------------------------------------------------------------- 1 | AL 2 | AK 3 | AZ 4 | AR 5 | CA 6 | CO 7 | CT 8 | DE 9 | DC 10 | FL 11 | GA 12 | HI 13 | ID 14 | IL 15 | IN 16 | IA 17 | KS 18 | KY 19 | LA 20 | ME 21 | MD 22 | MA 23 | MI 24 | MN 25 | MS 26 | MO 27 | MT 28 | NE 29 | NV 30 | NH 31 | NJ 32 | NM 33 | NY 34 | NC 35 | ND 36 | OH 37 | OK 38 | OR 39 | PA 40 | RI 41 | SC 42 | SD 43 | TN 44 | TX 45 | UT 46 | VT 47 | VA 48 | WA 49 | WV 50 | WI 51 | WY 52 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/MakeLDIF/streets: -------------------------------------------------------------------------------- 1 | Adams 2 | Ash 3 | Birch 4 | Broadway 5 | Cedar 6 | Center 7 | Central 8 | Cherry 9 | Chestnut 10 | Church 11 | College 12 | Davis 13 | Dogwood 14 | East 15 | Eighth 16 | Eleventh 17 | Elm 18 | Fifteenth 19 | Fifth 20 | First 21 | Forest 22 | Fourteenth 23 | Fourth 24 | Franklin 25 | Green 26 | Hickory 27 | Highland 28 | Hill 29 | Hillcrest 30 | Jackson 31 | Jefferson 32 | Johnson 33 | Lake 34 | Lakeview 35 | Laurel 36 | Lee 37 | Lincoln 38 | Locust 39 | Madison 40 | Main 41 | Maple 42 | Meadow 43 | Mill 44 | Miller 45 | Ninth 46 | North 47 | Oak 48 | Park 49 | Pine 50 | Poplar 51 | Railroad 52 | Ridge 53 | River 54 | Second 55 | Seventh 56 | Sixth 57 | South 58 | Spring 59 | Spruce 60 | Sunset 61 | Sycamore 62 | Taylor 63 | Tenth 64 | Third 65 | Thirteenth 66 | Twelfth 67 | Valley 68 | Walnut 69 | Washington 70 | West 71 | Williams 72 | Willow 73 | Wilson 74 | Woodland 75 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/ads-truststore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/config/ads-truststore -------------------------------------------------------------------------------- /test/opends-1.0b7/config/ads-truststore.pin: -------------------------------------------------------------------------------- 1 | Thv2J09NERNHkEhjvX50XykFHs6vCYclV3XQTU9m56PYQQRB8L 2 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/archived-configs/config-20071117185003Z.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/config/archived-configs/config-20071117185003Z.gz -------------------------------------------------------------------------------- /test/opends-1.0b7/config/archived-configs/config-20071117185034Z.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/config/archived-configs/config-20071117185034Z.gz -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-disabled.template: -------------------------------------------------------------------------------- 1 | Your directory account has been disabled. 2 | 3 | For further assistance, please contact a server administrator. 4 | 5 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-enabled.template: -------------------------------------------------------------------------------- 1 | Your directory account has been re-enabled. 2 | 3 | For further assistance, please contact a server administrator. 4 | 5 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-expired.template: -------------------------------------------------------------------------------- 1 | Your directory account has expired and may no longer be used. 2 | 3 | For further assistance, please contact a server administrator. 4 | 5 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-idle-locked.template: -------------------------------------------------------------------------------- 1 | Your directory account has been locked because it has remained idle for 2 | too long. 3 | 4 | For further assistance, please contact a server administrator. 5 | 6 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-permanently-locked.template: -------------------------------------------------------------------------------- 1 | Your directory account has been locked as a result of too many failed 2 | authentication attempts. 3 | 4 | Please contact an administrator to have your password reset. 5 | 6 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-reset-locked.template: -------------------------------------------------------------------------------- 1 | Your directory account has been locked because you did not change your 2 | password in a timely manner after it was reset by an administrator. 3 | 4 | Please contact a server administrator to have the password reset again. 5 | 6 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-temporarily-locked.template: -------------------------------------------------------------------------------- 1 | Your directory account has been temporarily locked as a result of too many 2 | failed authentication attempts. It will automatically be unlocked in 3 | %%notification-property:time-until-unlock%%. 4 | 5 | For further assistance, please contact a server administrator. 6 | 7 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/account-unlocked.template: -------------------------------------------------------------------------------- 1 | Your directory account has been unlocked by a server administrator. If 2 | you have any further questions, please contact an administrator. 3 | 4 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/password-changed.template: -------------------------------------------------------------------------------- 1 | Your directory password has been successfully updated. 2 | 3 | If you did not request that your password be changed, then contact a 4 | server administrator for further assistance. 5 | 6 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/password-expired.template: -------------------------------------------------------------------------------- 1 | Your directory password has expired. Please contact a server 2 | administrator to have your password reset. 3 | 4 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/password-expiring.template: -------------------------------------------------------------------------------- 1 | Your directory password will expire in %%notification-property:time-until-expiration%%. 2 | 3 | Please change your password before %%notification-property:password-expiration-time%% 4 | so that it does not expire. 5 | 6 | For further assistance, please contact a directory administrator. 7 | 8 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/messages/password-reset.template: -------------------------------------------------------------------------------- 1 | Your directory password has been successfully reset by an administrator. 2 | If you need further assistance, please contact a server administrator. 3 | 4 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/replication.ldif: -------------------------------------------------------------------------------- 1 | # Use this file as an example of the Multi-master replication configuration. 2 | # The content of this file should be edited and 3 | # added to the config.ldif file to enable replication. 4 | # 5 | # Each synchronized base DN must be specified using entry similar to 6 | # cn=example, cn=domains, cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config. 7 | # Each server must have its own unique server ID defined in ds-cfg-server-id. 8 | # Each replication server must be enabled using the 9 | # cn=Replication Server, cn=Multimaster Synchronization, cn=Synchronization Providers, cn=config 10 | # entry. 11 | 12 | dn: cn=example,cn=domains,cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config 13 | objectClass: top 14 | objectClass: ds-cfg-replication-domain 15 | cn: example 16 | ds-cfg-base-dn: dc=example,dc=com 17 | ds-cfg-replication-server: localhost:8989 18 | ds-cfg-replication-server: localhost:8990 19 | ds-cfg-server-id: 1 20 | ds-cfg-receive-status: true 21 | 22 | dn: cn=Replication Server,cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config 23 | objectClass: top 24 | objectClass: ds-cfg-replication-server 25 | cn: Replication Server 26 | ds-cfg-replication-port: 8989 27 | ds-cfg-replication-server: localhost:8989 28 | ds-cfg-replication-server: localhost:8990 29 | ds-cfg-replication-server-id: 1 30 | 31 | -------------------------------------------------------------------------------- /test/opends-1.0b7/config/tasks.ldif: -------------------------------------------------------------------------------- 1 | # This file contains the data used by the Directory Server task scheduler 2 | # backend. Do not edit this file directly, as there is a risk that those 3 | # changes will be lost. Scheduled and recurring task definitions should only 4 | # be edited using the administration utilities provided with the Directory 5 | # Server 6 | dn: cn=tasks 7 | objectClass: top 8 | objectClass: untypedObject 9 | cn: tasks 10 | 11 | dn: cn=Scheduled Tasks,cn=tasks 12 | objectClass: top 13 | objectClass: untypedObject 14 | cn: Scheduled Tasks 15 | 16 | dn: cn=Recurring Tasks,cn=tasks 17 | objectClass: top 18 | objectClass: untypedObject 19 | cn: Recurring Tasks 20 | 21 | -------------------------------------------------------------------------------- /test/opends-1.0b7/example-plugin.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/example-plugin.zip -------------------------------------------------------------------------------- /test/opends-1.0b7/lib/launcher_administrator.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/lib/launcher_administrator.exe -------------------------------------------------------------------------------- /test/opends-1.0b7/lib/opends_service.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/lib/opends_service.exe -------------------------------------------------------------------------------- /test/opends-1.0b7/lib/set-java-home: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | OPENDS_JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home 4 | export OPENDS_JAVA_HOME 5 | -------------------------------------------------------------------------------- /test/opends-1.0b7/lib/setcp.bat: -------------------------------------------------------------------------------- 1 | 2 | rem CDDL HEADER START 3 | rem 4 | rem The contents of this file are subject to the terms of the 5 | rem Common Development and Distribution License, Version 1.0 only 6 | rem (the "License"). You may not use this file except in compliance 7 | rem with the License. 8 | rem 9 | rem You can obtain a copy of the license at 10 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE 11 | rem or https://OpenDS.dev.java.net/OpenDS.LICENSE. 12 | rem See the License for the specific language governing permissions 13 | rem and limitations under the License. 14 | rem 15 | rem When distributing Covered Code, include this CDDL HEADER in each 16 | rem file and include the License file at 17 | rem trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, 18 | rem add the following below this CDDL HEADER, with the fields enclosed 19 | rem by brackets "[]" replaced with your own identifying information: 20 | rem Portions Copyright [yyyy] [name of copyright owner] 21 | rem 22 | rem CDDL HEADER END 23 | rem 24 | rem 25 | rem Portions Copyright 2006-2007 Sun Microsystems, Inc. 26 | 27 | set CLASSPATHCOMPONENT=%1 28 | if ""%1""=="""" goto gotAllArgs 29 | shift 30 | 31 | :argCheck 32 | if ""%1""=="""" goto gotAllArgs 33 | set CLASSPATHCOMPONENT=%CLASSPATHCOMPONENT% %1 34 | shift 35 | goto argCheck 36 | 37 | :gotAllArgs 38 | set CLASSPATH=%CLASSPATHCOMPONENT%;%CLASSPATH% 39 | 40 | 41 | -------------------------------------------------------------------------------- /test/opends-1.0b7/lib/winlauncher.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/lib/winlauncher.exe -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-adminRoot.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-adminRoot.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-ads-truststore.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-ads-truststore.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-backup.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-backup.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-monitor.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-monitor.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-schema.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-schema.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-tasks.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-tasks.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/backend-userRoot.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/backend-userRoot.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/locks/server.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/locks/server.lock -------------------------------------------------------------------------------- /test/opends-1.0b7/logs/replication: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TremoloSecurity/MyVirtualDirectory/d92f39ca2d6d0b1357570815f2fc60798cde5244/test/opends-1.0b7/logs/replication -------------------------------------------------------------------------------- /test/startopenldap/data.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=domain,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=internal,dc=domain,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | dn: cn=Test User,ou=internal,dc=domain,dc=com 12 | objectClass: inetOrgPerson 13 | cn: Test User 14 | sn: User 15 | uid: testUser 16 | userPassword: secret 17 | -------------------------------------------------------------------------------- /test/test-data/ldap-overlap/onelevel-from-openldap-ou.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: cn=Test User,ou=internal,dc=local,dc=com 4 | objectClass: inetOrgPerson 5 | cn: Test User 6 | sn: User 7 | uid: testUser 8 | userPassword: secret -------------------------------------------------------------------------------- /test/test-data/ldap-overlap/onelevel-from-overlap-ou.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: ou=external,dc=domain,dc=local,dc=com 4 | objectClass: organizationalUnit 5 | ou: external -------------------------------------------------------------------------------- /test/test-data/ldap-overlap/onelevel-from-root.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: ou=groups,dc=local,dc=com 4 | objectClass: organizationalUnit 5 | ou: groups 6 | 7 | dn: ou=internal,dc=local,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | dn: dc=domain,dc=local,dc=com 12 | objectClass: domain 13 | dc: domain 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /test/test-data/ldap-overlap/subtree-from-openldap-ou.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: ou=internal,dc=local,dc=com 4 | objectClass: organizationalUnit 5 | ou: internal 6 | 7 | dn: cn=Test User,ou=internal,dc=local,dc=com 8 | objectClass: inetOrgPerson 9 | cn: Test User 10 | sn: User 11 | uid: testUser 12 | userPassword: secret -------------------------------------------------------------------------------- /test/test-data/ldap-overlap/subtree-from-overlap-ou.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | 4 | 5 | dn: dc=domain,dc=local,dc=com 6 | objectClass: domain 7 | dc: domain 8 | 9 | dn: ou=external,dc=domain,dc=local,dc=com 10 | objectClass: organizationalUnit 11 | ou: external 12 | 13 | dn: cn=Test Cust,ou=external,dc=domain,dc=local,dc=com 14 | objectClass: inetOrgPerson 15 | cn: Test Cust 16 | sn: Cust 17 | uid: testCust 18 | userPassword: secret 19 | 20 | dn: cn=Test Group,ou=external,dc=domain,dc=local,dc=com 21 | objectClass: groupOfUniqueNames 22 | cn: Test Group 23 | uniqueMember: cn=Test Cust,ou=external,dc=domain,dc=com -------------------------------------------------------------------------------- /test/test-data/ldap-overlap/subtree-root.ldif: -------------------------------------------------------------------------------- 1 | version: 1 2 | 3 | dn: dc=local,dc=com 4 | objectClass: domain 5 | dc: domain 6 | 7 | dn: ou=internal,dc=local,dc=com 8 | objectClass: organizationalUnit 9 | ou: internal 10 | 11 | 12 | dn: ou=groups,dc=local,dc=com 13 | objectClass: organizationalUnit 14 | ou: groups 15 | 16 | dn: cn=Test Group,ou=groups,dc=local,dc=com 17 | objectClass: groupOfUniqueNames 18 | cn: Test Group 19 | uniqueMember: uid=testuser1,ou=people,dc=local,dc=com 20 | uniqueMember: uid=testuser2,ou=people,dc=local,dc=com 21 | 22 | dn: cn=Test User,ou=internal,dc=local,dc=com 23 | objectClass: inetOrgPerson 24 | cn: Test User 25 | sn: User 26 | uid: testUser 27 | userPassword: secret 28 | 29 | dn: dc=domain,dc=local,dc=com 30 | objectClass: domain 31 | dc: domain 32 | 33 | dn: ou=external,dc=domain,dc=local,dc=com 34 | objectClass: organizationalUnit 35 | ou: external 36 | 37 | dn: cn=Test Cust,ou=external,dc=domain,dc=local,dc=com 38 | objectClass: inetOrgPerson 39 | cn: Test Cust 40 | sn: Cust 41 | uid: testCust 42 | userPassword: secret 43 | 44 | dn: cn=Test Group,ou=external,dc=domain,dc=local,dc=com 45 | objectClass: groupOfUniqueNames 46 | cn: Test Group 47 | uniqueMember: cn=Test Cust,ou=external,dc=domain,dc=com 48 | 49 | --------------------------------------------------------------------------------