Web lists-archives.com

Re: [Samba] net rpc info throwing NT_STATUS_CONNECTION_REFUSED




On Fri, 24 Mar 2017 16:28:49 +0530
VigneshDhanraj G via samba <samba@xxxxxxxxxxxxxxx> wrote:

> Is any update on this?
> 
> On Wed, Mar 22, 2017 at 8:53 PM, VigneshDhanraj G <
> vigneshdhanraj.g@xxxxxxxxx> wrote:
> 
> > Hi Team,
> >
> > When i am accessing folders through cifs it always saying Username
> > could not be found.
> >
> > In log i could see,
> >
> > [2017/03/22 10:03:50.184453,  0] ../source3/libsmb/cliconnect.
> > c:1918(cli_session_setup_spnego_send)
> >   Kinit for DHANRAJ$@DHAN.LOCAL to access
> > cifs/WIN-R2345ED.DHAN.LOCAL@DHAN.LOCAL failed: Preauthentication
> > failed
> >
> > When i am running below command, I am getting Connection_refused
> > error
> >
> > /usr/local/samba/bin/net rpc info -S DHAN.LOCAL --machine-pass
> > Could not connect to server DHAN.LOCAL
> > Connection failed: NT_STATUS_CONNECTION_REFUSED
> >

I take it that the DC is called 'WIN-R2345ED', so try it like this:

net rpc info -S WIN-R2345ED.DHAN.LOCAL -k --machine-pass

Rowland



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba