Seite 1 von 1

Is it possible to change share names?

Verfasst: 28 Mai 2014, 09:48
von VinzC
Hi.

I installed and want to test OPSI in our small company. There are Windows PCs and servers, from XP to Windows 8. But my question is about share names. As the OPSI server I installed already contains OPSI in its FQDN, is it possible to remove "opsi_" from share names? Do I need to recompile something or is it just a matter of configuration/scripts to change accordingly?

Thanks a lot in advance.

Re: Is it possible to change share names?

Verfasst: 04 Jun 2014, 09:59
von n.wenselowski
Hello VinzC,

I don't think that this is currently possible.
Too many independent parts use the share names I am in doubt that they all can be configured.

If this is of important matter for you please consider getting an support contract and request the feature.


With kind regards

Niko

Re: Is it possible to change share names?

Verfasst: 17 Jul 2014, 14:08
von lloydsystems
Yes, this should be possible. The shares are defined in the samba /etc/samba/smb.conf file. Edit the share names and restart the samba service. I customised my setup with only 1 opsi share. I could not see the need for 3 and use ACL to control access. My smb.conf has:

Code: Alles auswählen

[opsi]
comment = opsi Depot Server
path = /var/lib/opsi
read only = no
The only opsi config file I found that I had to change was the depot config file /var/lib/opsi/config/depots/server.domain.local.ini to set:

Code: Alles auswählen

[depotshare]
remoteurl = smb://server/opsi/depot
You can easily check for any references as all the opsi config is in either /etc/opsi or /var/lib/opsi, so do something like:

Code: Alles auswählen

grep -R "opsi_share" /var/lib/opsi
and so on.