Win2K vs rpcclient

Jeremy Allison jra at samba.org
Fri Dec 7 14:16:01 GMT 2001


On Fri, Dec 07, 2001 at 04:05:02PM -0600, Esh, Andrew wrote:
> I've been doing some testing, and I am pretty certain that rpcclient won't
> work with Win2K. I am trying to write a script which can create a trust
> account on the PDC for a domain member machine. With older version of
> Microsoft operating systems as the PDC, rpcclient is able to do this.
> 
> My tests of the TNG tool "samedit" are more successful. I am able to create
> the accoount, but I have a question: Is there any way to set the "allow
> pre-Windows 200 computers to use this account" flag in the Win2K PDC record
> of each machine? It can be set manually in the server manager tool on Win2K,
> but I need to do it from the outside. From the "Samba in Win2K Native Mode"
> on this list in early November, I gather that that flag has to be set for
> Samba to work with a Win2K PDC.
> 
> Also: Is there some way to find out if that flag is set? The only reference
> I see to it is in the account creation dialog. It is not listed as one of
> the properties, once the account has been created.

Hang on a minute, I thought adding the account had been added to smbpasswd
in the 2.2 CVS, and to the 'net' command in HEAD. Won't these do what you
need ?

Jeremy.




More information about the samba-technical mailing list