Koozali.org: home of the SME Server

ibay / profile drive to /opt/groupoffice/home/users/$username@$domain

Offline tropicalview

  • ****
  • 196
  • +0/-0
    • http://www.tropicalview.net
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
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)

Offline ichat

  • 7
  • +0/-0
Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
« Reply #1 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\

Offline tropicalview

  • ****
  • 196
  • +0/-0
    • http://www.tropicalview.net
Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
« Reply #2 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
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
« Reply #3 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
« Reply #4 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline v8star

  • **
  • 66
  • +0/-0
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

Offline Stefano

  • *
  • 10,839
  • +2/-0
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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
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.

Offline janet

  • ****
  • 4,812
  • +0/-0
« Last Edit: July 02, 2010, 10:42:27 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
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
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: ibay / profile drive to /opt/groupoffice/home/users/$username@$domain
« Reply #10 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/.....
« Last Edit: July 03, 2010, 11:07:16 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.