Bug 35526 - ldapError: Constraint violation: krb5PrincipalName: multiple values provided
ldapError: Constraint violation: krb5PrincipalName: multiple values provided
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC - Computers
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-3-errata
Assigned To: Felix Botner
Stefan Gohmann
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-30 18:55 CEST by rolandb
Modified: 2014-09-10 17:40 CEST (History)
5 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):
Max CVSS v3 score:


Attachments
Patch for macos.py (521 bytes, patch)
2014-08-08 07:16 CEST, Tim Petersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rolandb 2014-07-30 18:55:31 CEST
Hallo

Ich wollte ein computers/macos anlegen und bekomme die selben Fehler:
udm computers/macos create --position=cn=computers,ou=schule1,dc=schule1,dc=test --set name=ws-schule1-imac10 --set 'operatingSystem=OS X' --set operatingSystemVersion=10.6.8 --set description=Apple/iMac,Location:W12,Warranty: --set network=cn=EDU,cn=networks,ou=schule1,dc=schule1,dc=test --set mac=00:1f:5b:e6:cc:b9 --set ip=172.30.0.216 --set 'dhcpEntryZone=cn=schule1,cn=dhcp,ou=schule1,dc=schule1,dc=test 172.30.0.216 00:1f:5b:e6:cc:b9'

LDAP Error: Constraint violation: krb5PrincipalName: multiple values provided

wie im Bug beschrieben handelt es sich hier nicht um die kerberos Domain sonder der FQDN des MACOS Gerät wird in einer anderen sein. Das selbe haben wir mit computers/windows gemacht und hat funktioniert auch mit computers/ipmanagedclient.

Es ist auch egal ob man es per CLI oder Webinterface erfasst. Wir verwenden ein neu installiertes UCS3.2-2

Grüsse, RolandB









+++ This bug was initially created as a clone of Bug #25172 +++

Das Anlegen eines DC Backup aus dem Test 
/usr/share/ucs-test/scripts/66_udm-computers/10_check_attributes
ist fehlgeschlagen

info 2011-12-05 11:30	 EXECUTING: univention-directory-manager 'computers/domaincontroller_backup' create --position "cn=computers,dc=deadlock41,dc=local" --set 'name'='akydclbv' --set 'description'='qlpmdolx' --set 'inventoryNumber'='12' --set 'network'='cn=lrnrppvh,cn=networks,dc=deadlock41,dc=local' --set 'mac'='8:4:6:2:4:2' --set 'ip'='1.0.3.4' --set 'dnsEntryZoneForward'='zoneName=hdpdztgn,cn=dns,dc=deadlock41,dc=local 1.0.3.4' --set 'dnsEntryZoneReverse'='zoneName=0.1.in-addr.arpa,cn=dns,dc=deadlock41,dc=local 1.0.3.4' --set 'dhcpEntryZone'='cn=weqtdbft,cn=dhcp,dc=deadlock41,dc=local 1.0.3.4 8:4:6:2:4:2' --set 'password'='zmreyabx' --set 'primaryGroup'='cn=Computers,cn=groups,dc=deadlock41,dc=local' --set 'unixhome'='/tmp' --set 'shell'='/bin/sh' --set 'service'='kolab2' --set 'reinstall'='1' --set 'reinstalltext'='0' --set 'instprofile'='sojcucrz' --set 'groups'='cn=Computers,cn=groups,dc=deadlock41,dc=local'
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 233, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 762, in doit
    dn=object.create()
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 332, in create
    return self._create()
  File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 701, in _create
    self.lo.add(self.dn, al)
  File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 364, in add
    raise univention.admin.uexceptions.ldapError, _err2str(msg)
ldapError: Constraint violation: krb5PrincipalName: multiple values provided
Comment 1 Tim Petersen univentionstaff 2014-08-08 07:16:35 CEST
Created attachment 6061 [details]
Patch for macos.py

2014073021000366
The customer was able to successfully test the patch attached.
Comment 2 Felix Botner univentionstaff 2014-09-08 13:45:11 CEST
Fixed for 3.2-3 and merged to 4.0

YAML: 2014-09-03-univention-s4-connector.yaml
Comment 3 Stefan Gohmann univentionstaff 2014-09-09 08:27:22 CEST
(In reply to Felix Botner from comment #2)
> Fixed for 3.2-3 and merged to 4.0
> 
> YAML: 2014-09-03-univention-s4-connector.yaml

The YAML file is 2014-09-02-univention-directory-manager-modules.yaml.

Tests: OK

Code review: OK

YAML: OK, small fix with r53466

UCS 4.0 merge: OK
Comment 4 Janek Walkenhorst univentionstaff 2014-09-10 17:40:17 CEST
http://errata.univention.de/ucs/3.2/197.html