[SOLVED] Samba config can read both directions but not write both directions
Linux - EnterpriseThis forum is for all items relating to using Linux in the Enterprise.
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.
Samba config can read both directions but not write both directions
Good day everyone,
I have configured Samba and it works wonderfully from moving files from windows to Linux, however, I cannot get it to write from Linux to Windows. I have uploaded a sanitized version of my smb.conf (named smb.txt). I'm currently running Samba 3.6 on RHEL 6 (unfortunately, my licensing has expired and in the middle of getting it purchased) in a VmWare VM. I'm not running selinux. I'm having the following issues:
1. Cannot write to windows from linux
2. Cannot get the permissions correct. All attempts at changing them from 755 to 775 have failed.
I have been working on this for over a week and have had no luck at all. Any and all assistance is greatly appreciated.
Thank you in advance!
Sincerely,
lhiggie
I have bigger issues, attempted to run the command:
smbclient -L servername
Connection to servername failed (Error NT_STATUS_CONNECTION_REFUSED)
Any ideas on this one?
Last edited by lhiggie; 05-07-2013 at 10:28 AM.
Reason: Added information
O.k., I have found a couple of things I did wrong at the outset. I misread the smb.conf file and now see that a semicolon is just like a #. Therefore, I have removed the ; as follows:
...
netbios name = SAMBA1
# Changed the interface to the IP address - LH
interfaces = lo eth0 192.163.20.65/24
...
# security = domain
security = ads
passdb backend = tdbsam
# realm = MY_REALM
realm = ABC.PVT
...
And:
[lhiggie@servername ~]$ smbclient -L windowsservername
Enter lhiggie's password:
Domain=[ABC] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
Archive Disk
C$ Disk Default share
D$ Disk Default share
F$ Disk Default share
FileTransShare Disk
IPC$ IPC Remote IPC
Domain=[ABC] OS=[Windows Server 2008 R2 Standard 7601 Service Pack 1] Server=[Windows Server 2008 R2 Standard 6.1]
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.