|
| 1 | +--- |
| 2 | +layout: page |
| 3 | +title: User Sync Frequently Asked Questions |
| 4 | +advertise: FAQ |
| 5 | +--- |
| 6 | +### Table of Contents |
| 7 | +{:."no_toc"} |
| 8 | + |
| 9 | +* TOC Placeholder |
| 10 | +{:toc} |
| 11 | + |
| 12 | + |
| 13 | +### What is User Sync? |
| 14 | + |
| 15 | +A tool that will enable enterprise customers to create/manage Adobe |
| 16 | +users and entitlement assignments utilizing Active Directory (or other |
| 17 | +tested OpenLDAP directory services). The target users are IT Identity |
| 18 | +Administrators (Enterprise Directory / System Admins) who will be able |
| 19 | +to install and configure the tool. The open-source tool is customizable |
| 20 | +so that customers can have a developer modify it to suit their own |
| 21 | +particular requirements. |
| 22 | + |
| 23 | +### Why is User Sync important? |
| 24 | + |
| 25 | +The cloud-agnostic (CC, EC, DC) User Sync tool serves as a catalyst |
| 26 | +to move more users to named user deployment, and fully take advantage |
| 27 | +of the products and services capabilities within the Admin Console. |
| 28 | + |
| 29 | +### How does it work? |
| 30 | + |
| 31 | +When User Sync runs, it fetches a list of users from the organization’s |
| 32 | +Active Directory (or other data source) and compares it with the list of |
| 33 | +users within the Admin Console. It then calls the Adobe User Management |
| 34 | +API so that the Admin Console is synchronized with the organization’s |
| 35 | +directory. The change flow is entirely one-way; any edits made in the |
| 36 | +Admin Console do not get pushed out to the directory. |
| 37 | + |
| 38 | +The tools allows the system admin to map user groups in the customer’s |
| 39 | +directory with product configuration and user groups in the Admin Console |
| 40 | + |
| 41 | +To set up User Sync, the organization needs to create a set of credentials |
| 42 | +in the same way they would to use the User Management API. |
| 43 | + |
| 44 | +### Where do I get it? |
| 45 | + |
| 46 | +User Sync is open source, distributed under the MIT License, and maintained by Adobe. It is available [here](https://github.com/adobe-apiplatform/user-sync.py/releases/latest). |
| 47 | + |
| 48 | + |
| 49 | +### Does user sync apply for both on-premise and Azure Active Directory servers? |
| 50 | + |
| 51 | +User sync supports local or Azure hosted AD (Active Directory) servers as well as any other LDAP servers. It can also be driven from a local file. |
| 52 | + |
| 53 | +### Is AD treated as an LDAP server? |
| 54 | + |
| 55 | +Yes, AD is accessed via the LDAP v3 protocol, which AD fully supports. |
| 56 | + |
| 57 | +### Does User Sync automatically put all my LDAP/AD user groups into the Adobe Admin Console? |
| 58 | + |
| 59 | +No. In those cases |
| 60 | +where the groups on the enterprise side correspond to desired product access |
| 61 | +configurations, the User Sync configuration file can be set up to map |
| 62 | +users to Product Configurations (PCs) or User Groups on the Adobe |
| 63 | +side based on their enterprise-side group membership. User groups and Product Configurations must be set up manually in the Adobe Admin Console. |
| 64 | + |
| 65 | + |
| 66 | +### Can User Sync be used to manage the membership in User Groups or just Product Configurations? |
| 67 | + |
| 68 | +In User Sync, you can use user groups or Product Configurations in the mapping from directory groups. So users can be added to or removed from user groups as well as PCs. You can't create new user groups or product configurations however; that must be done in the Admin Console. |
| 69 | + |
| 70 | +### In the examples in the user manual I see that each directory group is mapped to exactly one Adobe group; is it possible to have 1 AD group map to multiple product configurations? |
| 71 | + |
| 72 | +Most of the examples show just a single Adobe user group or PC, but the mapping can be one to many. Simply list all the user groups or PCs, one per line, with a leading "-" (and indented to the proper level) on each as per YML list format. |
| 73 | + |
| 74 | +### Can the UMAPI server's throttling interfere with the operation of user sync? |
| 75 | + |
| 76 | +No, User sync handles throttling and retries so that throttling may slow |
| 77 | +down the overall user sync process, but there is no problem caused by throttling |
| 78 | +and user sync will properly complete all operations. |
| 79 | + |
| 80 | +The Adobe systems protect themselves from overload by tracking the incoming |
| 81 | +request volume. If this is starting to exceed limits, then requests return |
| 82 | +a "retry-after" header indicating when capacity will be available again. User sync honors these headers and waits for the requested amount of time before retrying. More information, including code samples, can be found in the [User Management API documentation](https://www.adobe.io/apis/cloudplatform/usermanagement/docs/throttling.html). |
| 83 | + |
| 84 | +### Is there a local list of users created/updated (on the user sync side) in order to reduce Adobe server calls? |
| 85 | + |
| 86 | +No, User sync always queries the Adobe user management systems to get |
| 87 | +current information when it is run. |
| 88 | + |
| 89 | +### Is the user sync tool limited to federated Ids or can any type of ID can be created? |
| 90 | + |
| 91 | +User sync supports all id types (Adobe IDs, Federated IDs and Enterprise IDs). |
| 92 | + |
| 93 | +### An Adobe organization can be granted access to users from domains owned by other organizations. Can User Sync handle this case? |
| 94 | + |
| 95 | +Yes. User Sync can both query and manage user |
| 96 | +group membership and product access for users in both owned and accessed domains. However, |
| 97 | +like the Admin Console, User Sync can only be used to create and update user |
| 98 | +accounts in owned domains, not domains owned by other organizations. Users from those |
| 99 | +domains can be granted product access but not edited or deleted. |
| 100 | + |
| 101 | +### Is there an update function, or just add/remove users (for only federatedID)? |
| 102 | + |
| 103 | +For all types of ID (Adobe, Enterprise, and Federated), User Sync supports |
| 104 | +update of group memberships under control of the --process-groups option. |
| 105 | +For Enterprise and Federated IDs, User Sync supports update of first name, last |
| 106 | +name, and email fields under control of the --update-user-info option. When |
| 107 | +country updates become available in the Admin Console, they will also be |
| 108 | +available via the UMAPI. And for Federated IDs whose "User Login Setting" |
| 109 | +is "Username", User Sync supports update of username as well as the other fields. |
| 110 | + |
| 111 | +### Is the user sync tool dedicated to a particular OS? |
| 112 | + |
| 113 | +User Sync is an open source python project. Users can build for any OS platform they desire. We provide builds for Windows, OS X, Ubuntu, and Cent OS 7 platforms. |
| 114 | + |
| 115 | +### Has this been tested on python 3.5? |
| 116 | + |
| 117 | +User Sync has been run successfully on Python 3.x, but most of our use and testing is on Python 2.7 so you may discover problems, and we only provide builds on Python 2.7. Feel free to report problems (and contribute fixes) to the open source site at https://github.com/adobe-apiplatform/user-sync.py. |
| 118 | + |
| 119 | +### If something changes in the API (new field in creating users, for example ) how will the update be applied to the user sync tool? |
| 120 | + |
| 121 | +User sync is an open source project. Users can download and build the latest |
| 122 | +sources at their discretion. Adobe will post new releases with builds periodically. |
| 123 | +Users can stay informed of them via git notifications. When adopting a new release, |
| 124 | +only the single pex file needs to be updated by the user. If there are configuration |
| 125 | +changes or command line changes to support new features, there may be updates in |
| 126 | +those files to take advantage of them. |
| 127 | + |
| 128 | +Also note that User Sync is built on top of umapi-client, which is the only module with direct knowledge of the API. When the API changes, umapi-client always gets updated to support it. If and when API changes provide for more User Sync-related capabilities, then User Sync may be updated to provide them. |
| 129 | + |
| 130 | +### Does User sync need some sort of whitelisting with the firewall rules of the machine on which it runs? |
| 131 | + |
| 132 | +Generally no. User sync is purely a network client, and does not accept incoming connections, so the machine-local firewall rules for inbound connections are irrelevant. |
| 133 | + |
| 134 | +However, as a network client, User Sync requires SSL (port 443) outbound access through customer network firewalls in order to reach the Adobe servers. Customer networks also need to permit User Sync, if configured that way, to reach the customer LDAP/AD server, on whatever port is specified in the User Sync configuration (port 389 by default). |
| 135 | + |
| 136 | +### Is User Sync part of Adobe's offering to EVIP customers? |
| 137 | + |
| 138 | +Yes, all Enterprise customers have access to the UMAPI and User Sync, regardless of their buying program (E-VIP, ETLA, or Enterprise Agreement). |
| 139 | + |
| 140 | +### What is the internationalization story for the User Sync tool; is it internationally enabled (support at least double-byte character input)? |
| 141 | + |
| 142 | +Python 2.7 (the language of the tool) distinguishes “str” (8-bit character strings) |
| 143 | +and “unicode” (enforced UTF-8-encoded 8 bit character strings), and the user |
| 144 | +sync code uses “str” not “unicode” everywhere. However, all of the output of |
| 145 | +the tools are UTF-8 encoded, and as long as UTF-8 encoding is used on the |
| 146 | +input things should work fine. This has been lightly tested and no problems were |
| 147 | +found. Further testing is planned. |
| 148 | + |
| 149 | +We have an enhancement planned to port the tool to run in Python 3 as well as Python 2. |
| 150 | +At that point we can be assured that unicode will work fine, as the types are merged |
| 151 | +in Python 3. Customers for whom this is critical should build using Python 3. |
| 152 | + |
| 153 | + |
0 commit comments