LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apache portal to files on NT server (https://www.linuxquestions.org/questions/linux-software-2/apache-portal-to-files-on-nt-server-52740/)

josephswagner 03-31-2003 03:20 PM

Apache portal to files on NT server
 
I want to use my linux apache web server as a portal to certain files on a separate NT server. Essentially I want to allow someone to view/edit/upload files on the NT server through their browser. I know I can use samba to access shares on a NT server but I need to figure out a way to automate the process.

Are there any better products out there that might suit these needs? Any help would be much appreciated. Thanks.

bahamat 03-31-2003 03:21 PM

use smbmount to mount NT shares into your file system

Tinkster 03-31-2003 03:33 PM

Like bahamat said (and you mentioned yourself):
use smbmount :)

All you need for "automation" is to put the
shares in your fstab with noauto, and then mount
them from rc.local, for instance.

Cheers,
Tink

bahamat 03-31-2003 03:35 PM

Quote:

All you need for "automation" is to put the
shares in your fstab with noauto, and then mount
them from rc.local, for instance.
Wouldn't that be the same as just adding them to fstab?

You can supply the username and password in the options field in fstab.

Tinkster 03-31-2003 04:05 PM

Well, on all systems I came across so far
/etc/fstab is world readable...

Personally, I like to have such things in
a little script that's just readable to root.

Cheers,
Tink

bahamat 03-31-2003 04:49 PM

that's a good point


All times are GMT -5. The time now is 02:55 AM.