Dear John,
> I've upgraded to Sharity 1.08 and my guest login doesn't seem to
> work anymore.
>
> Here's my relevant line in sharity.cfg:
> guestUser = "Raid"
>
> Here's are my mount cmdss in init.d/sharity:
> $topdir/sbin/sharityd -f $topdir/etc/sharity.cfg
> $topdir/bin/cifsmount //Farpoint/DataBin /mnt/databin -U Raid
> -N
>
> Farpoint is an NT4.0SP4 machine. The machine with sharity runs
> FreeBSD 3.0.
>
> cifslist -A tells me that root is logged in at Farpoint as Raid,
> however, I'm denied access when I try to access /mnt/databin.
>
> Am I doing something wrong here?
Yes, you are doing something wrong. The guest user mechanism works by
mapping all accesses to the guest-user, which must be a local Unix account.
If the guest user ("Raid" in your case) does not have access to the server,
all other users won't have access, too. By adding the cifsmount line to
init.d/sharity, you give the local user "root" access to the server, but not
"Raid". BTW: you should not use cifsmount in init.d/sharity, it's better to
use the "-s" option for 'cifsmount'. This way you can establish the mount as
local user "Raid" or use 'cifslogin' with option "-s" for the local user
"Raid" and have it re-established after every reboot.
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]>.