Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 have all of my shares on the Linux Box working in windows. But I have no write access to the folder from windows. In linux the user can write fine, but from windows they can't. I have the samba share set as writeable, and I even went as far as setting permissions on the folder to 777. Still not working. I'm ripping my hair out... anyone?
First of all whether you have done chmod in recursive mode or not, coz in this case you have only write access to the root of that folder & not the sub-folders.
Also to mention do mention 'create mask' option in your smb.conf.
If you still didnt get it going.. Post the smb.conf configuration for that share only.
..amit..
In fedora Core with KDE windows manager Control center there is an excellent graphical frontend for samba with almost all options. Check it out if u are finding it difficult from command line.
I have tried setting it up manually AND with the GUI tool... neither will work. I will post the smb.conf when I get back home. I had this problem a long time ago. I haven't used Samba in a couple years... I think I need a refresher course.
I also gave 777 access to the main directory, for example... it is in /sambashares/russell
I gave both sambashares AND russell directories 777. I didn't plan on leaving it that way, I was going to work my way backwards to find them problem, but apparently I'm way off. I'll get back to you guys when I get home... thanks again.
I have tried this with a bare minimum samba config. Just the essintials.... and it still won't work. The weird thing is that if I FTP to it, I have no problems uploading files, but Samba WILL NOT work for the life of me. I've configured Samba on several servers in the past and have never had this problem. The [global] settings are very basic, just a couple of items in there.
Hey dont get frustrated & cool down.. You know you are at right place. Someone sure gonna help you in this.
As on my part here i go :
AFAIK
in security = share
Windows machine only prompts for password & user id doesnt matter in this case.
So you should enter correct password as you have mentioned for samba to use on *nix box. But if you are using guest account.. there is no need of any user id on *nix box.
So try out this minimal configuration & get few on .(This is working.. i've tested)
smb.conf should look like...
-----------------
[global]
workgroup = <windows machine workgroup name>
# Even though its not necessary to have windows worgroup only.
netbios name = <samba-server-name-whch-wud-appear-in-netwrk-neigbourhood-of-XP>
security = share
When I first set that up, windows prompts for a user/pass, automatically puts "Guest" as the user, and nothing works as a password. As soon as I close the password window out... I get locked out completely. It now just says... "\\Samba server is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you ahve access permissions. The network path was not found."
-----------------
[global]
workgroup = <windows machine workgroup name>
# Even though its not necessary to have windows worgroup only.
netbios name = <samba-server-name-whch-wud-appear-in-netwrk-neigbourhood-of-XP>
security = share
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.