Page 1 of 1

CIFS Issue - login & access

Posted: Sun Jan 06, 2013 12:10 pm
by Wallyman
Trying to set up a share on a USB attached HD, which seems to work.. sort of.

User is "Tester" with a password of "test"
Share is "Root" with a path of /dev/sda1, CIFS only, Tester R/W only, no Annon access
Router is 192.168.2.250, default name "gargoyle" and domain "lan"

Accessing via Win7, if I go to "Network" I see "GARGOYLE", under it I see "Root". When I try to access it, I get the standard windows login prompt. The login prompt lists the Domain as my PC name, so I have tried the following user/pass combos, all fail:

Tester + test
lan\tester +test
lan\Tester + test
gargoyle\tester + test

Fail message is:

"\\GARGOYLE\Root is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again."


However, if I go instead to \\192.168.2.250 I also see "Root" as a share. I pick that, and I get full R/W access without any login prompt.

What am I missing/doing wrong? I previously set up 5 shares, with 5 users (one per share) and had the same results.. no logins via "GARGOYLE" but all have full R/W via \\192....

Help!

Re: CIFS Issue - login & access

Posted: Sun Jan 06, 2013 2:40 pm
by Wallyman
Well, found it.. a windows issues. Apparently I had a persistent connection to the router left over from my first testing. I had 2 conenctions shown via "NET USE" and it (I guess) was trying to use those credentials or somesuch stupitiy. I deleted both (NET USE \\GARGOYLE\xxx /delete), reset all shares and users, rebooted the router and the login screen worked without changing the domain.
Success!

Side note - I initially set up a user with the same name and password as my windows logon, and that seems to be the persistent share. It appears it would automatically pass that name/pass combo and connect without a login prompt and then maintain that connection in the background.

Re: CIFS Issue - login & access

Posted: Sun Jan 06, 2013 3:27 pm
by Wallyman
Ok, new problem.

I see "GARGOYLE" under network, and I click on it and it asks for login. I use random letters for name and password and it then shows me all the shares under it (as if it logged in successfully).. but I can't get past it, so I guess that is still secure.

Secondarily (and more disturbing) is any login works for any share, even ones that do not have permissions set for it. I have 4 users, and 4 shares (all folders off the root of the USB HD), one login assigned as R/W for each share. But any login works on any share with full R/W access.

I clean out the NET USE first to be sure, bt it still happens. User B can sign into User A's share folder, even tho only User A is assign R/W to that folder.

What am I doing wrong????