Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Shing on June 25, 2003, 10:21:47 PM
-
Hi
Is there a way to map the SME's /home directory on a Window's machine (xp, w2k)?
Thanks
Shing...
-
Shing wrote:
> Is there a way to map the SME's /home directory on a Window's
> machine (xp, w2k)?
Yes.
Is there a reason the methods regularly discussed here don't work for you?
(Hint: Use "Search" to find previous discussions, don't forget to go back further then 30 days.)
-
Thank you for responding.
I would like to clarify that I would like to map the server's "/home" directory to Windows and not the user's "/home" directory.
Thanks
Shing..
Maggard wrote:
>
> Shing wrote:
>
> > Is there a way to map the SME's /home directory on a Window's
> > machine (xp, w2k)?
>
> Yes.
>
> Is there a reason the methods regularly discussed here don't
> work for you?
>
> (Hint: Use "Search" to find previous discussions, don't
> forget to go back further then 30 days.)
-
Shing wrote:
>
> Thank you for responding.
>
> I would like to clarify that I would like to map the server's
> "/home" directory to Windows
You will need to add it to your smb.conf file (you will need to school up on samba). The e-smith way is by using custom templates.
below is a script i use to make the server-resources folder available to windows networking. If you edit it appropriately you can share /home
Be aware that unix file/folder permissions will still apply
#!/bin/sh
# *simple* script to make /home/e-smith/files/server-resources viewable to MS Networking (pasting it in to this form has wrapped lines so take care)
mkdir -p /etc/e-smith/templates-custom/etc/smb.conf
if [ -f /etc/e-smith/templates-custom/etc/smb.conf/99server-resources ];then
rm /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
fi
touch /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
echo "[server-resources]" >> /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
echo "comment = server-resources" >> /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
echo "path = /home/e-smith/files/server-resources" >> /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
echo "readable = yes" >> /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
echo "guest ok = yes" >> /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
echo "browsable = no" >> /etc/e-smith/templates-custom/etc/smb.conf/99server-resources
/sbin/e-smith/expand-template /etc/smb.conf
service smb restart
Hope this helps