Bug 29845 - SINGLE-VALUE attribute gPLink specified more than once
Summary: SINGLE-VALUE attribute gPLink specified more than once
Status: RESOLVED WONTFIX
Alias: None
Product: UCS
Classification: Unclassified
Component: S4 Connector
Version: UCS 3.0
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: Connector maintainers
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-17 16:57 CET by Janis Meybohm
Modified: 2016-10-11 07:28 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Meybohm univentionstaff 2012-12-17 16:57:13 CET
Auf einem 3.0-2 errata 93 beobachtet:
An der LDAP-Basis sind zwei msGPOLink-Attribute definiert, das quittiert der S4-Connector mit Reject und Traceback (31B2F340-016D-11D2-945F-00C04FB984F9 ist wohl die default GPO):

# extended LDIF
#
# LDAPv3
# base <dc=schule,dc=local> with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#

# schule.local
dn: dc=schule,dc=local
dc: schule
univentionObjectType: container/dc
krb5RealmName: SCHULE.LOCAL
nisDomain: schule.local
associatedDomain: schule.local
univentionPolicyReference: cn=default-settings,cn=thinclient,cn=policies,dc=schule,dc=local
univentionPolicyReference: cn=default-settings,cn=boot,cn=dhcp,cn=policies,dc=schule,dc=local
univentionPolicyReference: cn=default-settings,cn=dns,cn=dhcp,cn=policies,dc=schule,dc=local
univentionPolicyReference: cn=default-settings,cn=routing,cn=dhcp,cn=policies,dc=schule,dc=local
univentionPolicyReference: cn=default-settings,cn=pwhistory,cn=users,cn=policies,dc=schule,dc=local
univentionPolicyReference: cn=default-users,cn=admin-settings,cn=users,cn=policies,dc=schule,dc=local
objectClass: top
objectClass: krb5Realm
objectClass: univentionPolicyReference
objectClass: nisDomainObject
objectClass: domainRelatedObject
objectClass: domain
objectClass: univentionBase
objectClass: univentionObject
objectClass: msGPO
msGPOLink: [LDAP://CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=schule,DC=local;0]
msGPOLink: [LDAP://cn={9B768933-B58E-4C85-8231-2D84351C335C},cn=policies,cn=system,DC=schule,DC=local;0][LDAP://CN={31B2F340-016D-11D2-945F-00C04FB984F9},CN=Policies,CN=System,DC=schule,DC=local;0]

# search result
search: 3
result: 0 Success

# numResponses: 2
# numEntries: 1


-- /var/log/univention/connector-s4.log
16.12.2012 06:26:12,809 LDAP        (PROCESS): sync from ucs: [  container_dc] [    modify] dc=schule,dc=local
16.12.2012 06:26:12,811 LDAP        (WARNING): encode_s4_object: encode attrib repsTo failed, ignored!
16.12.2012 06:26:12,818 LDAP        (WARNING): sync failed, saved as rejected
16.12.2012 06:26:12,819 LDAP        (WARNING): Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 751, in __sync_file_from_ucs
    or (not old_dn and not self.sync_from_ucs(key, object, premapped_ucs_dn, old_dn, old))):
  File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/__init__.py", line 2276, in sync_from_ucs
    self.lo_s4.lo.modify_ext_s(compatible_modstring(object['dn']), compatible_modlist(modlist), serverctrls=self.serverctrls_for_add_and_modify)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 295, in modify_ext_s
    return self.result(msgid,all=1,timeout=self.timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 422, in result
    res_type,res_data,res_msgid = self.result2(msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 426, in result2
    res_type, res_data, res_msgid, srv_ctrls = self.result3(msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 432, in result3
    ldap_result = self._ldap_call(self._l.result3,msgid,all,timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
    result = func(*args,**kwargs)
TYPE_OR_VALUE_EXISTS: {'info': '0000200D: Attribute or value exists - SINGLE-VALUE attribute gPLink on DC=schule,DC=local specified more than once', 'desc': 'Type or value exists'}
--
Comment 1 Moritz Muehlenhoff univentionstaff 2013-05-31 10:46:29 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 2 Stefan Gohmann univentionstaff 2016-10-11 07:28:17 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please reopen.