[Samba] What am I missing here?!
OK, I've tried changing my printcap name from printcap to cups. Printing works fine locally using CUPS on the Samba box. What am I missing here? Why can't I print to the Samba box via the Windows and linux clients? Shared directories work fine. I am really frustrated here and have exhausted Google and all other resources I have. Here's my smb.conf for what it's worth. Global parameters [global] path = /var/spool/cups passwd program = /usr/bin/passwd %u domain master = True printing = cups dns proxy = No null passwords = Yes encrypt passwords = Yes valid users = bax morbo amy nobody invalid users = root wins support = true printcap name = cups max log size = 1000 hosts allow = 192.168.1. obey pam restrictions = Yes passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . username level = 8 map to guest = Bad User security = share message command = /bin/sh -c '/usr/bin/linpopup server string = %h server (Samba %v) workgroup = SHEP syslog = 0 netbios name = PRINTSERVER log file = /var/log/samba/log.%m load printers = yes os level = 35 default = printers [printers] comment = All Printers path = /tmp guest ok = Yes use client driver = Yes printable = yes print command = lp -d %p -o raw %s; rm -f %s create mask = 0700 [Laserjet] writable = yes browseable = yes use client driver = Yes guest ok = Yes oplocks = No printable = yes print command = lp -d %p -o raw %sU ² -f %s printer name = Laserjet create mask = 0700 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Redhat 8 Samba+CUPS
Hi all. In the interest of using a more mainstream business distribution, I changed my faithful file/printserver over to Redhat 8.0 from Debian Testing. Now, my shared directories are working fine but printing is not working. I can browse to the printer using net view or Network Neighborhood in Windows or using smbclient -L in Linux but printing is not working. I've checked /var/log/samba/ and the only errors I found dealt w/ permissions on /var/spool/cups which I fixed w/ a chmod 1777. Right now I suspect the printcap name = /etc/printca is my problem but I'm not sure. If anybody has some input on this or even a working smb.conf using Redhat 8.0 w/ CUPS, I would appreciate it. I am including a portion of my smb.conf in case someone can spot the error I'm missing :) # Global parameters [global] path = /var/spool/cups passwd program = /usr/bin/passwd %u domain master = True printing = cups dns proxy = No null passwords = Yes encrypt passwords = Yes valid users = bax morbo amy nobody planetexpress bender invalid users = root wins support = true printcap name = /etc/printcap max log size = 1000 hosts allow = 192.168.1. obey pam restrictions = Yes passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . username level = 8 map to guest = Bad User security = user message command = /bin/sh -c '/usr/bin/linpopup server string = %h server (Samba %v) workgroup = SHEP syslog = 0 netbios name = PRINTSERVER log file = /var/log/samba/log.%m load printers = yes os level = 35 default = printers -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Redhat 8 printcap
This old .conf worked fine w/ my old Debian box so I think /etc/printcap works. Googling hasn't helped me a bit. I checked the /var/log/cups/ and I could only find the documents printed locally from the samba box. None of the documents sent from the networked boxes showed up in /var/log/cups. On Friday 21 March 2003 04:10 pm, Barry, Christopher wrote: > Baxter, > I could be wrong, but I thought /etc/printcap was the config for bsd style > printing - not cups. Anyone? > > > -- > Christopher Barry > Manager of Information Systems > InfiniCon Systems > http://www.infiniconsys.com > > -Original Message- > From: Baxter Shepperson [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 5:24 PM > To: [EMAIL PROTECTED] > Subject: [Samba] Redhat 8 printcap > > > I am trying to printing working on my Redhat 8 Samba box. Shared drives > work fine so there's no problem w/ connectivity. I can see the printer > from Windows boxes but nothing ever prints! /var/spool/cups has had the > permissions changed appropriately. Here's my smb.conf > global] > path = /var/spool/cups > passwd program = /usr/bin/passwd %u > domain master = True > printing = cups > dns proxy = No > null passwords = Yes > encrypt passwords = Yes > valid users = bax morbo amy nobody > invalid users = root > wins support = true > printcap name = /etc/printcap > max log size = 1000 > hosts allow = 192.168.1. > obey pam restrictions = Yes > passwd chat = *Enter\snew\sUNIX\spassword:* %n\n > *Retype\snew\sUNIX\spassword:* %n\n . > username level = 8 > map to guest = Bad User > security = user > message command = /bin/sh -c '/usr/bin/linpopup > server string = %h server (Samba %v) > workgroup = SHEP > syslog = 0 > netbios name = PRINTSERVER > log file = /var/log/samba/log.%m > load printers = yes > os level = 35 > default = printers > > [homes] > path = %H > writeable = yes > valid users = bax,morbo,amy,nobody > comment = Home Directories > public = yes > create mask = 0700 > directory mask = 0700 > level 2 oplocks = yes > [printers] > comment = All Printers > path = /tmp > guest ok = Yes > use client driver = Yes > printable = yes > print command = lp -d %p -o raw %s; rm -f %s > create mask = 0700 > > [Laserjet] > writable = yes > browseable = yes > use client driver = Yes > guest ok = Yes > oplocks = Yes > printable = yes > print command = lp -d %p -o raw %s; rm -f %s > printer name = Laserjet > create mask = 0700 > > -- > 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] Redhat 8 printcap
I am trying to printing working on my Redhat 8 Samba box. Shared drives work fine so there's no problem w/ connectivity. I can see the printer from Windows boxes but nothing ever prints! /var/spool/cups has had the permissions changed appropriately. Here's my smb.conf global] path = /var/spool/cups passwd program = /usr/bin/passwd %u domain master = True printing = cups dns proxy = No null passwords = Yes encrypt passwords = Yes valid users = bax morbo amy nobody invalid users = root wins support = true printcap name = /etc/printcap max log size = 1000 hosts allow = 192.168.1. obey pam restrictions = Yes passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . username level = 8 map to guest = Bad User security = user message command = /bin/sh -c '/usr/bin/linpopup server string = %h server (Samba %v) workgroup = SHEP syslog = 0 netbios name = PRINTSERVER log file = /var/log/samba/log.%m load printers = yes os level = 35 default = printers [homes] path = %H writeable = yes valid users = bax,morbo,amy,nobody comment = Home Directories public = yes create mask = 0700 directory mask = 0700 level 2 oplocks = yes [printers] comment = All Printers path = /tmp guest ok = Yes use client driver = Yes printable = yes print command = lp -d %p -o raw %s; rm -f %s create mask = 0700 [Laserjet] writable = yes browseable = yes use client driver = Yes guest ok = Yes oplocks = Yes printable = yes print command = lp -d %p -o raw %s; rm -f %s printer name = Laserjet create mask = 0700 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Redhat 8 printing problems Printcap?
Hi list. I'm having problems w/ printing using Samba on Redhat 8. Shared drives work fine yet my CUPS printing doesn't work. I sure appreciate any input. For what it's worth, I couldn't find any printing related errors in /var/log/samba/. I notice that the printcap doesn't have a sub-directory named cups like my old Debian box. Could that be it? Here's my smb.conf [global] path = /var/spool/cups passwd program = /usr/bin/passwd %u domain master = True printing = cups dns proxy = No null passwords = Yes encrypt passwords = Yes valid users = bax morbo amy nobody invalid users = root wins support = true printcap name = /etc/printcap/ max log size = 1000 hosts allow = 192.168.1. obey pam restrictions = Yes passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . username level = 8 map to guest = Bad User security = user message command = /bin/sh -c '/usr/bin/linpopup server string = %h server (Samba %v) workgroup = SHEP syslog = 0 netbios name = PRINTSERVER log file = /var/log/samba/log.%m load printers = yes os level = 35 default = printers [homes] path = %H writeable = yes valid users = bax,morbo,amy,nobody comment = Home Directories public = yes create mask = 0700 directory mask = 0700 level 2 oplocks = yes [printers] comment = All Printers path = /tmp guest ok = Yes use client driver = Yes printable = yes print command = lp -d %p -o raw %s; rm -f %s create mask = 0700 [Laserjet] writable = yes browseable = yes use client driver = Yes guest ok = Yes oplocks = No printable = yes print command = lp -d %p -o raw %s; rm -f %s printer name = Laserjet create mask = 0700 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Can't mount Samba share on Linux box, Windows clientsOK
Baxter Shepperson wrote: Hi all. I've got most of the Samba config dialed in yet I still cannot get printing or file sharing going from my main desktop (Debian Sarge). Here's what I tried: root@PlanetExpress:/home/bax# mount -t smbfs -o username=planetexpress,password=tigerlily //printserver/homes /mnt/Samba Unknown parameter encountered: "passdb backend" Ignoring unknown parameter "passdb backend" Any ideas? Printing from CUPS on my Linux box to the Samba box doesn't work either. I hope it's something small or stupid because the Windows clients are running just fine. I appreciate any ideas/comments/ridicule anyone might offer. Baxter Sgt USMC I forgot to mention connectivity is good, there's an account created via useradd and smbpasswd -a. Should I just add the Linux box as a machine account rahter than a user account? Thanks! -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Can't mount Samba share on Linux box, Windows clients OK
Hi all. I've got most of the Samba config dialed in yet I still cannot get printing or file sharing going from my main desktop (Debian Sarge). Here's what I tried: root@PlanetExpress:/home/bax# mount -t smbfs -o username=planetexpress,password=tigerlily //printserver/homes /mnt/Samba Unknown parameter encountered: "passdb backend" Ignoring unknown parameter "passdb backend" Any ideas? Printing from CUPS on my Linux box to the Samba box doesn't work either. I hope it's something small or stupid because the Windows clients are running just fine. I appreciate any ideas/comments/ridicule anyone might offer. Baxter Sgt USMC -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Oplocks problem
Dominic Saindon wrote: Hi, I use version 2.2.2 of Samba on Solaris 8 and I have the following problem: From a working station which uses a connection modem (56 kbps) towards the server to reach to a network drive and with the following configuration under smb.conf: [dgui] comment = mir:/grp/in4mix/DGUI path = /grp/in4mix/DGUI valid users = @in4mix force group = in4mix read only = No create mask = 0775 directory mask = 0775 oplocks = No A file of 6k on the server is transferred with 300k additional when OPLOCKS=NO. But when OPLOCKS=YES, there is really 6k transferred. How can I regulate this problem to use option OPLOCKS=NO but what the transfer is faster? Thanks. _/\___ Dominic Saindon Analyste en système COGNICASE (Canada) inc. 2144, rue King Ouest, bureau 240 Sherbrooke (Québec) J1J 2E8 Tél. : (819) 564-1199, poste 2282 Téléc. : (819) 564-0868 Courriel : [EMAIL PROTECTED] I get the same problem on my home network w/ an HP Laserjet. Worked fine but I commented out the line anyway. No change whatsoever. I'd leave it alone if it works on an enterprise network, if I were you. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Linux workstation can't print to Samba printserver
I'm trying to configure a Linux workstation to print to my Samba printserver and can't figure out what I'm missing. Both are running CUPS. Windows clients print fine to the Samba box. Any ideas? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Should be easy-printing problem rest of Samba works
Hi list. I've just got Samba up and running as a fileserver just fine. Now I'm trying to use it as a printserver using CUPS. I can see said printer via Network Neighborhood on XP boxes and add it in Windows but no print jobs complete. No errors in Windows yet no printing start on the printer. Would this be a question of spool permissions? Right now I'm using spool permissions of 1777 on /var/spool/cups. I am posting my printers sections below in hopes of this being (probably) an easy fix from one of my fellow list members. Thanks in advance! [printers] path = /var/spool/cups use client driver = Yes guest ok = Yes comment = All Printers printable = yes create mask = 0700 [Laserjet] path = /var/spool/cups writable = yes use client driver = Yes guest ok = Yes oplocks = No printable = yes printer name = Laserjet create mask = 0700 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] XP logon to Samba errors
OK, I've added every user and machine name on my network using useradd and smbpasswd -a on my Samba box. Checking my logs I see continuous errors from my test XP machine consisting of user nobody rejected because of incorrect password. Going to my XP PC, I run net use. Get the error the specified network password is incorrect. I have changed all passwords carefully. I changed my XP box's password. Why would this still be happening? I went out and bought a Samba book today but no dice and my wife is wondering if I'll ever get away from the computers Any help would sure be appreciated.
[Samba] A little help w/ Debian Samba and XP clients
Hi list. I'm a Marine based near San Diego CA and I'm trying to setup a Libranet/Debian box as a file and printserver. The main goal is printing right now. I have good connectivity (ping and resolve by NETBIOS name). I have enabled File and Print Sharing on my Windows clients as well as making the appropriate entries in my hosts file. NETBIOS is aslo enabled as well as using the IP address of the Samba box for WINS. I have added all users and computer NETBIOS names using useradd and then smbpasswd -a on the Samba box. When I run net view on a Windows box I get " System error 86 has occured. The specified network password is not correct." I have checked carefully and modified where necessary and I'm sure the logon name and password I'm using for Windows is on my Samba box. I've got 3 Linux books out in front of me and I'm obviously missing something. I was using SWAT but now I'm just using good ol vi. I would really appreciate any help the list might offer. Here is my smb.conf # Global parameters [global] workgroup = N30 netbios name = PRINTSERVER server string = %h server (Samba %v) security = SHARE encrypt passwords = Yes update encrypted = Yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 printcap name = /etc/printcap.cups os level = 85 preferred master = True domain master = True dns proxy = No wins server = 192.168.1.110 message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' & invalid users = root valid users = bax morbo amy guest Guest Bax hosts allow = 192.168.1. load printers = yes printing = cups [homes] comment = Home Directories browseable = Yes writeable = Yes [printers] comment = All Printers path = /var/spool/cups guest ok = Yes printable = Yes writeable = No use client driver = Yes [Laserjet] path = /var/spool/cups guest ok = Yes printable = Yes writeable =No printer name = Laserjet use client driver = Yes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba