[Samba] Problem with printing in server
Greetings, I have this problem, i cant print from 2 w xp client over the net in the samba server, Version 3.0.14a-Debian, cupsys 1.1.20final+rc. working as pdc role. this is the log.smbd: [2006/01/16 12:02:20, 0] rpc_server/srv_lsa_hnd.c:create_policy_hnd(111) create_policy_hnd: ERROR: too many handles (1025) on this pipe. the error message says about some problem with memory help please. danilo -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Problem with printing in server
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Danilo Moretto wrote: Greetings, I have this problem, i cant print from 2 w xp client over the net in the samba server, Version 3.0.14a-Debian, cupsys 1.1.20final+rc. working as pdc role. this is the log.smbd: [2006/01/16 12:02:20, 0] rpc_server/srv_lsa_hnd.c:create_policy_hnd(111) create_policy_hnd: ERROR: too many handles (1025) on this pipe. the error message says about some problem with memory I expect this is either a bug in the WinXP client spooler or a bug in the print driver. cheers, jerry -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFDzdDvIR7qMdg1EfYRAuKpAKCcvmLS2TRZXSyx+zoo/N3jbp3gSACgiOK6 6VWgjHHq11ZBkelDM+K0eR8= =ud3e -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] problem with printing
Hi, I have samba and a printer installed on a FreeBSD 4.11 machine and I am trying to print from a WinXP machine in the same workgroup. This is for a home network so I'm not too worry about security etc. I can see temp files appear in the samba spool directory and the printer spool directory, such as smbprn.00125.0vTiLi, lock, status, errs.FFOJqrb, etc. Interestingly, the printer log file I defined is missing. But of course, the reason I'm posting this is that nothing gets printed. I tried various things I found on google, such as changing the guest account from nobody to an account that can print, different print command, turning on guest only, different create mode permission, etc. File sharing across samba works just fine. I can also print with the printer on the BSD machine. I'm using BSD printing style. The printer shows up on WinXP as access denied, but I heard it's a WinXP problem. Here is my smb.conf # Samba config file created using SWAT # from 192.168.0.100 (192.168.0.100) # Date: 2005/09/07 17:46:57 # Global parameters [global] comment = FreeBSD Haven - Samba %v debuglevel = 5 workgroup = TEST server string = BSD Samba Server security = SHARE encrypt passwords = No log file = /var/log/samba.log.%m max log size = 500 printcap name = /etc/printcap dns proxy = No printing = bsd #print command = lpr -s -P %p %s; rm %s print command = lpr -P %p -o raw %s -r #print command = logger %p %s #guest only = Yes [printers] comment = hp920 connected to FreeBSD create mode = 1777 read only = Yes writable = Yes public = No guest ok = No printable = Yes use client driver = yes browseable = No directory = /tmp [samba] comment = Samba printer printer = samba printable = Yes public = Yes guest ok = Yes path = /var/spool/samba browseable = Yes read only = No -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Problem in printing
Hello Samba Team. one of our valuable client have been using samba version 2 with windows 98 on their workstation and Unix on their server. Now they are going to upgrade the operating system on their workstation form windows98 to windows 2000 professional. In due process their printing is not working. Do we have to upgrade the Samba version. - This is virus free email scanned by Mdaemon Antivirus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] problem mixing printing cups and own print commands
hello, i'm using samba 3.0.0beta2-1 on Debian.with passdb backend = ldapsam and printing = cups. in the past Samba 2.0.5 i'm using printing = bsd and define my printers in the /etc/printcap. additional i define own printers to create pdf - files. Now i'm using cups. everything works fine with printers defined on cups ( automatic driver installation, printing ... )., but printing ( not driver installation !) with own print commands failed. What's wrong ? Works cups and own print commands not together ? The printing-section of my smb.conf looks like follows ;Printing printing = cups printcap name = cups load printers = yes show add printer wizard = yes [printers] comment = All Printers path = /dataserver/samba/printer public = yes guest ok = yes writable = no printable = yes printer admin = @_sambaadmins [print$] comment = Printer Driver Download Area path = /dataserver/samba/printer browseable = yes guest ok = yes read only = yes write list = @_sambaadmins [PDF-Printer] comment = PDF Printer #print command = /etc/samba/scripte/pdf_print.pl %s %p %I %m %M %g %u %T print command = echo Printing %s /tmp/print.log path = /tmp #path = /dataserver/samba/printer printer admin = @_sambaadmins browseable = yes printable = yes writable = no create mode = 0666 Thanks for your help ( and reading my bad english ;-) krueson -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem mixing printing cups and own print commands
On Wed, 14 Jan 2004, [ISO-8859-1] Lutz Krüger wrote: hello, i'm using samba 3.0.0beta2-1 on Debian.with passdb backend = ldapsam and printing = cups. in the past Samba 2.0.5 i'm using printing = bsd and define my printers in the /etc/printcap. additional i define own printers to create pdf - files. Now i'm using cups. everything works fine with printers defined on cups ( automatic driver installation, printing ... )., but printing ( not driver installation !) with own print commands failed. What's wrong ? Works cups and own print commands not together ? Correct. When you use CUPS, samba communicates directly with CUPS via the CUPS printing libraries. So set up your printers in CUPS (including PDF production) and you should have a very robust printing environment. Suggest you refer to the Samba-HOWTO-Collection chapters on CUPS printing. See: http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf cheers, John T. The printing-section of my smb.conf looks like follows ;Printing printing = cups printcap name = cups load printers = yes show add printer wizard = yes [printers] comment = All Printers path = /dataserver/samba/printer public = yes guest ok = yes writable = no printable = yes printer admin = @_sambaadmins [print$] comment = Printer Driver Download Area path = /dataserver/samba/printer browseable = yes guest ok = yes read only = yes write list = @_sambaadmins [PDF-Printer] comment = PDF Printer #print command = /etc/samba/scripte/pdf_print.pl %s %p %I %m %M %g %u %T print command = echo Printing %s /tmp/print.log path = /tmp #path = /dataserver/samba/printer printer admin = @_sambaadmins browseable = yes printable = yes writable = no create mode = 0666 Thanks for your help ( and reading my bad english ;-) krueson -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Problem with printing in samba server
Hai, thankyou for the solution.It seems work fine now. I edit the file /etc/lprng/lpd.perms with option DEFAULT ACCEPT I have create a new file hostsunder /etc. file /etc/hosts: 127.0.0.1 localhost 192.168.1.X octest octest.riedmann.it I don't receive the message now ( get_local_host ´myhostname´ bad ) , and the window printing status is working fine. Gertian -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] problem with printing server
I have a problem with printing in samba The problem is when printing from win98 or other windows machines via samba ! Is printing ASCI characters - that's a lot of garbage. What are the settings for the driver in order to stop printing this and print the actual document ? What I have to do in order to use the printer Any answer is wellcome Thanks a lot Andrei -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem with printing server
Andrei Baldes schrieb: From any windows machine the print is only 5mm of the first row. (For instance I'm on win2000 and I gave from Printers Property - Print a test Page - it will print 5 mm from the upper part of the test page (this mean 5 mm from the Win logo and upper part of Windows 2000 (upper half - only 5mm - windows 2000 on test page has almost 1 cm height) and then eject paper and said - Job's Done. I hope you understand. Below is my smb.conf it seems ok And the printcap file - this is autoconfig. hp930c:\ :ml=0:\ :mx=0:\ :sd=/var/spool/lpd/hp930c:\ :af=/var/spool/lpd/hp930c/hp930c.acct:\ :sh:\ :lp=/dev/lp0:\ :lpd_bounce=true:\ :if=/usr/share/printconf/util/mf_wrapper: try to configure the printcap manual (e.g. over /var/lib/apsfilter/SETUP) because there's the failure (missing raw statement?). but i strongly recomment to read the relevant manuals *before* usage (i'm not the strongest in theme printing over linux) look at this (correct) printcap entry. ==v= hpusb|lp4|cdj970-a4-raw-hp970|cdj970 a4 raw:\ :lp=/dev/usblp0:\ :sd=/var/spool/lpd/cdj970-a4-raw-hp970:\ :lf=/var/spool/lpd/cdj970-a4-raw-hp970/log:\ :af=/var/spool/lpd/cdj970-a4-raw-hp970/acct:\ :if=/var/lib/apsfilter/bin/cdj970-a4-raw-hp970:\ :la@:mx#0:\ :tr=:cl:sh:sf: Thanks for your help Best Regards Andrei -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] problem for printing with smbclient
Hello I'am french and I have a big problem with a great feature of smbclient, I can't print anymore postscript document directly to my network printer(postscript compatible) We have recently change of server, we used a old linux distribution ( suse 5 or 6) with samba 1.9 and we had no problem with it exemple : [warrior:/] cat /tmp/aaa.ps | smbclient '\\lasercouleur\direct' -U ANONYMOUS -P '' -N -c 'print -' Added interface ip=172.16.57.55 bcast=172.16.57.255 nmask=255.255.255.0 Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05] security=share printing file - as stdin 113 bytes printed [warrior:/] it run correctly But with our new server, we use a Mandrake 9.0 distribution with samba (2.2.6.pre2) and that don't works anymore [rainbow:~] cat /tmp/epilogue.ps | smbclient '\\lasercouleur\direct' -U ANONYM OUS -P '' -N -c 'print -' added interface ip=172.16.57.33 bcast=172.16.57.255 nmask=255.255.255.0 Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05] putting file - as stdin-26374 Error writing file: ERRSRV - 22 (0.0 kb/s) (average 0.0 kb/s) [rainbow:~] I try to find a solution on the internet but i don't find any information about the ERRSRV - 22 I try to compil and install a other version of samba (2.2.7.). But i have the same errors I try with the debug mode (-d3 ...) but that don't give me more information i try with differents parameters in the smb.conf but it's don't work [rainbow:/usr/local/samba/bin] cat /aaa.ps | smbclient '\\lasercouleur\direct' -d3 -U ANONYMOUS -P '' -N -c 'print -' Initialising global parameters params.c:pm_process() - Processing configuration file /etc/samba/smb.conf Processing section [global] added interface ip=172.16.57.33 bcast=172.16.57.255 nmask=255.255.255.0 Client started (version 2.2.6pre2). resolve_lmhosts: Attempting lmhosts lookup for name lasercouleur0x20 resolve_hosts: Attempting host lookup for name lasercouleur0x20 Connecting to 172.16.57.99 at port 139 Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05] putting file - as stdin-27345 Error writing file: ERRSRV - 22 SUCCESS - 0 closing remote file stdin-27345 [rainbow:/usr/local/samba/bin] If someone can help me i will be very great Kevin berkane -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] problem for printing with smbclient
What is the printing system on the new server? The old caldera likely had lprng, and the new one may have cups, whatever that is. cups has some extra things to configure for permissions, I think. Does the smb.conf on your server specify the right printing system? Joel On Fri, Feb 07, 2003 at 09:58:26AM +0100, Kevin Berkane wrote: Hello I'am french and I have a big problem with a great feature of smbclient, I can't print anymore postscript document directly to my network printer(postscript compatible) We have recently change of server, we used a old linux distribution ( suse 5 or 6) with samba 1.9 and we had no problem with it exemple : [warrior:/] cat /tmp/aaa.ps | smbclient '\\lasercouleur\direct' -U ANONYMOUS -P '' -N -c 'print -' Added interface ip=172.16.57.55 bcast=172.16.57.255 nmask=255.255.255.0 Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05] security=share printing file - as stdin 113 bytes printed [warrior:/] it run correctly But with our new server, we use a Mandrake 9.0 distribution with samba (2.2.6.pre2) and that don't works anymore [rainbow:~] cat /tmp/epilogue.ps | smbclient '\\lasercouleur\direct' -U ANONYM OUS -P '' -N -c 'print -' added interface ip=172.16.57.33 bcast=172.16.57.255 nmask=255.255.255.0 Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05] putting file - as stdin-26374 Error writing file: ERRSRV - 22 (0.0 kb/s) (average 0.0 kb/s) [rainbow:~] I try to find a solution on the internet but i don't find any information about the ERRSRV - 22 I try to compil and install a other version of samba (2.2.7.). But i have the same errors I try with the debug mode (-d3 ...) but that don't give me more information i try with differents parameters in the smb.conf but it's don't work [rainbow:/usr/local/samba/bin] cat /aaa.ps | smbclient '\\lasercouleur\direct' -d3 -U ANONYMOUS -P '' -N -c 'print -' Initialising global parameters params.c:pm_process() - Processing configuration file /etc/samba/smb.conf Processing section [global] added interface ip=172.16.57.33 bcast=172.16.57.255 nmask=255.255.255.0 Client started (version 2.2.6pre2). resolve_lmhosts: Attempting lmhosts lookup for name lasercouleur0x20 resolve_hosts: Attempting host lookup for name lasercouleur0x20 Connecting to 172.16.57.99 at port 139 Domain=[FLASH] OS=[VxWorks] Server=[EFISmbServer0.05] putting file - as stdin-27345 Error writing file: ERRSRV - 22 SUCCESS - 0 closing remote file stdin-27345 [rainbow:/usr/local/samba/bin] If someone can help me i will be very great Kevin berkane -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] problem getting printing started via CUPS
Title: [Samba] problem getting printing started via CUPS I'm using cups for printing and when i try to share a printer with samba i get the msg on my win2000 wks that access is denied, unable to connect my smb.conf looks like this: [global] workgroup = kerkenkruis netbios name = kruimel server string = Samba server running on Redhat %L:%h interfaces = eth0 dns proxy = yes domain master = yes preferred master= yes socket options = IPTOS_LOWDELAY TCP_NODELAY os level = 65 update encrypted= yes unix password sync = yes encrypt passwords = yes printcap name = cups [public] hide dot files = yes path = /tmp [printers] browseable = yes printing = cups lpq command = /usr/bin/lpstat -o%p lprm command = /usr/bin/cancel %p-%j print command = /usr/bin/lp -d%p -orwa %s; rm %s queuepause command = /usr/bin/disable %p queueresume command = /usr/bin/enable %p public = yes printable = yes # valid users = printer name = test What could be the problem??? Gr, Ernst Cozijnsen -- This message contains information that may be privileged or confidential and is the property of the Cap Gemini Ernst Young Group. It is only intended for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.