• February 24, 2025, 09:22:24 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Disable "web_page" Samba Share  (Read 10348 times)

palswim

  • Level 1 Member
  • *
  • Posts: 20
    • Palswim.net
Disable "web_page" Samba Share
« 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?
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Disable "web_page" Samba Share
« Reply #1 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?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

palswim

  • Level 1 Member
  • *
  • Posts: 20
    • Palswim.net
Re: Disable "web_page" Samba Share
« Reply #2 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.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Disable "web_page" Samba Share
« Reply #3 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.
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

palswim

  • Level 1 Member
  • *
  • Posts: 20
    • Palswim.net
Re: Disable "web_page" Samba Share
« Reply #4 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.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Disable "web_page" Samba Share
« Reply #5 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
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

nguyen_a

  • Level 1 Member
  • *
  • Posts: 21
Re: Disable "web_page" Samba Share
« Reply #6 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 ?
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Disable "web_page" Samba Share
« Reply #7 on: February 22, 2010, 04:32:49 PM »

I let sleeping dogs lie, I just ignore that folder. :D
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

palswim

  • Level 1 Member
  • *
  • Posts: 20
    • Palswim.net
Re: Disable "web_page" Samba Share
« Reply #8 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!
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Disable "web_page" Samba Share
« Reply #9 on: February 22, 2010, 05:08:23 PM »

What real benefit do you get from running that version?
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.

palswim

  • Level 1 Member
  • *
  • Posts: 20
    • Palswim.net
Re: Disable "web_page" Samba Share
« Reply #10 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.
Logged

gunrunnerjohn

  • Level 11 Member
  • *
  • Posts: 2717
Re: Disable "web_page" Samba Share
« Reply #11 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
Logged
Microsoft MVP - Windows Desktop Experience
Remember: Data you don't have two copies of is data you don't care about!
PS: RAID of any level is NOT a second copy.