The Samba-Bugzilla – Bug 9050
samba daemon segfaults after loading automount schema
Last modified: 2012-11-16 01:52:41 UTC
Automount schema (see URL) are loaded into Samba4 database with:
ldbadd -H private/sam.ldb.d/CN=SCHEMA,CN=CONFIGURATION, \
No automount map entries are created. Samba daemon now segfaults on starting. A -d 10 startup does not reveal anything interesting.
Does this still happen on Samba 4.0 rc5?
Unfortunately, same problem. Schema creation works without error, but the samba daemon fails to start afterwards.
We may have to release Samba 4.0 without a fix for this, but I'm nominating for a blocker.
Can you get us the backtrace from the segfault?
Yikes, I just realised what's wrong here. You can't do that - manually modifying the backend database. You must make your changes to sam.ldb or via LDAP, never the databases under sam.ldb.d/
As such, I'm marking invalid.