Opsi-Version: 4.2
Hallo zusammen,
und zwar habe ich seid längere zeit schon das Problem das ich beim Joinen ein Problem kriege.
Wir haben mehrere Depots wovon 2 Depots etwas abgeschotteter ist vom Netz her als die anderen die 2 Depots haben einen eigenen AD wo auch das Joinen Manuell mit den User Daten ohne Probleme funktioniert. Nur wenn ich das Windomain nutze egal ob mit dem Modus "auto" oder direkt "wmic" schlägt der Fehl hier einmal der Log:
Code: Alles auswählen
(1779) [1] [2022-05-04 08:01:54.148] [] --
(1780) [1] [2022-05-04 08:01:54.155] [] --
(1781) [1] [2022-05-04 08:01:54.155] [] c:\opsi.org\log\\opsi-script-part-wF5nR5A4c6.log
(1782) [1] [2022-05-04 08:01:54.155] []
(1783) [1] [2022-05-04 08:01:54.155] []
(1784) [1] [2022-05-04 08:01:54.155] [] ======= APPEND 04.05.2022 08:01:54
(1785) [1] [2022-05-04 08:01:54.155] [] opsi-script 4.12.4.37 started at >>
(1786) [1] [2022-05-04 08:01:54.155] [] opsi-script log file with encoding utf8
(1787) [1] [2022-05-04 08:01:54.155] [] ssl library path: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1788) [1] [2022-05-04 08:01:54.177] [] ssl library path: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\libeay32.dll
(1789) [1] [2022-05-04 08:01:54.177] [] Load library: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\libeay32.dll
(1790) [1] [2022-05-04 08:01:54.177] [] Load library: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1791) [1] [2022-05-04 08:01:54.177] [] startmessage opsi-script created at CentralForm.FormCreate: 04.05.2022 08:01:53
(1792) [1] [2022-05-04 08:01:54.177] [] Detected Language is:de
(1793) [1] [2022-05-04 08:01:54.177] [] Loading skin from: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\skin
(1794) [1] [2022-05-04 08:01:54.177] [] Called with parameter: /opsiservice\r\nhttps://192.168.1.16:4447/rpc\r\n/clientid\r\nw10-samsung-hb.kikxxl.corp\r\n/username\r\nw10-samsung-hb.kikxxl.corp\r\n/password\r\n***(confidential)***
(1795) [1] [2022-05-04 08:01:54.177] [] Depot path from readconfig: p:\ 04.05.2022 08:01:53
(1796) [1] [2022-05-04 08:01:54.177] [] startmessage StartProgramModes and create log: 04.05.2022 08:01:53
(1797) [1] [2022-05-04 08:01:54.177] [] Compiled with FPC: 3.2.2 for: Win32-i386
(1798) [1] [2022-05-04 08:01:54.177] [] pm: 5 04.05.2022 08:01:53
(1799) [1] [2022-05-04 08:01:54.177] [] startmessage start opsi service connection: 04.05.2022 08:01:53
(1800) [1] [2022-05-04 08:01:54.177] [] startmessage: opsidata initialized: 04.05.2022 08:01:53
(1801) [1] [2022-05-04 08:01:54.177] [] w10-samsung-hb.kikxxl.corp
(1802) [1] [2022-05-04 08:01:54.177] [] Starting Servicecall: backend_info
(1803) [1] [2022-05-04 08:01:54.177] [] Success Servicecall: backend_info
(1804) [1] [2022-05-04 08:01:54.177] [] got AutoActivityDisplay: true
(1805) [1] [2022-05-04 08:01:54.177] [] got debug_lib: false
(1806) [1] [2022-05-04 08:01:54.177] [] got debug_prog: false
(1807) [1] [2022-05-04 08:01:54.178] [] got default_loglevel: 6
(1808) [1] [2022-05-04 08:01:54.178] [] got config: opsi-script.global.force_min_loglevel
(1809) [1] [2022-05-04 08:01:54.178] [] got force_min_loglevel: 0
(1810) [1] [2022-05-04 08:01:54.178] [] got config: opsi-script.global.log_rotation_count
(1811) [1] [2022-05-04 08:01:54.178] [] got log_rotation_count: 8
(1812) [1] [2022-05-04 08:01:54.178] [] got ReverseProductOrderByUninstall: false
(1813) [1] [2022-05-04 08:01:54.178] [] got ScriptErrorMessages: false
(1814) [1] [2022-05-04 08:01:54.178] [] got supressSystemEncodingWarning: false
(1815) [1] [2022-05-04 08:01:54.178] [] got w10BitlockerSuspendOnReboot: false
(1816) [1] [2022-05-04 08:01:54.178] [] got writeProductLogFile: 8
(1817) [1] [2022-05-04 08:01:54.178] [] readConfigFromService: ok
(1818) [1] [2022-05-04 08:01:54.178] [] startmessage create log: 04.05.2022 08:01:54
(1819) [1] [2022-05-04 08:01:54.178] [] Cleanup old part files at 04.05.2022 08:01:54
(1820) [1] [2022-05-04 08:01:54.178] [] force_min_loglevel: 0
(1821) [1] [2022-05-04 08:01:54.178] [] default_loglevel: 6
(1822) [1] [2022-05-04 08:01:54.178] [] debug_prog: false
(1823) [1] [2022-05-04 08:01:54.178] [] debug_lib: false
(1824) [6] [2022-05-04 08:01:54.179] [] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1825) [6] [2022-05-04 08:01:54.237] [] JSON Bench for getDepotId "params":["w10-samsung-hb.kikxxl.corp"],"id":1} Start: 08:01:54:179 Time: 00:00:00:058
(1826) [6] [2022-05-04 08:01:54.238] [] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1827) [6] [2022-05-04 08:01:54.283] [] JSON Bench for getProductOrdering "params":["ucsdc-hb-02.kikxxl.corp"],"id":1} Start: 08:01:54:238 Time: 00:00:00:045
(1828) [6] [2022-05-04 08:01:54.284] [] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1829) [6] [2022-05-04 08:01:54.312] [] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"w10-samsung-hb.kikxxl.co Start: 08:01:54:283 Time: 00:00:00:029
(1830) [1] [2022-05-04 08:01:54.321] [] Computername:w10-samsung-hb.kikxxl.corp
(1831) [1] [2022-05-04 08:01:54.321] [] Computername according to Environment Variable :W10-SAMSUNG-HB
(1832) [1] [2022-05-04 08:01:54.321] [] opsi service URL https://192.168.1.16:4447
(1833) [6] [2022-05-04 08:01:54.321] [] Depot path: p:\
(1834) [6] [2022-05-04 08:01:54.321] []
(1835) [6] [2022-05-04 08:01:54.330] [] Bootmode: BKSTD
(1836) [6] [2022-05-04 08:01:54.330] [] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(1837) [6] [2022-05-04 08:01:54.330] [] Resolved sequence of products (04.05.2022 08:01:54):
(1838) [6] [2022-05-04 08:01:54.330] [] Product 1 windomain : setup
(1839) [6] [2022-05-04 08:01:54.330] [] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
(1840) [6] [2022-05-04 08:01:54.330] [] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1841) [6] [2022-05-04 08:01:54.368] [] JSON Bench for getProduct_hash "params":["windomain","ucsdc-hb-02.kikxxl.corp"]," Start: 08:01:54:330 Time: 00:00:00:038
(1842) [6] [2022-05-04 08:01:54.368] [] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1843) [6] [2022-05-04 08:01:54.393] [] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"w10-samsung-hb.kikxxl.co Start: 08:01:54:368 Time: 00:00:00:025
(1844) [6] [2022-05-04 08:01:54.393] [] Actionrequest for product: windomain is (original/actual): (setup / setup)
(1845) [6] [2022-05-04 08:01:54.418] [windomain] Actionrequest for Product: windomain is: setup
(1846) [6] [2022-05-04 08:01:54.421] [windomain] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1847) [6] [2022-05-04 08:01:54.499] [windomain] JSON Bench for getProductProperties_hash "params":["windomain","w10-samsung-hb.kikxxl.corp" Start: 08:01:54:421 Time: 00:00:00:078
(1848) [6] [2022-05-04 08:01:54.501] [windomain] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1849) [6] [2022-05-04 08:01:54.536] [windomain] JSON Bench for getProduct_hash "params":["windomain","ucsdc-hb-02.kikxxl.corp"]," Start: 08:01:54:501 Time: 00:00:00:035
(1850) [6] [2022-05-04 08:01:54.537] [windomain] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1851) [6] [2022-05-04 08:01:54.563] [windomain] JSON Bench for productOnClient_getObjects "params":["",{"clientId":"w10-samsung-hb.kikxxl.co Start: 08:01:54:537 Time: 00:00:00:026
(1852) [6] [2022-05-04 08:01:54.564] [windomain] scriptname: "setup.ins", special path: "p:\windomain\"
(1853) [6] [2022-05-04 08:01:54.564] [windomain] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(1854) [6] [2022-05-04 08:01:54.591] [windomain] JSON Bench for productOnClient_updateObject "params":[{"clientId":"w10-samsung-hb.kikxxl.corp" Start: 08:01:54:564 Time: 00:00:00:027
(1855) [6] [2022-05-04 08:01:54.591] [windomain] Using new Depot path: p:\
(1856) [1] [2022-05-04 08:01:54.686] [windomain]
(1857) [1] [2022-05-04 08:01:54.686] [windomain] ============ Version 4.12.4.37 script "p:\windomain\setup.ins"
(1858) [1] [2022-05-04 08:01:54.686] [windomain] used script encoding: cp1252
(1859) [1] [2022-05-04 08:01:54.686] [windomain] used system encoding: cp1252
(1860) [1] [2022-05-04 08:01:54.686] [windomain] start: 2022-05-04 08:01:54
(1861) [1] [2022-05-04 08:01:54.687] [windomain] installing product: windomain_2.1-1
(1862) [1] [2022-05-04 08:01:54.687] [windomain] on client named "w10-samsung-hb.kikxxl.corp"
(1863) [1] [2022-05-04 08:01:54.690] [windomain] loggedin user "Administrator"
(1864) [1] [2022-05-04 08:01:54.690] [windomain] opsi-script running as "SYSTEM"
(1865) [1] [2022-05-04 08:01:54.690] [windomain] opsi-script running with admin privileges
(1866) [1] [2022-05-04 08:01:54.691] [windomain] opsi-script running in standard script mode
(1867) [1] [2022-05-04 08:01:54.691] [windomain] Scaling for screen DPI: 96
(1868) [1] [2022-05-04 08:01:54.691] [windomain] executing: "C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\opsi-script.exe"
(1869) [1] [2022-05-04 08:01:54.691] [windomain] system infos:
(1870) [1] [2022-05-04 08:01:54.693] [windomain] A2-24-9D-93-8F-F5 - PC hardware address
(1871) [1] [2022-05-04 08:01:54.695] [windomain] w10-samsung-hb - IP name
(1872) [1] [2022-05-04 08:01:54.695] [windomain] 172.31.2.106 - IP address
(1873) [1] [2022-05-04 08:01:54.695] [windomain] DEU - System default locale
(1874) [6] [2022-05-04 08:01:54.695] [windomain] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(1875) [6] [2022-05-04 08:01:54.695] [windomain] Key closed
(1876) [6] [2022-05-04 08:01:54.695] [windomain] Registry key [HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion] opened
(1877) [6] [2022-05-04 08:01:54.696] [windomain] Key closed
(1878) [1] [2022-05-04 08:01:54.696] [windomain] MS Windows 10.0 64 Bit, Release: 21H1, Edition: PRODUCT_PROFESSIONAL_N
(1879) [1] [2022-05-04 08:01:54.696] [windomain] opsi service version : 4
(1880) [1] [2022-05-04 08:01:54.696] [windomain]
(1881) [6] [2022-05-04 08:01:54.706] [windomain] Registry key [HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion] opened
(1882) [6] [2022-05-04 08:01:54.706] [windomain] Key closed
(1883) [6] [2022-05-04 08:01:54.709] [windomain] Try getting FQDN with WMI:
(1884) [6] [2022-05-04 08:01:54.999] [windomain] WMI result for FQDN: w10-samsung-hb.WORKGROUP
(1885) [5] [2022-05-04 08:01:55.009] [windomain] "w10-samsung-hb.WORKGROUP" is no valid fqdn
(1886) [6] [2022-05-04 08:01:55.182] [windomain] opsi-script has version 4.12.4.37, required is : >= 4.11.4.6
(1887) [6] [2022-05-04 08:01:55.182] [windomain] ScriptErrorMessages was False is set to false
(1888) [6] [2022-05-04 08:01:55.186] [windomain] Set $OS$ = GetOS
(1889) [6] [2022-05-04 08:01:55.194] [windomain] The value of the variable "$OS$" is now: "Windows_NT"
(1890) [6] [2022-05-04 08:01:55.194] [windomain] Set $MsVersion$ = GetMsVersionInfo
(1891) [6] [2022-05-04 08:01:55.194] [windomain] The value of the variable "$MsVersion$" is now: "10.0"
(1892) [6] [2022-05-04 08:01:55.194] [windomain] Set $OSArch$ = GetSystemType
(1893) [6] [2022-05-04 08:01:55.194] [windomain] The value of the variable "$OSArch$" is now: "64 Bit System"
(1894) [6] [2022-05-04 08:01:55.194] [windomain] Set $Domain$ = GetProductProperty("domain","unknown")
(1895) [6] [2022-05-04 08:01:55.195] [windomain] The value of the variable "$Domain$" is now: "kikxxl.corp"
(1896) [6] [2022-05-04 08:01:55.195] [windomain] Set $Username$ = GetProductProperty("username","unknown")
(1897) [6] [2022-05-04 08:01:55.195] [windomain] The value of the variable "$Username$" is now: "opsijoin"
(1898) [6] [2022-05-04 08:01:55.195] [windomain] Set $Password$ = GetProductProperty("password","unknown")
(1899) [6] [2022-05-04 08:01:55.197] [windomain] The value of the variable "$Password$" is now: "Y9T1UsdGGMxVaODh"
(1900) [6] [2022-05-04 08:01:55.197] [windomain] Set $passwd_one_time_use$ = GetProductProperty("passwd_one_time_use", "false")
(1901) [6] [2022-05-04 08:01:55.197] [windomain] The value of the variable "$passwd_one_time_use$" is now: "False"
(1902) [6] [2022-05-04 08:01:55.197] [windomain] Set $AccountOU$ = GetProductProperty("account_ou","unknown")
(1903) [6] [2022-05-04 08:01:55.198] [windomain] The value of the variable "$AccountOU$" is now: ""
(1904) [6] [2022-05-04 08:01:55.199] [windomain] Set $method$ = GetProductProperty("method","unknown")
(1905) [6] [2022-05-04 08:01:55.199] [windomain] The value of the variable "$method$" is now: "wmic"
(1906) [6] [2022-05-04 08:01:55.199] [windomain] Set $primarywinsserver$ = GetProductProperty("primarywinsserver","unknown")
(1907) [6] [2022-05-04 08:01:55.199] [windomain] The value of the variable "$primarywinsserver$" is now: ""
(1908) [6] [2022-05-04 08:01:55.199] [windomain] Set $secondarywinsserver$ = GetProductProperty("secondarywinsserver","unknown")
(1909) [6] [2022-05-04 08:01:55.199] [windomain] The value of the variable "$secondarywinsserver$" is now: ""
(1910) [6] [2022-05-04 08:01:55.199] [windomain] Set $linux_method$ = GetProductProperty("linux_method","password")
(1911) [6] [2022-05-04 08:01:55.201] [windomain] The value of the variable "$linux_method$" is now: "password"
(1912) [6] [2022-05-04 08:01:55.201] [windomain] Set $workgroup$ = GetProductProperty("linux_workgroup","WORKGROUP")
(1913) [6] [2022-05-04 08:01:55.201] [windomain] The value of the variable "$workgroup$" is now: "WORKGROUP"
(1914) [5] [2022-05-04 08:01:55.378] [windomain] message Perparing to join
(1915) [6] [2022-05-04 08:01:55.381] [windomain] If
(1916) [6] [2022-05-04 08:01:55.381] [windomain] $OS$ = "Windows_NT" <<< result true
(1917) [6] [2022-05-04 08:01:55.381] [windomain] Then
(1918) [6] [2022-05-04 08:01:55.381] [windomain] If
(1919) [6] [2022-05-04 08:01:55.383] [windomain] $method$ = "auto" <<< result false
(1920) [6] [2022-05-04 08:01:55.383] [windomain] Then
(1921) [6] [2022-05-04 08:01:55.383] [windomain] If
(1922) [6] [2022-05-04 08:01:55.383] [windomain] Then
(1923) [6] [2022-05-04 08:01:55.383] [windomain] Else
(1924) [6] [2022-05-04 08:01:55.384] [windomain] EndIf
(1925) [6] [2022-05-04 08:01:55.384] [windomain] EndIf
(1926) [6] [2022-05-04 08:01:55.384] [windomain] If
(1927) [6] [2022-05-04 08:01:55.384] [windomain] $method$ = "netdom.exe" <<< result false
(1928) [6] [2022-05-04 08:01:55.384] [windomain] Then
(1929) [6] [2022-05-04 08:01:55.385] [windomain] If
(1930) [6] [2022-05-04 08:01:55.385] [windomain] Then
(1931) [6] [2022-05-04 08:01:55.385] [windomain] If
(1932) [6] [2022-05-04 08:01:55.385] [windomain] Then
(1933) [6] [2022-05-04 08:01:55.385] [windomain] Else
(1934) [6] [2022-05-04 08:01:55.386] [windomain] EndIf
(1935) [6] [2022-05-04 08:01:55.386] [windomain] Else
(1936) [6] [2022-05-04 08:01:55.386] [windomain] EndIf
(1937) [6] [2022-05-04 08:01:55.386] [windomain] EndIf
(1938) [6] [2022-05-04 08:01:55.387] [windomain] If
(1939) [6] [2022-05-04 08:01:55.403] [windomain] Start process as invoker: SYSTEM
(1940) [6] [2022-05-04 08:01:55.414] [windomain] Started process "C:\Windows\system32\\cmd.exe" with Opt: /C\r\nc:\opsi.org\tmp\_opsiscript_1E3dOn2S2u.cmd
(1941) [6] [2022-05-04 08:01:55.827] [windomain] Search "c:\opsi.org\tmp\_opsiscript_*"
(1942) [6] [2022-05-04 08:01:55.828] [windomain] ( lower(trim(takeString(2, getOutStreamFromSection('DosInAnIcon_get_partofdomain')))) = "true" ) <<< result false
(1943) [6] [2022-05-04 08:01:55.828] [windomain] Then
(1944) [6] [2022-05-04 08:01:55.832] [windomain] If
(1945) [6] [2022-05-04 08:01:55.832] [windomain] Then
(1946) [6] [2022-05-04 08:01:55.832] [windomain] EndIf
(1947) [6] [2022-05-04 08:01:55.833] [windomain] If
(1948) [6] [2022-05-04 08:01:55.833] [windomain] Then
(1949) [6] [2022-05-04 08:01:55.833] [windomain] EndIf
(1950) [6] [2022-05-04 08:01:55.833] [windomain] EndIf
(1951) [6] [2022-05-04 08:01:55.833] [windomain] EndIf
(1952) [6] [2022-05-04 08:01:55.834] [windomain] If
(1953) [6] [2022-05-04 08:01:55.834] [windomain] $OS$ = "macOS" <<< result false
(1954) [6] [2022-05-04 08:01:55.834] [windomain] Then
(1955) [6] [2022-05-04 08:01:55.834] [windomain] If
(1956) [6] [2022-05-04 08:01:55.834] [windomain] Then
(1957) [6] [2022-05-04 08:01:55.834] [windomain] EndIf
(1958) [6] [2022-05-04 08:01:55.834] [windomain] EndIf
(1959) [6] [2022-05-04 08:01:55.834] [windomain] If
(1960) [6] [2022-05-04 08:01:55.836] [windomain] $OS$ = "Linux" <<< result false
(1961) [6] [2022-05-04 08:01:55.836] [windomain] Then
(1962) [6] [2022-05-04 08:01:55.836] [windomain] If
(1963) [6] [2022-05-04 08:01:55.836] [windomain] Then
(1964) [6] [2022-05-04 08:01:55.836] [windomain] If
(1965) [6] [2022-05-04 08:01:55.837] [windomain] Then
(1966) [6] [2022-05-04 08:01:55.837] [windomain] EndIf
(1967) [6] [2022-05-04 08:01:55.837] [windomain] If
(1968) [6] [2022-05-04 08:01:55.837] [windomain] Then
(1969) [6] [2022-05-04 08:01:55.838] [windomain] EndIf
(1970) [6] [2022-05-04 08:01:55.838] [windomain] EndIf
(1971) [6] [2022-05-04 08:01:55.838] [windomain] EndIf
(1972) [5] [2022-05-04 08:01:55.838] [windomain] message Joining domain
(1973) [6] [2022-05-04 08:01:55.841] [windomain] Switch : Windows_NT
(1974) [6] [2022-05-04 08:01:55.841] [windomain] Case : Windows_NT
(1975) [6] [2022-05-04 08:01:55.841] [windomain] Case match: Windows_NT = Windows_NT
(1976) [5] [2022-05-04 08:01:55.843] [windomain] comment: Disconnecting shares to avoid multiple connections to the same server with different usernames
(1977) [5] [2022-05-04 08:01:55.844] [windomain] Execution of: DosInAnIcon_disconnect winst /sysnative
(1978) [6] [2022-05-04 08:01:55.852] [windomain] DisableWow64FsRedirection succeeded
(1979) [6] [2022-05-04 08:01:55.852] [windomain] Start process as invoker: SYSTEM
(1980) [6] [2022-05-04 08:01:55.861] [windomain] Started process "C:\Windows\system32\\cmd.exe" with Opt: /C\r\nc:\opsi.org\tmp\_opsiscript_nH4Wxz792A.cmd
(1981) [6] [2022-05-04 08:01:55.996] [windomain] Search "c:\opsi.org\tmp\_opsiscript_*"
(1982) [6] [2022-05-04 08:01:55.996] [windomain] RevertWow64FsRedirection succeeded
(1983) [6] [2022-05-04 08:01:56.001] [windomain]
(1984) [6] [2022-05-04 08:01:56.001] [windomain] ExitWindows set to Reboot
(1985) [6] [2022-05-04 08:01:56.001] [windomain] If
(1986) [6] [2022-05-04 08:01:56.002] [windomain] CompareDotSeparatedNumbers($MsVersion$,"6.0") >= "0" <<< result true
(1987) [6] [2022-05-04 08:01:56.002] [windomain] Then
(1988) [6] [2022-05-04 08:01:56.002] [windomain] If
(1989) [6] [2022-05-04 08:01:56.002] [windomain] GetProductProperty("samba_domain","true") = "true" <<< result false
(1990) [6] [2022-05-04 08:01:56.002] [windomain] Then
(1991) [6] [2022-05-04 08:01:56.002] [windomain] EndIf
(1992) [6] [2022-05-04 08:01:56.002] [windomain] EndIf
(1993) [6] [2022-05-04 08:01:56.004] [windomain] If
(1994) [6] [2022-05-04 08:01:56.004] [windomain] $method$ = "netdom.exe" <<< result false
(1995) [6] [2022-05-04 08:01:56.004] [windomain] Then
(1996) [6] [2022-05-04 08:01:56.004] [windomain] If
(1997) [6] [2022-05-04 08:01:56.004] [windomain] Then
(1998) [6] [2022-05-04 08:01:56.005] [windomain] Else
(1999) [6] [2022-05-04 08:01:56.005] [windomain] EndIf
(2000) [6] [2022-05-04 08:01:56.005] [windomain] EndIf
(2001) [6] [2022-05-04 08:01:56.006] [windomain] If
(2002) [6] [2022-05-04 08:01:56.006] [windomain] $method$ = "powershell" <<< result false
(2003) [6] [2022-05-04 08:01:56.006] [windomain] Then
(2004) [6] [2022-05-04 08:01:56.007] [windomain] If
(2005) [6] [2022-05-04 08:01:56.007] [windomain] Then
(2006) [6] [2022-05-04 08:01:56.007] [windomain] Else
(2007) [6] [2022-05-04 08:01:56.007] [windomain] If
(2008) [6] [2022-05-04 08:01:56.008] [windomain] Then
(2009) [6] [2022-05-04 08:01:56.008] [windomain] EndIf
(2010) [6] [2022-05-04 08:01:56.008] [windomain] EndIf
(2011) [6] [2022-05-04 08:01:56.008] [windomain] If
(2012) [6] [2022-05-04 08:01:56.009] [windomain] Then
(2013) [6] [2022-05-04 08:01:56.009] [windomain] EndIf
(2014) [6] [2022-05-04 08:01:56.009] [windomain] EndIf
(2015) [6] [2022-05-04 08:01:56.009] [windomain] If
(2016) [6] [2022-05-04 08:01:56.009] [windomain] $method$ = "wmic" <<< result true
(2017) [6] [2022-05-04 08:01:56.009] [windomain] Then
(2018) [6] [2022-05-04 08:01:56.009] [windomain] Set $AccountOU$ = ComposeString(SplitString($AccountOU$, ','), ';')
(2019) [6] [2022-05-04 08:01:56.009] [windomain] The value of the variable "$AccountOU$" is now: ""
(2020) [6] [2022-05-04 08:01:56.011] [windomain] If
(2021) [6] [2022-05-04 08:01:56.011] [windomain] ($AccountOU$ = "") <<< result true
(2022) [6] [2022-05-04 08:01:56.011] [windomain] Then
(2023) [5] [2022-05-04 08:01:56.011] [windomain] comment: Using wmi to join domain
(2025) [5] [2022-05-04 08:01:56.013] [windomain] Execution of: DosInAnIcon_join_domain_wmic winst /sysnative
(2026) [6] [2022-05-04 08:01:56.021] [windomain] DisableWow64FsRedirection succeeded
(2027) [6] [2022-05-04 08:01:56.021] [windomain] Start process as invoker: SYSTEM
(2028) [6] [2022-05-04 08:01:56.029] [windomain] Started process "C:\Windows\system32\\cmd.exe" with Opt: /C\r\nc:\opsi.org\tmp\_opsiscript_GL4uKcu373.cmd
(2029) [6] [2022-05-04 08:02:13.119] [windomain] Search "c:\opsi.org\tmp\_opsiscript_*"
(2030) [6] [2022-05-04 08:02:13.119] [windomain] RevertWow64FsRedirection succeeded
(2031) [6] [2022-05-04 08:02:13.124] [windomain] Else
(2032) [6] [2022-05-04 08:02:13.124] [windomain] EndIf
(2033) [6] [2022-05-04 08:02:13.124] [windomain] EndIf
(2034) [6] [2022-05-04 08:02:13.125] [windomain] If
(2035) [6] [2022-05-04 08:02:13.130] [windomain] Start process as invoker: SYSTEM
(2036) [6] [2022-05-04 08:02:13.140] [windomain] Started process "C:\Windows\system32\\cmd.exe" with Opt: /C\r\nc:\opsi.org\tmp\_opsiscript_lA01q0An7O.cmd
(2037) [6] [2022-05-04 08:02:13.320] [windomain] Search "c:\opsi.org\tmp\_opsiscript_*"
(2038) [6] [2022-05-04 08:02:13.320] [windomain] ( lower(trim(takeString(2, getOutStreamFromSection('DosInAnIcon_get_partofdomain')))) = "false" ) <<< result true
(2039) [6] [2022-05-04 08:02:13.320] [windomain] Then
(2040) [3] [2022-05-04 08:02:13.324] [windomain] Error: Failed to join domain
(2041) [2] [2022-05-04 08:02:13.325] [windomain] Error level set to fatal
(2042) [6] [2022-05-04 08:02:13.325] [windomain] Process aborted
(2043) [1] [2022-05-04 08:02:13.325] [windomain] ___________________
(2044) [1] [2022-05-04 08:02:13.325] [windomain] script finished: failed
(2045) [1] [2022-05-04 08:02:13.325] [windomain] 1 error
(2046) [1] [2022-05-04 08:02:13.325] [windomain] 0 warnings
(2047) [1] [2022-05-04 08:02:13.326] [windomain]
(2048) [1] [2022-05-04 08:02:13.326] [windomain] handled product: windomain Version: 2.1-1
(2049) [1] [2022-05-04 08:02:13.326] [windomain]
(2050) [5] [2022-05-04 08:02:13.326] [windomain] We do not look for a update script, because the setup script is failed
(2051) [6] [2022-05-04 08:02:13.328] [windomain] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(2052) [6] [2022-05-04 08:02:13.399] [windomain] JSON Bench for productOnClient_updateObject "params":[{"clientId":"w10-samsung-hb.kikxxl.corp" Start: 08:02:13:328 Time: 00:00:00:071
(2053) [6] [2022-05-04 08:02:13.399] [] Registry key [HKLM\SOFTWARE\opsi.org\winst] opened
(2054) [6] [2022-05-04 08:02:13.399] [] Variable "RebootRequested" had value "0"
(2055) [6] [2022-05-04 08:02:13.400] [] Info: "RebootRequested" changed to "4"
(2056) [6] [2022-05-04 08:02:13.400] [] Variable "LastLogFilename" is keeping its value "c:\opsi.org\log\opsi-script.log"
(2057) [6] [2022-05-04 08:02:13.400] [] Variable "ContinueLogFile" is keeping its value "1"
(2058) [6] [2022-05-04 08:02:13.400] [] Variable "NumberOfErrors" had value "12"
(2059) [6] [2022-05-04 08:02:13.400] [] Info: "NumberOfErrors" changed to "14"
(2060) [6] [2022-05-04 08:02:13.405] [] Key flushed
(2061) [6] [2022-05-04 08:02:13.405] [] Key closed
(2062) [6] [2022-05-04 08:02:13.409] [] SslLib should be: C:\Program Files (x86)\opsi.org\opsi-client-agent\opsi-script\ssleay32.dll
(2063) [6] [2022-05-04 08:02:13.431] [] JSON Bench for backend_getSystemConfiguration "params":[],"id":1} Start: 08:02:13:409 Time: 00:00:00:022
(2064) [6] [2022-05-04 08:02:13.431] [] Checking if partlog: is bigger than 4 MB :.
(2065) [6] [2022-05-04 08:02:13.431] [] Checking if partlog: c:\opsi.org\log\\opsi-script-part-wF5nR5A4c6.log is bigger than 4 MB - found: 0 MB
(2066) [5] [2022-05-04 08:02:13.431] [] -------- submitted part of log file ends here, see the rest of log file on client ----------
Wenn ich das ganze in der Powershell durchführe kriege ich ein "Typenkonflikt Error" zurück weil wahrscheinlich die Parameter nicht passen.
Ich blicke da leider nicht ganz durch wieso ich genau den selben Command aus der Section "DosInAnIcon_join_domain_wmic" wie es auch im Log steht das der das durchführt funktioniert aber über Opsi das fehl schlägt.
Ich hoffe ihr könnt mir da vllt. weiterhelfen weil ich auch aus dem Log nicht schlau werde.
Danke schomal