can only connect to some of the hda shares????

User avatar
StephSD3
Posts: 4
Joined: Sun Nov 29, 2009 5:28 am
Location: Belgium

Re: can only connect to some of the hda shares????

Postby StephSD3 » Mon Nov 30, 2009 1:17 am

@moredruid:
Thank you for the reply. I will try that as soon as I get home. The thing is: if I can't connect to the shares, will Amahitunes be able to?

@cpg:
Also thanks and I'll try that first. I did however reset the password (I kinda pretty literally followed the tutorial of the Amahi website).

I'll let you guys know

thnx

3s

User avatar
StephSD3
Posts: 4
Joined: Sun Nov 29, 2009 5:28 am
Location: Belgium

Re: can only connect to some of the hda shares????

Postby StephSD3 » Mon Nov 30, 2009 3:10 pm

Okay, I'm back :-)
So I'll update you guys:

I managed to get it working, the thing I had to do was to edit the samba config files and point them to the /media/sda/ftp/xxx.
Then I also had to change the way I tried to SSH into my server, since my ISP (Telenet) blocks all ports below 14000 or so. But I'm glad to announce that also works now. (I even managed to get my HTC Magic to ssh into the server, parteeeey haha)
The only thing left now is to try to get Amahitunes working, but since I changed the config files yesterday I have to point them to the right directory again.

rostern
Posts: 4
Joined: Wed Jun 03, 2009 2:36 am

Re: can only connect to some of the hda shares????

Postby rostern » Sun Dec 06, 2009 5:08 pm

I am experiencing a similar problem, I think. I am able to access all shares from my Mac. However, when I try to access the shares on the HDA from computers running XP or Vista, I get the "Access is denied" message. I have changed my user passwords on the HDA, and rebooted it. I have flushed the DNS cache and renewed the ipconfig on the windows machines, and have rebooted them as well. They can still only access a few of the shares, but not others. Permissions on all the HDA directories are set to allow all users, and they are all set identically, yet the windows machines can only access some of the directories. Any help would be appreciated. Thanks.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: can only connect to some of the hda shares????

Postby cpg » Sun Dec 06, 2009 7:17 pm

can you debug samba to figure out the error?

it's painful to read the samba debug logs. it's like trying to take a sip out of a fire hydrant.

- enable advanced settings
- enable samba debug
- follow the wiki page on shares debug
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

jaybea
Posts: 56
Joined: Tue Dec 15, 2009 1:24 am

Re: can only connect to some of the hda shares????

Postby jaybea » Tue Dec 15, 2009 7:46 am

I have been exactly the same problem with a new Amahi v5 install. At first I could not access the shares (I could see \\hda\ but all of the folders below popped up a password box and none of the user name / password combinations that I tried were accepted.

I looked into the Samba logs and saw that the user names were usually matched correctly, but the passwords were not, even though I could successfully log into the HDA box directly using the same user names and passwords. However, only some of the users set up in the HDA actually appeared in the etc/passwd file. This appears to be the user creation bug mentioned in another post and all the users I had set up had uppercase characters at the start of their usernames. So I deleted all the users I had set up and recreated them. They finally all appeared correctly in etc/passwd.

Now when I tried to access shares from Windows 7 I got the Access is Denied message rather than a password box. I then set up a new share and found that it worked perfectly. So I then deleted all the default shares and set them all up again. Finally I can access all of my shares, without being prompted for a password.

It looks like something is tripping up the script that sets up both the users and the shares.

Anyway, I hope that this will help someone else. Now to start moving files.

J

rostern
Posts: 4
Joined: Wed Jun 03, 2009 2:36 am

Re: can only connect to some of the hda shares????

Postby rostern » Tue Dec 15, 2009 11:23 am

Well, rather than check SAMBA logging, I took the plunge. I backed it all up and installed Fedora 12 and Amahi 5. It is all working great now! Thank you all.

mguentz
Posts: 5
Joined: Thu Dec 04, 2008 6:52 pm
Location: Austin, TX
Contact:

Re: can only connect to some of the hda shares????

Postby mguentz » Sun Jan 03, 2010 12:25 am

I'm pulling my hair out with the same problem. This worked fine under the previous versions, I hope we can fix it in Amahi 5.

I did a fresh install of Amahi 5 and copied my music into the Music share. This is usually 3 levels of directory structure (i.e. Jazz/Louis Armstrong/Greatest Hits).

While my first user (as administrator) can get to everything just fine. In Windows 7 I can map the network drive and my iTunes has no problems getting to all the music. However, my family account (generic account with no write permissions) can see the contents of music (i.e. Jazz, Rock, Classical, etc), but cannot go deeper than that. Access Denied. I'm getting the same results with both Windows 7 and Ubuntu 9.10.

I've tried setting up new users and new shares to no avail.

Anyone cracked this yet?

User avatar
StephSD3
Posts: 4
Joined: Sun Nov 29, 2009 5:28 am
Location: Belgium

Re: can only connect to some of the hda shares????

Postby StephSD3 » Thu Jan 21, 2010 1:32 pm

A little update: (must say that I didn't really have time to look into the problem)
I still cannot connect to the shares using my admin account (ssh still works like a sharm on the other hand..)
But the thing about the shares that you guys mention: I simply put in the samba config file (how to mount my ext-hd to a fixed point every time I reboot) that all the users have FULL permission on the disk, and then set the permissions on the folders. Works fine here..

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: can only connect to some of the hda shares????

Postby cpg » Thu Jan 21, 2010 6:55 pm

I did a little bit of research on this on my own setup, which is windows 7 client connected to my network.

first, both my HDA and my windows 7 client laptop have the SAME workgroup (called HOME).

i noticed today that whereas some other times it was working fine, i cannot access my shares as the usual:

Code: Select all

\\hda or \\hda.home.com
which is troublesome. looking carefully, i noticed that windows 7 tries to access s specific domain, which is not HOME, it's DELL-W7, which happens to be the name of my computer!! See it under the password field:
wrong-domain.png
wrong-domain.png (38.41 KiB) Viewed 6875 times
so, the solution is to type this in the User name field:

Code: Select all

HOME\cpg
in other words, and more in general,

Code: Select all

YOURWORKGROUP\yourusername
as soon as you type the \, windows 7 should pick up the domain from the first part of the username!

going to document this in the shares troubleshooting page in the wiki.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 21 guests