[Samba] SMB.Conf when using security = domain

Jay Ts jay at jayts.cx
Fri Oct 18 04:11:01 GMT 2002

Jennifer Crusade wrote:
> well i have been trying to get my linux box to join my nt domain (not as a
> PDC just as a client) and it just wont join dang naggit!  run "smbpasswd -j
> <mydomain> -r <PDC netbios name> like it says to do in the book it gives me
> the following error: 
> cli_net_auth2:Error NT_STATUS_ACCESS_DENIED cli_nt_setup_creds : auth2
> challenge failed modify_trust_password:unable to setup the PDC credentials
> to machince <myPDC>
>  Error was : NT_STATUS_ACCESS_DENIED 2001/01/25 20:28:46 :
> change_trust_account_password : failed to change password for domain
> <mydomain> unable to join domain <mydomain> 

When adding Samba to the domain, you need to specify the -U option to
name the administrative account on the domain controller:

smbpasswd -j DOMAIN -r PDC_NETBIOS_NAME -UAdministrator%ADMIN_PASSWORD

Jay Ts

More information about the samba mailing list