Bug 48143 - Share servers in ou creation are reset to master if server does not exist
Share servers in ou creation are reset to master if server does not exist
Status: RESOLVED WONTFIX
Product: UCS@school
Classification: Unclassified
Component: Ucsschool-lib
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-11-13 13:29 CET by Ole Schwiegert
Modified: 2023-06-23 13:15 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.103
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

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Schwiegert univentionstaff 2018-11-13 13:29:55 CET
I created a new ou:

new_school = School(name='Test')
new_school.display_name = 'T'
new_school.dc_name = 'dc0'
new_school.home_share_file_server='cn=dcXX,cn=dc,cn=computers,dc=realm4,dc=intranet'
new_school.validate(lo)
new_school.errors
{}
new_school
School(name='Test', dn='ou=Test,dc=realm4,dc=intranet')
new_school.create(lo)
Object created: cn=ou-default-ucr-policy,cn=policies,ou=test,dc=realm4,dc=intranet
Object modified: cn=ou-default-ucr-policy,cn=policies,ou=Test,dc=realm4,dc=intranet
Object modified: ou=test,dc=realm4,dc=intranet
40dhcpsearchbase_create: added new UCR policy cn=ou-default-ucr-policy,cn=policies,ou=test,dc=realm4,dc=intranet to OU ou=test,dc=realm4,dc=intranet
45dhcpdns_create: modifying OU test ...
Object created: cn=dhcp-dns-test,cn=policies,ou=Test,dc=realm4,dc=intranet
Object modified: cn=dhcp-dns-test,cn=policies,ou=Test,dc=realm4,dc=intranet
Object modified: cn=dhcp,ou=Test,dc=realm4,dc=intranet
45dhcpdns_create: done
Updating ou=Test,dc=realm4,dc=intranet ...
Object exists: cn=ou-default-ucr-policy,cn=policies,ou=Test,dc=realm4,dc=intranet
Object modified: cn=ou-default-ucr-policy,cn=policies,ou=Test,dc=realm4,dc=intranet
Object modified: cn=ou-default-ucr-policy,cn=policies,ou=Test,dc=realm4,dc=intranet
LDAP Error: Type or value exists: modify/add: univentionPolicyReference: value #0 already exists
50update_ucr_policy: done
Object created: cn=Marktplatz,cn=shares,ou=Test,dc=realm4,dc=intranet
52marktplatz_create: added new share Markplatz for server dc0.realm4.intranet
Object created: cn=Test-import-all,cn=groups,ou=Test,dc=realm4,dc=intranet
Object modified: cn=Test-import-all,cn=groups,ou=Test,dc=realm4,dc=intranet
Object created: cn=examusers,ou=test,dc=realm4,dc=intranet
Object created: cn=OUtest-Klassenarbeit,cn=ucsschool,cn=groups,dc=realm4,dc=intranet
60schoolexam-master: Exam container 'cn=examusers,ou=test' and group 'OUtest-Klassenarbeit' created.
True
new_school.home_share_file_server
'cn=dc0,cn=dc,cn=computers,dc=realm4,dc=intranet'



The home share file server was set to dc0 and not anymore dcXX like I set previously.
Comment 1 Jan-Luca Kiok univentionstaff 2023-06-23 13:15:28 CEST
This issue has been filed against UCS 4.4.

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

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.