Symantec IGA

 View Only
  • 1.  how to import attribute value with single quote - ' in global user with etautil?

    Posted Oct 23, 2018 05:44 AM

    We are running etautil to create user directly into provisioning system, using below command. 

     

    etautil -o -d im -u etaadmin -p ******* -f users.txt

     

    content of users.text has list of attributes, if any attribute value will have single quote within it then it is throwing error, is there any escape symbol we have to use for single quote. 

     

     

     

    Here is the content:- 

    add 'eTGlobalUserContainerName=Global Users,eTNamespaceName=CommonObjects' eTGlobalUser eTEmailAddress='HARRIS.X.CARL@ampf.com' eTCustomField06='MjA3Nzk5MSA=' eTCustomField14='P' eTCustomField16='HARRIS..CARL.' eTdescription='2077991 /Field User' eTCustomField02='CARL   , HARRIS' eTPassword='{SSHA}zJoL6hoqOlOMoy8UxC9ooX2B/FHrKNJFqz0UKQ==' eTCustomField04='test.ampf.com' eTUserid='hcarl1' eTFirstName='SEFSUklTICA=' eTLastName='Q0FSTCAgIA==' eTCustomField20='MDEg' eTCustomField38='aljazz' eTCustomField38='ampweb' eTIMEnabledState='16777216' eTCustomField01='Field_Users' eTFullName='HARRIS CARL' eTCustomField11='000080082' eTCustomField03='16777216' eTGlobalUserName='00000000000000000000000000hcarl1' eTCustomField26='AMP' eTPropagatePassword='1'

     

    content may have some attribute with single quote within value causing the issue. 



  • 2.  Re: how to import attribute value with single quote - ' in global user with etautil?

    Broadcom Employee
    Posted Oct 23, 2018 06:49 AM

    Hi

    Have you tried using escape character  ^  ?

    Otherwise, unless you absolutely need these single quotes in the text I would remove them from the source file.

     

    KR
    Russi



  • 3.  Re: how to import attribute value with single quote - ' in global user with etautil?
    Best Answer

    Broadcom Employee
    Posted Oct 24, 2018 04:53 AM

    If the number of users with single quote in name or other attributes is not too large (e.g. O’Brien or D’Angelo), then either remove the entries entirely from the etautil source file or just remove the quote. Assuming you're using LDIF to import the users into the IM user store, take the same action in the LDIF file.

     

    Then use an IM bulk load to add/update the affected users with the quote included. It will flow to the provisioning server as well. That's what we did in a previous migration.

     

    Pearse