Networking Forums

Networking Forums > Computer Networking > Linux Networking > Two problems with Samba on Suse 9.1 and Windows 98 (reposted)

Reply
Thread Tools Display Modes

Two problems with Samba on Suse 9.1 and Windows 98 (reposted)

 
 
A. Naim
Guest
Posts: n/a

 
      08-04-2004, 09:58 PM
thHi,

I have two problems with a setup that includes two Win98 machines and
one running SuSE 9.1 Personal. One of the Win98 machines has a
networked Canon
printer attached to it.

problem 1: trying to print from Linux to the networked printer. From
what I have read so far it seems that I need to install the Samba
server on the Linux box, in addition to the existing Samba client.
However, under YaST I can only find a "Samba Client". Isn't the server
included with this distribution? do I need to download it from
samba.org? Is it a separate download?

problem 2: while I can see and read from my windows shares, and can
even overwrite existing files there from the Linux machine, I can not
create new files there. I checked the "sharing" menu option on the
Win98 machine but can see nothing special to allow or disallow the
creation of new files. Access on my shares is defined as "password
dependent" (in Win terms). If I change it to "full access" I actually
lose some privileges. How to I widen my privileges to include file
creation n the share? On the linux side the permission of the mounted
share is rwxrwxr-x, but I can not change it from the Linux side.


Thanks,

Abe.
 
Reply With Quote
 
 
 
 
Stefan Viljoen
Guest
Posts: n/a

 
      08-05-2004, 05:45 AM
A. Naim wrote:

> thHi,
>
> I have two problems with a setup that includes two Win98 machines and
> one running SuSE 9.1 Personal. One of the Win98 machines has a
> networked Canon
> printer attached to it.
>
> problem 1: trying to print from Linux to the networked printer. From
> what I have read so far it seems that I need to install the Samba
> server on the Linux box, in addition to the existing Samba client.
> However, under YaST I can only find a "Samba Client". Isn't the server
> included with this distribution? do I need to download it from
> samba.org? Is it a separate download?


As far as I know Samba (which implements a peer-to-peer server message block
protocol - SaMBa) is, as I say here, peer-to-peer. That means there is no
"server" as such - you just get Samba, and this can both send (appearing as
a "server" to a peer) files on request from a peer, and receive them after
requesting them (i. e. being a "client" itself). So to answer your question
IMHO the "client" IS the server. As for getting the printer going I myself
have absolutely no idea.

> problem 2: while I can see and read from my windows shares, and can
> even overwrite existing files there from the Linux machine, I can not
> create new files there. I checked the "sharing" menu option on the
> Win98 machine but can see nothing special to allow or disallow the
> creation of new files. Access on my shares is defined as "password
> dependent" (in Win terms). If I change it to "full access" I actually
> lose some privileges. How to I widen my privileges to include file
> creation n the share? On the linux side the permission of the mounted
> share is rwxrwxr-x, but I can not change it from the Linux side.


I have RedHat 9, and on my Windows machines the setting is also password
independant. How is your Samba configured? Here is my /etc/samba/smb.conf:

[global]

netbios name = stefan
workgroup = GOEDEHOOP10
security = share
log file = /var/log/samba.log
log level = 1
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=16384 SO_SNDBUF=16384
wins support = yes
domain logons = no
logon drive = f:
logon home = \\stefan\%U
os level = 99
preferred master = yes
local master = yes
hosts allow = 169.254.255.10 169.254.255.11 169.254.255.20 169.254.255.30
127.0.0.1
encrypt passwords = yes
browseable = yes
lanman auth = yes
lm announce = yes

[stefanhd]
path = /mnt/win/
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

If you try to make yours similar (especially the hosts allow line) you
should already be on the way to getting it working. But apparently your
hosts allow is already fixed? Then, I mount the Windows 98 share like this:

smbmount "//yzellepc/yzellehd" /mnt/yrekenaar -o
username=windows_user,password=full_access_passwor d,uid=rylan,dmask=0775,fmask=0775

Where

//yzellepc/yzellehd = the Windows share name on the Win98 system, which you
can glean with "findsmb"

/mnt/yrekenaar = the mount point in your /mnt directory

windows_user = the name the user types when starting up Win98

password = the password you refer to in your post

uid = the name of the user you want to give file creation and full
read-and-write access on the Win machine

Dmask and fmask are also important. I do not know exactly what the values
mean, but using them, along with the given smb.conf and smbmount line,
gives me full read/write/file creation access on my Windows 98 from within
Linux on my RedHat 9 box.

--
---
Stefan Viljoen
Software Support Technician
Polar Design Solutions
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
automount suse 9.3 and samba kc_chubbs@yahoo.com Linux Networking 0 10-16-2005 06:37 PM
Installing samba in suse 9.0 VB Linux Networking 10 03-29-2005 05:32 PM
Windows shares using samba: problems with blank spaces. Mike Barba Linux Networking 2 09-18-2004 07:06 AM
Samba Server for Suse 9.1 / creating files on a window share A. Naim Linux Networking 0 07-28-2004 03:53 PM
Unable to See SUSE 8.2/SAMBA Server from Windoze Zebedee Linux Networking 2 07-18-2003 06:05 PM



1 2 3 4 5 6 7 8 9 10 11