D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-321 => Topic started by: palswim on February 16, 2010, 02:03:23 PM

Title: Disable "web_page" Samba Share
Post by: palswim on February 16, 2010, 02:03:23 PM
I never configured my system to have a "web_page" share in Samba, yet one appears, containing a HTML file which redirects to the login page for my NAS.  Do I have any option to hide/disable this share?
Title: Re: Disable "web_page" Samba Share
Post by: gunrunnerjohn on February 16, 2010, 02:05:42 PM
If you access the DNS-321 with an HTTP request, you will indeed get the configuration login page, that's normal operation.  I don't think there's any way to disable that, and why would you want to?
Title: Re: Disable "web_page" Samba Share
Post by: palswim on February 16, 2010, 02:13:49 PM
If you access the DNS-321 with an HTTP request, you will indeed get the configuration login page, that's normal operation.  I don't think there's any way to disable that, and why would you want to?


I would definitely not want to disable the login page.  But, the NAS has a Samba share, "web_page", containing one file "goweb.htm", containing this code:
Code: [Select]
<script>
location.replace("http://[ADDRESS]/web/login.asp")
</script>

It seems useless and I'd rather not have a Samba share for that folder.
Title: Re: Disable "web_page" Samba Share
Post by: gunrunnerjohn on February 16, 2010, 02:21:26 PM
Ah ha.  I always wondered why that page was there.

How does that really affect you, I never bother to look in there.
Title: Re: Disable "web_page" Samba Share
Post by: palswim on February 16, 2010, 02:28:26 PM
Ah ha.  I always wondered why that page was there.

How does that really affect you, I never bother to look in there.

I can deal with it, but would still like to disable it if I had a choice.  So, just wondering if anybody had successfully disabled it.

In my "/etc/samba/smb.conf" file, I have a "web_page" entry:
Code: [Select]
[ web_page ]
comment = Enter Our Web Page Setting
path = /mnt/web_page
valid users =
read only = yes
guest ok = yes

Perhaps it's for the D-Link Easy Search Utility.
Title: Re: Disable "web_page" Samba Share
Post by: gunrunnerjohn on February 16, 2010, 02:35:01 PM
Never thought about it, but I'll bet that could be the reason.  I always wondered why there was a silly folder that invoked the web page. :D
Title: Re: Disable "web_page" Samba Share
Post by: nguyen_a on February 22, 2010, 04:30:09 PM
can we delete goweb.htm and if we want to access the login page we key in the line below from the web browser instead?

http://[ADDRESS]/web/login.asp

Another question: if we delete goweb.htm by mistake, can we recover it throughreset to factory defaults ?
Title: Re: Disable "web_page" Samba Share
Post by: gunrunnerjohn on February 22, 2010, 04:32:49 PM
I let sleeping dogs lie, I just ignore that folder. :D
Title: Re: Disable "web_page" Samba Share
Post by: palswim on February 22, 2010, 04:42:26 PM
I actually just run the fun_plug Samba implementation, instead of the device's built-in one.  So, no more web_page share for me!
Title: Re: Disable "web_page" Samba Share
Post by: gunrunnerjohn on February 22, 2010, 05:08:23 PM
What real benefit do you get from running that version?
Title: Re: Disable "web_page" Samba Share
Post by: palswim on February 23, 2010, 11:44:32 AM
What real benefit do you get from running that version?

I asked myself that earlier and decided that perhaps, I could just live with the built-in Samba server.  But then, I made a manual change to smb.conf.  When I tried to make another change through the Web GUI, it totally hosed the smb.conf file.  I then decided to use the different Samba version so I could control it completely and not worry about having to guess how the device would alter Samba.
Title: Re: Disable "web_page" Samba Share
Post by: gunrunnerjohn on February 23, 2010, 12:25:07 PM
Well, that's probably a pretty good reason.  I just use it as-is right now. :D