Some errors in creating AD user with mailbox enabled

Dear adler Steven / all,
I followed all your posts and able to create AD user with mail box enabled, Now i am able to send and receive mails for this user.
But the user in AD is disabled , that is it is not with the icon of an enabled user but it has an icon of user with a cross marked in Red.
i have given the successful coding below:
attrs.put("cn","chngcode");
attrs.put("instanceType","4");
attrs.put("objectCategory","CN=Person,CN=Schema,CN=Configuration,DC=csindia,DC=com");
attrs.put("objectClass","top");
attrs.put("objectClass","person");
attrs.put("objectClass","organizationalPerson");
attrs.put("objectClass","user");
attrs.put("mailNickname","chngcode");
attrs.put("mail","[email protected]");
attrs.put("sAMAccountName","chngcode");
attrs.put("msExchHomeServerName","/o=CYGNUS_O/ou=CSINDIA/cn=Configuration/cn=Servers/cn=CSISERVER2");
attrs.put("objectCategory","CN=Person,CN=Schema,CN=Configuration,DC=csindia,DC=com");
attrs.put("userPrincipalName","[email protected]");
attrs.put("distinguishedName","CN=chngcode,CN=Users,DC=csindia,DC=com");
attrs.put("instanceType","4");
attrs.put("mDBUseDefaults","TRUE");
attrs.put("name","chngcode");
attrs.put("replicatedObjectVersion","0");
attrs.put("legacyExchangeDN","/o=CYGNUS_O/ou=CSINDIA/cn=Recipients/cn=chngcode");
attrs.put("givenName","chngcode");
attrs.put("displayName","chngcode");
// Create the context
Context result = ctx.createSubcontext(userName, attrs); Help me on further process :
-How to solve the above bottle neck , Is any thing missed for above?
- I have not set the password thru codings. what to do on this ?
-When/where to use the homeMDB attributes ( Is it necessary to use this homeMDB ? )
-How to create the mailbox with in a store ? (Presently i have created the mail box in Recipients container for this AD user)
Expecting your early enlightening on this..
Advanced thanks for your efforts.
By,
Softeek.

If you refer to the post titled "JNDI, Active Directory (Creating new users & demystifying userAccountControl)" at http://forum.java.sun.com/thread.jspa?threadID=582103&tstart=15 you wil notice that because of the stricter security in Windows Server 2003 Active Directory, user accounts created with null passwords are automagically disabled.
To enable new user accounts you must assign a password (that meets the security policy !) and then enable the account.

Similar Messages

  • Error while creating database user with first.lastname pattern

    I am trying to user the database user management connector to create oracle database user, but when i use first.lastname pattern as the database username i got an ora-01936
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],Description : ORA-01936: cannot specify owner when creating users or roles
    ERROR,07 Jul 2010 17:06:56,370,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01936: cannot specify owner when creating users or roles
    i figured out that when i use fist.lastname as database username i have to add double quotes, so i can create de user properly , but now the add role or grant task fails with ora-01741.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],================= Start Stack Trace =======================
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],oracle.iam.connectors.dbum.common.db.util.DBUtil : executeQuery
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Error occurred while trying to execute query.
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],Description : ORA-01741: illegal zero-length identifier
    ERROR,07 Jul 2010 17:18:01,096,[OIMCP.DBUM],java.sql.SQLSyntaxErrorException: ORA-01741: illegal zero-length identifier

    Did u try adding the roles via sqlplus by running a command ?
    Whats the result
    Thanks
    Suren

  • Business Management Error: You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again.

    Hello,
    Suddenly the working CRM is being stopped for some group of users.
    I drilled down to the issue and have checked that the users from Domain in which CRM is installed are having CRM access.
    But for other domain user having problem to access CRM.
    I tried to add a user from a domain which is not of CRM domain then it gives following error.
    "Business Management Error: You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again.
    <Message>LookupAccountNameW failed with error</Message> "
    The change is made - AD group have upgraded Activer Directory server to 2012 R2
    Please help as the Production CRM is not working for other domain user.

    We have Activer Directory Structure like below.
    One Root Domain says A
    and there are multiple child domain like B,C,D etc...
    B,C and D are all in same level,they are child of A domain.
    There are two way transitive trusts between A and all the child Domain.
    But there is no trust in between B and C and so on.
    Our CRM server is in B domain and B domain's user can access CRM but users of Domain C,D and so on can not access CRM.
    If this post answers your question, please click &quot;Mark As Answer&quot; on the post and &quot;Mark as Helpful&quot;

  • Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    Error when creating a user - IAM-3010183 : An error occurred while checking if a user already exists with the Common Name generated.

    in OIM 11g R2
    Message was edited by: 2b3c0737-074f-48d0-a760-e24e3ed9a37c

  • Error while creating SAPJSF user- NW 2004s installation

    Hi All,
    I am installing SAP NetWeaver  2004s ( ABAP  + Java) on Linux 64 machine.
    Operating system is CentOS 5.
    JDK - 1.6.0_15 ( JDK 1.4.2 is not availble for linux 64 bit on sun site)
    after starting installation i am getting following error at create java users
    [EXCEPTION]
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Invalid request.
            at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:454)
            at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1347)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3896)
            at com.sap.mw.jco.JCO$Client.execute(JCO.java:3332)
            at com.sap.security.tools.UserCheck.createUser(UserCheck.java:1876)
            at com.sap.security.tools.UserCheck.main(UserCheck.java:289)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ERROR      2009-09-24 13:35:25
               CJSlibModule::writeError_impl()
    CJS-30196  Invalid request.
    ERROR      2009-09-24 13:35:25
    FCO-00011  The step createJSF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_Doublestack|ind|ind|ind|ind|2|0|createJSF was executed with status ERROR .
    Please let me know if i am doing something wrong or missed out some configuration.
    Thanks in advance,
    Arati.

    Hi Markus,
    Thanks for your reply.
    While looking into trace file i found there is error in creating SAPJSF user in ABAP instance
    When i tried to log on to ABAP  instance following short dump is came and it is coming for each transaction
    An invalid request was made to the database interface
      when accessing table "DOKTL ".
      Last error logged in SAP kernel
      Component............ "NI (network interface)"
      Place................ "SAP-Server c2app1_C2S_01 on host c2app1 (wp 0)"
      Version.............. 38
      Error code........... "-16"
      Error text........... "verify own hostname 'c2app1' failed"
      Description.......... "NiIMyAddrVerify"
      System call.......... " "
      Module............... "nixxi.cpp";
      Line................. 7482
      The error reported by the operating system is:
      Error number..... " "
      Error text....... " "
    It is saying that hostname could not be verified. Is there any way to overcome of this dump
    Please guide on the same.
    Thanks,
    Arati

  • How can I create a user with rights to install packages on a publish instance?

    Hi,
    I am trying to create a user with the rights to upload and install content packages on a CQ publish instance and I do not wish to use the admin user.  Simply adding a new user to the administrators group does not seem to be enough.
    I tried adding a rep:GrantACE node through crx de/explorer but it reported the node as locked.  I was able to upload a content package that removed the rep:DenyACE jcr:read for everyone, but this is not safe it seems.
    Is there some special privilege that I need to add to my user/group that will allow them to access the /etc/packages tree or do I just need to add some permission somewhere within the tree.
    Regards,
    Chris

    With some help from David Collie, Alex Klimetschek & Jörg Hoh I have a better idea of what is going on and we've found a solution. 
    It seems that the admin account always works in these scenarios as it has special privileges in the CRX security system; admin can do anything it likes.
    Instead of creating the rep:GrantACE nodes directly, I was able to add a new ACL entry for the administrators group to /etc/packages via the Access Control Editor (http://localhost:4502/crx/explorer/ui/aceditor.jsp?ck=1373027669916&Name=acEditor&Path=%2F etc%2Fpackages&_charset_=utf-8). 
    Strangely, the administrators account already had some inherited rights on this directory that were overridden by the deny|everyone|jcr:read ACL entry on /etc/packages node.  Adding allow:administrators|jcr:read gives any member of that group access to read and write to the /etc/packages. directory.
    Now that I have setup this user we can setup a deploy step in out CI build that does not rely on using the admin account.
    Thanks
    Chris

  • Error while creating OEBS user

    I'm using OIM 9031 with OEBS User Management connector from CP 9041.
    I know that by default OEBS allows creating users with blank passwords. But when I try to provision OEBS to OIM user with empty password filed at OraApps Process Form, I'm receiving the following error:
    ERROR,03 Dec 2007 12:56:17,663,[ADAPTER.ORACLE-EBIZUM],ProvisionOraUser::validate :
    doResetPassword: The password is not long enough.
    I've tried to enable debug logging for the adapter by adding log4j.logger.Adapter.Oracle-eBizUM=DEBUG to xellerate/config/log.properties file, but I can still see only ERROR level messages at OC4J log.
    How can I create OEBS users with blank passwords?

    Hello,
    this is not really an ADS problem. It might be better if try to ask this in the WebAS forum. The problem is here with the UME.
    Best regards,
    Dezso

  • Error while creating ADS User

    Hi,
    I'm in the process of installing NW 2004's, but i got error while Creating ADS user. Below are the logs, which i'm getting--
    WARNING 2008-02-12 07:02:15
    Execution of the command "/usr/sap/ND2/DVEBMGS00/exe/jlaunch UserCheck.jlaunch com.sap.security.tools.UserCheck /tmp/install/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/install/lib:/tmp/install/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/install/sharedlib:/tmp/install/sapinst_instdir/NW04S/SYSTEM/DB6/CENTRAL/AS/install -c sysnr=00 -c ashost=gnwux04 -c client=001 -c user=DDIC -c XXXXXX -a checkCreate -u ADSUSER -p XXXXXX -message_file UserCheck.message" finished with return code 255. Output: Exception in thread "main" java.lang.NoClassDefFoundError: com/sap/engine/offline/OfflineToolStart
    ERROR 2008-02-12 07:02:15
    CJS-30197  . For more details see output of logfile:
    ERROR 2008-02-12 07:02:15
    FCO-00011  The step createADSUser with step key |NW_Onehost|ind|ind|ind|ind|0|0|SAP_Software_Features_Configuration|ind|ind|ind|ind|5|0|NW_Usage_Types_Configuration_AS|ind|ind|ind|ind|0|0|NW_CONFIG_ADS|ind|ind|ind|ind|2|0|createADSUser was executed with status ERROR .
    Please help me out this is urgent, as my installation is halted.
    THanks,
    Anand.

    Hello,
    this is not really an ADS problem. It might be better if try to ask this in the WebAS forum. The problem is here with the UME.
    Best regards,
    Dezso

  • Runtime Error when creating SUS user

    Hi All,
    I started configuring SUS demo for my client, but when i created user with role "SAP_BC_BASIS_MONITORING" and "SAP_EC_SUS_ADMIN_VENDOR",
    i am getting:
    Runtime Errors:  DBIF_RSQL_INVALID_REQUEST
        Short text:  Invalid call of database interface.
    Do i need to configure anything before creating SUS users with this roles? Please help me?
    Regards,
    Ravi
    Message was edited by:
            Ravi Varma Nadimpalli

    Hi
    Which SUS Verson are you using ? Are you using SUS on the same system, where EBP is installed ?
    You can create users and assign role to respective users in SUS for creating
    Bids in Bidding starting form SUS. But you must replicate users from SUS to EBP.
    Then only systems will identify each other while logging.
    <u>Meanwhile, Please go thrugh the following pointers and SAP OSS Notes -></u>
    Re: Clarifications on EBP-SUS and MM-SUS Scenario
    Note 893714 - SUS30: Replication of bidding users from SUS to EBP
    <u>Related Notes</u>
    1060329 - Mandatory check of form of address during user creation SUS
    895217 - SUS30: SUS not integrated with CUA currently
    880735 - UME/SUS: error with administrational user creation
    779658 - SRM40/SUS/BP: Error during change of employee
    Note 778483 - SRM-SUS: Force a user to change password on initial logon
    Note 1060329 - Mandatory check of form of address during user creation SUS
    Note 946159 - SRM-SUS 4.0: Termination when users are created
    Regards
    - Atul

  • Users with mailboxes on exchange 2010 cant proxy to OWA on exchange 2013

    We are in the process of migrating from 2010 to 2013.  Users with mailboxes on exchange 2010 can't proxy to the owa on Exchange 2013 - there is no error - just receiving a message "Still working on it"
    alex serdyukov

    Hi Alex,
    As the above suggestion mentioned, you can try to upgrade the Exchange 2013 to CU8 and check if any helps:
    Cumulative Update 8 for Exchange Server 2013
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Niko Cheng
    TechNet Community Support

  • Error while creating new user in Oracle 11i EBS

    I am getting following error while creating new user. How solve this issue?
    “Unable to load java class % specified profile option SIGNON_PASSWORD_CUSTOM. Please verify that the class exists and that it implements the java interface oracle.apps.fnd.security.PasswordValidation”.

    Following is the text from Note for Custom Password Validation logic:
    Customers who wish to use their own password validation logic may do
      so by writing their own Java classes that implement the
      oracle.apps.fnd.security.PasswordValidation Java interface.  The
      interface requires 3 methods to be implemented:
      1) public boolean validate(String user, String password)
        - This method takes a username and password, and then returns true
      or false, indicating whether the user's password is valid or invalid,
      respectively.
      2) public String getErrorStackMessageName()
        - This method returns the name of the message to display when the
      user's password is deemed invalid (i.e., the validate() method returns
      false).
      3) public String getErrorStackApplicationName()
        - This method returns the application shortname for the
      aforementioned error message.
      After writing the Java class to perform customized password
      validation, the customer must then set the value of the profile option
      SIGNON_PASSWORD_CUSTOM to be the full name of the class.  If, for
      example, the name of the Java class is
      oracle.apps.fnd.security.AppsPasswordValidation, then the value of the
      SIGNON_PASSWORD_CUSTOM profile option must be
      oracle.apps.fnd.security.AppsPasswordValidation.  Note that AOL/J
      will attempt to load this class dynamically.  Hence it is necessary to
      make the class accessible by AOL/J.  This means that in Forms, the
      class must first be loaded into the database using the loadjava
      command.
    You will need to apply the following patches for 11.5.1:
       1344802
       1363919
       1472974
       1351004
       1377615
    You will need to apply the following patches for 11.5.2:
       1377615

  • How to create a user with read only access for ESB / BPEL Console

    I need to create a user with read only access to ESB Console & BPEL Console. I have created a user
    (esbreadonly) and assigned ascontrol_monitor role but user is still able to
    delete services from ESB systems (such as DefaultSystem). Is there any way to
    create a user that has strickly read only access to ESB Console & BPEL
    Console
    Thanks
    Dinesh Patel

    Check out this post.. I'm in the process of testing.
    http://chintanblog.blogspot.com/2007/12/i-saw-numerous-people-asking-about-bpel_290.html

  • WWC-00000 error while creating the user

    Any one can help me on the WWC-00000 error while creating the
    user from the Admin tab of Oralce Portal. In fact I can't use
    the Login server administration. same problem exists.
    I granted DBA privileges to the PORTAL30, just to verify and NO
    use.
    I am using the latest version of Portal S/W on iAS9i 1.0.2.2.1
    - Suneel

    Hi Suresh,
    This error trace is not sufficient to understand the issue and at what step you got this error.
    First tell me, did you got the User Admin Tab in your portal access. if yes.. did you got the next step...which is Identity Management. Please elaborate when did you got this error (i mean at what step) after that only we can give it a try.
    Thanks,
    Vinod

  • Syntax error when creating a user-defined table type in SQL Server 2012

    Why am I getting a syntax error when creating a user-defined table type in SQL Server 2014?
    CREATE TYPE ReportsTableType AS TABLE 
    ( reportId INT
    , questionId INT
    , questionOrder INT );
    Results:
    Msg 156, Level 15, State 1, Line 1
    Incorrect syntax near the keyword 'AS'.

    Hope these posts could help, 
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/37a45a9a-ed8c-4655-be93-f6e6d5ef44be/getting-incorrect-syntax-while-creating-a-table-type-in-sql-server-2008-r2?forum=transactsql
    Regards, Dineshkumar,
    Please Mark as Answer if my post answers your question and
    Vote as Helpful if it helps you

  • How does one create a user with a null password in iManager?

    I'm setting up LDAP authentication and need to create a user with a null password.
    If you do not put a password in the password field when creating the user in iManager, a message pops up stating, No password has been defined for this user.
    You are given a choice of:
    Allow user to log in without a password
    - or -
    Do not allow user to log in without a password
    If you choose Do not allow user to log in without a password, there are no complaints.
    When I look at the properties of the newly-created user, however, I note that the "Require a password" checkbox is not filled in.
    That would imply that the answer to the question posed during the user's creation is moot; either answer produces a user that can log in without a password.
    I can then assign the Common Proxy password policy to the user, which does not dictate a minimum length for a password.
    From that point forward, any attempts to leave the password field blank in iManager results in another pop-up message stating:
    "Failure to enter a password will allow the user to login without a password."
    That implies that no password exists for the user, as opposed to a null password.
    Is that correct or are the public and private key for the user object still generated?

    If you do not specify a password, which is what happens when you select
    the 'Do not allow user to log in without a password' option initially, the
    user cannot login. A user with no password (meaning no password exists at
    all, similar to a 'null' in programming) cannot login with a password
    because, of course, they do not have a password.
    If you specify a zero-length string as the password you are effectively
    (and usually) creating a proxy user, for example to be used for the LDAP
    service in eDirectory, and this user can login typing in a password (since
    typing would imply one or more characters) but nevertheless there IS a
    password, but it happens that it is zero-length, so typing nothing for the
    password IS submitting the correct password. This is the option carried
    out by eDirectory when you choose, 'Allow user to log in without a
    password' (the prompt is a little misleading with its "without a password"
    phrase).
    Once you assign a UP policy you are telling the system that there SHOULD
    be a password on the user (and with common proxy there definitely should
    be, probably a strong one at that) so the only option now is whether or
    not the password is zero-length or longer. Obviously longer is the
    correct option for security reasons.
    Good luck.
    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

Maybe you are looking for