[Samba] SePrintOperatorPrivilege NT_STATUS_LOGON_FAILURE

Rowland Penny
Wed, 05 Jun 2024 13:54:30 -0000

On Wed, 05 Jun 2024 12:46:11 +0200
Khalid via samba <samba at lists.samba.org> wrote:

> Hi everyone,
>
> I seem to have come to a dead end, so here I am, turning to you,
> asking for your expertise. :)
>
> Whenever I try
>
> net rpc rights grant 'MYDOMAIN\grp_it_members'
> SePrintOperatorPrivilege -U'MYDOMAIN\admin'
>
> I get this error:
>
> Password for [MYDOMAIN\admin]:
> Could not connect to server 127.0.0.1
> The username or password was not correct.
> Connection failed: NT_STATUS_LOGON_FAILURE

Are you doing this as 'root' or with sudo ?

Rowland