Bug 35004 - Name resolution fails after deinstallation of UCS@school app
Name resolution fails after deinstallation of UCS@school app
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: General
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 3.2 R2 Errata
Assigned To: Florian Best
Dirk Wiesenthal
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-28 08:42 CEST by Moritz Muehlenhoff
Modified: 2014-08-27 17:01 CEST (History)
2 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 Moritz Muehlenhoff univentionstaff 2014-05-28 08:42:19 CEST
I installed ucs@school on a DC master and configured a single-school setup using the setup wizard. After deinstalling the app name resolution is longer working. 

In daemon.log there's the following error message:

May 27 13:39:30 master named[3617]: listening on IPv4 interface lo, 127.0.0.1#53
May 27 13:39:30 master named[3617]: listening on IPv4 interface eth0, 10.200.3.130#53
May 27 13:39:30 master named[3617]: generating session key for dynamic DNS
May 27 13:39:30 master named[3617]: Loading 'samba4.zone' using driver dlopen
May 27 13:39:30 master named[3617]: samba_dlz: ldb: WARNING: Module [univention_samaccountname_ldap_check] not found - do you need to set LDB_MODULES_PATH?
May 27 13:39:30 master named[3617]: samba_dlz: ldb: Unable to load modules for /var/lib/samba/private/sam.ldb: (null)
May 27 13:39:30 master named[3617]: samba_dlz: Failed to connect to /var/lib/samba/private/sam.ldb
May 27 13:39:30 master named[3617]: dlz_dlopen of 'samba4.zone' failed
Comment 1 Florian Best univentionstaff 2014-08-19 15:11:16 CEST
univention-ldb-modules (2.0.4-1) 
* Bug #35004: unregister ldb modules in unjoin script

A unjoin script has been added which basically does:

register_ldb_module.py -H /var/lib/samba/private/sam.ldb --remove univention_samaccountname_ldap_check;

depending on what is set in UCRV samba4/ldb/sam/module/prepend.
Comment 2 Dirk Wiesenthal univentionstaff 2014-08-27 01:32:09 CEST
Ok. Typo in changelog entry.
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2014-08-27 17:01:48 CEST
UCS@school 3.2 R2 v2 has been released:
http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html

If this error occurs again, please use "Clone This Bug".