More information.
For the restricted access "sjacct" of the preceding post, it WILL
join/unjoin correctly using the System control panel (this is on XP).
It just doesn't join using those credentials in Powershell. Here are
the two commands:
$CI=Get-WmiObject win32_ComputerSystem -Authentication 6
$CI.JoinDomainOrWorkgroup("SAF","<password>","sjacct","",35)
The second always comes back with 1326. It does so if the last
parameter is 1,3,33, or 35 and if the third is "sjacct" or "SAF\sjacct".
But it will unjoin from within powershell, as this works:
$CI.UnjoinDomainOrWorkgroup("<password>","sjacct")
Conversely both Unjoin and JoinDomainOrWorkgroup work correctly for
user "root".
Very frustrating!
Thanks,
David Mathog
[email protected]
Manager, Sequence Analysis Facility, Biology Division, Caltech
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba