[Samba] net rpc join -U root error
Diego Obetko
dobetko at gmail.com
Thu Nov 8 00:22:27 GMT 2007
[quote]
[root at gomer samba]# net rpc join -U root%xxxxxxxx
Unable to find a suitable server
[root at gomer samba]# net rpc testjoin -S GOMER -U root%xxxxxxx
Join to 'ADMIN' is OK
[root at gomer samba]# net rpc testjoin -D DOMAIN -U root%xxxxxxx
Unable to find a suitable server
Join to domain 'ADMIN' is not valid
[/quote]
What is the samba server netbios name and workgroup ??
as far as i can see the domain is ADMIN and the samba netbios name is GOMER
so, what is DOMAIN in "[root at gomer samba]# net rpc testjoin -D DOMAIN -U
root"
another thing, you don't need to pass the password in that command.. you can
issue it as i put it up here and it will as you for root's password...
Diego
On Nov 7, 2007 9:08 PM, Ivan Ordonez <iordonez at nature.berkeley.edu> wrote:
> I think he did a "net rpc testjoin" command and got a "no suitable
> server" response.
>
> Diego Obetko wrote:
> > i'm sorry but he did join the machine in an earlier reply.. don't know
> > if it's the same machine or situation...
> >
> > [quote]
> > [root at gomer etc]# net rpc join -S GOMER -U root
> > Password:
> > Joined domain ADMIN.
> > [/quote]
> >
> > On Nov 7, 2007 7:04 PM, Ivan Ordonez <iordonez at nature.berkeley.edu
> > <mailto:iordonez at nature.berkeley.edu>> wrote:
> >
> > Make sure that the version of samba are all the same. Somehow, the
> > 3.0.26 version is not compatible with 3.0.24. If your PDC has an
> > earlier version to that machine you are trying to join, you will
> > not be
> > able to join it to the domain.
> >
> > Adam Williams wrote:
> > > I turned on log level = 10 and got some more data.
> > >
> > > [root at gomer samba]# net rpc join -S GOMER -U root
> > > [2007/11/07 15:52:27, 0] libsmb/clientgen.c:cli_receive_smb(112)
> > > Receiving SMB: Server stopped responding
> > > [2007/11/07 15:52:27, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
> > > rpc_api_pipe: Remote machine GOMER pipe \NETLOGON fnum
> > 0x7751returned
> > > critical error. Error was Call timed out: server did not respond
> > after
> > > 10000 milliseconds
> > > Password:
> > > [2007/11/07 15:53:00, 0] libsmb/clientgen.c:cli_receive_smb(112)
> > > Receiving SMB: Server stopped responding
> > > [2007/11/07 15:53:00, 0] rpc_client/cli_pipe.c:rpc_api_pipe(790)
> > > rpc_api_pipe: Remote machine GOMER pipe \samr fnum 0x7775returned
> > > critical error. Error was Call timed out: server did not respond
> > after
> > > 10000 milliseconds
> > > Creation of workstation account failed
> > > Unable to join domain ADMIN.
> > > [root at gomer samba]# /etc/rc.d/init.d/smb restart &&
> > > /etc/rc.d/init.d/winbind restart
> > > Shutting down SMB services: [ OK
> ]
> > > Starting SMB services: [ OK
> ]
> > >
> > > Shutting down Winbind services: [ OK
> ]
> > > Starting Winbind services: [ OK
> ]
> > > [root at gomer samba]# wbinfo -u
> > > Error looking up domain users
> > >
> > >
> > > Diego Obetko wrote:
> > >> but you used that sintax that didn't work again..
> > >>
> > >> try this # net rpc join -S GOMER -U root
> > >> then
> > >> # /etc/rc.d/init.d/smb restart && /etc/rc.d/init.d/winbind
> restart
> > >> then
> > >> # wbinfo -u
> > >>
> > >>
> > >
> >
> >
>
More information about the samba
mailing list