I have 2.0.7 Samba for Solaris and I tried to join an NT domain but got the following: /opt/samba/bin> smbpasswd -j niaaa01 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 NIAAAWMAIL. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. 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 NIAAAWSTANDBY. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. cli_nt_session_open: cli_nt_create failed on pipe \NETLOGON to machine NIAAAWSNAP. Error was ERRDOS - ERRbadpipe (Pipe invalid.) modify_trust_password: unable to open the domain client session to machine NIAAAWSNAP. Error was : ERRDOS - ERRbadpipe (Pipe invalid.). 2000/07/06 17:01:18 : change_trust_account_password: Failed to change password for domain NIAAA01. Unable to join domain NIAAA01. A query on "nmblookup niaaa01" shows me as a member of niaaa01. my smb.conf is [global] workgroup=niaaa01 password server= * security=domain encrypt passwords=yes [home] writeable=yes [printers] printable=yes Please tell me what the problem is. thanks, Roger __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
You have to: 1) Create a computer account in the domain 2) on smbpasswd, add -r <pdc> 3) Then change smb.conf Have a look at /usr/doc/samba-<version>/docs/textdocs/DOMAIN_MEMBER.txt -----Original Message----- From: Roger Paul [mailto:naturerunner@yahoo.com] Sent: Thursday, July 06, 2000 2:17 PM To: Multiple recipients of list SAMBA Subject: joining a NT domain I have 2.0.7 Samba for Solaris and I tried to join an NT domain but got the following: /opt/samba/bin> smbpasswd -j niaaa01 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 NIAAAWMAIL. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. 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 NIAAAWSTANDBY. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. cli_nt_session_open: cli_nt_create failed on pipe \NETLOGON to machine NIAAAWSNAP. Error was ERRDOS - ERRbadpipe (Pipe invalid.) modify_trust_password: unable to open the domain client session to machine NIAAAWSNAP. Error was : ERRDOS - ERRbadpipe (Pipe invalid.). 2000/07/06 17:01:18 : change_trust_account_password: Failed to change password for domain NIAAA01. Unable to join domain NIAAA01. A query on "nmblookup niaaa01" shows me as a member of niaaa01. my smb.conf is [global] workgroup=niaaa01 password server= * security=domain encrypt passwords=yes [home] writeable=yes [printers] printable=yes Please tell me what the problem is. thanks, Roger __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/
Hello, I am trying to connect a Samba server in a NT domain, I can't join the domain wirh smbpasswd smbpasswd -j My_DOMAIN -r MY_PDC and I get the following messages : =============================================Unable to join domain "MY_DOMAIN". 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 "MY_PDC". Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. 2000/07/11 15:40:34 : change_trust_account_password: Failed to change password for domain "MY_DOMAIN". ============================================= I am used to Unix, but not to NT and I can't understand what is false Regards -- PS I am using Samba at home with 2 servers and 3 PC's without a hitch .... Jean-Paul Pozzi
Salut Jean-Paul, I'm not an NT expert myself, but AFAIK the domain admin has to create a computer account on the domain controller before you can connect to the domain. In other words: you don't get in unless you're invited :-) Harald> Date: Tue, 11 Jul 2000 21:04:26 +0100 > From: Jean-Paul POZZI <storm66@club-internet.fr> > To: liste samba <samba@samba.org> > Subject: Joining a NT Domain > Message-ID: <yam8227.1343.137863008@mail.club-internet.fr> > MIME-Version: 1.0 > Content-Type: text/plain > > Hello, > > I am trying to connect a Samba server in a NT domain, I can't join > the domain wirh smbpasswd > > smbpasswd -j My_DOMAIN -r MY_PDC > > and I get the following messages : > > =============================================> Unable to join domain "MY_DOMAIN". > 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 > "MY_PDC". Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT. > 2000/07/11 15:40:34 : change_trust_account_password: Failed to change > password for domain "MY_DOMAIN". > =============================================> > I am used to Unix, but not to NT and I can't understand what is false > > Regards > -- > > PS > I am using Samba at home with 2 servers and 3 PC's without a hitch .... > > Jean-Paul Pozzi