|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
Have you checked here: Linux HOWTOs and Tutorials: Suse Linux 10.0, 10.1 openSUSE 10.2, 10.3, 11.0, 11.1
__________________
Box: openSUSE 11.2 | (KDE4.3.3) | M2N4-SLI | AMD 64 X2 5200+ | nVidia 8500GT | 4GB RAM Lap: openSUSE 11.2 | Celeron 550 | (KDE4.3.3)"3" | Intel 965 GM | Lenovo R61e | 3GB RAM |
|
||||
|
That document seemed great. I had several things in both my CUPSd.conf and smb.conf that didn't match. Same thing is wrong, but here is my new configs.
[global] workgroup = VMWWG name resolve order = bcast host lmhosts wins local master = yes preferred master = yes os level = 33 printing = cups printcap name = cups printcap cache time = 750 cups options = raw load printers = yes disable spoolss = Yes show add printer wizard = No map to guest = Bad User domain logons = No domain master = No passdb backend = smbpasswd security = share wins support = Yes [sharedfiles] comment = Files on VMware Host inherit acls = Yes path = /files/ read only = No [printers] comment = All Printers path = /var/tmp printable = Yes use client driver = Yes create mask = 0700 browseable = Yes guest ok = Yes LogLevel info SystemGroup sys root # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Show shared local printers on the local network. Browsing On BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL DefaultAuthType Basic # Restrict access to the server... <Location /> Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From 127.0.0.2 #Allow From @LOCAL Allow From 192.168.0.* </Location> <Location /> Allow 127.0.0.2 # Allow shared printing... Order allow,deny Allow @LOCAL </Location> <Location /admin> Encryption Required # Restrict access to the admin pages... Order allow,deny </Location> <Location /admin/conf> AuthType Default Require user @SYSTEM # Restrict access to the configuration files... Order allow,deny </Location> <Policy default> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Order deny,allow </Limit> <Limit CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit> <Limit All> Order deny,allow </Limit> </Policy> DefaultPolicy default <Policy easy> <Limit All> Satisfy any Order allow,deny </Limit> </Policy> <Policy paranoid> <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job> Require user @OWNER Allow from 127.0.0.0/8 Order deny,allow </Limit> <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> AuthType Default Require user @SYSTEM Allow from 127.0.0.0/8 Order deny,allow </Limit> <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs> AuthType Default Require user @SYSTEM Allow from 127.0.0.0/8 Order deny,allow </Limit> <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER Allow from 127.0.0.0/8 Order deny,allow </Limit> <Limit All> Require user @OWNER @SYSTEM Allow from 127.0.0.0/8 Order deny,allow </Limit> </Policy>
__________________
Bobby openSUSE Very Dangerous Novice User |
|
|||
|
On Wed September 23 2009 12:46 am, bobcal2000 wrote:
> > That document seemed great. I had several things in both my CUPSd.conf > and smb.conf that didn't match. Same thing is wrong, but here is my new > configs. > > > [global] > workgroup = VMWWG > name resolve order = bcast host lmhosts wins > local master = yes > preferred master = yes > os level = 33 > printing = cups > printcap name = cups > printcap cache time = 750 > cups options = raw > load printers = yes > disable spoolss = Yes > show add printer wizard = No > map to guest = Bad User > domain logons = No > domain master = No > passdb backend = smbpasswd > security = share > wins support = Yes > > [sharedfiles] > comment = Files on VMware Host > inherit acls = Yes > path = /files/ > read only = No > > [printers] > comment = All Printers > path = /var/tmp > printable = Yes > use client driver = Yes > create mask = 0700 > browseable = Yes > guest ok = Yes > > > LogLevel info > SystemGroup sys root > # Allow remote access > Port 631 > Listen /var/run/cups/cups.sock > # Show shared local printers on the local network. > Browsing On > BrowseOrder allow,deny > BrowseAllow @LOCAL > BrowseAddress @LOCAL > DefaultAuthType Basic > # Restrict access to the server... > <Location /> > Order Deny,Allow > Deny From All > Allow From 127.0.0.1 > Allow From 127.0.0.2 > #Allow From @LOCAL > Allow From 192.168.0.* > </Location> > <Location /> > Allow 127.0.0.2 > # Allow shared printing... > Order allow,deny > Allow @LOCAL > </Location> > <Location /admin> > Encryption Required > # Restrict access to the admin pages... > Order allow,deny > </Location> > <Location /admin/conf> > AuthType Default > Require user @SYSTEM > # Restrict access to the configuration files... > Order allow,deny > </Location> > <Policy default> > <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job > Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription > Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job > Suspend-Current-Job Resume-Job CUPS-Move-Job> > Require user @OWNER @SYSTEM > Order deny,allow > </Limit> > <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer > CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> > AuthType Default > Require user @SYSTEM > Order deny,allow > </Limit> > <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer > Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs > Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer > Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs > CUPS-Reject-Jobs> > AuthType Default > Require user @SYSTEM > Order deny,allow > </Limit> > <Limit CUPS-Authenticate-Job> > Require user @OWNER @SYSTEM > Order deny,allow > </Limit> > <Limit All> > Order deny,allow > </Limit> > </Policy> > DefaultPolicy default > <Policy easy> > <Limit All> > Satisfy any > Order allow,deny > </Limit> > </Policy> > <Policy paranoid> > <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job > Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription > Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job > Suspend-Current-Job Resume-Job CUPS-Move-Job> > Require user @OWNER > Allow from 127.0.0.0/8 > Order deny,allow > </Limit> > <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer > CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default> > AuthType Default > Require user @SYSTEM > Allow from 127.0.0.0/8 > Order deny,allow > </Limit> > <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer > Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs > Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer > Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs > CUPS-Reject-Jobs> > AuthType Default > Require user @SYSTEM > Allow from 127.0.0.0/8 > Order deny,allow > </Limit> > <Limit Cancel-Job CUPS-Authenticate-Job> > Require user @OWNER > Allow from 127.0.0.0/8 > Order deny,allow > </Limit> > <Limit All> > Require user @OWNER @SYSTEM > Allow from 127.0.0.0/8 > Order deny,allow > </Limit> > </Policy> > > bobcal2000; Have you installed the printer drivers on the clients? See also: http://opensuse.swerdna.org/susesambaprint_1.html For more help you might try just: http://opensuse.swerdna.org/index.html which will give you a number of Swerdna's HowTos. If you are using IPP printing then Samba does not come into play. Just in case, try disabling firewalls on both opensuse and the client for testing. Your firewall settings may be the cause of problems and you will need to adjust their settings -- P. V. "We're all in this together, I'm pulling for you." Red Green |
|
||||
|
Try adding this line into [global]:
Code:
use client driver = yes Code:
disable spoolss = Yes and Did you intend to set the openSUSE server as a "wins server" or is the network a standard SOHO LAN / workgroup arrangement? If you didn't intend for a wins server, then you should take out this line: Code:
wins support = yes
__________________
Drop in and visit some time. |
|
||||
|
What is the best method of resolution? I don't like having things running, like a wins server. I'd rather use a LMLosts file, where do I put them on Linux and Windows? How do I know if WINS is running and permanently stop it?
__________________
Bobby openSUSE Very Dangerous Novice User |
|
||||
|
As far as "disable spoolss = Yes" I have used three different docs to get this to do what I want, so it was one of them. I'll take it out.. I have "use client driver = yes"
What about "path = /var/tmp" is this correct? I have seen /var/samba" as a path here. Thanks for the tips
__________________
Bobby openSUSE Very Dangerous Novice User |
|
||||
|
A barrage
They're all good. Broadcast name resolution is the win98/me/2000/xp standard. To use a Linux Preferred Local Master Browser with Broadcast name resolution is very good Quote:
It's running if you put this line in the [global] stanza: Code:
wins support = yes
__________________
Drop in and visit some time. |
|
||||
|
Quote:
Quote:
/var/samba doesn't exist Quote:
__________________
Drop in and visit some time. |
|
||||
|
I created "/var/samba" and set the permitions like I read in one of the docs I have.
Of the three or four CUPS protocols, I want to run the RUNALLTIME protocol, the one that works all the time. One I can follow a document and set it up. The file sharing went so smoothly, that is why printing is so much trouble. Don't take this wrong, I appreciate everyone's input. Of the three docs, one book and the poeple on this thread, I have been told to add, more, or remove the same commands. For the file sharing I used one doc Samba and Suse: HowTo Set up on openSUSE. It was step-by-step and it worked, but it didn't cover printing. If you know the CUPS protocols pick one for me that will work on openSUSE Host; Windows VMware guests and other Windows PCs that you have a HowTo document for that works. The one the first gentleman sent me didn't work. Again as always Thanks!
__________________
Bobby openSUSE Very Dangerous Novice User |
![]() |
|
| Bookmarks |
| Tags |
| cups, printing, samba |
| Thread Tools | |
| Display Modes | |
|
|