[Samba] SePrintOperatorPrivilege NT_STATUS_LOGON_FAILURE

Rowland Penny rpenny at samba.org
Wed Jun 5 15:10:39 UTC 2024


On Wed, 05 Jun 2024 16:31:01 +0200
calm.job89448 at fastmail.com wrote:

> Hi Rowland,
> thank you for your reply!
> 
> On Wed, Jun 5, 2024, at 15:54, Rowland Penny via samba wrote:
> > 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
> >
> 
> I tried both. First sudo, as I setup everything with sudo and out of
> curiosity with root. No luck.
> Was it wrong to setup as user with sudo privileges?

No, it should work, perhaps you have a dns problem. Can you please post
the contents of:
/etc/resolv.conf
/etc/hostname
/etc/hosts

Can you also explain why there doesn't appear to be any 'idmap config'
lines in your smb.conf ?

Rowland



More information about the samba mailing list