Hansjoerg Maurer
2002-Dec-10 08:03 UTC
[Samba] Changing printer properties caused infinite loop (samba-2.2.7, cups-1.1.16, Solaris 2.8)
Hi, we have a samba printserver 2.2.7 with cups 1.1.16 with about 15 HP Printers. The samba server runs under Solaris 2.8 and is a member of a NT4 controlled domain. Because of some problems setting the document defaults, I tried cupsaddsmb with the Adobe PS driver. The installation of the driver works fine, but some document defaults (eg. download as softfont instead of substitute with device font and black and white instead of color aren't set). To do this, I connect as root to the printserver (from host odfpbirk, root is nor a domain user) [2002/12/09 17:42:45, 2] lib/util_sock.c:open_socket_out(874) error connecting to XXXX:445 (Connection refused) [2002/12/09 17:42:45, 0] rpc_client/cli_netlogon.c:cli_net_sam_logon_internal(406) cli_net_sam_logon_internal: NT_STATUS_NO_SUCH_USER [2002/12/09 17:42:45, 0] smbd/password.c:domain_client_validate(1619) domain_client_validate: unable to validate password for user root in domain ODFPBIRK to Domain controller XXXX. Error was NT_STATUS_NO_SUCH_USER. [2002/12/09 17:42:45, 0] smbd/reply.c:smb_delete_user(561) smb_delete_user: Will not delete the [root] user account! [2002/12/09 17:42:45, 2] lib/access.c:check_access(329) Allowed connection from (XXXX) [2002/12/09 17:43:07, 2] lib/access.c:check_access(329) Allowed connection from (XXXX) [2002/12/09 17:43:07, 1] smbd/service.c:make_connection(636) odfpbirk (XXXX) connect to service print$ as user root (uid=0, gid=1) (pid 2938) Afterwards I try to change portrait to landscape like described in the settings to initialize the driver. The I changed the properties-advanced-defaul-settings and saved them. If I open them again, nothing is changed. If I watch the logs, there is an loop writing, which continues until I stop samba: Does anybody have an idea what ther could be the problem? Printing works but setting document default not? [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPS5.DLL read=Yes write=No (numopen=1) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPSU.DLL read=Yes write=No (numopen=2) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/hp5000.PPD read=Yes write=No (numopen=3) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPSU.HLP read=Yes write=No (numopen=4) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPS5.DLL read=Yes write=No (numopen=5) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/ADOBEPS5.DLL (numopen=4) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPSU.DLL read=Yes write=No (numopen=5) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/ADOBEPSU.DLL (numopen=4) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/hp5000.PPD read=Yes write=No (numopen=5) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/hp5000.PPD (numopen=4) [2002/12/09 17:43:31, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPSU.HLP read=Yes write=No (numopen=5) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/ADOBEPSU.HLP (numopen=4) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/ADOBEPS5.DLL (numopen=3) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/ADOBEPSU.DLL (numopen=2) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/hp5000.PPD (numopen=1) [2002/12/09 17:43:31, 2] smbd/close.c:close_normal_file(213) root closed file W32X86/2/ADOBEPSU.HLP (numopen=0) [2002/12/09 17:43:32, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPS5.DLL read=Yes write=No (numopen=1) [2002/12/09 17:43:32, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPSU.DLL read=Yes write=No (numopen=2) [2002/12/09 17:43:32, 2] smbd/open.c:open_file(245) root opened file W32X86/2/hp5000.PPD read=Yes write=No (numopen=3) [2002/12/09 17:43:32, 2] smbd/open.c:open_file(245) root opened file W32X86/2/ADOBEPSU.HLP read=Yes write=No (numopen=4) Part of smb.conf security = domain workgroup = XXXX encrypt passwords = yes password server = XXXX netbios name = PRINTSERVER2 server string = Samba-Print-Server (Backup) announce as = NT Server printer admin = Administrator,root preferred master = no domain master = no local master = yes printing = cups printcap name = cups lpq cache time = 5 print$] path = /usr/local/samba/printers guest ok = no public=no browseable = yes writable = no write list = root,Administrator [printers] # default devmode = no path = /var/spool/samba public=no comment = All Printers browseable = yes guest ok = no writable = no printable = yes -- _________________________________________________________________ Dr. Hansjoerg Maurer | LAN- & System-Manager | Deutsches Zentrum | DLR Oberpfaffenhofen f. Luft- und Raumfahrt e.V. | Institut f. Robotik | Postfach 1116 | Muenchner Strasse 20 82230 Wessling | 82234 Wessling Germany | | Tel: 08153/28-2431 | E-mail: Hansjoerg.Maurer@dlr.de Fax: 08153/28-1134 | WWW: http://www.robotic.dlr.de/ __________________________________________________________________
Seemingly Similar Threads
- cups Printer Driver Donwload with Win9X (Adobe driver/cupsaddsmb) cups-1.1.18, samba-2.2.7
- weird loop selecting print driver from w2k client w/ samba 2.2.5 w/ patches
- Excessive file traffic when viewing Printer Properties with 3.0.11
- rpcclient error -- CUPS 1.1.16 provides PostScript driver for WindowsNT/2K/XP
- cusaddsmb and setdriver