-
Notifications
You must be signed in to change notification settings - Fork 66
UST File Verification Request #401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What console or log output do you get from the sync tool? What command-line parameters are you using to invoke the sync tool? |
Also, it looks like everything is commented out in the files., And they are .text instead of .yml. |
Please take a look at the documentation here: In order to run UST, you need to do ./user-sync instead of user-sync-config.yml. The user-sync pex file will read in the .yml files. In addition, please make sure to uncomment the keys and values in the .yml files. Lastly, I think the base dn on your ldap connector is too low. This is the base dn the tool scans for users and groups, and it looks like you have it set to OU=Admins. I'm guessing you'll need to pull it up to just "DC=SPCollege,DC=edu" |
Also - Notepad doesn't doesn't respect Unix line endings or space indentation and has a tendency to save every file with a ".txt" extension. I recommend Notepad++ if you're editing the config files on Windows. |
Please use following command to test-run. You have few keys missing from your configuration. Please download example configurations from latest release and simply edit required attributes. Here is configuration guide. Please remove sensitive information such as UMAPI details before posting the information on public forum. |
Hello, Thank you in advance for your help on this issue. I managed to get the ./user-sync to open in Python and run on an Ubuntu / Linux command line with the commands: I can see that user-sync is installed correctly and it utility is executing. When I run either commands I receive the following: Using main config rile: user-sync-config.yml (encoding usf8)
|
Make sure you include all configuration options that are specified in the example configs. It may be easier to get clean copies of the example config files and fill them in with your UMAPI/LDAP/group settings. The specific option it can't find is specified here: |
Hello, I took your advise and used clean UMAPI/LDAP copies and I reprogrammed the config file. I've move ahead in the project on your advise. the user-sync file opens and opens python on the linux box that I am using. The UST then reads the config file. When it gets to the ldap file I am getting the following error: " CRITICAL main - value not found for key: host in: ldap configuration. I'm stuck here. I have verified that the account name and password are correct by logging into the account with the credentials, that checks out ok. I have also compared my ldap connector to the examples provided here: My ldap file looks like this: username: [email protected] - verified login At this point the UST should work. I attached a copy of the linux console log. Any help will be greatly appreciated. |
Config keys are case sensitive. All config keys should be lower case. It looks like "host" is capitalized in your config file. |
Another thing I just noticed - be sure to prefix the LDAP hostname with either "ldap://" or "ldaps://" (depending on whether or not you want the sync tool to connect securely or insecurely). |
Hello Again, Thank you for your suggestions, it worked. The UST is now reading the umapi connector. I am getting another Critical error, this time it has something to do with the public/private key authentication. Critical Main - Connecto to org #########@Adobe.org at endpoint https://usermanagement.adobe.io/v2/user management. failed: Could not deserialize key data The key is named certificate_pub.crt Am I using the wrong type of public/private key? |
Make sure that in connector-umapi.yml, you are pointing to your private key file. If your private key file is called "private.key" and you've copied it to the same directory as the sync tool and umapi connector config file, then you just need to set |
Ok, I'll give it a try. Incidentally I created a new Integration on Adobe.io, updated my config, connectors and Linux directory -- same issue. |
Hello Again, I took your advise and removed the absolute path to the private key. I get the following output when I run ./user-sync (see below) I tried adding the key directly to the umapi file in the space provided, still didn't work. I've set +x permissions on the key file and I set 777 permissions on the key as well. Any suggestions will be greatly appreciated. :~/user-sync$ ./user-sync -c user-sync-config.yml --users all |
Hi, While you troubleshoot your private key issue, you could generate a new pair or public and private keys using this openssl command in Terminal: |
Hello, I took your advise and recreated the key pair. I also built a new Iteration, uploaded the new certificate_pub.crt to the new Iteration and I rebuild the config and connector files. I am no longer receiving the "Could not deserialize key data" error, thank you. However; I am pulling a new error: I attached the output. Searching high and low for what might be causing this I came up short. Do you have any suggestions? Thank you |
It's a known issue in 2.4rc1 when running the sync tool in Python 2.7. See #396. It will be resolved in the next 2.4 release candidate. For now, use Python 3.6 (you'll need the 3.6 sync tool build if you do this) or use version 2.3 of the sync tool. |
Hi, Where can I find the 3.6 sync tool build? I tried ust 2.3. I get the attached error as output. Error: |
Please try removing OU=Admin from the base_dn in connector-ldap.yml. The base dn should correspond to the DN containing all of your users and groups. |
Also your host value looks wrong, in comparison to your initial one. This last one seems to have a double .edu part and missing the DODC01 part (IP works too, but might change...). |
@vannost - My team is ready to work with you on getting this setup. Please see the email that was sent out yesterday, and we can move forward to schedule a meeting! |
Hi Thank you. The script ran and it added over a hundred accounts that are not in the Active Directory group that I using as a test group. Also, the names and email addresses were added and no products were added. I am going to read through the documentation again and verify that my config and connectors are mapped properly. Thank you for your help thus far. I'll be in touch a bit later. |
Hello, The script is running at this point, the mappings from my org to Adobe are working. I verified my config file and it is pointing to the correct Active Directory group. I attached a screen shot with the output errors and the Adobe Admin Console users list. For instance, SeminoleNTSS has an added email entry on the Admin Console ( it wasn't there before) there are not products loaded and the SeminoleNTSS account is not in the group mapping. user-sync-config data: directory_users: (optional) user_identity_type (default value enterpriseID)All Adobe users have an identity type: one of Adobe ID, Enterprise ID,or Federated ID. When a directory user is created on the Adobe side,you must specify what identity type the Adobe-side user should have. Thisidentity type then determines whether the account is controlled by theuser (Adobe ID) or by the company (Enterprise ID or Federated ID), andwhether the sign-in process is handled by Adobe (Adobe ID or Enterprise ID)or by your Identity Provider (Federated ID).If your directory does not specify the Adobe-side identity typefor one (or any) of your users, you can specify a default type here thatwill be used: one of "adobeID", "enterpriseID", or "federatedID".user_identity_type: federatedID (optional) default_country_code (no default value)All Adobe users have a country code, which is a two-letter (ISO-3166) country codewhich represents the home country of the user.If your directory doesn't have an appropriate value for each of your users,you can configure a default value here that applies to any user without one.[NOTE: For Enterprise ID users, specifying a country code is not absolutely requiredwhen they are created on the Adobe side. If none is specified, Adobe will askthe user for his home country at the time of first sign-in. But to avoid mistakes,it is highly recommended that IT assign the value via User Sync.]default_country_code: US connectors:
groups: |
I was just informed that a call has been set up to work through any remaining sync tool issues, so I'm closing this. |
Hello,
For the past couple of weeks I've been working on and off attempting to get User Sync Tool to function.
We use Active Directory.
I have created a AD service account and a group account to add new users. I configured the UST files and set up all parameters according to your specifications.
I am unable to get the sync tool to function correctly. When I drop a user into the UST user group in Active Directory nothing happens when I execute the UST file. I am executing the UST file from a linux command line that has access to the internet.
I attached the files. Could someone on your end have a look and get back to me with any suggestions?
ldap-connector.txt
umapi-connector.txt
user-sync-config.txt
The text was updated successfully, but these errors were encountered: