Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I want directory localhost/distr is to be available to write on another computer running under WindowsXP. I have created a new section in /etc/samba/smb.conf
[distr]
path=/distr
writable=true
valid user=root
browsable=yes
create mode=0700
and run /etc/rc.d/init.d/smb start from command line.
When I try to get access to Localhost/distr from Usefull running under windows I get:
There is no access. Probably, you do not have rights of use of this network resource.
It was not possible to connect to a network because of existence of conterminous names. Change a name of a computer
I'm not sure abut the user (root) you have there.
See, I've done this in the past, and continue to do it, in my home network but "root" is not a user in Win.
In order to gain access you need to create a valid user to access the Samba drive and **the same user** must exist in the Windows machine; so when you attempt to log from windows you are recognized as a user.
Hope this helps.
So what distribution / version of linux are you running?
If your computer hostname is localhost it needs to be changed. localhost refers to the loocal loopback i.e. IP address 127.0.0.1. By default samba uses the computer host name.
Add the following to the smb.conf file
netbios name = Any-computer-name
IMHO is isn't a good idea to use root as a samba user.
OK. I have created two same users with same passwords in Linux and Windows. When I try to get access to Localhost/distr I get login window: I entered the proper username and password. But window appears again (such as login or password is unvalid)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.