|
Lines 108-113
def windowscomputer_sync_s4_to_ucs_check_rename(s4connector, key, sync_object):
Link Here
|
| 108 |
sAMAccountName = sAMAccountName_vals[0] |
108 |
sAMAccountName = sAMAccountName_vals[0] |
| 109 |
|
109 |
|
| 110 |
ucs_object = s4connector.get_ucs_ldap_object(sync_object['dn']) |
110 |
ucs_object = s4connector.get_ucs_ldap_object(sync_object['dn']) |
|
|
111 |
if not ucs_object: |
| 112 |
ud.debug(ud.LDAP, ud.WARN, "con_check_rename: ucs object not found: %s (maybe already deleted)" % sync_object['dn']) |
| 113 |
return |
| 111 |
ud.debug(ud.LDAP, ud.INFO, "con_check_rename: ucs object: %s" % ucs_object) |
114 |
ud.debug(ud.LDAP, ud.INFO, "con_check_rename: ucs object: %s" % ucs_object) |
| 112 |
ucs_uid = ucs_object.get('uid', [None])[0] |
115 |
ucs_uid = ucs_object.get('uid', [None])[0] |
| 113 |
if not ucs_uid: |
116 |
if not ucs_uid: |