CFLDAP Create User with Exchange Mailbox

I'm trying to create Active Directory users via the cfldap
command, and that part seems to work ok. I'm having 2 problems with
my script though. First, here is my code snippet for the cfldap add
query:
<cfldap action="add"
dn="CN=#myCN#,OU=StudentPopulation,OU=People,DC=server,DC=com"
attributes="objectClass=top,person,organizationalPerson,user,inetOrgPerson;cn=#myCN#;
sn=#query.LAST_NAME#;givenName=#query.FIRST_NAME#;sAMAccountName=#myAN#;mail=#myAN#@server .com;displayName=#myCN#;description=#query.ID_NUMBER#;wWWHomePage=http://server.com/#myAN# ;initials=#query.MIDDLE_INITIAL#;userPrincipalName=[email protected];mailNickname=#myAN#;n ame=#myCN#"
delimiter=";"
separator=","
server="some.server.com"
port="389"
username="adminUser"
password="adminPass">
My first issue is that i have to also generate a dsmod
command that i put into a batch file and execute on the server. It
looks like:
dsmod user
"CN=#myCN#,OU=StudentPopulation,OU=People,DC=server,DC=com" -pwd
SOME@#myUID# -mustchpwd yes -disabled no
So is there anyway i can encorperate that dsmod into my
origional query?
Secondly, I want to create an exchange mailbox with my AD
account. Using an LDIF statement would require a line like:
homeMDB:
CN=SERVER-Employees,CN=SERVER,CN=InformationStore,CN=XMAIL,CN=Servers,CN=First
Administrative Group,CN=Administrative Groups,CN=Our Company
Name,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=server,DC=com
I tried changing homeMDB variable to an attribute for my
cfldap statement, but it threw a "you can't do this" error.
Anyone have any ideas on how i can get this to work?

I don't know if you can or not, but you can write it out to a
text file and then use cfexecute to run the text file (.bat). I
hope that this helps. Thanks.
Chris

Similar Messages

  • Problem in creating users with password restrictions

    I have enabled the following option in the Authentication>Enterprise tab of CMC.
    Must contain at least N Characters and specified N as 7
    Enforce mixed-case passwords
    However I am able to create user with password as abcd.
    Please suggest.
    Thanks in Advance

    I might be missing something but the rule applies to users changing their pw not administrators creating accounts. If the administrator sets this rule it would be thought/assumed that they would enforce their own rule when creating accounts. The users however should not be able to select 4 character passwords.
    I'll run some tests and see if I find out anything different.
    Tested this on XIR2 SP4 and XI 3.0 The rules apply to the user not the administrator creating the account.
    So create an account while the 7 character pw is enabled. By default the user logs in with the pw (any amount of characters) and is prompted to change their pw. They cannot choose anything less than 7 characters. So unless an administrator creates an account with a password less than 7 characters AND deselects the option to force a pw change. All new users will be forced to select a 7 character password.
    This is by design. If it forced the administrator to create accounts without a 7 character pw they could simply deselect the options(as administrators) so there is no security in forcing this.
    Regards,
    Tim
    Edited by: Tim Ziemba on Aug 13, 2008 5:28 PM
    Edited by: Tim Ziemba on Aug 13, 2008 5:33 PM

  • Create user with select privilege only one schema

    can someone tell me how i can create user with select priviliges only one schema.
    i don't want the user to have any select privileges with other schema.
    can someone advise me.
    Thansk

    In general, you would do something like
    CREATE ROLE abc_read_only;
    FOR x IN (SELECT * FROM dba_tables WHERE owner='ABC')
    LOOP
      EXECUTE IMMEDIATE 'GRANT SELECT ON abc.' || x.table_name || ' TO abc_read_only';
    END LOOP;
    CREATE USER your_user ...;
    GRANT abc_read_only TO your_userYou create a role, grant the role SELECT access to all the tables in the ABC schema (you can extend this to grant access to views, functions, etc depending on the requirements), and then grant that role to your user.
    Justin

  • Creating user with extension mobility on prime provisioning 10.5

    Hi All,
    Does anyone know any document or have any expirenece on creating user with extension mobility on prime provisioning 10.5?
    I'm facing challenges on it, appreciate if you have any document or experience to share with me.
    Thanks,
    Cherry

    What sort of issues are you facing?
    I'm also having problems, but I think it is system related.
    CUCM is LDAP synced.
    When PCP tries to provision Extension Mobility Access, it actually seems to be trying to update the user on CUCM (via AXL) (this fails as it is an LDAP user and the values come from LDAP and cannot be updated)
    I've got a tac case open.
    Bug details are currently hidden - CSCuo11522 - but this one is extension mobility provisioning issue
    There was also mention of another bug related to failures to provision users with directory URI's in their LDAP record. I didn't catch a bug ID for this one though.
    Cheers,
    Tim

  • Can't create user with Delegated Administrator Console! Thank you!

    I have installed JES2005Q4 (include Deirectory Server&#12289;Access Manager&#12289;Web Server&#12289;Messaging Server&#12289;Calendar Server&#12289;Instant Messaging&#12289;Communications Express and Delegated Administrator) ,
    i can create domain and user with "commadmin" command, but can't create user with Delegated Administrator console.
    When i checked the logs of the Web Server, found some errors:
    [04/Feb/2006:11:55:25] failure (12015): for host 192.168.182.130 trying to POST /da/wizard/WizardWindow, service-j2ee reports: ApplicationDispatcher[da] WEB2649: Servlet.service() for servlet jsp threw exception
    javax.servlet.ServletException
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:536)
         at jsps.com_sun_web_ui._jsp._wizard._WizardWindow_jsp._jspService(_WizardWindow_jsp.java:559)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:471)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:382)
         at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:340)
         at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         at com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         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:585)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    javax.servlet.jsp.JspException
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getWizardPageHTML(CCWizardTag.java:1577)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendPageletBodyContentHTML(CCWizardTag.java:668)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendWizardBodyHTML(CCW
    [04/Feb/2006:11:55:25] failure (12015): for host 192.168.182.130 trying to POST /da/wizard/WizardWindow, service-j2ee reports: WEB2798: [da] ServletContext.log(): [ERROR] Uncaught application exception
    com.iplanet.jato.NavigationException: Exception encountered during forward
    Root cause = [javax.servlet.jsp.JspException]
         at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:380)
         at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         at com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         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:585)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    Root cause:
    javax.servlet.jsp.JspException
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getWizardPageHTML(CCWizardTag.java:1577)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendPageletBodyContentHTML(CCWizardTag.java:668)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.appendWizardBodyHTML(CCWizardTag.java:658)
         at com.sun.web.ui.taglib.wizard.CCWizardTag.getHTMLStringInternal(CCWizardTag.java:469)
         at com.sun.web.ui.taglib.common.CCTagBase.doEndTag(CCTagBase.java:114)
         at jsps.com_sun_web_ui._jsp._wizard._WizardWindow_jsp._jspService(_WizardWindow_jsp.java:260)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at com.iplanet.ias.web.jsp.JspServlet$JspServletWrapper.service(JspServlet.java:687)
         at com.iplanet.ias.web.jsp.JspServlet.serviceJspFile(JspServlet.java:459)
         at com.iplanet.ias.web.jsp.JspServlet.service(JspServlet.java:375)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:772)
         at org.apache.catalina.co
    [04/Feb/2006:11:55:26] failure (12015): for host 192.168.182.130 trying to POST /da/wizard/WizardWindow, service-j2ee reports: StandardWrapperValve[WizardWinServlet]: WEB2792: Servlet.service() for servlet WizardWinServlet threw exception
    javax.servlet.ServletException: Uncaught exception
         at com.iplanet.jato.ApplicationServletBase.onUncaughtException(ApplicationServletBase.java:1415)
         at com.sun.comm.da.WizardWinServlet.onUncaughtException(WizardWinServlet.java:98)
         at com.iplanet.jato.ApplicationServletBase.fireUncaughtException(ApplicationServletBase.java:1164)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:639)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:280)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
         at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
         at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
    ----- Root Cause -----
    com.iplanet.jato.NavigationException: Exception encountered during forward
    Root cause = [javax.servlet.jsp.JspException]
         at com.iplanet.jato.view.ViewBeanBase.forward(ViewBeanBase.java:380)
         at com.iplanet.jato.view.ViewBeanBase.forwardTo(ViewBeanBase.java:261)
         at com.sun.web.ui.view.wizard.CCWizard.handleNextButtonRequest(CCWizard.java:730)
         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:585)
         at com.iplanet.jato.view.command.DefaultRequestHandlingCommand.execute(DefaultRequestHandlingCommand.java:183)
         at com.iplanet.jato.view.RequestHandlingViewBase.handleRequest(RequestHandlingViewBase.java:308)
         at com.iplanet.jato.view.ViewBeanBase.dispatchInvocation(ViewBeanBase.java:802)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:740)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandlerInternal(ViewBeanBase.java:760)
         at com.iplanet.jato.view.ViewBeanBase.invokeRequestHandler(ViewBeanBase.java:571)
         at com.iplanet.jato.ApplicationServletBase.dispatchRequest(ApplicationServletBase.java:957)
         at com.iplanet.jato.ApplicationServletBase.processRequest(ApplicationServletBase.java:615)
         at com.iplanet.jato.ApplicationServletBase.doPost(ApplicationServletBase.java:473)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:807)
         at com.sun.comm.da.WizardWinServlet.service(WizardWinServlet.java:111)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:908)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at com.sun.comm.da.LoginFilter.doFilter(LoginFilter.java:128)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain

    Now i want to update the Delegated Administrator with the 119778-09.jar patch, but the error show:
    Unable to open keystore </var/sadm/security/patchadd/trustore> for reading.
    Signature invalid on signed patch <119778-09>.

  • Exchange 2010 - Selecting display names for users with multiple mailboxes

     Hi all,
    This isn't so much of a problem, but more of a "What is the best way to handle this" sort of thing.
    I have a client with Exchange 2010 and multiple domains. Because they must be able to send as each domain, I have them setup with individual accounts/mailboxes for each domain. We're at a point that they have three domains which means three accounts per
    user and three listings in the GAL. Their original accounts shows up as Smith, John. The second domain added shows up as First last. I'm at a loss what to use for the third. They want each account to show up in the GAL so that other users can send account
    specific stuff to them if needed, but I'm trying to figure out how to keep this relatively organized and not make the name on outbound emails too convoluted.
    Any suggestions on a format I can use that will make these accounts stand out from each other in the GAL, but not be a hot mess on the recipient end either?

    Smith, John (Company A)
    Smith, John (Company B)
    Smith, John (Company C)
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • Creating users with supplier, buyer, job code info.

    I am writing a java app to create users in oracle apps.I am using apps api package fnd_user_pkg to create users,update users,add responsibilities.
    I need to add some extra attributes e.g. supplier, buyer, planner, job code info while creating a user.Is there any api package like fnd_user_pkg which can be used to update tables with above info? or should i update the tables directly?

    Thanks for the reply.  I was actually hoping the I-Chain/EDirectory variables would be available as CGI variables.  Here are some of the CGI variables I tried to retrieve from the header.  As you can see, only two contained values.  There must be some other way to obtain these.  I'd played around with CFLDAP, CFHTTP, etc.  No such luck.  But as mentioned, the IS dept says the values I'm looking for (UserID, Name, Location, etc.) are all being sent in every header (every response from the server).  Am just not sure which CF tags/tools to use to capture them.  Maybe it requires some special script.  I tried a few of those found in the CF7 on-line help, but no luck in getting the scripts to run.  If any other thoughts or suggestions, they would be much appreciated.  Thanks again, Gary1.
    <CFSET ValidSource1 = CGI.QUERY_STRING>
    <CFSET ValidSource2 = CGI.HTTP_REFERER>
    <CFSET ValidSource3 = CGI.REMOTE_USER>
    <CFSET ValidSource4 = CGI.REMOTE_ADDR>
    <CFSET ValidSource5 = CGI.AUTH_USER>
    <CFSET ValidSource6 = CGI.REMOTE_USER>
    <CFSET ValidSource7 = CGI.SERVER_NAME>
    ValidSource1 =
    ValidSource2 =
    ValidSource3 =
    ValidSource4 = 57.14.131.12
    ValidSource5 =
    ValidSource6 =
    ValidSource7 = aometrics.xxx.com

  • Create user with DBA privileges with a restriction to access user data

    Hi
    I need to create a user with all DBA privileges with a restriction to access all user schemas
    Thanks,
    Balaji

    Use Database Vault - http://download.oracle.com/docs/cd/E11882_01/server.112/e16544/toc.htm
    HTH
    Srini

  • Create Users with Mail enabled in dscl or command line

    I have figured out how to use the dscl to add a user.
    example:
    $ sudo dscl . create /users/rothman uid 701
    $ sudo dscl . create /users/rothman gid 20
    $ sudo dscl . create /users/rothman realname "Ernest Rothman"
    $ sudo dscl . create /users/rothman passwd \*
    I went as far as to launch WorkGroup manager to enable Mail.
    The following gave me the key values:
    dscl . read /Users/test MailAttribute > mailsettings.txt
    When I try to replace from the txt file. WorkGroup Manager than believes the Mail is not enabled.
    How do I use dscl or a terminal command to enable the user with mail server and to use IMAP Only?
    I do not want to always have to remotely connect to launch Workgroup Manager to enable mail for new users.
    I hope you can help for I am new dscl or even NetInfo command line tools.
    I have tried these, but I guess it does't like how it is being restored into that property.
    dscl . create /Users/test MailAttribute `< mailsettings.txt`
    <?xml version="1.0" encoding="UTF-8"?>
    <dict>
    <key>kAPOPRequired</key>
    <string>APOPNotRequired</string>
    <key>kAltMailStoreLoc</key>
    <string></string>
    <key>kAttributeVersion</key>
    <string>Apple Mail 1.0</string>
    <key>kAutoForwardValue</key>
    <string></string>
    <key>kIMAPLoginState</key>
    <string>IMAPAllowed</string>
    <key>kMailAccountLocation</key>
    <string>192.168.181.132</string>
    <key>kMailAccountState</key>
    <string>Enabled</string>
    <key>kPOP3LoginState</key>
    <string>POP3Deny</string>
    <key>kUserDiskQuota</key>
    <string>0</string>
    </dict>
    I have also tried appending by doing something like this.
    dscl . create /Users/test MailAttribute '<?xml version="1.0" encoding="UTF-8"?>’
    dscl . append /Users/test MailAttribute ‘<dict>’
    dscl . append /Users/test MailAttribute ‘<key>kAPOPRequired</key>’
    dscl . append /Users/test MailAttribute ‘<string>APOPNotRequired</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAltMailStoreLoc</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kAttributeVersion</key>’
    dscl . append /Users/test MailAttribute ‘<string>Apple Mail 1.0</string>’
    dscl . append /Users/test MailAttribute ‘<key>kAutoForwardValue</key>’
    dscl . append /Users/test MailAttribute ‘<string></string>’
    dscl . append /Users/test MailAttribute ‘<key>kIMAPLoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>IMAPAllowed</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountLocation</key>’
    dscl . append /Users/test MailAttribute ‘<string>192.168.181.132</string>’
    dscl . append /Users/test MailAttribute ‘<key>kMailAccountState</key>’
    dscl . append /Users/test MailAttribute ‘<string>Enabled</string>’
    dscl . append /Users/test MailAttribute ‘<key>kPOP3LoginState</key>’
    dscl . append /Users/test MailAttribute ‘<string>POP3Deny</string>’
    dscl . append /Users/test MailAttribute ‘<key>kUserDiskQuota</key>’
    dscl . append /Users/test MailAttribute ‘<string>0</string>’
    dscl . append /Users/test MailAttribute ‘</dict>’

    Got it to take as a single statement.
    dscl . create /users/test applemail "<?xml version='1.0' encoding='UTF-8'?> <dict> <key>kAPOPRequired</key> <string>APOPNotRequired</string> <key>kAltMailStoreLoc</key> <string></string> <key>kAttributeVersion</key> <string>Apple Mail 1.0</string> <key>kAutoForwardValue</key> <string></string> <key>kIMAPLoginState</key> <string>IMAPAllowed</string> <key>kMailAccountLocation</key> <string>192.168.181.132</string> <key>kMailAccountState</key> <string>Enabled</string> <key>kPOP3LoginState</key> <string>POP3Deny</string> <key>kUserDiskQuota</key> <string>0</string> </dict>"
    Doing the above showed in WorkGroup manager and I tested and the user received a email, so now I can automate adding users without needing the GUI. *Just to note you still have to setup mail services and your virtual, aliases files for postfix. This is just so the user is opened up to be allowed to receive email in the first place.
    I still could not seem to pipe a file into dscl command even though the file was a single line of text. I had planned to embed this in a single command so no big deal.

  • Create user with User ID like A123456.

    Hi,
    We have requirement that all user ID must be starting with alphabet and than appended with six digits like Z345678.
    So, please suggest how can we force in create user page the above restriction. And if user violates this rule we want to generate error message.
    Thanks

    Hi,
    There are two option to achieve the same....
    First one to let the user enter the user id in the fomat, and make the adapter which will check the whether the userid in desired format or not, and if any user voilate that error message will be displayed.
    Just go through the design guide to know more about the erros and how we can put in the adpters.
    Second option, let the user enter any id and genetate the user id through entity adapter under pre-insert as per desired format.
    Let me know if you have any question for the same.
    Regards
    Alabhya Goel

  • Create user with dba privileges

    How do I create a user with DBA privileges in Oracle? The user should be able to create, insert, delete, truncate and other functions without any limits. Do I have to issue GRANT statements?

    Hi,
    I don't believe there's any way to create a user and grant privileges in one command.
    First, create the user:
    CREATE USER  foo  IDENTIFIED BY  bar;Then grant the privileges. There's a pre-defined role called DBA that has all the privileges you mentioned.
    GRANT  dba  TO  foo;It's easy to write a script to do these two commands together, so you could say
    @CREATE_USER  foo  bar  dba

  • OIM 11g create user with API - double resources

    Hello.
    We have a custom web client for creating a user in OIM. When we create a user with the OOTB web app (formerly xlWebApp), it creates the user and the Access Policies work correctly to give the user one of each resource.
    When we create the user with the API from our custom web app, it tries to assign 2 of each resource to the new user. Has anyone seen this behavior before? Thank you.

    Bump Thanks.

  • Email notification of create user with password

    Hi all
    After creating user in oim with all details like user-id , password, user name,email....etc.
    The same information will be sent to his mail-id.
    Is OOTB template works for it, if yes which template i need to use
    Or if i go for custom which steps i have to follow
    Thanks in advance

    Hi,
    I am working on a similar use-case. It would be great if you could share the solution of this task if you have got it.
    I have figured out this much till now
    Create User Self Service Notification Template is used.
    Need to create a Mail Server IT Resource with the name Email Server as that is the default value in Email Server System Property.
    and we need to have RequestNotification system property as 1
    Let me know if i have missed out anything.
    Problem is after doin all these steps i am still not able to send the notification ...if you could help me out ...the log says unexpected error occured while sending the notification.

  • AD Users with no Mailbox

    Folks,
    I need help getting all AD users that does not have exchange mailbox and I want to export them into TXT, or CSV file.
    can we have a Powershell command that can help us in such thing.
    Note my environment is Exchnage 2010
    Samer F. Mustafa Microsoft Technical Team Leader. [email protected]

    Hi,
    We can also try:
    Get-User -RecipientTypeDetails user | Out-File C:\Users\user.txt
    Thanks,
    Winnie Liang
    TechNet Community Support

  • How to create users with i18n characters in SunONE directory server?

    Was trying to create users and groups with i18n characters in SunONE directory server
    1. Started LDAP console using -l option
    2. Chaged the Locale to Japanese
    3. Entered few japanese character as username (meaning internationalization user name)
    4. However, I could not able to type the password using the "soft keyboard" that comes with Japanese Locale
    5. to overcome with #4, for now, I typed english chars as the password
    6. Click OK to save the above username/pwd
    7. It says "netscape.ldap.LDAPException: error result (19); value of attribute "uid" contains extended (8-bit) characters"
    Has anyone ever created i18n user names in SunONE Directory Provider? Please help...

    Hi LostLad,
    Soryy for my ignorance...Could you please be elaborate on how to remove "uid attribute from 7-bit ASCII plugin?
    Thanks in advance..

Maybe you are looking for

  • How to skip first screen that is not selection screen.

    Hi Experts I am working on a module pool program where in I am required to call a transaction with skip first screen. the first screen of this transaction is self made screen with screen painter with input boxes and a submit button with an OK_CODE. n

  • Firmware upgrade?? Printing Issues?? HP Designjet Z6100ps

    I have a Designjet purchase as a demo in 1/2008. The last firmware upgrade that is currently installed is GG-GG_9.0.0.4. I am having printing issues where it prints about 4" of my prints from Apogee Printdrive (which comes from a windows computer) an

  • What is the mean of using Portal with Role Based security as entry point

    Hi Experts we have requirement of integration of Portal and MDM I am completely new to the MDM. So please give me some idea , what is the meanin for following points. 1) Using the Portal with Role Based security as entry point for capacity and Routin

  • How can I make Acrobat 8 pro stop trying to install?

    Hello, Background: I am using a Sony Vaio laptop with Windows Vista home edition. I don't wish to create pdfs etc. right now, just read them with Adobe Reader 8.1 that is on my machine.  Right now, whether using Firefox or IE, if I attempt to view a

  • Problem in Coverting XML String into Document

    Hi, I am getting some problem while parsing a String XML in to Document object. CODE : public static Document converDocument(String xml){ DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance(); DocumentBuilder builder = null; try { build