Univention Bugzilla – Bug 36814
S3->S4 inplace migration: lp_int(): is called with NULL!
Last modified: 2023-03-25 06:40:56 CET
During migration from samba3 to samba4 the follwing error messages are shown: lp_int(): is called with NULL! set_variable_helper(): value is not boolean! ERROR(runtime): uncaught exception - Unable to load file /var/lib/samba3/etc/samba/smb.conf File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 1458, in run s3conf.load(smbconf) The issue seems to be caused by two parameters "os level" and "wins support" set empty in /var/lib/samba3/etc/samba/smb.conf. +++ This bug was initially created as a clone of Bug #33261 +++ log.smbd shows on a UCS 3.2 DC Slave: ======================================================================= doing parameter wins support = [2013/11/09 02:26:01.739943, 0] ../source3/param/loadparm.c:1319(lp_bool) lp_bool(): value is NULL or empty! ======================================================================= The corresponding template line should be adjusted to cope with empty values: smb.conf.d/51univention-samba_domain: wins support = @%@windows/wins-support@%@
After fixing this the in-place migration succeeded. Changelog added.
OK, that was a last minute 4.0-0 fix.