Control: reassign -1 gosa-plugins-systems
Control: found -1 2.8_git20211027.5741b8f-5
Control: found -1 2.8_git20211027.5741b8f-4+deb12u1
Control: severity -1 important

On  Mi 26 Jul 2023 16:12:05 CEST, Guido Berhoerster wrote:

cn=ws008,ou=workstations,ou=systems,dc=skole,dc=skolelinux,dc=no.

This is actually incorrect, it would rather be

cn=ws008.internal,ou=workstations,ou=systems,dc=skole,dc=skolelinux,dc=no

And gosa creates the following entry for DNS:

relativeDomainName=ws008,relativeDomainName=ws008,zoneName=intern,cn=tjener,ou=servers,ou=systems,dc=skole,dc=skolelinux,dc=no

The problem then is that gosa-create-host makes the following LDAP
query:

(&(objectClass=dNSZone)(relativeDomainName=ws008.intern))

assuming that the CN refers to an unqualified hostname.
If gosa should be allowed to create entries with fully qualified hostnames
under ou=workstations,ou=systems,dc=skole,dc=skolelinux,dc=no the script
could also be adapted to skip qualifying the hostname if it contains a ".".

Reassigning this to gosa-plugins-systems and updating the bug's metadata.

Mike


--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunwea...@debian.org, http://sunweavers.net

Attachment: pgpJD460nsC96.pgp
Description: Digitale PGP-Signatur

Reply via email to