[Samba] print$ share problem URGENT - BUG

Peter Hurley phurley at imaginexd.com
Wed Mar 26 22:44:48 GMT 2003


I do not know why your logs are showing an smb_panic(), but the failure
to make a connection to {2227a280-3aea....} is because the printer
driver is attempting to open the "Printers" InProcServer on the remote
print server.  

***Snippet from logs***
[2003/03/26 14:33:08, 0] smbd/service.c:make_connection(252)
  donglesvr (10.217.7.11) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
***********************

Since the print server is a Samba machine (that has no registry or
capability to run InProcServers), that service doesn't exist.  I had
this happen to me when trying to add additional drivers from my W2k
workstation to our 2.2.7a Samba server for a new HP2200 network printer.

The solution I used was to add them manually via rpcclient on the Samba
server itself.  It took me quite a while.  Basically the process is:
1)  expand the driver files on your local W2k workstation, via the
"extract" command line utility.
2)  copy the driver files up to the appropriate directory on the
[print$] share.  See section 6.2.1 of the Samba HOWTO for the directory
structure.
Basically, NT4/W2K/XP drivers go in W32X86 and 95/98/Me go into WIN40.
3)  on the samba server, run rpcclient.
4)  at the rpcclient prompt, use "adddriver" to install the files into
the appropriate architecture location.  The tricky part of this is
looking at the *.INF file to determine what parameters go where in the
adddriver command. The format is:

	adddriver "Architecture" "LongPrinterName:DriverFile:DataFile:
ConfigFile:HelpFile:LanguageMonitorFile:DataType:ListOfFiles"

See rpcclient() man page for list of Architectures.
The ListOfFiles are the files not already specified in the other
parameters.

For example,

	adddriver "Windows NT x86" "HP LaserJet 2200 Series PCL 6:
HPBF3222.DLL:HPBF3224.PMD:HPBF3220.DLL:HPBF3220.HLP:HPBMMON.DLL:RAW:
HPBAFD32.DLL,HPBFTM32.DLL,HPDOMON.DLL,HPBHEALR.DLL"

5)  when you have added the driver successfully, then you use the
"setdriver" command (still at the rpcclient prompt) to associate the
printer share with the driver.

For example,
	
	setdriver "hp2200" "HP LaserJet 2200 Series PCL 6"

Now automatic driver download should work.

This process was so painful, eventually I'm going to look at the
Imprints package to see if that works (there's a reference to this
package in section 6.3 of the Samba HOWTO).

Thanks,

Peter Hurley
phurley at imaginexd.com


-----Original Message-----
From: samba-technical-bounces+phurley=imaginexd.com at lists.samba.org
[mailto:samba-technical-bounces+phurley=imaginexd.com at lists.samba.org]
On Behalf Of Stéphane Purnelle
Sent: Wednesday, March 26, 2003 4:33 PM
To: stephane.purnelle at corman.be; samba US; samba-tech
Subject: Re: [Samba] print$ share problem URGENT - BUG

Why I have no answer for my questions ?

I repeat the situation : 
RedHat 8.0 with samba 2.2.8 compiled wiwth ldapsam and acl-support
I need the print$ share and this system dont't work.
I explain : 
when I add a driver, the system copy the data to the share, but after
the copy, w2k display a message "the process cannot finish".  

If I look in the log of machine, I found a 

...
  ===============================================================
[2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)

 INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)

  Please read the file BUGS.txt in the distribution

[2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)

  ===============================================================

[2003/03/26 14:29:50, 0] lib/util.c:smb_panic(1094)
  PANIC: internal error
.....

[2003/03/26 14:32:36, 1] smbd/ipc.c:api_fd_reply(292)
  api_fd_reply: INVALID PIPE HANDLE: 7351
[2003/03/26 14:32:41, 1] smbd/ipc.c:api_fd_reply(292)
  api_fd_reply: INVALID PIPE HANDLE: 7352
[2003/03/26 14:33:08, 0] smbd/service.c:make_connection(252)
  donglesvr (10.217.7.11) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}

My print$ share is in a other share

/xxxx/sys/samba.pub/printer

sys is a share
printer is the print$ share  


How can I found the service {2227a280-3aea-1069-a2de-08002b-30309d} ?

can anybody help me. 

My samba server need to be in production and fastly. 

Le mer 26/03/2003 à 14:41, stephane.purnelle at corman.be a écrit :
> Hello
> 
> I try to install drivers from CD to print$ share.
> I use the APW for that, but when the system have finish to copy
drivers,
> w2k says that he cannot complete the process.
> 
> And the log of the machine says :
> 
> [2003/03/26 11:56:41, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:26:53, 0] smbd/service.c:make_connection(252)
>   donglesvr (10.217.7.11) couldn't find service
> ::{2227a280-3aea-1069-a2de-08002b30309d}
> [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:28:04, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:29:41, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16328)
> [2003/03/26 14:29:49, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16328)
> [2003/03/26 14:29:49, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:29:49, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16328)
> [2003/03/26 14:29:50, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(38)
>   ===============================================================
> [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(39)
>   INTERNAL ERROR: Signal 11 in pid 16328 (2.2.8)
>   Please read the file BUGS.txt in the distribution
> [2003/03/26 14:29:50, 0] lib/fault.c:fault_report(41)
>   ===============================================================
> [2003/03/26 14:29:50, 0] lib/util.c:smb_panic(1094)
>   PANIC: internal error
> [2003/03/26 14:29:50, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:29:50, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16602)
> [2003/03/26 14:30:18, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:30:18, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16602)
> [2003/03/26 14:31:05, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16602)
> [2003/03/26 14:31:05, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:31:05, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16602)
> [2003/03/26 14:31:06, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:31:06, 0] lib/fault.c:fault_report(38)
>   ===============================================================
> [2003/03/26 14:31:06, 0] lib/fault.c:fault_report(39)
>   INTERNAL ERROR: Signal 11 in pid 16602 (2.2.8)
>   Please read the file BUGS.txt in the distribution
> [2003/03/26 14:31:06, 0] lib/fault.c:fault_report(41)
>   ===============================================================
> [2003/03/26 14:31:06, 0] lib/util.c:smb_panic(1094)
>   PANIC: internal error
> [2003/03/26 14:31:06, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:31:06, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16612)
> [2003/03/26 14:31:28, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:31:31, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16612)
> [2003/03/26 14:31:38, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16612)
> [2003/03/26 14:31:38, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:31:38, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16612)
> [2003/03/26 14:31:38, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:31:38, 0] lib/fault.c:fault_report(38)
>   ===============================================================
> [2003/03/26 14:31:38, 0] lib/fault.c:fault_report(39)
>   INTERNAL ERROR: Signal 11 in pid 16612 (2.2.8)
>   Please read the file BUGS.txt in the distribution
> [2003/03/26 14:31:38, 0] lib/fault.c:fault_report(41)
>   ===============================================================
> [2003/03/26 14:31:38, 0] lib/util.c:smb_panic(1094)
>   PANIC: internal error
> [2003/03/26 14:31:38, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:31:38, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16619)
> [2003/03/26 14:32:07, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:32:07, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16619)
> [2003/03/26 14:32:21, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:32:36, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:32:36, 1] smbd/ipc.c:api_fd_reply(292)
>   api_fd_reply: INVALID PIPE HANDLE: 7351
> [2003/03/26 14:32:41, 1] smbd/ipc.c:api_fd_reply(292)
>   api_fd_reply: INVALID PIPE HANDLE: 7352
> [2003/03/26 14:33:08, 0] smbd/service.c:make_connection(252)
>   donglesvr (10.217.7.11) couldn't find service
> ::{2227a280-3aea-1069-a2de-08002b30309d}
> [2003/03/26 14:33:46, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16667)
> [2003/03/26 14:33:55, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16667)
> [2003/03/26 14:33:55, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:33:55, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16667)
> [2003/03/26 14:33:55, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:33:55, 0] lib/fault.c:fault_report(38)
>   ===============================================================
> [2003/03/26 14:33:55, 0] lib/fault.c:fault_report(39)
>   INTERNAL ERROR: Signal 11 in pid 16667 (2.2.8)
>   Please read the file BUGS.txt in the distribution
> [2003/03/26 14:33:55, 0] lib/fault.c:fault_report(41)
>   ===============================================================
> [2003/03/26 14:33:55, 0] lib/util.c:smb_panic(1094)
>   PANIC: internal error
> [2003/03/26 14:33:55, 0] passdb/pdb_ldap.c:ldap_connect_system(316)
>   ldap_connect_system: Binding to ldap server as
> "cn=manager,dc=corman,dc=be"
> [2003/03/26 14:33:55, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16682)
> [2003/03/26 14:33:57, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> [2003/03/26 14:34:01, 1] smbd/service.c:make_connection(636)
>   donglesvr (10.217.7.11) connect to service print$ as user root
(uid=0,
> gid=0) (pid 16682)
> [2003/03/26 14:35:05, 1] smbd/service.c:close_cnum(677)
>   donglesvr (10.217.7.11) closed connection to service print$
> 
> Thanks
> 
> -----------------------------------
> Stéphane PURNELLE                         stephane.purnelle at corman.be
> Service Informatique       Corman S.A.           Tel : 00 32
087/342467




More information about the samba-technical mailing list