• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

My Samba conf - is it ok?

I do development from a Windows box, and I have a centOS server setup. I'm working on porting an app from Windows to *nix. There server is setup and running, but I want to have access to the webapp folder from my windows machine. I only want to allow one IP to have access to it and be user/pass protected.

Does this look ok?

[global]
workgroup = www
interfaces = 192.168.1.200

[www]
comment = webapp
writeable = Yes
locking = yes
path = /tomcat/webapps
guest ok = no
create mask = 0777
directory mask = 0777
valid users = myUserName
 
Why not just use sftp? If you've already got a Unix account on their system then you've already got the ability to sftp. http://winscp.net/eng/index.php

Thank you for the input.

Will I be able to map the share as a drive?

I need access to the folder via apps on the windows system (dev tools, etc). As of right now, the webserver is on a windows box, I have the folder shared and mapped as drive Z:, and I can easily access all of the files.
 
Thank you for the input.

Will I be able to map the share as a drive?

I need access to the folder via apps on the windows system (dev tools, etc). As of right now, the webserver is on a windows box, I have the folder shared and mapped as drive Z:, and I can easily access all of the files.

Well maybe I'm confused then. Do you not have a local copy of your code on your Windows machine that you can work from and then deploy to Linux to test? Are you using any sort of source control like SVN or git?

If you are really trying to port your app to Linux I would install Linux on a virtual machine within Windows and do your work directly in Linux.
 
I have a vmWare server.

On it are several vm's. Dev box that I log into is a Windows 2008 vm. I edit code from there. The webapp is currently on another Win2008 vm.

I setup a CentOS vm. I need to test code on it. Therefore I want to share the webapp folder via Samba so my dev box can access it.

I can't test the code on a Windows Server then deploy to *Nix because the code needs to be changed to run on nix. I'm not going to copy it over then edit via VI or something. I need to use my editor on my windows machine. Therefore, I want to share the folder on the nix box and just get at it directly.
 
Last edited:
Back
Top