Seite 1 von 1

opsi client using webdav protocol

Verfasst: 24 Okt 2012, 21:51
von aellert
I'm trying to configure an opsi client tu use webdav protocol instead of cifs.
To do that, I modified url settings for depot_server in file C:\Program Files (x86)\opsi.org\opsi-client-agent\opsiclientd\opsiclientd.conf on my Windows 7 client like this :

Code: Alles auswählen

[depot_server]

# Depot server id
depot_id = ivsfrsrv-opsi.ivsdomain.fr

# Depot url.
# smb://<depot address>/<share name>/<path to products>
# url = smb://my_opsi_server/opsi_depot
url = webdavs://my_opsi_server:4447/depot
Then, in OPSI config editor i select my Windows client and modify clientconfig.depot.protocol = webdav (was cifs before).
Finally, i setup a new package install for testing.

But when i reboot the Windows workstation and the opsi client launch, the package is installed with cifs (opsi client shows briefly an url like smb://my_opsi_server/opsi_depot).
Can you tell me what steps i'm missing ?

Thanks for your help

Re: opsi client using webdav protocol

Verfasst: 25 Okt 2012, 13:35
von d.oertel
Hi,

1. The opsi-client-agent asks on every connect the Server for configuration data.
So any local change on the opsiclientd.conf is overwritten by server stored data.
And the url you changed is part of the depot configuration.

2. webdav is not supported while on the fly installations like it is done at a gui_startup_event.
Webdav will only work in the context of the opsi-WAN-extension to sync all needed installation files to the local cache

3. To switch to webdav (if supported) you will find in the clients hostparameter tab the entry :
clientconfig.depot.protocol
there you may switch between cifs and webdav (but only in case of the opsi-WAN-extension)

regards

d.oertel