[Samba] URGENT! Need to move Samba to another computer (Error NT_STATUS_NO_TRUST_SAM_ACCOUNT)

Gary Dale garydale at torfree.net
Fri Feb 23 18:56:52 GMT 2007


You could try it with -u administrator:

smbpasswd -j boxyzzy.doodah.edu -r boxy2k3a -u administrator


boxyzzy at netscape.net wrote:
> From domain, BOXYZZY.DOODAH.EDU Windows 2003 Server PDC, BOXY2K3A, I 
> added computer account, BOXYUNIX.
>
> From the Samba 2.0.7 Solaris 8 computer, to be known as BOXYUNIX, as 
> root I enter:
>
> # /usr/local/bin/smbpasswd -j boxyzzy.doodah.edu -r boxy2k3a
> cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT
> cli_nt_setup_creds: auth2 challenge failed
> modify_trust_password: unable to setup the PDC credentials to machine 
> BOXY2K3A. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT.
> 2007/02/23 11:51:26 : change_trust_account_password: Failed to change 
> password for domain BOXYZZY.DOODAH.EDU.
> Unable to join domain BOXYZZY.DOODAH.EDU.
>
> See the statements from my current / working smb.conf below.
>
> I hope that someone can offer guidance as to how to proceed.
>
> Thanks, in advance, for your help!
>
>
>
> -----Original Message-----
> From: Volker.Lendecke at SerNet.DE
> To: gary at extremeground.com
> Cc: samba at lists.samba.org
> Sent: Sat, 17 Feb 2007 8:32 AM
> Subject: Re: [Samba] URGENT! Need to move Samba to another computer
>
> On Sat, Feb 17, 2007 at 08:30:04AM -0500, Gary Dale wrote:
>> Use the smbclient command with the -J option. Try it first with no
>> options to get a list of options, or try man smbclient.
>
> smbpasswd -j <domain> -r <server>
>
> might be more appropriate.
>
> Volker
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
>
> -----Original Message-----
> From: boxyzzy at netscape.net
> To: samba at lists.samba.org
> Sent: Sat, 17 Feb 2007 12:06 AM
> Subject: [Samba] URGENT! Need to move Samba to another computer
>
> Since 2004, I've been running Samba 2.0.7 on a Solaris 8 computer as a 
> member of a Windows 2003 Server domain - nothing fancy, just mapping 
> Unix home directories to PC users. Now I must QUICKLY move this same 
> Samba config to another computer, and (for the life of me!) I can't 
> recall the steps necessary to "join" the domain. I've read the 
> associated Samba 2.0.7 doc, that references the "net" command, but it 
> is not a command in this set of tools. Upgrading Samba now is not an 
> option. 
>  
> Below are the statements from my current / working smb.conf (with 
> bogus IP's, etc. for security). 
>  
> I hope that someone can provide the necessary procedure. 
>  
> Thanks, in advance, for your help! 
>  
> --------------------------------------------------------------- 
> [global] 
>   interfaces = 123.456.70.59/255.255.255.0 
>   allow hosts = 123.456.70. .dhcp.doodah.edu localhost 
>   deny hosts = 0.0.0.0/0 
>   netbios name = BOXYUNIX 
>   security = domain 
>   workgroup = BOXYZZY 
>   wins server = 123.456.70.13 
>   name resolve order = wins hosts bcast 
>   dns proxy = yes 
>   encrypt passwords = yes 
>   password server = boxy2K3a boxy2K3b 
>   client use spnego = no 
>   os level = 0 
>   preferred master = no 
>   local master = no 
>   domain master = no 
>   guest account = nobody 
>   invalid users = root bin sys uucp nuucp daemon adm lp smtp ppp listen 
>   dead time = 15 
>   log level = 1 
>   lpq cache time = 30 
> . 
> . 
> . 
>  
> ________________________________________________________________________ 
>
>
> Check Out the new free AIM(R) Mail -- 2 GB of storage and 
> industry-leading spam and email virus protection. 
> -- To unsubscribe from this list go to the following URL and read the 
> instructions: https://lists.samba.org/mailman/listinfo/samba 
>
>
> ________________________________________________________________________
> Check Out the new free AIM(R) Mail -- 2 GB of storage and 
> industry-leading spam and email virus protection.
> =0



More information about the samba mailing list