smbpasswd -j <domain> -r <pdc> won't work for me!

Lawrence Feldman lfeldman at applianceware.com
Wed Sep 27 14:13:01 GMT 2000


Have you added the Server Account on the NT PDC from Server Manager first?
Then you can join the domain: smbpasswd -j NTDOM -r NTPDC -U
admiistrator%pasword

Buchan Milne wrote:

> Samba 2.0.7 does not allow you to make a trust account from samba. This
> mus be done on the PDC.
>
> Buchan
>
> Rob Tanner wrote:
> >
> > I've been using SAMBA for a while, but this my first effort running it
> > on LINUX, and I'm not sure if that has anything to do with my problem
> > or not.
> >
> > This is what I typed and the response I got:
> >
> > [root at uranus]# smbpasswd -j EUROPA -r SATURN
> > doing parameter syslog = 10
> > doing parameter log file = /usr/local/samba/var/log.%m
> > doing parameter announce as = NT Workstation
> > doing parameter deadtime = 15
> > doing parameter lpq cache time = 30
> > doing parameter socket options = TCP_NODELAY IPTOS_LOWDELAY
> > doing parameter local master = No
> > doing parameter wins server = 10.219.255.244
> > doing parameter admin users = rtanner
> > doing parameter hosts allow = 10.
> > doing parameter hosts deny = 0.0.0.0/0.0.0.0
> > pm_process() returned Yes
> > added interface ip=10.219.255.245 bcast=10.219.255.255 nmask=255.255.0.0
> > resolve_lmhosts: Attempting lmhosts lookup for name SATURN<0x20>
> > resolve_hosts: Attempting host lookup for name SATURN<0x20>
> > Connecting to 10.219.255.240 at port 139
> > 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
> > SATURN. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT.
> > 2000/09/26 14:17:43 : change_trust_account_password: Failed to change
> > password for domain EUROPA.
> > Unable to join domain EUROPA.
> >
> > I'm afraid my NT guy can't tell me any more than it's complaining  that
> > there's no trust account for my machine, but that's what I'm supposedly
> > trying to set up.
> >
> > The pertinent numbers are NT4 service pack 6 on the Microsoft side, and
> > rh 6.2 and Samba 2.0.7 on the LINUX side.
> >
> > I have gone through DOMAIN_MEMBER.txt to make sure everything is set up
> > correctly.   There is a /usr/local/samba/private directory.  The
> > samba.conf file is configured almost identically to another samba box
> > running on solaris 7 that is a full participant in the domain I'm
> > trying to get the LINUX box into.  And all the daemons are stopped.
> > Unfortunately, DOMAIN_MEMBER.txt doesn't provide any trouble-shooting
> > tips, so here I am.
> >
> > Can anybody tell me what is actually happening and what the problem
> > might be?
> >
> > Thanks,
> > Rob
> >
> >        _ _ _ _           _    _ _ _ _ _
> >       /\_\_\_\_\        /\_\ /\_\_\_\_\_\
> >      /\/_/_/_/_/       /\/_/ \/_/_/_/_/_/  QUIDQUID LATINE DICTUM SIT,
> >     /\/_/__\/_/ __    /\/_/    /\/_/          PROFUNDUM VIDITUR
> >    /\/_/_/_/_/ /\_\  /\/_/    /\/_/
> >   /\/_/ \/_/  /\/_/_/\/_/    /\/_/         (Whatever is said in Latin
> >   \/_/  \/_/  \/_/_/_/_/     \/_/              appears profound)
> >
> >   Rob Tanner
> >   UNIX and Networks Manager
> >   Linfield College, McMinnville OR
> >   (503) 434-2558 <rtanner at linfield.edu>
>
> --
> |--------------------------------------------------------------|
> Buchan Milne                Mechanical Engineer, Network Manager
> Cellphone                                           +27824722231
> email                              mailto:bgmilne at ing.sun.ac.za
> Centre for Automotive Engineering      http://www.sun.ac.za/cae
> South Africas first satellite:       http://sunsat.ee.sun.ac.za
> Control Models                         http://www.control.co.za
> |----------------Registered Linux User #182071-----------------|

--
->-------------------------------------------------------------------------
Lawrence (Lon) Feldman  | Applianceware:
Applianceware           | "The new vision in appliance networking"
(510) 580-5131          | lfeldman at applianceware.com


-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba-ntdom mailing list