[Samba] Cannot authenticate the administrator account

Rowland Penny rowlandpenny at googlemail.com
Wed Apr 22 12:01:30 MDT 2015


On 22/04/15 18:47, Mike wrote:
> Somehow /var/run/samba got erased......I don't know how or why.
> Recreated /var/run/samba and now:
>  smbclient -L localhost -U%
> Domain=[CONPAGO] OS=[Unix] Server=[Samba 4.1.17-SerNet-RedHat-11.el7]
>
>         Sharename       Type      Comment
>         ---------       ----      -------
>         netlogon        Disk
>         sysvol          Disk
>         IPC$            IPC       IPC Service (Samba 
> 4.1.17-SerNet-RedHat-11.el7)
> Domain=[CONPAGO] OS=[Unix] Server=[Samba 4.1.17-SerNet-RedHat-11.el7]
>
>         Server               Comment
>         ---------            -------
>
>         Workgroup            Master
>         ---------            -------
>
>
> But same failure here:
>
>  smbclient //localhost/netlogon -UAdministrator -c 'ls'
> Enter Administrator's password:
> session setup failed: NT_STATUS_LOGON_FAILURE
> [root at a10 run]#
>
>

As far as I can see you only testing at the moment, so can I suggest 
that you switch OS to Debian wheezy and then use Louis's script to 
install your DC, this should get you a DC that works as expected.

See here for Louis's script: https://secure.bazuin.nl/scripts/

Rowland


More information about the samba mailing list