make test, printing and NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE

Andreas Schneider asn at cryptomilk.org
Sun Oct 7 02:26:20 MDT 2012


On Friday, October 05, 2012 13:54:38 Samuel Cabrero wrote:
> 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:
> >> NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE
> >> 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

This was not the issue. It is trying to access the winreg pipe which hasn't 
been registered yet. It will be fixed in rc3.



	-- andreas



More information about the samba-technical mailing list