D-Link Forums

The Graveyard - Products No Longer Supported => D-Link Storage => DNS-323 => Topic started by: cmdrbato on August 04, 2010, 06:17:23 AM

Title: DNS 323 folder restriction issue
Post by: cmdrbato on August 04, 2010, 06:17:23 AM
Please help. i am a newbie in this.

Hello, i encountered issues in applying a restiction on my NAS DNS 323 with firmware 1.09.

Here's what i need to accomplish:
- Apply restriction on each of the user.

My setup:
- NAS DNS 323 with 2 Volumes setup as Standard
- Volume1 is for personal files, each user has designated folder
- Volume2 - media files

Notes:
- Workgroup were the same for all the workstation and the NAS
- Windows login on each of the workstation have the same username and password
entered in the NAS.

Here's what i have tried so far:
- Create users in NAS with same username and password as the windows login of each of the user.
- Assign folder restriction on volume1

Problem encountered:
- Once restriction is applied, any user will not be able to access the NAS (both volumes)
- If i use the explorer to type the nas ip, it will prompt for the username and password.
- it will not accept any username and password except for the admin password for NAS configuration.
 
I tried to ping it, it CAN ping it succesfully.

Please help. i am a newbie in this.
Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 04, 2010, 09:15:08 AM
Hi

Have you tried accessing the shares with NO RESTRICTIONS setup whatsoever. Just to check you can actually connect to it properly first.

Jamie.
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 04, 2010, 09:37:36 AM
Hi Jamie, thanks for your time to reply.

without the restriction, both volumes works fine.
all user can read/write.

Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 04, 2010, 04:56:32 PM
Can somebody help me on this!
Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 05, 2010, 05:49:25 AM
Which version of Windows are you using?

If it's Vista - this page might help:

http://forums.dlink.com/index.php?topic=13537.msg79817#msg79817 (http://forums.dlink.com/index.php?topic=13537.msg79817#msg79817)
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 05, 2010, 05:57:01 AM

i have 4 workstation at home, i have 2 XP Pro, 1 Vista and 1 Windows 7.
I tried it on Vista and XP PRo and same issue. I didnt tried it with Windows 7.

I will try the solution from the link later at home.

thank you.
Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 05, 2010, 05:57:44 AM
AFAIK the link provided is only for issues in Vista.

Have you got a domain setup?
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 05, 2010, 06:53:42 AM
no i dont have a domain setup.
Title: Re: DNS 323 folder restriction issue
Post by: scaramanga on August 05, 2010, 10:48:58 AM
I don't think that the user name/password used to login will seamlessly work to access CIFS/SMB shares (What's usually called single sign-on). Not without a domain controller/active directory type of thing.

I suggest you do some reading here: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2613459 (http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/AccessControls.html#id2613459)
On Windows XP, in order to see the security info that will help you troubleshoot this:
1. Open Windows Explorer.
2. Goto Tools-> Folder Options -> View.
3. Make sure that "Use simple file sharing (recommended)" isn't checked.
Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 05, 2010, 02:30:53 PM
I just want to add that I have successfully used XP home, Vista Home and 7 to access my DNS323 by logging on to Windows with the same username and password that my shares on the NAS are setup with. So as a concept, it can work.
Title: Re: DNS 323 folder restriction issue
Post by: gunrunnerjohn on August 05, 2010, 04:43:39 PM
I do that as well, I have a variety of machines and virtual machines from Linux through Windows 7 Ultimate 64-bit, all have no issues connecting to the DNS-323 or DNS-321.
Title: Re: DNS 323 folder restriction issue
Post by: scaramanga on August 06, 2010, 12:49:10 AM
I just want to add that I have successfully used XP home, Vista Home and 7 to access my DNS323 by logging on to Windows with the same username and password that my shares on the NAS are setup with. So as a concept, it can work.
and
I do that as well, I have a variety of machines and virtual machines from Linux through Windows 7 Ultimate 64-bit, all have no issues connecting to the DNS-323 or DNS-321.
I stand corrected. Are you running additional services such as Kerberos or is it working out of the box?
Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 06, 2010, 01:04:03 AM
No additional services/software. Simply logon to Windows with my username and password - which is the same as the user setup on the NAS.

I did have problems before when the username matched in both cases but the password didn't - but having both match works fine.
Title: Re: DNS 323 folder restriction issue
Post by: gunrunnerjohn on August 06, 2010, 05:08:07 AM
Working right out of the box.  I have fun_plug installed, but it worked before the installation as well.
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 06, 2010, 05:21:54 AM
No additional services/software. Simply logon to Windows with my username and password - which is the same as the user setup on the NAS.

I did have problems before when the username matched in both cases but the password didn't - but having both match works fine.

whats the firmware rev you have in you NAS?
This is strange, mine doest work. I have firmware 1.09.

I followed this procedure:
ftp://files.dlink.com.au/products/DNS-323/REV_A/SetupGuides/How_to_set_folders_and_permissions.pdf

Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 06, 2010, 06:09:10 AM
1.08. 1.09 isn't available for me in the UK (and won't be)
Title: Re: DNS 323 folder restriction issue
Post by: gunrunnerjohn on August 06, 2010, 06:16:11 AM
1.09 brings nothing but an over-priced on-line backup to the party anyway. :)
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 06, 2010, 06:24:01 AM
so, this means that i will change the firmware from 1.09 to 1.08?

Title: Re: DNS 323 folder restriction issue
Post by: gunrunnerjohn on August 06, 2010, 06:29:16 AM
There's nothing wrong with 1.09, but unless you use the on-line backup, it's no different than 1.08
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 06, 2010, 06:46:18 AM
do you think the problem that i have after applying the user restiction is related to the firmware?
Title: Re: DNS 323 folder restriction issue
Post by: gunrunnerjohn on August 06, 2010, 07:28:08 AM
Well, 1.09 isn't going to change the behavior over 1.08. :)

If resetting to factory defaults didn't sort out the permissions, I'm not sure what to suggest.
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 09, 2010, 09:34:52 AM
I have tried different things over the weekend but with out any luck.
Still frustrated...

By the way, my NAS drives were configured as Standard. Based on my understanding, folder restriction should not matter on how the drives were configure. But jsut want to let you know that it is configured as
Standard.

One thing i noticed, on the NAS Configuration, network access page, there is an SMB check box and there's no other selection aside from SMB.

Title: Re: DNS 323 folder restriction issue
Post by: jamieburchell on August 09, 2010, 03:33:30 PM
Are you certain that the usernames and passwords match exactly between the NAS and Windows users? They are case sensitive.

You say you can't login to the share when prompted for credentials. Could you show us a screen grab of the login box? Sometimes the machine name is appended with a slash to the username and this might be a clue.
Title: Re: DNS 323 folder restriction issue
Post by: cmdrbato on August 10, 2010, 05:40:38 AM
hi jamie,
thanks for you time and concern.
it DID work now with XP (just tried on XP), i tried it last night. Once you browse the nas, it will prompt for the user/password, it accepts the user and password (same user and password on the windows login.

But i noticed something, if i will restart the pc, it cannot mapped drives, it says credential are not correct.
but when i use the explorer to browse it, it will prompt for credential (user and password), and when i key in same user and password as in windows login, it can go in.
How come it cannot go in or mapped the drives after windows login?

i will try again tonight after work, i will send some screen grabs too.