Boudewijn van Liempd wrote:
> Hi I'm new to this list and sharity and I've come up with following problem
> and Im not sure if it is
> sharity SAMBA or apache problem but my best guess is sharity.
> 
> This is what I'm trying to do:
> 
> I have some files on an windows2k client that I wish to share over my lan.
> 
> I've mounted the share like this sharity cifsmount //host/share /mnt/smb
> this works like it should but now the problem. I have made a symlink to this
> dir in my www tree and
> pointed a subdomain to it. this all works fine I can see the dir to my files
> listed in a nice index but the
> user nobody can't connect to the share for some reason. the nobody user can
> only cd to /mnt bot not further up the tree.
> 
> the share dir is chmod 777 and nobody has readonly accass on the share.
> 
> any ideas on what I'm doing wrong would be appreciated.

The Unix file attributes are a fake since Sharity can't decide whether a
user WOULD be able to access a file without actually trying to access it.

You need to authenticate the user "nobody" to the server. This can be done
(assuming that you are root) by:

    su nobody
    cifslogin server -U remote_user_name

and optionally

    cifsstore server

See 'cifslogin -man' and 'cifsstore -man' for details.

Regards, Christian.

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


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To unsubscribe send a mail with the words "unsubscribe sharity-talk" in the
body to <[EMAIL PROTECTED]>. If you want to reach a human, please write to
<[EMAIL PROTECTED]>.

Reply via email to