The Samba-Bugzilla – Bug 8351
Migrating tdb files fails
Last modified: 2011-09-15 18:42:25 UTC
Created attachment 6754 [details]
I've updated samba from 3.5.8 to 3.6.0rc3 on an OpenSuSE 11.3 x86 box (is's a XenServer guest, actually.
On that server I only have a printer defined, it's a "fake" PDF Printer, created with cups-pdf and exported through samba
After updating and restarting Samba, it spits out the following errors, in log.smbd:
[2011/08/04 14:12:34, 0] smbd/server.c:1045(main)
smbd version 3.6.0rc3-37.2-2580-SUSE-SL11.3-i386 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
[2011/08/04 14:12:36.312708, 0] printing/nt_printing_ads.c:358(check_published_printers)
check_published_printers: Could not create system session_info
[2011/08/04 14:12:36.313204, 0] printing/nt_printing.c:102(nt_printing_init)
nt_printing_init: error checking published printers: WERR_ACCESS_DENIED
[2011/08/04 14:12:36.316472, 0] printing/nt_printing_migrate_internal.c:247(nt_printing_tdb_migrate)
Couldn't migrate forms tdb file: NT_STATUS_EA_TOO_LARGE
[2011/08/04 14:12:36.321866, 0] rpc_server/srv_pipe_register.c:222(rpc_srv_register)
rpc_srv_register: Failed to call the spoolss init function!
Attached is my smb.conf.
Created attachment 6755 [details]
Printers tdb files
My ntprinters.tdb, ntdrivers.tdb, ntforms.tdb
Jeremy, Volker, Günther, can we ship 3.6.0 tomorrow without a fix for this one?
Without any feedback, I will go ahead.
Downgrading this to "major". This should not stop the release tomorrow (IMHO).
Created attachment 6857 [details]
This patch fixes the bug for me. Tested with master and 3.6.
NT_STATUS_EA_TOO_LARGE is a strange mapping for WERR_FILE_EXISTS.
Comment on attachment 6857 [details]
Looks good to me. Pushed to autobuild (master) and re-assigning to Karolin for inclusion in 3.6.1.
Re-assigning to Karolin for inclusion in 3.6.1.
Pushed to v3-6-test.
Closing out bug report.