[Samba] DOMAIN missing in net rpc join example command
Andrew Bartlett
abartlet at samba.org
Wed Feb 18 21:09:04 GMT 2004
On Thu, 2004-02-19 at 01:13, edd payne wrote:
> On Wednesday 18 Feb 2004 2:10 pm, Karel Kulhavy wrote:
>
> > root# /usr/local/samba/bin/net rpc join -S PDC -U Administrator
> >
> > The proper response to the command should be: Joined the domain DOMAIN
> > where DOMAIN is your DOMAIN name."
> >
> > There is no DOMAIN in the command.
> >
> > What is the correct command that I should enter instead of this?
>
> AFAIK it pulls the domain from the workgroup= parameter in your smb.conf
Actually, it asks the remote machine (the -S PDC) what it's domain name
is, and joins that. If you don't specify -S, it will join the PDC of
the domain in smb.conf. If you specify -w DOMAIN, it will join that
domain (agian, by finding the PDC).
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20040219/1a8f97d0/attachment.bin
More information about the samba
mailing list