VigneshDhanraj G
2017-Mar-22 15:23 UTC
[Samba] net rpc info throwing NT_STATUS_CONNECTION_REFUSED
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 at 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 Could not able to find what would be the problem here. Regards, VigneshDhanraj G
VigneshDhanraj G
2017-Mar-24 10:58 UTC
[Samba] net rpc info throwing NT_STATUS_CONNECTION_REFUSED
Is any update on this? On Wed, Mar 22, 2017 at 8:53 PM, VigneshDhanraj G < vigneshdhanraj.g at gmail.com> 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 at 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 > > Could not able to find what would be the problem here. > > Regards, > VigneshDhanraj G >
Rowland Penny
2017-Mar-24 11:16 UTC
[Samba] net rpc info throwing NT_STATUS_CONNECTION_REFUSED
On Fri, 24 Mar 2017 16:28:49 +0530 VigneshDhanraj G via samba <samba at lists.samba.org> wrote:> Is any update on this? > > On Wed, Mar 22, 2017 at 8:53 PM, VigneshDhanraj G < > vigneshdhanraj.g at gmail.com> 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 at 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