I installed Samba2.0.7 on my FreeBSD 4.1 box and joined an NT domain. It worked perfect until I changed the hostname today. I found that I couldn't chage the machine password if hostname length is 15. The precedure I do is 1. stop samba 2. change hostname to "abcde1234567890" 3. run smbpasswd -j DOM -r DomControl, then I get the following error message. 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 machine DomControl. Error was : NT_STATUS_ACCESS_DENIED. 2001/11/30 16:58:03 : change_trust_account_password: Failed to change password for domain DOM. Unable to join domain DOM. Is this Samba's limitation? I have tested 2.0.7, 2.0.8, and 2.2 and got the same result. ---------------------------------------- Regards, Vic Hsu vich@synology.com 886-2-25521814 ext. 827 Synology Inc.
I installed Samba2.0.7 on my FreeBSD 4.1 box and joined an NT domain. It worked perfect until I changed the hostname today. I found that I couldn't chage the machine password if hostname length is 15. The precedure I do is 1. stop samba 2. change hostname to "abcde1234567890" 3. run smbpasswd -j DOM -r DomControl, then I get the following error message. 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 machine DomControl. Error was : NT_STATUS_ACCESS_DENIED. 2001/11/30 16:58:03 : change_trust_account_password: Failed to change password for domain DOM. Unable to join domain DOM. Is this Samba's limitation? I have tested 2.0.7, 2.0.8, and 2.2 and got the same result. ---------------------------------------- Regards, Vic Hsu vich@synology.com 886-2-25521814 ext. 827 Synology Inc.
Hi folks! Have you try to delete a create the machine account in NT domain? If you change the hostname you lost the NT domain account(linux+samba and windowsNT machines). -----Mensaje original----- De: Vich [mailto:vich@synology.com] Enviado el: viernes, 30 de noviembre de 2001 10:38 Para: samba@lists.samba.org Asunto: NT_STATUS_ACCESS_DENIED?? I installed Samba2.0.7 on my FreeBSD 4.1 box and joined an NT domain. It worked perfect until I changed the hostname today. I found that I couldn't chage the machine password if hostname length is 15. The precedure I do is 1. stop samba 2. change hostname to "abcde1234567890" 3. run smbpasswd -j DOM -r DomControl, then I get the following error message. 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 machine DomControl. Error was : NT_STATUS_ACCESS_DENIED. 2001/11/30 16:58:03 : change_trust_account_password: Failed to change password for domain DOM. Unable to join domain DOM. Is this Samba's limitation? I have tested 2.0.7, 2.0.8, and 2.2 and got the same result. ---------------------------------------- Regards, Vic Hsu vich@synology.com 886-2-25521814 ext. 827 Synology Inc. N<????r?>y??s?b?X?? -??^~?e???DKjwky?m...?????r??z?m?Y?-+-???m?+f?sSYsY?b???~??jf?
I installed Samba2.0.7 on my FreeBSD 4.1 box and joined an NT domain. It worked perfect until I changed the hostname today. I found that I couldn't chage the machine password if hostname length is 15. The precedure I do is 1. stop samba 2. change hostname to "abcde1234567890" 3. add machine account in domain controller. 4. run smbpasswd -j DOM -r DomControl, then I get the following error message. 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 machine DomControl. Error was : NT_STATUS_ACCESS_DENIED. 2001/11/30 16:58:03 : change_trust_account_password: Failed to change password for domain DOM. Unable to join domain DOM. Is this Samba's limitation? I have tested 2.0.7, 2.0.8, and 2.2 and got the same result. ----------------------------------------------------------------- < ¨C¤Ñ³£ Yahoo!©_¼¯ > www.yahoo.com.tw
I have done more tests. 1. change hostname to "abcde123456789" 2. add machine account 3. run smbpasswd -j DOM -r DomControl, and it ok. 4. change hostname to "abcde1234567899" 5. add machine account 6. run smbpasswd -j DOM -r DomControl, and it fails again. The previous NT domain controller is NT4 sp4. Then, I build a new NT domain with domain controller as W2k server. And I get the same result. Any comments? --------------------->> I installed Samba2.0.7 on my FreeBSD 4.1 box andjoined an NT domain. It worked perfect until I changed the hostname today. I found that I couldn't change the machine password if hostname length is 15. The precedure I do is>> >> 1. stop samba >> 2. change hostname to "abcde1234567890" >> 3. add the machine account in PDC >> 4. run smbpasswd -j DOM -r DomControl, then I getthe following error message.>> >> cli_net_auth2: Error NT_STATUS_ACCESS_DENIED >> cli_nt_setup_creds: auth2 challenge failed >> modify_trust_password: unable to setup the PDCcredentials to machine DomControl. Error was : NT_STATUS_ACCESS_DENIED.>> 2001/11/30 16:58:03 :change_trust_account_password: Failed to change password for domain DOM.>> Unable to join domain DOM.>> Is this Samba's limitation? I have tested 2.0.7,2.0.8, and 2.2 and got the same result. ----------------------------------------------------------------- < ¨C¤Ñ³£ Yahoo!©_¼¯ > www.yahoo.com.tw