make test, printing and NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE

Samuel Cabrero scabrero at
Fri Oct 5 05:54:38 MDT 2012

On 04/10/12 11:35, Andreas Schneider wrote:
> On Thursday 04 October 2012 13:39:37 Andrew Bartlett wrote:
>> Anyone know what might have changed in printing or winreg recently to
>> show this in the logs of make test?
>> nt_printer_add: failed to add printer print2: DOS code 0x0000002e
>> winreg_printer_openkey: Could not open HKLM hive:
>> winreg_create_printer: Could not open key SOFTWARE\Microsoft\Windows NT
>> \CurrentVersion\Print\Printers\print3: DOS code 0x0000002e
>> I've not seen failures associated with it, but it seems wrong.
> I have a patch for this already but I can't get it trough autobuild. Too many
> builds so mine times out or a flakey test.
> 	-- andreas

Hi Andreas,

I had the same issue. Prior to rc1 (I think) the spoolssd was disabled.

Check /var/lib/samba/private/smbd.tmp/fileserver.conf for this line:

rpc_daemon:spoolssd = disabled

If spoolssd is disabled add to the /etc/samba/smb.conf the following line:

rpc_daemon:spoolssd = embedded


Samuel Cabrero - Developer
scabrero at

The Linux small business server

More information about the samba-technical mailing list