TNG works with Win2k, fails with Win98

Luke Kenneth Casson Leighton lkcl at samba.org
Mon Feb 21 02:25:01 GMT 2000


i removed the code that requires samba servers to be joined to their own
domain (see cvs message last week).

On Mon, 21 Feb 2000, Patrick J. LoPresti wrote:

> The story so far...
> 
> My current problem appears to be that this call:
> 
>   msrpc_lsa_query_trust_passwd("\\\\.", "$MACHINE.ACC", trust_passwd, NULL))
> 
> ..does not always place the same value in trust_passwd.  This is
> causing my logons to fail from time to time.
> 
> Could this have something to do with the fact that I never created a
> machine account for my Samba PDC?  Just in case, I tried to create one
> like so (EGGHEAD is both the PDC and local host):
> 
>   samedit -S . -U root -l log
>   createuser EGGHEAD$ -j
> 
> And the result was:
> 
>   SAM Create Domain User
>   Domain: TEST Name: EGGHEAD$ ACB: [W          ]
>   Create Domain User: OK
>   Join EGGHEAD to Domain TEST
>   Set $MACHINE.ACC: OK
> 
> However, when I examine smbpasswd, no entry has been created for
> EGGHEAD$.  The same sequence works fine for creating other accounts,
> just not this one.  Yes, I have a user "root" in smbpasswd.  Yes, I
> have an EGGHEAD$ account in /etc/passwd.
> 
> What am I doing wrong?  How can I create an entry for my PDC in
> smbpasswd?  Should I care that I can't?
> 
>  - Pat
> 

<a href=" mailto:lkcl at samba.org" > Luke Kenneth Casson Leighton    </a>
<a href=" http://cb1.com/~lkcl"  > Samba and Network Development   </a>
<a href=" http://samba.org"      > Samba Web site                  </a>
<a href=" http://www.iss.net"    > Internet Security Systems, Inc. </a>
<a href=" http://mcp.com"        > Macmillan Technical Publishing  </a>
 
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals



More information about the samba-ntdom mailing list