Is it possible to change share names?

Antworten
VinzC
Beiträge: 1
Registriert: 28 Mai 2014, 09:39

Is it possible to change share names?

Beitrag 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.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Is it possible to change share names?

Beitrag 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

Code: Alles auswählen

import OPSI
lloydsystems
Beiträge: 22
Registriert: 03 Feb 2013, 09:46

Re: Is it possible to change share names?

Beitrag 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.
Antworten