Samba without passwords

Is it poss. to run a Samba server with connection to Win98 WITHOUT passwords.   If so how?   I am having real fun trying to set it up WITH and wonder whether it is worth it.

many thanks

Cliff
cliffhanger121599Asked:
Who is Participating?
 
jlevieCommented:
That's what I suspected that your problem was, but I was going to do a little fishing to find out.

By default, Samba normally creates a [homes] share that automagically creates a "windows share" for the windows user as they are authenticated. This share points to that user's home dir, which follows the Unix model that "each user has a home dir and it is the current working dir as soon as the user logs in".  Samba also defines a [tmp] share that is publically accessible and publicly readable/writeable. You can create additional shares in the smb.conf file with whatever level of access desired (user only, unix group only, public, etc).

Note that the Unix permissions on a directory override any that are applied in Samab. For instance, If I create a "writeable public share" in Samba that points to a directory owned by root and whose files are owned by root in mode "rw-r--r--", every one will be able to read the files but won't be able to overwrite an existing file. Whether they can create a new file depends on the directory permissions. If the directory is mode "rwxr-xr-x" then they can't.

I think that if you look at the smb.conf file you'll see the [homes] and [tmp] definitions, which should give you some ideas about how to create other shares if you need them. As distributed, smb.conf has lots of examples and "man smb.conf" lists all the options and what they do. Of course you can use "Windows Explorer" to manipulate the files in the shares, look in "Network Neighborhood" for the share names.

The Samba package includes smbfs support for the mount command and the smbmount utility. This allows you to mount a windows share on the Linux filesystem. There's an example mount command in the manpage for smbmount (man smbmount). Once mounted you can use a command line to manipulate the files (ls, cp, rm, etc) or you can point a GUI filemanager at the files).

How's that...
0
 
jlevieCommented:
Well, sort of. It depends on which side you are talking about not having passwords on.

Where are you getting stuck and what have you tried? it usually isn't to difficult to get passwords working with Samba.
0
 
cliffhanger121599Author Commented:
Since posting the question I have managed to get Win98 to log into the my Samba server by inc. the win user name and password in the smbpasswd and passwrd files in Linux - this was where the problem lay.    While I am here though, can I ask how one gets complete access to the my linux box from Win98(i.e. what do I inc. in smb.conf?) and once I get this whole thing on the road is there some sort of graphical front end to Samba so I can copy files etc. from Win98 to my Linux box?   Yes, i am new to Linux!!

Many thanks
0
 
cliffhanger121599Author Commented:
Brill!   Just what I wanted

many thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.