Alejandro Escanero Blanco
2011-Aug-18 11:31 UTC
[Samba] Problem exporting samba 3.6 registry
I'm triing to put some samba3.6 server like print server, the load of ntprinters and ntdrivers is ok, but when I try to do a backup of the registry I find it: #net rpc registry export 'HKLM\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\Canon iR2270/iR2870 PCL6' printers.reg Violaci?n de segmento (Segmentation Fault) Export fail but enumerate runs correctly. Where is the problem? #cat printers.reg Windows Registry Editor Version 5.00 [HKLM\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\Canon iR2270/iR2870 PCL6] "Version"=dword:00000003 "Driver"="\\print$\\W32X86\\3\\Cnp60M_DE1DE.DLL" "Data File"="\\print$\\W32X86\\3\\IR2270XS.XPD" "Configuration File"="\\print$\\W32X86\\3\\Cnp60MUI_DE1DE.DLL" "Help File"="\\print$\\W32X86\\3\\Cnp6S46.HLP" "Dependent Files"=hex(7):5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,\ 33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,49,00,52,00,32,00,32,00,37,\ 00,30,00,58,00,53,00,2e,00,55,00,50,00,44,00,00,00,5c,00,70,00,72,00,69,00,\ 6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,\ 00,43,00,6e,00,50,00,36,00,45,00,31,00,44,00,45,00,2e,00,64,00,61,00,74,00,\ 00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,\ 00,38,00,36,00,5c,00,33,00,5c,00,43,00,6e,00,50,00,36,00,30,00,34,00,30,00,\ 61,00,5f,00,44,00,45,00,31,00,44,00,45,00,2e,00,44,00,4c,00,4c,00,00,00,5c,\ 00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,\ 36,00,5c,00,33,00,5c,00,63,00,6e,00,78,00,70,00,30,00,6c,00,6f,00,67,00,2e,\ 00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,\ 57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,41,00,55,00,53,00,53,\ 00,44,00,52,00,56,00,2e,00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,00,69,00,\ 6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,\ 00,43,00,6e,00,78,00,44,00,30,00,31,00,33,00,30,00,2e,00,44,00,41,00,54,00,\ 00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,\ 00,38,00,36,00,5c,00,33,00,5c,00,43,00,6e,00,78,00,44,00,69,00,61,00,73,00,\ 32,00,2e,00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,\ 00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,43,00,6e,00,\ 78,00,49,00,70,00,63,00,32,00,2e,00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,\ 00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,\ 33,00,5c,00,43,00,6e,00,70,00,36,00,53,00,34,00,36,00,2e,00,43,00,4e,00,54,\ 00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,\ 58,00,38,00,36,00,5c,00,33,00,5c,00,43,00,4e,00,4c,00,4b,00,2e,00,50,00,52,\ 00,46,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,\ 32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,43,00,50,00,43,00,31,00,30,00,53,\ 00,2e,00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,\ 5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,43,00,50,00,43,\ 00,31,00,30,00,44,00,2e,00,45,00,58,00,45,00,00,00,5c,00,70,00,72,00,69,00,\ 6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,\ 00,43,00,50,00,43,00,31,00,30,00,51,00,2e,00,45,00,58,00,45,00,00,00,5c,00,\ 70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,\ 00,5c,00,33,00,5c,00,43,00,50,00,43,00,31,00,30,00,45,00,2e,00,44,00,4c,00,\ 4c,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,\ 00,58,00,38,00,36,00,5c,00,33,00,5c,00,43,00,50,00,43,00,31,00,30,00,56,00,\ 2e,00,45,00,58,00,45,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,\ 00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,43,00,70,00,63,00,\ 31,00,45,00,53,00,2e,00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,00,69,00,6e,\ 00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,\ 43,00,70,00,63,00,31,00,45,00,53,00,2e,00,48,00,4c,00,50,00,00,00,5c,00,70,\ 00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,\ 5c,00,33,00,5c,00,43,00,70,00,63,00,31,00,45,00,53,00,2e,00,43,00,4e,00,54,\ 00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,24,00,5c,00,57,00,33,00,32,00,\ 58,00,38,00,36,00,5c,00,33,00,5c,00,63,00,6e,00,78,00,70,00,63,00,66,00,33,\ 00,32,00,2e,00,44,00,4c,00,4c,00,00,00,5c,00,70,00,72,00,69,00,6e,00,74,00,\ 24,00,5c,00,57,00,33,00,32,00,58,00,38,00,36,00,5c,00,33,00,5c,00,63,00,6e,\ 00,78,00,70,00,63,00,70,00,33,00,32,00,2e,00,44,00,4c,00,4c,00,00,00,5c #net rpc registry enumerate 'HKLM\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\Canon iR2270/iR2870 PCL6' Valuename = Version Type = REG_DWORD Value = 3 Valuename = Driver Type = REG_SZ Value = "\print$\W32X86\3\Cnp60M_DE1DE.DLL" Valuename = Data File Type = REG_SZ Value = "\print$\W32X86\3\IR2270XS.XPD" Valuename = Configuration File Type = REG_SZ Value = "\print$\W32X86\3\Cnp60MUI_DE1DE.DLL" Valuename = Help File Type = REG_SZ Value = "\print$\W32X86\3\Cnp6S46.HLP" Valuename = Dependent Files Type = REG_MULTI_SZ Value[000] = "\print$\W32X86\3\IR2270XS.UPD" Value[001] = "\print$\W32X86\3\CnP6E1DE.dat" Value[002] = "\print$\W32X86\3\CnP6040a_DE1DE.DLL" Value[003] = "\print$\W32X86\3\cnxp0log.DLL" Value[004] = "\print$\W32X86\3\AUSSDRV.DLL" Value[005] = "\print$\W32X86\3\CnxD0130.DAT" Value[006] = "\print$\W32X86\3\CnxDias2.DLL" Value[007] = "\print$\W32X86\3\CnxIpc2.DLL" Value[008] = "\print$\W32X86\3\Cnp6S46.CNT" Value[009] = "\print$\W32X86\3\CNLK.PRF" Value[010] = "\print$\W32X86\3\CPC10S.DLL" Value[011] = "\print$\W32X86\3\CPC10D.EXE" Value[012] = "\print$\W32X86\3\CPC10Q.EXE" Value[013] = "\print$\W32X86\3\CPC10E.DLL" Value[014] = "\print$\W32X86\3\CPC10V.EXE" Value[015] = "\print$\W32X86\3\Cpc1ES.DLL" Value[016] = "\print$\W32X86\3\Cpc1ES.HLP" Value[017] = "\print$\W32X86\3\Cpc1ES.CNT" Value[018] = "\print$\W32X86\3\cnxpcf32.DLL" Value[019] = "\print$\W32X86\3\cnxpcp32.DLL" Value[020] = "\print$\W32X86\3\CnPXCM32.DLL" Value[021] = "\print$\W32X86\3\UCS32P.DLL" Value[022] = "\print$\W32X86\3\cnxptn32.DLL" Value[023] = "\print$\W32X86\3\AUCPLMNT.DLL" Valuename = Monitor Type = REG_SZ Value = "" Valuename = Datatype Type = REG_SZ Value = "" Valuename = Previous Names Type = REG_MULTI_SZ Valuename = DriverDate Type = REG_SZ Value = "01/01/1601" Valuename = DriverVersion Type = REG_SZ Value = "0.0.0.0" Valuename = Manufacturer Type = REG_SZ Value = "" Valuename = OEM URL Type = REG_SZ Value = "" Valuename = HardwareID Type = REG_SZ Value = "" Valuename = Provider Type = REG_SZ Value = "" Valuename = Print Processor Type = REG_SZ Value = "" Valuename = VendorSetup Type = REG_SZ Value = "" Valuename = Color Profiles Type = REG_MULTI_SZ Valuename = InfPath Type = REG_SZ Value = "" Valuename = PrinterDriverAttributes Type = REG_DWORD Value = 0 Valuename = CoreDependencies Type = REG_MULTI_SZ Valuename = MinInboxDriverVerDate Type = REG_SZ Value = "01/01/1601" Valuename = MinInboxDriverVerVersion Type = REG_SZ Value = "0.0.0.0" Thanks -- ------------------------- Alejandro Escanero Blanco Servicio de Inform?tica Sistemas - GISI Tel: 671 569 262 (769262) Edificio Empresarial Aljarafe, mod. 36 41940 Tomares (Sevilla)
On Thu, Aug 18, 2011 at 01:31:36PM +0200, Alejandro Escanero Blanco wrote:> I'm triing to put some samba3.6 server like print server, the load > of ntprinters and ntdrivers is ok, but when I try to do a backup of > the registry I find it: > > #net rpc registry export > 'HKLM\System\CurrentControlSet\Control\Print\Environments\Windows NT > x86\Drivers\Version-3\Canon iR2270/iR2870 PCL6' printers.reg > Violaci?n de segmento (Segmentation Fault) > > Export fail but enumerate runs correctly. Where is the problem?Can you run under gdb and print out a stack backtrace please ? Jeremy.
Alejandro Escanero Blanco
2011-Sep-07 11:37 UTC
[Samba] Problem exporting samba 3.6 registry
Runs perfectly. El 07/09/11 10:51, Gregor Beck escribi?:> On Wednesday, September 07, 2011 09:56:59 AM Alejandro Escanero Blanco wrote: >> In samba3.6 I get a reject: > rebased on release-3-6-0rc1-1-g69ee029 > > Gregor-- ------------------------- Alejandro Escanero Blanco Servicio de Inform?tica Sistemas - GISI Tel: 671 569 262 (769262) Edificio Empresarial Aljarafe, mod. 36 41940 Tomares (Sevilla)