Hi All I have a Redhat 7.3 server which has samba-2.2.3a-6 installed (default version from RH7.3 installation). I have setup two shares and one printer. Two users can connect to samba and they have been added to /etc/samba/smbpasswd. Apart from the smb.conf file (shown below) no other changes have been made to the system. The problem is that although both users can use the shares, neither user can connect to the printer. The samba clients are Windows-XP Professional and the printer can be setup easily enough, but it shows a status of "Error: unable to connect, access is denied". The printer works fine from the Redhat 7.3 server. Any ideas? Smb.conf shown below... Regards Alan Deadman ====[global] workgroup = LSL server string = LSL_SAMBA printcap name = /etc/printcap load printers = yes printing = lpr log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 10.0.1.200 remote announce = 10.0.1.255 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [printers] comment = All Printers path = /var/spool/samba browseable = yes printable = yes public = yes writable = no create mode = 0700 [data] comment = Data Folder path = /data/Shared read only = no public = yes =====
Hi All I have a Redhat 7.3 server which has samba-2.2.3a-6 installed (default version from RH7.3 installation). I have setup two shares and one printer. Two users can connect to samba and they have been added to /etc/samba/smbpasswd. Apart from the smb.conf file (shown below) no other changes have been made to the system. The problem is that although both users can use the shares, neither user can connect to the printer. The samba clients are Windows-XP Professional and the printer can be setup easily enough, but it shows a status of "Error: unable to connect, access is denied". The printer works fine from the Redhat 7.3 server. Any ideas? Smb.conf shown below... Regards Alan Deadman ====[global] workgroup = LSL server string = LSL_SAMBA printcap name = /etc/printcap load printers = yes printing = lpr log file = /var/log/samba/%m.log max log size = 0 security = user encrypt passwords = yes smb passwd file = /etc/samba/smbpasswd unix password sync = Yes passwd program = /usr/bin/passwd %u passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* pam password change = yes obey pam restrictions = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 interfaces = 10.0.1.200 remote announce = 10.0.1.255 dns proxy = no [homes] comment = Home Directories browseable = no writable = yes valid users = %S create mode = 0664 directory mode = 0775 [printers] comment = All Printers path = /var/spool/samba browseable = yes printable = yes public = yes writable = no create mode = 0700 [data] comment = Data Folder path = /data/Shared read only = no public = yes =====
Hi Alan, What are the permissions on the Samba printer spool? Would they allow the user to write to the spool directory? Cheers, Jason On Thursday 16 May 2002 05:17 am, Alan Deadman wrote:> Hi All > > I have a Redhat 7.3 server which has samba-2.2.3a-6 installed (default > version from RH7.3 installation). > > I have setup two shares and one printer. Two users can connect to samba and > they have been added to /etc/samba/smbpasswd. Apart from the smb.conf file > (shown below) no other changes have been made to the system. > > The problem is that although both users can use the shares, neither user > can connect to the printer. The samba clients are Windows-XP Professional > and the printer can be setup easily enough, but it shows a status of > "Error: unable to connect, access is denied". > > The printer works fine from the Redhat 7.3 server. > > Any ideas? Smb.conf shown below... > > Regards > Alan Deadman > > ====> [global] > workgroup = LSL > server string = LSL_SAMBA > printcap name = /etc/printcap > load printers = yes > printing = lpr > log file = /var/log/samba/%m.log > max log size = 0 > security = user > encrypt passwords = yes > smb passwd file = /etc/samba/smbpasswd > unix password sync = Yes > passwd program = /usr/bin/passwd %u > passwd chat = *New*password* %n\n *Retype*new*password* %n\n > *passwd:*all*authentication*tokens*updated*successfully* > pam password change = yes > obey pam restrictions = yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > interfaces = 10.0.1.200 > remote announce = 10.0.1.255 > dns proxy = no > > [homes] > comment = Home Directories > browseable = no > writable = yes > valid users = %S > create mode = 0664 > directory mode = 0775 > > [printers] > comment = All Printers > path = /var/spool/samba > browseable = yes > printable = yes > public = yes > writable = no > create mode = 0700 > > [data] > comment = Data Folder > path = /data/Shared > read only = no > public = yes > ====-- To find out where Michigan Gubernatorial Candidate Jennifer Granholm really stands, please visit http://www.granholmgarble.com/