[Samba] enable client to join domain with no or any password?

David Mathog mathog at caltech.edu
Thu Sep 2 17:25:24 MDT 2010


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
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech


More information about the samba mailing list