LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Samba - machine account failing on Windows Server 2012, passwd complexity requiremen (https://www.linuxquestions.org/questions/linux-networking-3/samba-machine-account-failing-on-windows-server-2012-passwd-complexity-requiremen-4175443299/)

Nick_C 12-28-2012 03:51 PM

Samba - machine account failing on Windows Server 2012, passwd complexity requiremen
 
Hi,

I am trying to connect CentsOS 6.3 to a Windows 2012 domain via Samba.

Using: System -> Amdinistration -> Authentication to join machine to the domain.

{Join Domain} appears to work ok, 'net ads info' seems to return correct info but 'net ads testjoin' fails with:
Preauthentication failed, Join to domain is not valid, Logon failure.

Windows event log maybe provides a clue with eventid: 4625, which I believe may be caused by Samba using a password which does not meet the Windows complexity requirements.

Is there a way to get Samba to use a password that adheres to the Windows Complexity requirements?

Thanks,
Nick

Nick_C 12-29-2012 08:01 AM

Answer found:

Rather than using the GUI authentication tool I manually ran 'net ads join -U MyAdmin' which told me that workgroup should be 'Domain1' not 'Domain1.local'. Fixed that and now authenticates fine.

Cheers,
Nick


All times are GMT -5. The time now is 07:04 PM.