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@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.
Can anybody tell me what is actually happening here?
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@linfield.edu>
On Tue, 26 Sep 2000, Rob Tanner wrote:> 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. > > Can anybody tell me what is actually happening here?Have you read samba-2.0.7/docs/textdocs/DOMAIN_MEMBER.txt? Have you read and followed the first sentence in that text? It always works for me when I do that. But I don't know what any of those error messages mean so maybe you have found something else. /Urban
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.> 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 139So, it resolves the name successfully for your PDC.> 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.This means that it has attempted to change the password on the machine account in the SAM of the PDC, and failed, because the account does not exist. You must, before joining the domain, go into server manager, and use the "Add computer to domain" to create the trust account for the NETBIOS name of your Samba machine. If you've already done this, then delete it and recreate it - that's definitely where it's going wrong. If the account doesn't exist in a know state, then you won't get anywhere.> 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.No - you're trying to make it join the domain. This is *not* the same thing as setting up the trust account. With NT, when you join the domain, you are given the option of entering the Administrator password which is used to create the trust account. For a Samba box, this must be done on the server first.> 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.Should all be fine. HTH Mike