We have WINS disabled for all PCs (security policy for the whole company) and opsi-deploy-client-agent doesn't work when client and server are in different network segments.
- If we try to install by ./opsi-deploy-client-agent -u 'domain\superadmin' mypc.domain.com then we get NT_STATUS_IO_TIMEOUT from winexe because winexe tries to reach the machine by broadcasting netbios name.
- If we try to install by ./opsi-deploy-client-agent -c -u 'domain\superadmin' mypc.domain.com then winexe tries to use DNS instead of netbios name and fails with NT_STATUS_NO_MEMORY. This seems to be winexe issue.
Code: Alles auswählen
--- /var/lib/opsi/depot/opsi-client-agent/opsi-deploy-client-agent.orig 2014-12-08 20:05:44.758541777 +0300
+++ /var/lib/opsi/depot/opsi-client-agent/opsi-deploy-client-agent 2014-12-08 20:23:34.715020708 +0300
@@ -204,7 +204,7 @@
hostCreated = True
hostObj = self.backend.host_getObjects(type = 'OpsiClient', id = hostId)[0]
- hn = hostId
+ hn = ipAddress
if self.useNetbios:
hn = hostName
Best regards,
Stanislav