Samba with multiple connections from single XP machine
Hi,
I'm having this problem with Samba. Previously, when I used redhat 9, I could connect to multiple shares on my linux machine from XP. But after upgrading to fedora 3, this is no longer possible. I can connect to a single user, say, "storage". After this, if i try to mount another user, say "webpage", it doesn't work. It shows me the login box with username and password, but after i enter the correct username and password, the box just pops up again, and it doesn't let me connect. If I were to unmount and disconnect from the storage user, I could mount the webpage user, but then storage would be unaccessible. Here is my testparm output: Code:
# Global parameters Thanks |
when you say you "mount another user" do you mean you are using a different user name to map a drive or are you meaning you are trying to map to a different shared folder?
|
I mean that I am trying to map two different linux folders. I am using a single Windows user to try and map the folders of two linux users.
|
well the smb.conf file you posted doesn't have 2 folders shared
|
Well, doesn't
[homes] comment = Home Directories valid users = %S read only = No browseable = No share all home directories of all the users, as long as I do a "smbpasswd -a" for the user? or am I missing something? |
well technically yes, if you have 2 samba users and both the folders are existing that will create 2 shares.
but if you are logged into windows as user A you will only see homeA, homeB will not be visible. The other issue you have is userA will not have access to userB unless you specifically set that by either having both users in the same group and giving group access, or just setting the permissions wide open. EDIT: and if you are trying to map userA to homeA AND userB to homeB from the same windows machine you can't do that. you are not allowed to use more than one username and password to map to another computer in windows. |
O ok, its that last part I was wondering about. So it isn't possible to map two different users on one windows computer? Somehow I got it working before, on my redhat 9 system, but oh well.
Thanks for clearing things up :) |
i just tried to do exactly what you are doing and it didn't work.
maybe on older versions of samba it did. |
Hmm I guess I can live with it now. Thanks for your help.
|
the way to do this is to map both shares as the same user and put a mode on the files like this.
[share] comment = test share writable = yes create mode = 774 path = /home/brian directory mode = 774 then do a /home/chmod 774 brian AND /home/brian/chmod -R 774 |
I'm trying to view two user directories on a single computer. How does that work?
|
basically you give access to userA on/in/for userB's folder then map it using userA's credentials
|
All times are GMT -5. The time now is 04:29 AM. |