connect(‘weblogic’,’weblogic’,’t3://localhost:7001′)
edit()
startEdit(-1,-1,’false’)
cmo.getSecurityConfiguration().getDefaultRealm().createAuthenticationProvider(‘ADAuthenticator’, ‘weblogic.security.providers.authentication.ActiveDirectoryAuthenticator’)
cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider(‘ADAuthenticator’).setControlFlag(‘OPTIONAL’)
cd(‘/SecurityConfiguration’)
cd(‘base_domain’)
cd(‘Realms/myrealm/AuthenticationProviders’)
cd(‘ADAuthenticator’)
cmo.setGroupBaseDN(‘CN=Users,DC=faisal,DC=bea,DC=com’)
cmo.setUserBaseDN(‘CN=Users,DC=faisal,DC=bea,DC=com’)
cmo.setAllGroupsFilter(‘(objectclass=group)’)
cmo.setPrincipal(‘CN=Administrator,CN=Users,DC=faisal,DC=bea,DC=com’)
cmo.setCredential(‘Passw0rd’)
cmo.setPort(389)
cmo.setHost(‘localhost’)
save()
activate()
One comment
Comments are closed.
Hi FaisalIs there a way to turn extra logging on weblogic 8.1 to see what could have caused a user to not log into an application running on weblogic and using an external active directory to authenticate the user.I am having intermittent issues were random users are not able to log into the app while others can?Any ideas ?thanksgautam gautam.majumdar@hsntech.com