|
||||||
| 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 |
|
||||
|
I'm getting a bit confused. Here are some questions so we can see where you're at:
__________________
Drop in and visit some time. |
|
||||
|
OK lets pick standard Samba sharing -- that should suit windows machines
I'll suggest changes to smb.conf and cupsd.conf so back them up before making changes, with these commands:
If the file sharing is working, we better not disturb that. So just take out of smb.conf the lines that are from left field: Quote:
Now this one might alter file sharing but it might also alter printing so make the change and then reboot and then see if sharing is still OK take out this line from [global] stanza: security = share and instead put it in the stanza for [sharedfiles] So, is that all OK? Then we need to consider fixed IP addressing for the server -- do you have a fixed IP on the openSUSE machine? Got to attend to a client -- back later
__________________
Drop in and visit some time. |
|
||||
|
Okay: Here is the status report: Good Things: File Sharing still working; did more reading.
Bad things: printing is not working from openSUSE Host anymore, but it was not broken by what you told me to do. The reason I know this is because the Windows guests see the print queue as paused, I noticed that before but I didn't try printing from the Host. Yes the Host was a static IP the guests are DHCPed, I could make them static if you think that's better. Let me know. So Lets continue, here are the cupsd.conf and smb.conf: I have a question about one of the commands that are left, see below. I think the printer sharing may be working because the Windows guests see the queue but it' not working because the printer is not working. Fix the printer, fix the printer sharing. # Samba config file created using SWAT # from UNKNOWN () # Date: 2009/09/23 21:41:18 [global] workgroup = VMWWG server string = Samba name resolve order = bcast host lmhosts wins <--which are we using? printing = cups printcap name = cups os level = 33 preferred master = Yes ldap ssl = no <---- Remove? I'm not using LDAP, I'm I? cups options = raw use client driver = Yes [sharedfiles] comment = Files on VMware Host path = /files/ read only = No inherit acls = Yes security = share [printers] comment = All Printers path = /var/tmp create mask = 0700 guest ok = Yes printable = Yes browseable = No **************************** 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 |
|
||||
|
Quote:
Quote:
Quote:
For the smb.conf: add this line in [global]: printcap cache time = 750 add this line in [global]: load printers = yes remove this line from [global]: ldap ssl = no (well spotted) For the cupsd.conf. I don't want to read the whole of your cupsd.conf and check it line by line. Instead, use this command to back it up: Code:
sudo cp /etc/cups/cupsd.conf /etc/cups/cupsd.conf/backup_2
Then copy the complete text from below and paste it over the top of the text in the edited version, replacing it completely: Quote:
Regarding any remote client: it must have the printer driver/s installed.
__________________
Drop in and visit some time. |
|
||||
|
I made all these changes and still no printing from the Host.
In CUPS Admin "Printers" tab the my printer looks good: hpofficejetk80xi (Default Printer) Description: HP OfficeJet K80xi with driver HP Officejet k80xi Foomatic/hpijs, hpijs 2.8.7.3 Location: Office Printer Driver: HP OfficeJet K80xi - CUPS+Gutenprint v5.0.2 Printer State: idle, accepting jobs, published. Device URI: smb://192.168.0.10/hpofficejetk80xi A few days ago, I moved (tried to move) the spooler directory. That is probably the problem. But I forgot were I messed with it. I can not find were the spooler queue is defined??? I gave all the machines static IPs and added all the machines IPs and Host names into the lmhost files on all the other machines. Can we change this line in the smb.conf?: to just read lmhost name resolve order = bcast host lmhosts wins
__________________
Bobby openSUSE Very Dangerous Novice User |
|
||||
|
Edit the line to become this:
Code:
name resolve order = lmhosts bcast host wins
__________________
Drop in and visit some time. |
|
||||
|
I noticed this: Device URI: smb://192.168.0.10/hpofficejetk80xi
Is that on the server or somewhere else? And where is the username and password? And the workgroup should be in there too?
__________________
Drop in and visit some time. |
|
||||
|
Should I use root?
__________________
Bobby openSUSE Very Dangerous Novice User |
|
||||
|
I don't understand this question. Use root to what?
and Please answer this question: Quote:
__________________
Drop in and visit some time. |
![]() |
|
| Bookmarks |
| Tags |
| cups, printing, samba |
| Thread Tools | |
| Display Modes | |
|
|