Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: amazilia on April 09, 2009, 11:30:54 AM

Title: public ibay automatically mounted under windows
Post by: amazilia 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
Title: Re: public ibay automatically mounted under windows
Post by: Stefano on April 09, 2009, 12:07:22 PM
hi

are your clients in domain or in workgroup?

Ciao
Stefano
Title: Re: public ibay automatically mounted under windows
Post by: amazilia on April 09, 2009, 01:16:22 PM
hi

are your clients in domain or in workgroup?

Ciao
Stefano

Hi,

Domain under sme
Title: Re: public ibay automatically mounted under windows
Post by: Stefano 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
Title: Re: public ibay automatically mounted under windows
Post by: JohnG on April 09, 2009, 02:24:21 PM
You could edit the /home/e-smith/files/samba/netlogon/netlogon.bat and follow the examples.
Title: Re: public ibay automatically mounted under windows
Post by: amazilia on April 09, 2009, 02:24:54 PM
Thanks I will look at it

Philippe
Title: Re: public ibay automatically mounted under windows
Post by: amazilia 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.
================================================================

 
Title: Re: public ibay automatically mounted under windows
Post by: Jáder 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
Title: Re: public ibay automatically mounted under windows
Post by: JohnG 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.
Title: Re: public ibay automatically mounted under windows
Post by: JohnG 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.
Title: Re: public ibay automatically mounted under windows
Post by: amazilia 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