Bug 41487 - univentionNFSMounts reference not updated when moving share
Summary: univentionNFSMounts reference not updated when moving share
Status: REOPENED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC - Policies
Version: UCS 4.1
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UMC maintainers
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 18:54 CEST by Florian Best
Modified: 2021-10-07 19:38 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.137
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional): Cleanup, Troubleshooting
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 Florian Best univentionstaff 2016-06-07 18:54:24 CEST
When moving a share which is referenced by a policies/nfsmounts the reference in the univentionNFSMounts attribute is not updated.

root@xen3:~# univention-ldapsearch -s base -b cn=testnfsmount,cn=policies,ou=gsmitte,dc=school,dc=local -xLLLo ldif-wrap=no
dn: cn=testnfsmount,cn=policies,ou=gsmitte,dc=school,dc=local
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyNFSMounts
objectClass: univentionObject
univentionObjectType: policies/nfsmounts
univentionNFSMounts: cn=test,cn=shares,dc=school,dc=local /foobar
cn: testnfsmount

root@xen3:~# udm shares/share move --dn cn=test,cn=shares,dc=school,dc=local --position dc=school,dc=local
Object modified: cn=test,cn=shares,dc=school,dc=local
root@xen3:~# univention-ldapsearch -s base -b cn=testnfsmount,cn=policies,ou=gsmitte,dc=school,dc=local -xLLLo ldif-wrap=no
dn: cn=testnfsmount,cn=policies,ou=gsmitte,dc=school,dc=local
objectClass: top
objectClass: univentionPolicy
objectClass: univentionPolicyNFSMounts
objectClass: univentionObject
univentionObjectType: policies/nfsmounts
univentionNFSMounts: cn=test,cn=shares,dc=school,dc=local /foobar
cn: testnfsmount

root@xen3:~# univention-ldapsearch -b cn=test,cn=shares,dc=school,dc=local -s base -xLLLo ldif-wrap=no dn
No such object (32)
Matched DN: cn=shares,dc=school,dc=local
root@xen3:~# univention-ldapsearch -b cn=test,dc=school,dc=local -s base -xLLLo ldif-wrap=no dn
dn: cn=test,dc=school,dc=local

root@xen3:~# univention-ldapsearch -s base -b cn=testnfsmount,cn=policies,ou=gsmitte,dc=school,dc=local -xLLLo ldif-wrap=no univentionNFSMounts
dn: cn=testnfsmount,cn=policies,ou=gsmitte,dc=school,dc=local
univentionNFSMounts: cn=test,cn=shares,dc=school,dc=local /foobar
Comment 1 Stefan Gohmann univentionstaff 2019-01-03 07:17:48 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

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