Bug 39932 - S3->S4 inplace migration segfault if ldapsam:trusted = yes
S3->S4 inplace migration segfault if ldapsam:trusted = yes
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Felix Botner
Arvid Requate
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-13 13:11 CET by Felix Botner
Modified: 2015-11-17 12:12 CET (History)
0 users

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 Felix Botner univentionstaff 2015-11-13 13:11:10 CET
If ldapsam:trusted = yes (which is the default in samba/upgrade.py.upgrade_from_samba3()) the classic upgrade segfaults:

samba-tool domain classicupgrade /var/lib/samba3/etc/samba/smb.conf --dbdir /var/lib/samba3
UPN: None
Reading smb.conf
WARNING: The "syslog" option is deprecated
WARNING: The "idmap backend" option is deprecated
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
WARNING: The "use spnego" option is deprecated
Provisioning
Speicherzugriffsfehler
Comment 1 Felix Botner univentionstaff 2015-11-13 15:13:20 CET
Added ldapsam:trusted = no to samba3upgrade/smb.conf.d/11univention-samba_ldap, can be configured with samba/ldapsam/trusted

S3->S4 inplace migration worked for me now
Comment 2 Arvid Requate univentionstaff 2015-11-16 15:57:49 CET
Verifed:
* Works
* No adverse affects detected (compared LDAP and S4 with and without this change)
* Changelog ok
Comment 3 Stefan Gohmann univentionstaff 2015-11-17 12:12:44 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

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