Active LDAP with Anonymous login

hello all,
We are using LDP as a method to authenticate users.
How can we set up the Active LDAP with Anonymous login .
Thanks in advance.

It's not clear what you want to do.
Do you want to set up LDAP for authentication?
Or
Do you want to set up a custom authentication scheme that tries to authenticate via LDAP and if unsuccessful, logs the user in as an anonymous user?

Similar Messages

  • Secury LDAP with User Login

    Hi There,
    We have a LDAP directory with +1000 names addresses bla bla bla.
    But i just find out that it isnt protected with a password. Is it possible to protect the LDAP directory with the users from the open directory?
    gr maarten

    Hi Mark,
    Give this a try:
    $start = (Get-Date -Hour 00 -Minute 00 -Second 00).AddDays(-1)
    $end = (Get-Date -Hour 23 -Minute 59 -Second 59).AddDays(-1)
    $messages = Get-MessageTrackingLog -Server MyServer -EventID SEND -start $start -end $end
    $out = @()
    foreach ($msg in $messages) {
    $props = @{
    UPN = (Get-User $msg.Sender).UserPrincipalName
    TimeStamp = $msg.Timestamp
    EventId = $msg.EventId
    MessageId = $msg.MessageId
    Recipients = ($msg | Select -ExpandProperty Recipients) -join ','
    TotalBytes = $msg.TotalBytes
    MessageSubject = $msg.MessageSubject
    Sender = $msg.Sender
    $out += New-Object PsObject -Property $props
    $out | Sort MessageId -Unique | Export-Csv .\msgTracking.csv -NoTypeInformation
    Don't retire TechNet! -
    (Don't give up yet - 12,700+ strong and growing)

  • User with an active Adobe ID on a paid subscription, tries to open InDesign CC and is prompted with a Login screen for the "trial version".

    The user had the program open earlier today. But now, she can't open the program and gets prompted with the login screen. I don't want her to login as it mentions the "trial version" of the software. We have a paid subscription.
    The application opens successfully on other work stations.
    I am running the Adobe CC Installer update on her machine now.
    Why did her login suddenly become deactivated?

    Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html
    OR
    Asked to sign in after paying may help
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    or
    http://helpx.adobe.com/creative-cloud/kb/license-this-software.html
    Membership and Payments http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting- creative-cloud.html

  • LDAP PropertySet with Anonymous Authentication

    Please,
    I would like to know how can I set up ldap property set for WLP 4.0 using MS Exchange
    5.5 Ldap Server with anonymous bind. If I put no values at Principal and Password
    Principal in LdapPropertyManager EJB, I got several errors as NullPointerExceptions.
    There is no admin and the customer does not want using exchange passwords at weblogic
    console.
    Thanks a lot
    Marco Righetti

    Marco,
    Looks like you have a key with no value in the EJB context, did you try
    removing the key as well?
    Sincerely,
    Daniel Selman
    "Marco Righetti" <[email protected]> wrote in message
    news:[email protected]...
    >
    Thanks for your reply. This is the stacktrace...
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nestedexception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NullPointerException]]
    atweblogic.ejb20.deployer.EnvironmentBuilder.getValue(EnvironmentBuilder.java:
    122)
    atweblogic.ejb20.deployer.EnvironmentBuilder.addEnvironmentEntries(Environment
    Builder.java:144)
    atweblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:200)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    >
    ####<May 16, 2002 4:29:17 PM BRT> <Error> <Management> <dctm><portalServer> <ExecuteThread:
    '1' for queue: '__weblogic_admin_html_queue'> <system> <> <140002><InvocationTargetException
    setting attribute Deployed on MBeanavitekDomainOracle:Location=portalServer,Name=avitek,Type=ApplicationConfig
    to value true. Method: public voidweblogic.management.mbeans.custom.Application.setDeployed(boolean)
    throwsweblogic.management.DeploymentException,weblogic.management.UndeploymentExce
    ption>
    >
    >
    >
    Unable to deploy EJB: LdapPropertyManager from ldapprofile.jar:
    java.lang.reflect.InvocationTargetException:java.lang.NullPointerException
    at java.lang.String.<init>(String.java:193)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    atweblogic.ejb20.deployer.EnvironmentBuilder.getValue(EnvironmentBuilder.java:
    119)
    atweblogic.ejb20.deployer.EnvironmentBuilder.addEnvironmentEntries(Environment
    Builder.java:144)
    atweblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:200)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    --------------- nested within: ------------------
    weblogic.utils.AssertionError: ***** ASSERTION FAILED ***** - with nestedexception:
    [java.lang.reflect.InvocationTargetException - with target exception:
    [java.lang.NullPointerException]]
    atweblogic.ejb20.deployer.EnvironmentBuilder.getValue(EnvironmentBuilder.java:
    122)
    atweblogic.ejb20.deployer.EnvironmentBuilder.addEnvironmentEntries(Environment
    Builder.java:144)
    atweblogic.ejb20.deployer.Deployer.setupEnvironmentContext(Deployer.java:200)
    at weblogic.ejb20.deployer.Deployer.deployDescriptor(Deployer.java:1228)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:947)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:1029)
    at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
    at weblogic.j2ee.Application.deploy(Application.java:247)
    at weblogic.j2ee.J2EEService.deployApplication(J2EEService.java:185)
    atweblogic.management.mbeans.custom.Application.setLocalDeployed(Application.j
    ava:362)
    atweblogic.management.mbeans.custom.Application.setDeployed(Application.java:2
    96)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.internal.DynamicMBeanImpl.invokeSetter(DynamicMBeanImpl.
    java:1388)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:881)
    atweblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.
    java:847)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:295)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(Confi
    gurationMBeanImpl.java:392)
    atweblogic.management.internal.ConfigurationMBeanImpl.setAttribute(Configurati
    onMBeanImpl.java:298)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:135
    6)
    atcom.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:133
    1)
    atweblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
    at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
    at $Proxy19.setDeployed(Unknown Source)
    at java.lang.reflect.Method.invoke(Native Method)
    atweblogic.management.console.info.MBeanAttribute.doSet(MBeanAttribute.java:84
    atweblogic.management.console.info.CompositeAttribute.doSet(CompositeAttribute
    .java:100)
    atweblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMB
    eanAction.java:135)
    atweblogic.management.console.actions.internal.ActionServlet.doAction(ActionSe
    rvlet.java:171)
    atweblogic.management.console.actions.internal.ActionServlet.doPost(ActionServ
    let.java:85)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :265)
    atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :200)
    atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletCo
    ntext.java:2495)
    atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java
    :2204)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
    Regards,
    Marco

  • Rejecting anonymous logins

    hello.. JNDI gurus.. how can u determine a anonymous login from a non-anonymous login? since an anonymous login seems to be valid in active directory authentication.
    and also in simple type logins why is it valid during authentication to the authenticate a not- created account and not supplying any password in the password during authentication. this is also with created accounts and not supplied w/ any password during login..
    Thanks.. and I really need ur help.. =)

    Welcome to the world of LDAP !
    Some directory servers can be configured to refuse anonymous binds, others do not.
    In addition, it is normally assumed that an anonymous bind can be used to access teh RootDSE, so that the directory servers capablities, namespaces etc. can be determinied.

  • Change (or add) a password to Active Directory with Java and JNDI

    I've create a new account in LDAP with attributs, It's ok. But a can't initialize the password, i've tryed some samples without result.
    Maybe it's a SSL problem (i don't know why, i read it somewhere).
    my code :
    import java.util.*;
    import java.io.*;
    import java.net.*;
    import javax.naming.Context;
    import javax.naming.NameAlreadyBoundException;
    import javax.naming.NamingException;
    import javax.naming.directory.DirContext;
    import javax.naming.directory.InitialDirContext;
    import javax.naming.directory.BasicAttributes;
    import javax.naming.directory.BasicAttribute;
    import javax.naming.directory.ModificationItem;
    public class addUser {
         private static final String UNICODE = "Unicode";
         private static final String UNICODE_PASSWORD = "unicodePwd";
         public addUser() {}
         private Hashtable env;
         private DirContext ctx;
         private void _initialize()
         String jndiURL = "ldap://DOMAINSRV:389/";
         String initialContextFactory = "com.sun.jndi.ldap.LdapCtxFactory";
         String authenticationMode = "simple";
         String contextReferral = "ignore";
         String principal = "[email protected]";
         String credentials = "oce";
         env = new Hashtable();
         env.put(Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
         env.put(Context.PROVIDER_URL, jndiURL);
         env.put(Context.SECURITY_AUTHENTICATION, authenticationMode);
         env.put(Context.SECURITY_PRINCIPAL, principal);
         env.put(Context.SECURITY_CREDENTIALS, credentials);
         env.put(Context.REFERRAL, contextReferral);
         public boolean createUser()
         try
              ctx = new InitialDirContext(env);
              ctx.destroySubcontext("cn=FBXX,cn=users,DC=gedeon,DC=fr");
              BasicAttributes attrs = new BasicAttributes();
              BasicAttribute ocs = new BasicAttribute("objectclass");
              ocs.add("user");
              attrs.put(ocs);
              BasicAttribute sa = new BasicAttribute("sAMAccountName", "FBXX");
              attrs.put(sa);
              BasicAttribute na = new BasicAttribute("name", "FRANCOIS BERTOUX");
              attrs.put(na);
              BasicAttribute sn = new BasicAttribute("sn", "BERT");
              attrs.put(sn);
              BasicAttribute up = new BasicAttribute("userPrincipalName", "[email protected]");
              attrs.put(up);
              BasicAttribute ua = new BasicAttribute("userAccountControl", "512");
              attrs.put(ua);
              BasicAttribute dn = new BasicAttribute("displayName", "FRA BERT");
              attrs.put(dn);
              BasicAttribute gn = new BasicAttribute("givenName", "FRA");
              attrs.put(gn);
              BasicAttribute des = new BasicAttribute("description", "CECI EST MON TEST");
              attrs.put(des);
              BasicAttribute cp = new BasicAttribute("codePage", "0");
              attrs.put(cp);
              BasicAttribute cc = new BasicAttribute("countryCode", "0");
              attrs.put(cc);
              BasicAttribute it = new BasicAttribute("instanceType", "4");
              attrs.put(it);
              ctx.createSubcontext("cn=FBXX,cn=users,DC=gedeon,DC=fr", attrs);
              changePassword ("cn=FBXX,cn=users,DC=gedeon,DC=fr", "TOTO" , "FBX");
              ctx.close();
         catch (NameAlreadyBoundException nex)
              System.out.println("User ID is already in use, please select a different user ID ...");
         catch (Exception ex)
              System.out.println("Failed to create user account... Please verify the user information...");
              ex.printStackTrace();
         return true;
    public final void changePassword(
    String argRDN,
    String argOldPassword,
    String argNewPassword)
    throws NamingException
         ModificationItem modificationItem[] = new ModificationItem[2];
         try
              modificationItem[0] = new ModificationItem(DirContext.REMOVE_ATTRIBUTE,new BasicAttribute("unicodePwd",(byte[])this.encodePassword(argOldPassword)));
              modificationItem[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE,new BasicAttribute("unicodePwd",(byte[])this.encodePassword(argNewPassword)));
         catch (UnsupportedEncodingException e1)
              System.out.println("changePassword(String argOldPassword, String argNewPassword)" +
              "Passwordchange failed: " + e1.toString());
              throw new RuntimeException(e1.toString());
         try
              ctx.modifyAttributes(argRDN, modificationItem);
         catch (NamingException e1)
              System.out.println(
              "changePassword(String argOldPassword, String argNewPassword)" +
              "Passwordchange failed : " + e1.toString());
              throw e1;
    private byte[] encodePassword(String pass) throws UnsupportedEncodingException
         final String ATT_ENCODING = "Unicode";
         // Agree with MS's ATTRIBUTE_CONSTRAINT
         String pwd = "\"" + pass +"\"";
         byte bytes[] = pwd.getBytes(ATTENCODING);
         // strip unicode marker
         byte bytes[] = new byte [_bytes.length - 2];
         System.arraycopy(_bytes, 2, bytes, 0,_bytes.length - 2);
         return bytes;
         public static void main(String[] args)
              addUser testUser = new addUser();
              testUser._initialize();
              testUser.createUser();
    And the result is :
    changePassword(String argOldPassword, String argNewPassword)Passwordchange failed : javax.naming.OperationNotSupportedException: [LDAP: erro
    r code 53 - 00002077: SvcErr: DSID-03190ADF, problem 5003 (WILL_NOT_PERFORM), data 0
    ]; remaining name 'cn=FBXX,cn=users,DC=gedeon,DC=fr'
    Failed to create user account... Please verify the user information...
    javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 00002077: SvcErr: DSID-03190ADF, problem 5003 (WILL_NOT_PERFORM), data 0
    ]; remaining name 'cn=FBXX,cn=users,DC=gedeon,DC=fr'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2804)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2677)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2483)
    at com.sun.jndi.ldap.LdapCtx.c_modifyAttributes(LdapCtx.java:1285)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_modifyAttributes(ComponentDirContext.java:253)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:170)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.modifyAttributes(PartialCompositeDirContext.java:159)
    at javax.naming.directory.InitialDirContext.modifyAttributes(InitialDirContext.java:144)
    at addUser.changePassword(addUser.java:129)
    at addUser.createUser(addUser.java:92)
    at addUser.main(addUser.java:167)
    And with "userPassword" no error but no change.
    Please, help.
    Thanks

    Hello!
    I have a new variant of the set password problem, and as i did not get any longer with a big running application i wrote a small standalone program to connect to an Active Directory server, and, hm, it works! I can login with a account which has administrator priveledges, i can set passwords, works fine, unless, and now it gets a little bit curious, unless i change the VM.
    Everything works fine with a jdk 1.5.0_07, but if i switch over to the fine new 1.6.0_16, the login works still but the change of a password leads to a not so fine javax.naming.OperationNotSupportedException: [LDAP: error code 53 - 0000001F: SvcErr: DSID-031A0FC0, problem 5003 (WILL_NOT_PERFORM), data 0.
    As i use the same cacerts file, i do not really understand what is failing here, anyone who has an idea?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I use LDAP with iMQ 2.0?

    I am looking for an example to see how to use LDAP with iMQ 2.0.
    I was able to set up the config settings to access a local LDAP,
    but iMQ authentication still rejects valid logins.
    Let me know if I can find more info someplace.

    You can also find an example I put togther in the Sun One knowledge base.
    If you go here:
    http://knowledgebase.iplanet.com/NASApp/ikb/index.jsp
    Search for article 7772
    Alternatively here is the direct link
    http://knowledgebase.iplanet.com/ikb/kb/articles/7772.html

  • File Adapter - anonymous login (or )User name ,password login - Efficient?

    Hi Folks,
    In File Adapter processing , anonymous login (or) proper user name password based login is recommended ?
    Because we have faced many issue while using username based login in File adapter  .
    Which one is best ?
    Regards.,
    Shiva

    Hi Shiva ,
    We will go one by one :
    You can go for the Anonymous login  but the problem is the any body can access the FTP server and it is not the secure one,that is why business generally don't allow the Anonymous login.
    Coming to Proper user name password login ,I would advice you to use this one as the connection is more secure in this case.But this also comes with a problem that the username password generally expires after some time as per security policy and you have to change the username password for the FTP server as well as in File adapter which you are using.But this problem can be solved by going for a permanent username and password.
    I would recommend you to go for Proper user name and password.
    Regards
    Ravi Anand
    Edited by: Ravi Anand@85 on Mar 12, 2010 7:56 AM

  • Anonymous login doesn't show user login channel

    Recently i am doing some R&D work on portal server. Whenever the user logs in to portal server, it will bypass the authentication menus and login as anonymous user because i have set in the admin console to disable all the authentication methods except anonymous login. In order for the user to login again using membership login inside the anonymous login, at the advanced option under "Non Interactive Mode", i added "membership" as one of the variable. Now the problem comes when i added in a generic provider into my channel.I can't see the user login channel anymore whenever i log into the anonymous page. I have uncheck "the persistent cookies" at the advanced option in admin console but the problem still persist.Even if i never log in using the login channel at the anonymous user page, it will display "welcome new user" and bypass the page with "login channel". I hope you guys understand my question. :). Anyone out there knows what's going wrong here?

    Make sure the iwtLoginProvider is present in the selected channel list for the anonymous user.
    Go to the anonymous user profile /Manage_Domain/Role/Users and then anonymous user profile and check to see if you have the iwtLoginProvider added in your list of available and selected channels, if it is not present you have to add it.
    Below the available channel list box
    type iwtLoginProvider in the Channel Name text box. For the Class Name text box, type: com.iplanet.portalserver.providers.login.LoginProvider
    Click the add button
    Now move the channel to selected channel list and then click the submit button in the bottom of the page.

  • REAL problems with iMessage activation same with Face Time

    I'm having real problems with IMessage activation same with FaceTime, the phone shows the activation is being made but it does not activate!
    Apple ID and password is OK, it's working with other applications
    Any ideas guys?!

    My daughters had the same problem with both of their iPod Touches.  One logged back into iMessage and FaceTime, the other consistently would not login with the same error, "An error occurred during activation.  Try again." 
    Check your date and time.  Its likely incorrect.  Once the date is corrected.  Restart the device. 
    For what ever reason, some devices lose track of the date.  In my case, apparently, my daughters change the date to affect a particular game by advancing the date.  Little cheaters. (LOL)
    Hope this helps!

  • Integration of MS Active directory with SAP Identity management

    Hello
    I am implementing SAP identity Management  7.1with external tools MS active Directory with Single sign on using SAP IDM . Is there any documentation as to how do I connect SAP IDM with MS AD with the roles and their user provisioning process .
    Also does anyone have a architectural work flow template  on this process .

    Hi
    I guess, using VDS you can achive this. ref the LDAP connection part.
    https://websmp203.sap-ag.de/~sapidb/011000358700001449652008E
    https://www.sdn.sap.com/irj/sdn/nw-identitymanagement
    Regards
    Shridhar Gowda

  • Tnftpd anonymous login

    Hi,
    It appears the tnftpd server as supplied with Tiger Home version has anonymous logins disabled by default, as I cannot do an anon login.
    Reading through the ftpd and ftpd.conf man pages seems to imply anonymous login is enabled by default and so therefore there is no explanation as to how to enable anon logins via any config file/startup option.
    Does anyone know how to enable tnftpd to allow anon logins please?
    TIA.
    PowerMac Gigabit Ethernet G4   Mac OS X (10.4.8)  

    Hi,
    this is a guet User ID
    the anonymous login will use to have User ID as "anonymous" and enter the password as anything (any password will work).
    this will always have guest permissions and will not be able to temper any of the data without permission.
    the administrator can assign the required permissions and roles to this user ID.
    Thanks
    Swarup

  • Anonymous login failed [solved]

    pacman -Syu gives...
    error: anonymous login failed
    Control socket read failed: Success
    I tried commenting out the nethat line in /etc/pacman.d/* and rebooting but still get the same error.
    Last edited by tony5429 (2007-06-09 15:07:14)

    Snowman wrote:
    Agent69 wrote:So this is a server issue?
    yes.
    iam having the same problem with the extra server and my pacman.conf file uses this line /etc/pacman.d/extra how can that be wrong ? please help me ..

  • Where to modify anonymous login channel?

    Hi,
    Q1. I know we can modify the anonymous login channel as I manage to do it for all the others but for the login, I can;t seem to find the Login folder as mentioned in the docs. i am using portal 6.2 (JES 2004Q2).
    Also the doc says not to modify LoginProvider so how to I modify the login channel when I go to http://<machine name><domainname>/portal/dt
    Q2. Next the header.jsp for anonymous login can be changed in the /etc/opt/SUNWps/desktop/anonymous/JSPTabContainer/header.jsp however the search component is "included" as a code "searchbox.jsp". Where is this searchbox.jsp? I tried modifying all the searchbox.jsp in sampleportal directory, default directory and even my own directory created by "cp --rp" from sampleportal but still cannot see the changes reflected. Any idea?
    Please help.

    Adam,
    Would you consider the SAP classes for J2SE and J2EE a good place to begin learning how to work with the CRM2007 package?  We're likely to be upgrading late this year/early next and I need to get up to speed on how to do the ISA UI work.
    To this point I've just used Dreamweaver on the .jsp's and it's worked well enough if a bit cumbersome.
    I've been trying to teach myself the NWDS, but need to dedicate more time to it than I've had the past couple months.

  • Regarding Anonymous Login

    Hello,
       I have a installation of only the portal (no WAS or J2EE engine other than that for the portal). I need to set up the portal for anonymous login. The Secuirty guide talks of making changes to the sapnum.properties file, unfortunately I cannot locate the file in the whole installation directly (ie under the 'usr' directory and its sub-directories).
       I am using EP 6.0 on MS SQL.
       Could you please help me set up the portal for anonymous access?
    Thank you.
    Regards,
    Vivek

    Hello Daniel,
       Thank you very much. That path showed me the file but unfortunately the portal gives a runtime error when I try to save the changes. Fortunately, there was already a login id 'Guest' which I could use. Could you tell me the exact location of the physical file?
       I have one more problem. I tried to edit the index.html file in the path .../cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root .
       The file had the line
    <body onload="location.replace('portal' + document.location.search)">
    which I replaced to my new portal launcher page
    <body onload=location.replace('servlet/prt/portal/prtroot/pcd!3aportalcontent!2fSRM_Team_page!2fiViews!2fanonPortalLauncher' + document.location.search)">
    after restart of the portal server
    but when I tried with the url
    http://<server>:<port>/irj/index.html
    it shows me the logon screen and when I tried the url
    http://<server>:<port>/irj/index.html?j_user=Guest
    it shows me a portal runtime exception that the portal iView is not found.
    What is the mistake I am making?
    Thank you.

Maybe you are looking for