Hi folks, First of all I have a well-working samba-2.2.2-20011013 on a Redhat 7.1 with 2.4.7. (Fast like a thunder 8-). Good job guys!) But. I have a little problem with printing: At my work we have only NT 4.0 workstations on our LAN with sp6a or sp5. This problem is appearing when a client try to print onto a printer attached to samba. Sometimes. But sometimes not.> api_net_sam_logon: Failed to marshall NET_R_SAM_LOGON. > [2001/11/05 10:34:50, 0] rpc_server/srv_pipe.c:api_rpcTNP(1204) > api_rpcTNP: api_netlog_rpc: NET_SAMLOGON failed. > [2001/11/05 10:35:03, 0] smbd/nttrans.c:call_nt_transact_ioctl(1734) > call_nt_transact_ioctl: Currently not implemented. > [2001/11/05 10:43:46, 0] rpc_server/srv_spoolss_nt.c:close_printer_handle(261) > close_printer_handle: Invalid handle (OTHER) > [2001/11/05 10:43:46, 0] rpc_server/srv_spoolss_nt.c:close_printer_handle(261) > close_printer_handle: Invalid handle (OTHER) > [2001/11/05 10:51:36, 0] smbd/nttrans.c:call_nt_transact_ioctl(1762) > call_nt_transact_ioctl: Currently not implemented.If I restart samba without restarting clients the problem will gone. I've dig into the archived articles and I've seen many similar problems like mine but I have not found any solution. (I need _not_ any printer driver dowloading feature on my workstations so if you have any tips how I can disable this I'll very appreciate that!) thanks && bye, Sanya -- ...Feher Sandor... mailto:fehers@freemail.hu http://w3.swi.hu/sfeher
I work exclusively in the area of small LANS (5-10 machines max) where security is not a major issue. Therefore I have always created simple smb.conf files with share based security. I am also a newbee to Linux - most of my experience has been with SAMBA. Re: My current problem, I have set up the system with both open and root only shares. All clients can view and write to the open folder shares. I have also tried to make the printer available to everyone - but only the NT based clients (NT4.0, 2000, XP) can print! 9x clients can see the printer, they can connect to it and/or capture it, but no matter what settings I use on the client side the print process locks up. As you might expect, I am using client side drivers. Any help would be greatly appreciated. The smb.conf file follows. Thanks much! Vince Warde SAMBA Version 2.2.1a Red Hat 7.2 # Samba config file created using SWAT # from 192.168.1.51 (192.168.1.51) # Date: 2002/08/01 07:47:12 # Global parameters [global] workgroup = HOME netbios name = MICROSERVER server string = MicroServer security = SHARE encrypt passwords = Yes log file = /var/log/samba/%m.log max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 dns proxy = No guest account = root printing = lprng [homes] comment = Home Directories valid users = %S read only = No create mask = 0664 directory mask = 0775 browseable = No [printers] comment = All Printers path = /var/spool/samba guest ok = Yes printable = Yes browseable = No [webfiles] path = /var/www/html read only = No [shares] path = /shares read only = No [data] path = /shares/data read only = No guest ok = Yes [programs] path = /shares/programs read only = No guest ok = Yes Vince Warde, A+ Certified Tech. Computer Consulting and Service VISA and M/C Accepted 3406 Bristol Ct Cameron Park CA 95682 vince@douloscomputer.com http://www.douloscomputer.com Toll Free Voice: (888) 932-3315 Fax: (707) 516-2602
Hello, we have some trouble with printing via samba. Sometimes users get the windows error message that the "system couldn't find the file". sorry for bad translation from german to english. ;-) After klicking on "repeat" a lot of times printing works. Installed version is 2.2.7a. Following lines are in client machine logfiles: [2003/01/10 18:14:47, 0] tdb/tdbutil.c:tdb_log(531) tdb(/opt/samba/var/locks/printing.tdb): rec_free_read bad magic 0xfee1dead at offset=53512 [2003/01/10 18:14:48, 0] tdb/tdbutil.c:tdb_log(531) tdb(/opt/samba/var/locks/printing.tdb): rec_free_read bad magic 0xfee1dead at offset=53512 [2003/01/10 18:14:53, 0] tdb/tdbutil.c:tdb_log(531) tdb(/opt/samba/var/locks/printing.tdb): remove_from_freelist: not on list at off=61156 [2003/01/10 18:14:53, 0] tdb/tdbutil.c:tdb_log(531) tdb(/opt/samba/var/locks/printing.tdb): tdb_free: left free failed at 61156 I'm not sure but I guess these messages have something to do with my printing problem. As far as I remember we haven't had these messages with 2.2.6. And of course also not this strange problem. It seems to me this appears since upgrade to 2.2.7. I hoped it will disappear with 2.2.7a but it doesn't. Any ideas what to do? btw, going back to 2.2.6 is not exactly what I want to have to do. ;-) Thanks in advance Gustav