Bug 22142 - Read-Only Attribute FQDN
Read-Only Attribute FQDN
Status: CLOSED FIXED
Product: Z_UCS DVS
Classification: Unclassified
Component: General
UCS DVS 1.0
Other Linux
: P5 enhancement
: UCS DVS 1.0
Assigned To: Andreas Büsching
Jascha Geerds
:
Depends on: 21493 22139 22693
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-07 16:00 CEST by Andreas Büsching
Modified: 2023-03-25 06:40 CET (History)
4 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

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Büsching univentionstaff 2011-04-07 16:00:26 CEST
+++ This bug was initially created as a clone of Bug #22139 +++

Es ist derzeit nicht möglich nach dem neuen Attribut zu suchen:

root@dvsmaster:~# udm computers/windows list --filter
fqdn='first-vorla.dvs10.local'
fqdn=first-vorla.dvs10.local
root@dvsmaster:~# udm computers/windows list --filter cn='first-vorla' | grep
fqdn
  fqdn: first-vorla.dvs10.local

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

Es sollte am Rechner-Objekt ein Attribut geben, dass den FQDN des Rechners. Das
ist in mehreren Fällen hilfreich.
Comment 1 Andreas Büsching univentionstaff 2011-04-07 16:09:15 CEST
Es kann jetzt nach dem Attribut gesucht werden. Einfache und komplexere Filter müssen funktionieren:

udm computers/windows list --filter fqdn=wins1.uvmm.test

oder auch

udm computers/windows list --filter '(&(fqdn=wins1.uvmm.test)(ip=192.168.0.190))'
Comment 2 Stefan Gohmann univentionstaff 2011-04-08 07:00:23 CEST
Anmeldung an UMC schlägt jetzt fehl:

  File "/usr/lib/python2.4/site-packages/univention/management/console/acl.py", line 172, in _append_allow
    self.__append( 'allow', 'disallow', fromUser, object )
  File "/usr/lib/python2.4/site-packages/univention/management/console/acl.py", line 148, in __append
    for host in self._expand_hostlist( object.get( 'univentionConsoleACLHost', [ '*' ] ) ):
  File "/usr/lib/python2.4/site-packages/univention/management/console/acl.py", line 110, in _expand_hostlist
    servers += role.lookup( None, self.lo, None, base=self.__ldap_base )
  File "/usr/lib/python2.4/site-packages/univention/admin/handlers/computers/domaincontroller_master.py", line 705, in lookup
    filter_p=univention.admin.filter.parse(filter_s)
  File "/usr/lib/python2.4/site-packages/univention/admin/filter.py", line 178, in parse
    raise univention.admin.uexceptions.valueInvalidSyntax ()
univention.admin.uexceptions.valueInvalidSyntax

Wenn ich die Zeile 
 filter_s = univention.admin.filter.replace_fqdn_filter( str( filter_s ) )
entferne, dann funktioniert die Anmeldung wieder.
Comment 3 Andreas Büsching univentionstaff 2011-04-08 09:31:19 CEST
In UMC wird dem Filter String None übergeben. Das wird jetzt vorher geprüft.
Comment 4 Jascha Geerds univentionstaff 2011-04-26 10:34:54 CEST
Die Suche nach dem Attribut funktioniert nun. Einfache und komplexere Filter wurden getestet.

Verified!