DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#26 2008-04-26 19:05:25

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Access denied

5h4rk wrote:

I changed HD_a2 from 777 to 775 and
I deleted the account nobody from /etc/passwd and /etc/shadow

Now I can only FTP using the accounts set in the webinterface, I can't telnet and ssh neither.

5h4rk, If you have not saved your changes to /etc/passwd and /etc/shadow,
to NVRAM, you can try to reboot and the files will be restored from NVRAM.

Last edited by mig (2008-04-26 19:07:18)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#27 2008-04-27 04:41:19

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: Access denied

mig wrote:

5h4rk wrote:

I changed HD_a2 from 777 to 775 and
I deleted the account nobody from /etc/passwd and /etc/shadow

Now I can only FTP using the accounts set in the webinterface, I can't telnet and ssh neither.

5h4rk, If you have not saved your changes to /etc/passwd and /etc/shadow,
to NVRAM, you can try to reboot and the files will be restored from NVRAM.

Yes, I have restarted it and powered it down, but still can't map it. It's running Lighttpd, and the webserver is working fine too.


FFP 0.5 | FW 1.0.5

Offline

 

#28 2008-04-28 06:34:41

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Access denied

After you restarted the DNS-323 was telnet working?


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#29 2008-04-28 06:39:13

5h4rk
Member
Registered: 2008-01-26
Posts: 27

Re: Access denied

mig wrote:

After you restarted the DNS-323 was telnet working?

No. after reinstalling ffp0.5, now it's working ok, I have to configure and install everything again tho. I don't know what was the problem.


FFP 0.5 | FW 1.0.5

Offline

 

#30 2008-05-07 07:22:42

attachments
New member
Registered: 2008-05-07
Posts: 2

Re: Access denied

I had the same problem and couldn't figure it out.  Eventually I got a working solution.

Go into your Easy Search Utility, click on the device name and than the volume name, select a drive and click connect.  This will likely not work, but try it first.  If it asks for a username/password, for some reason, no username/password you created will work.  To get this fixed, here is what you do:

Click on configuration.  This will launch the configuration web page.  Log in.  Click on Advanced.  Add a user with password.  Once user has been added, delete the user by clicking on the trash can next to the user you just created.  Logout.  Now go back to your Easy Search Utility and clieck on the device name again, volume name, select a drive and click connect.  This should do it.

Not sure what happens but this is a recurring problem I have which is always fixable by following the above procedure.

Good luck!

Offline

 

#31 2008-05-07 08:15:12

mindplague
New member
Registered: 2008-05-07
Posts: 2

Re: Access denied

Hi, I have a new DNS-323 with the latest firmware and I keep getting Access Denied issues, so far I've manually changed access rights to nobody as per the other post here, but this just keeps on happening.

I am running Vista, so was wondering if that's an underlying cause?

It's odd, because a client of mine has the identical DNS-323 and has had no issues as yet (but he's using Windows XP)

Any ideas?

Thanks, and big thanks mig for giving us all the quick'n'easy hack/fix it's not fun to wake up at 5am to do some invoicing to get a "Access Denied" on your Invoice folder (nearly gave me a heart attack) lol

Offline

 

#32 2008-05-07 09:55:54

mindplague
New member
Registered: 2008-05-07
Posts: 2

Re: Access denied

Is there any reason why this Access Denied issue has not been posted to; http://dns323.kood.org/information:known_issues ??

Just curious, as it seems to be a bigger issue than I first thought...

Offline

 

#33 2008-05-07 10:20:08

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: Access denied

I think the issue is caused by the users/group that Vista connects to the DNS-323
when access is granted to all users for that share.

I don't have a Vista system to test this, but you could try adding the option

guest account = nobody

to the [global] section of the /etc/samba/smb.conf file and restarting samba

Then connect to the share with Visat and create a file.  Use telnet to determine what the
user/group permissions are for that file.  Hopefully, the file will be nobody 501 rwxrwxr-w


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#34 2008-05-07 12:14:11

sjmac
Member
Registered: 2008-01-21
Posts: 222

Re: Access denied

mindplague wrote:

Is there any reason why this Access Denied issue has not been posted to; http://dns323.kood.org/information:known_issues

Seems like a good idea to me - go for it!

As I've said, I don't have this problem working with Vista, but I don't allow guest write access.

I think the reason that I've not hit the problem is because I only allow write access to certain groups of users? You define the groups in the DNS323 - can you try that?

Offline

 

#35 2008-05-08 05:12:25

attachments
New member
Registered: 2008-05-07
Posts: 2

Re: Access denied

I have XP.  Does my solution not work in Vista?

Offline

 

#36 2008-05-08 06:01:23

hastings69
Member
Registered: 2008-01-04
Posts: 56

Re: Access denied

Another solution for me has been to run the "wizard" within the configuration page, keeping the same passsword etc and saving. Then it allows access to drive mapping and files. This has been on an XP and Vista machine. Haven't tried Attachments version, I will next time.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB