Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Bob on October 12, 2002, 06:12:16 AM
-
When I create an Ibay, sometimes I can't see the the "cgi-bin, files, html" directories from the windows machine. If I go in as root they are there.
I have done this a thousand times but only recently I have come across this problem. I can't work out what I am doing wrong.
Also how do you change the users home drive to not use the standard path "home/e-smith/files/users/name" but instead use and Ibay with a directory created for them. "home/e-smith/files/ibays/data/user_name" without mapping the home drive that the login script rpm puts in automatically.
Thanks in advance.
-
Bob wrote:
>
> When I create an Ibay, sometimes I can't see the the
> "cgi-bin, files, html" directories from the windows machine.
> If I go in as root they are there.
> I have done this a thousand times but only recently I have
> come across this problem. I can't work out what I am doing
> wrong.
>
Nothing wrong. The behaviour is different depending on whether you've enabled web access. If you haven't the root path is within the ibay/files directory because it assumes your only using the ibay as a samba share therefore do not want to see the 3 dirs, just 1.
> Also how do you change the users home drive to not use the
> standard path "home/e-smith/files/users/name" but instead use
> and Ibay with a directory created for them.
> "home/e-smith/files/ibays/data/user_name" without mapping the
> home drive that the login script rpm puts in automatically.
set the property LogonHome for the smb service, to something like \%L\data\%U may work...
eg.
/sbin/e-smith/db configuration setprop smb LogonHome \%L\data\%U
/sbin/e-smith/expand-template /etc/smb.conf
--
Damien
-
Damien Curtain wrote:
>
> Bob wrote:
> >
>
> > Also how do you change the users home drive to not use the
> > standard path "home/e-smith/files/users/name" but instead use
> > and Ibay with a directory created for them.
> > "home/e-smith/files/ibays/data/user_name" without mapping the
> > home drive that the login script rpm puts in automatically.
>
> set the property LogonHome for the smb service, to something
> like \%L\data\%U may work...
>
> eg.
> /sbin/e-smith/db configuration setprop smb LogonHome
> \%L\data\%U
> /sbin/e-smith/expand-template /etc/smb.conf
Actually no thats wrong you want to change the actual home directory.... Ignore what I said
I thought ou couldn't map a subdir of a samba share.
--
Damien
-
Damien Curtain wrote:
>
> Damien Curtain wrote:
> >
> > Bob wrote:
> > >
>
> >
> > > Also how do you change the users home drive to not use the
> > > standard path "home/e-smith/files/users/name" but instead
> use
> > > and Ibay with a directory created for them.
> > > "home/e-smith/files/ibays/data/user_name" without mapping
> the
> > > home drive that the login script rpm puts in automatically.
> >
> > set the property LogonHome for the smb service, to something
> > like \%L\data\%U may work...
> >
> > eg.
> > /sbin/e-smith/db configuration setprop smb LogonHome
> > \%L\data\%U
> > /sbin/e-smith/expand-template /etc/smb.conf
>
> Actually no thats wrong you want to change the actual home
> directory.... Ignore what I said
>
> I thought ou couldn't map a subdir of a samba share.
Last clueless post of the day I promise...
Duh of course you can, so what you'd so is make a custom template for /etc/e-smith/templates/etc/smb.conf/50homes and change the path line to
path = /home/e-smith/files/ibays/data/files/%S
But you probably have to create the directory for each user within the files dir before they can login with it.
--
Damien
-
Thanks Damien,
Makes sense now.