Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
Hey guys i just want to ask i have 2 LINUX box in my network centos and ubuntu. i both installed at the same time and now i want to network them with my windows box. in ubuntu there is no problem, i think samba is enabled by default and configurations works fine, i can view and access all windows box in the network. however in my centos i enabled samba manually and i can view all windows and linux box in my network but i cant access the windows box'es. i thought this could be a problem with the samba configurations so i tried to copy the smb.conf of ubuntu to centos but same problem.
I checked the windows security logs and it says that my Centos box cant connect because of bad username and password. In my Centos when i connect to windows it didnt ask for any username or password just an error messaying saying access denied.
But how come in my ubuntu im not presented with this kind of problem....
It could be an SELinux issue (I don't see quite why, but it's always my starting point in redhat derivatives).
Before trying to connect, typ
setenforce 0
as root and then try.
ok i will try this...
Quote:
check your shares are 777 permissions.
no... my problem is not share permission on linux but i cant access windows from my linux box (centos).
Quote:
What is it that you are doing?
i am trying to let windows and linux be able to share files. so far i have enabled samba on my linux box and my windows can access specified shares in my linux box. but my linux box cant access my windows box... im using nautilus to access my windows box and it says access denied.
no they are not identical, although i also have thought about that and since my windows box has an account in my linux box i use it to log on my linux box and access my windows box but still same problem.
What are the permissions on your mountpoint under Linux? Bear in mind that Linux permissions are ADDED to any permissions existing on the windows box. In other words, if your user doesn't have sufficient rights, he won't be able to access windows even if you set its doors wide open.
And of course, you username/password needs to be identical to that on the windows box.
NTFS support hasn't anything to do with it, unfortunately.
Are you share that you have enabled shares on the XP box? Rightclick the folder, choose sharing & security, enable the share and share name, and write access if required.
If you haven't enabled Simple File Sharing in XP then it is trying to enforce strict permissions.
I'm assuming that it's XP; is it? Also, have you turned off it's firewall for File and Printer Sharing from Controll Panel (if it's XP SP2), cos' that blocks SMB packets.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.