On Thursday, Jan 2, 2003, at 19:17 Europe/Vienna, M Keys wrote:

I am running Solaris 8 on a Sun Ultra 2 with Apache
2.0.43 and trying out the Sharity "home" edition.  I
have been able to successfully mount and see my WIN2K
share (c:\temp) on /temp, but when I try to access
this share via my web browser (Netscape 7) from any of
my other pc's  I get a "403 Forbidden" error.  I have
tried setting /temp as my DocumentRoot and also tried
using alias in httpd.conf for this share with no luck.
 Oddly, when I played debug games by switching the
alias from the sharity mounted filesystem to a
non-sharity mounted filesystem, it worked fine.

The mount point (/temp) has permissions 777 and is
owned by "root:other".  All of the files in the share
show up with 666 "root:other" and can be viewed,
edited, changed, etc. with no trouble from my Solaris
box.

I am reasonably sure this is an apache config problem,
but I am an apache newbie.  Any help would be
appreciated.  Thanks for your time.
I have already answered this in personal e-mail, but here's a copy for the archives:

Sharity does per user authentication. The Unix permissions (0666 in your case) are of no particular relevance. Sharity does the permission checks itself.

When you mount a share, you (your user-ID) is automatically authenticated to the server. You are asked for the password and a mapping of your user-ID to the remote user name and password is established.

When apache accesses the mount, it usually does this as an other user (e.g. "nobody" or "root"). This user can be configured in the apache configuration file. Sharity has no mapping for this user and therefore denies access.

You can establish a mapping for this user by running 'cifslogin' as that user. E.g.:

su root
[type password]
cifslogin remoteComputer -U administrator
[type remote password]

You can get a listing of all mappings with 'cifslist'.

Regards, Christian.


--
Dipl.-Ing. Christian Starkjohann
Objective Development
mailto:[EMAIL PROTECTED] | http://www.obdev.at/

_______________________________________________
Sharity-talk mailing list
[EMAIL PROTECTED]
To unsubscribe see http://at.obdev.at/mailman/listinfo/sharity-talk

Reply via email to