Jump to content

I am trying to setup a Windows Server (2012 not r2) so that I can access the files of a ubuntu server through the windows server from another computer.

 

So basically I want to have a client machine that logs into the windows server. The windows server then accesses the ubuntu machine where all of the files are stored and serves it to the client.

 

To be clear I am not looking to do an FTP or remote connection.

 

Here is a diagram to make more sense of what I am trying to accomplish....

server diagram.png

 

I want to do it this way because I want to be able to use a windows type login all throughout the system so the user never has to look at the ubuntu login or interface.

 

Any help is much appreciated!

Link to comment
https://linustechtips.com/topic/664611-file-access-through-windows-server/
Share on other sites

Link to post
Share on other sites

You can make a cifs/samba share on the ubuntu server, so that you can access the files. You will never have to see ubuntu interface. You can set up samba with AD if thats what you want.

 

If you really want to do that, set up a nfs shars, add the nfs client on 2012, then make a fire share of that folder.

Link to post
Share on other sites

10 minutes ago, 5Beans6 said:

I am trying to setup a Windows Server (2012 not r2) so that I can access the files of a ubuntu server through the windows server from another computer.

 

So basically I want to have a client machine that logs into the windows server. The windows server then accesses the ubuntu machine where all of the files are stored and serves it to the client.

 

To be clear I am not looking to do an FTP or remote connection.

 

Here is a diagram to make more sense of what I am trying to accomplish....

server diagram.png

 

I want to do it this way because I want to be able to use a windows type login all throughout the system so the user never has to look at the ubuntu login or interface.

 

Any help is much appreciated!

Why use Ubuntu? Surely you can just host the files on the windows server machine?

Main Gaming Rig:

Spoiler

Core i7-4770, Cryorig M9i Cooler, ASUS B85M GAMER, 8GB HyperX Fury Red 2x4GB 1866MHz, KFA2 GTX 970 Infin8 Black Edition "4GB", 1TB Seagate SSHD, 256GB Crucial m4 SSD, 60GB Corsair SSD for Kerbal and game servers, Thermaltake Core V21 Case, EVGA SuperNOVA 650W G2.

Secondary PC:

Spoiler

i5-2500k OCed, Raijintek Themis, Intel Z77GA-70K, 8GB HyperX Genesis in grey, GTX 750 Ti, Gamemax Falcon case.

 

Link to post
Share on other sites

it would be more effenient to access the linux server directely, unless you have the windows server as a firewall

if so i'm not sure if windows server can do that at all (don't quote me on that, i don't do file sharing setup offen), maybe see if the windows server can see the share and make a share linking to the linux share, that might work

****SORRY FOR MY ENGLISH IT'S REALLY TERRIBLE*****

Been married to my wife for 3 years now! Yay!

Link to post
Share on other sites

You can setup SMB shares on a linux server and if you have an Active Directory domain you can also join a linux server to it so you can use your domain username/password. There is not need to put a Windows server in between.

Link to post
Share on other sites

13 hours ago, Electronics Wizardy said:

You can make a cifs/samba share on the ubuntu server, so that you can access the files. You will never have to see ubuntu interface. You can set up samba with AD if thats what you want.

 

If you really want to do that, set up a nfs shars, add the nfs client on 2012, then make a fire share of that folder.

 

 

45 minutes ago, leadeater said:

You can setup SMB shares on a linux server and if you have an Active Directory domain you can also join a linux server to it so you can use your domain username/password. There is not need to put a Windows server in between.

 

Im not sure what the other replies are going on about, but this is the correct answer posted by @Electronics Wizardy and @leadeater

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | Asus RTX 4060 Dual OC | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 8 x 20TB Seagate Exos X22 | 4 x 16TB Seagate Exos X18 | 3 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Spoiler

NAS: Innovision 4U 24-bay chassis (12GB MiniHD SGIO Backplane) | Intel Core i9-10980xe | EVGA X299 FTW-K | EVGA RTX 2080Ti Super FTW3 | 128GB (8x16GB) Corsair Vengeance LPX 3200Mhz | DEEPCOOL PN1000M PSU| Noctua NH-D12L Chromax Black | 16 x 16TB Seagate Exos X18 | 2 x 2TB Samsung 990 Pro | 2 x 2TB Intel U.2 P4510 | LSI 9305-24i HBA

 

Link to post
Share on other sites

https://help.ubuntu.com/lts/serverguide/samba-fileserver.html

 

There might be a GUI way to do it - I'm not much of a Ubuntu guru however. 

 

Do you already have a windows domain, is that why you want windows inbetween? Ubuntu/Linux can happily us LDAP / AD to authenticate users as well, fire up google. Users won't even know that there's a Linux server in the background.

Link to post
Share on other sites

9 hours ago, Jarsky said:

 

 

 

Im not sure what the other replies are going on about, but this is the correct answer posted by @Electronics Wizardy and @leadeater

 

 

10 hours ago, leadeater said:

You can setup SMB shares on a linux server and if you have an Active Directory domain you can also join a linux server to it so you can use your domain username/password. There is not need to put a Windows server in between.

I am fully aware that putting a windows server in between is somewhat of an unnecessary step to go through. Im using it partially because I want it as a layer of protection and because I do not want to store the files in the same physical location as the access server.  I also do not want the user directly accessing file server for security reasons.

Link to post
Share on other sites

16 hours ago, 5Beans6 said:

 

I am fully aware that putting a windows server in between is somewhat of an unnecessary step to go through. Im using it partially because I want it as a layer of protection and because I do not want to store the files in the same physical location as the access server.  I also do not want the user directly accessing file server for security reasons.

Well there is no actual security improvement doing it this way, likely less secure as your introducing more systems in the chain with different kernels so now you have to worry about interoperability and any bugs/issues that may come with that.

 

As long as you get the share and file permissions correct, enable the OS firewall and follow least privileges principle that is all the protection you need. If you are worried about the general lack of experience most people have at administering Linux systems and therefore the ease of managing it install webmin, nice easy to drive web administration page for Linux.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×