Koozali.org: home of the SME Server

public ibay automatically mounted under windows

Offline amazilia

  • **
  • 36
  • +0/-0
public ibay automatically mounted under windows
« on: April 09, 2009, 11:30:54 AM »
Hi,

I created an ibay with the following rights : writing group and reading everyone that is owned by a particular group.

how to get this ibay automatically mounted under windows as it is done for the ibay owned by the user

thanks

Philippe

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: public ibay automatically mounted under windows
« Reply #1 on: April 09, 2009, 12:07:22 PM »
hi

are your clients in domain or in workgroup?

Ciao
Stefano

Offline amazilia

  • **
  • 36
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #2 on: April 09, 2009, 01:16:22 PM »
hi

are your clients in domain or in workgroup?

Ciao
Stefano

Hi,

Domain under sme

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: public ibay automatically mounted under windows
« Reply #3 on: April 09, 2009, 01:40:33 PM »
then you can install the loginscript contrib
Code: [Select]
yum --enablerepo=smecontribs install smeserver-loginscript

it will add a web panel in server-manager.

HTH
ciao
Stefano

Offline JohnG

  • ****
  • 89
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #4 on: April 09, 2009, 02:24:21 PM »
You could edit the /home/e-smith/files/samba/netlogon/netlogon.bat and follow the examples.

Offline amazilia

  • **
  • 36
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #5 on: April 09, 2009, 02:24:54 PM »
Thanks I will look at it

Philippe

Offline amazilia

  • **
  • 36
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #6 on: April 09, 2009, 03:06:32 PM »
then you can install the loginscript contrib
Code: [Select]
yum --enablerepo=smecontribs install smeserver-loginscript

it will add a web panel in server-manager.

HTH
ciao
Stefano


it does not seem to exist

 yum  --enablerepo=smecontribs install smeserver-loginscript
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "protect-packages" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
No Match for argument: smeserver-loginscript
Nothing to do
================================================================
No new rpms were installed. No additional commands are required.
================================================================

 
« Last Edit: April 09, 2009, 03:08:17 PM by amazilia »

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: public ibay automatically mounted under windows
« Reply #7 on: April 09, 2009, 04:12:33 PM »
You could edit the /home/e-smith/files/samba/netlogon/netlogon.bat and follow the examples.

If I remember correctly you must use a program named IFG (google for it) to be able to take action based on user belonging to a group.

Good luck

Jáder
...

Offline JohnG

  • ****
  • 89
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #8 on: April 09, 2009, 04:45:47 PM »
If I remember correctly you must use a program named IFG (google for it) to be able to take action based on user belonging to a group.

Good luck

Jáder
The original poster asked about adding it for everyone, so no group checking would be necessary.

I've never heard of IFG but when I need to check for group access rights I use Microsoft's ifmember.exe which works well for me.

Offline JohnG

  • ****
  • 89
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #9 on: April 09, 2009, 04:54:16 PM »

it does not seem to exist

I found this doing a search for loginscript:

Code: [Select]
wget http://mirror.contribs.org/smeserver/contribs/jbennett/sme7/loginscript/RPM/smeserver-loginscript-0.2-8.noarch.rpm

yum localinstall smeserver-loginscript-0.2-8.noarch.rpm

signal-event post-upgrade; signal-event reboot
I tried it on 7.4 and seems to work fine.

Offline amazilia

  • **
  • 36
  • +0/-0
Re: public ibay automatically mounted under windows
« Reply #10 on: April 09, 2009, 10:31:01 PM »
I tried it on 7.4 and seems to work fine.

Yes!

thanks, I works for me too.

Philippe