Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: tropicalview on October 28, 2009, 08:16:04 PM

Title: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: tropicalview on October 28, 2009, 08:16:04 PM
Dear all,

I find the groupoffice contrib very usefull for the SME server.
But it can be better i think (hope)

Is it possible that SME server can create an ibay or better direct a drive letter to this folder:

 /opt/groupoffice/home/users/$username@$domain

where $username is the username of the person, and $domain is the domain of the server.

In this way the user can place files directly accessable to the web interface of groupoffice.

I hope this is possible.

Kind regards,

Hendrik Kroon
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: ichat on November 10, 2009, 03:25:01 PM
if you mean that you want  windows to show (for example:

[ h: your group office folder ]  this should already be possible,    IF your sme-server acts as domain controler  - you could create a batch file with the appropriate 'net use' command,   also there is the posebillyties of  using a set of roaming profiles (to mount your  [my documements ] on your sme-server)   if this is what you do,  you may well just want to  create a sybolic link - you your home / documents  folder  to your   $user@$domain  folder...

you'd than be able to browse - to:  c:\my documents and settings\my username\documents\my groupoffice files\
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: tropicalview on November 10, 2009, 03:35:44 PM
Hi Ichat,

thank you for your reply.
what i want to archive is about what you wrote of the "H:" drive.

I will search how i can add / change the login batch file that is used for the computers to generate the home drive, and place it in there.
but as far as i understand than we also need to addapt the samba.conf to be able to share this folder.
do you have any instructions  / guidelines how i can do that?

Kind regards
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: Stefano on November 10, 2009, 03:35:55 PM
Dear all,

I find the groupoffice contrib very usefull for the SME server.
But it can be better i think (hope)

Is it possible that SME server can create an ibay or better direct a drive letter to this folder:

 /opt/groupoffice/home/users/$username@$domain

where $username is the username of the person, and $domain is the domain of the server.

In this way the user can place files directly accessable to the web interface of groupoffice.

I hope this is possible.

Kind regards,

Hendrik Kroon

to do so, you have to create a template fragment for smb.conf file; please read the dev's manual to learn how

Ciao
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: cactus on November 10, 2009, 07:07:23 PM
to do so, you have to create a template fragment for smb.conf file; please read the dev's manual to learn how
The SME Server Development Guide can be found in the wiki.
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: v8star on July 02, 2010, 06:24:19 PM
hi everyone,

i put a new smb.conf in /etc/e-smith/template-custom/etc/ with this strings:

----------------------------
[webdoc]
comment = Cartella Documenti Web
browseable = yes
guest ok = yes
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /opt/groupoffice/home/users/$user@$domain
------------------------------------------------

i reconfigure the server trought admin panel and after restart the smb.conf in etc/samba contains ONLY the configuration on top, erasing all other original configurations!

where is the problem?

many many tanks!

Alessandro
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: Stefano on July 02, 2010, 06:54:57 PM
hi everyone,

i put a new smb.conf in /etc/e-smith/template-custom/etc/ with this strings:

----------------------------
[webdoc]
comment = Cartella Documenti Web
browseable = yes
guest ok = yes
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /opt/groupoffice/home/users/$user@$domain
------------------------------------------------

i reconfigure the server trought admin panel and after restart the smb.conf in etc/samba contains ONLY the configuration on top, erasing all other original configurations!

Alessandro

hi Alessandro

you should use a fragment, not the entire file.

please search the wiki for the dev's manual and come to italian forum too, thank you
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: CharlieBrady on July 02, 2010, 07:15:24 PM
i put a new smb.conf in /etc/e-smith/template-custom/etc/ with this strings:
...
where is the problem?

You should use a file /etc/e-smith/template-custom/etc/smb.conf/XXwebdoc.
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: janet on July 02, 2010, 10:27:17 PM
v8star & tropicalview

Look at these for usage examples and tips to follow

http://wiki.contribs.org/Template_Tutorial
and
http://wiki.contribs.org/User_homes_admin_access
and
http://wiki.contribs.org/Https_redirection
and
http://wiki.contribs.org/Htaccess



 


Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: janet on July 02, 2010, 10:41:33 PM
tropicalview

These articles outline a procedure that creates aliases to /opt/whatever...

http://wiki.contribs.org/Web_Application_RPM
and
http://wiki.contribs.org/Web_Application_Redirect_Tutorial


Quote
Is it possible that SME server can create an ibay or better direct a drive letter to this folder:
 /opt/groupoffice/home/users/$username@$domain
Title: Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
Post by: janet on July 03, 2010, 11:05:19 PM
tropicalview

Quote
I find the groupoffice contrib very usefull for the SME server.
But it can be better i think (hope)
Is it possible that SME server can create an ibay or better direct a drive letter to this folder:
 /opt/groupoffice/home/users/$username@$domain

I think the simplest answer may be to move (or reinstall) that app into an ibay.
Moving it should be easy enough, but you will probably need to change the config files for that app to show the new path details and such like.
You can create a new group and give ownership of the ibay to that group. Then make only those users who need to add files to the groupware folder, members of that group.
This will avoid issues with permissions and ownership should you continue to use /opt/.....