Bug 31934 - connector/s4/mapping/dc/ignorelist used for DCs and containers/dc
connector/s4/mapping/dc/ignorelist used for DCs and containers/dc
Status: NEW
Product: UCS
Classification: Unclassified
Component: S4 Connector
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-09 15:33 CEST by Arvid Requate
Modified: 2020-06-22 18:49 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
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

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2013-07-09 15:33:56 CEST
The UCR variable connector/s4/mapping/dc/ignorelist is used for two purposes in mapping.py:
1) specifying the list of names for the ignore_filter for domaincontrollers
2) specifying the list of key=value pairs for the ignore_filter for container/dc

We should rename one of them (they should be identifyable by containing a '=').
Comment 1 Arvid Requate univentionstaff 2013-07-09 16:03:43 CEST
Actually the second point is a bit unclear to me: the corresponding block in the mapping.py specifies  ucs_default_dn='cn=samba,$ldap_base"  and 
con_search_filter='(|(objectClass=domain)(objectClass=sambaDomainName))'

so, in short, I currently don't understand why it sais ucs_module='container/dc'.
Anyway, it would be better if connector/s4/mapping/dc/ignorelist would not be evaluated in this block.
Comment 2 Florian Best univentionstaff 2017-02-09 14:04:17 CET
Still weird. Enhanced during Bug #43397.
Comment 3 Nico Stöckigt univentionstaff 2019-04-16 14:07:36 CEST
is this Bug fixed by Bug #43397 ?
Comment 4 Arvid Requate univentionstaff 2019-04-16 16:27:42 CEST
Let's test:

root@master10:~# ucr set connector/s4/mapping/dc/ignorelist=test1; cat /etc/univention/connector/s4/mapping | ucr filter | grep test1
Setting connector/s4/mapping/dc/ignorelist
                        ignore_filter='(|(cn=test1))',
                        ignore_filter='(|(cn=test1))',

So: No.