Hi, well I activated swat in the inetd services, I also active in the runlevel services so that samba will start always. Then I browse localhost:901 and logon as root and I entered the printers tab, I configure it. However, I have always in Windows a messages that says unable to connect with the printer. And when I for example in the allow host enter the ip address of the client computer and I try to connect the access is always denied I cannot even see the printers. What I am missing. The smb.conf of my computer is as follows: [lp] comment = HEWLETT-PACKARD DESKJET 640C path = /var/tmp read only = No create mask = 0600 guest ok = Yes hosts allow = 139.78.78.170 139.78.79.140 127.0.0.1 printable = Yes printer name = lp oplocks = No [color] comment = HEWLETT-PACKARD DESKJET 640C path = /var/tmp read only = No create mask = 0600 guest ok = Yes hosts allow = 139.78.78.170 139.78.79.140 127.0.0.1 printable = Yes printer name = color oplocks = No [high] comment = HEWLETT-PACKARD DESKJET 640C path = /var/tmp read only = No create mask = 0600 guest ok = Yes printable = Yes printer name = color oplocks = No and the smbusers is: # This file allows you to map usernames from the clients to the server. # Unix_name = SMB_name1 SMB_name2 ... # # Cf. section 'username map' in the manual page of smb.conf for more # information. ;root = administrator admin nobody = guest pcguest smbguest Thanks, I hope someone could tell me what is wrong Jose Andre Truter wrote:
On Thu, 2003-04-17 at 09:55, Peer Stefan wrote:
I can see the printers from Windows boxes, I can add the printer, but it's status is 'Access denied, Unable to connect'
This sounds like permissions are not set correctly. I assume you're connecting from the host with the ip 192.168.100.x? Try to add a linux-user which is called exactly like your windows user (you can use 'useradd -g users -c "Samba user" -s /bin/false -d /dev/null USERNAME' to add a user with no local privileges except authentication for services like samba).
Ah! Got it! I am using the /etc/samba/smbusers file to map windows and linux users and the 'nobody' user was commented out. I just uncommented the line and now it works!
--<snip>-- nobody = guest pcguest smbguest --<snip>--
Thanks!