Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

Problem with Windows PowerShell v3 (WS2012) and Linux Xubunt while using CIM/WBEM/SBLIM Sessions

$
0
0

Hi All,

 first of alla excuse me for my disturb L

 I’m creating a lab to explore possibile interaction between Windows PowerShell and Linux world through PowerShell CIM/WBEMM Sessions.

 I’ve installed an XUbuntu 12 whith all packages necessary to CIM/DMTF (SBLIM Project) and likewise-open5 to join the Linux workstations in AD Domain for Single Sign On:

 # apt-get install likewise-open likewise-open-gui samba

# apt-get install cim-schema libcmpiosbase-common0 libslp1 sblim-cmpi-base sblim-cmpi-common sfcb

 About CIM / SBLIM locally everything works fine:



Subsequently I configured TCP/IP and the file / etc/krb5.con and I did join in the AD domain.

Then I try to connect through PoSh from a WS2012 domain controller:

 PS [C:\]>$cred = Get-Credentialroot@meetupitpro.adds

PS [C:\]>$csxub = New-CimSession -ComputerName muip-mi-xub12-01.MeetUpItPro.adds -Port 5988 -Credential $cred

 New-CimSession : Access is denied.

At line:1 char:10

+ $csxub = New-CimSession -ComputerName muip-mi-xub12-01.MeetUpItPro.adds -Port 59 ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : PermissionDenied: (:) [New-CimSession], CimException

    + FullyQualifiedErrorId : HRESULT 0x80070005,Microsoft.Management.Infrastructure.CimCmdlets.NewCimSessionCommand

    + PSComputerName        : muip-mi-xub12-01.MeetUpItPro.adds

 

Thank You in advance for your patience and courtesy.

 Leone


Leone


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>