Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'SMB sharing and file security - workaround?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
SMB sharing and file security - workaround?
Authored by: dave9999zzzz on May 03, '04 12:50:33AM

Chris,

-----------------
Ive not seen this with my machine (10.2.6-10.3.2) - I have homes and other selected SMB shares set up (using 'SharePoints') and connect all the time from an XP Pro machine. I have never even seen access to the harddrive, let alone being able to put/get files from 'unauthorised' places.
-----------------

How did you get this to work? I have sharepoints set up on my home MAC (connected to a cable modem via a router with the correct ports opened). My MAC friends can connect via afp to these shares from their homes, using the limited filing sharing only user name and password I set up in sharepoints. one folder is read only permissions. one folder is write only permissions (i.e. a drop box).

But my MAC and PC friends cannot get this to work over smb. They can mount the drop box, but, if they try to drag anything into it, they don't get the expected "you won't see the results of this operation" message (followed being able to do it) they do when using afp.

Instead, when using smb they get a message saying something like "you do not have sufficient access privileges."

Share mode is "user". I want it that way so they first enter their user and password, followed by a choice of volumes to mount.

Any idea why it might not be working, or whether you did anything magical to get it to work?

Did you perhaps upgrade samba 3.0 (that comes with panther) to a newer version?

Thank you in advance for any help you can provide.


Dave



[ Reply to This | # ]
SMB sharing and file security - workaround?
Authored by: chris_on_hints on May 03, '04 11:14:15AM

Dave -
I kept having all kinds of problems with authentication. It seems that windows insists on sending the username and password of the windows account (at least in XP Pro). A password box will appear when trying to access a SMB share from the XP machine. It doesnt matter if you enter the correct username/pwd combination - you still get privelage problems. It seems that windows just doesnt send the username/pwd that you type in (or at least it sends it, but in the wrong format). My solution was to use the SAME username and password on both machines. The password box never appears and you have no problems with authentication.

This is only an option for people like me with amazingly simple networks - i have a mac and a pc connected by a single cable!!

Maybe you should set up a couple of 'dummy' users on the mac to mirror the account settings on the PCs and use their home directories as shares. If you set their UID's to less than 500 they wont show up in the login window list, and they can be set up with minimum privelages etc....



[ Reply to This | # ]