[Samba] samba3 to samba3 domain membership failing

Craig White craigwhite at azapple.com
Sun Jan 29 19:26:36 GMT 2006


On Sun, 2006-01-29 at 11:16 -0600, Anthony Messina wrote:
> ahall at madasafish.com wrote:
> > anthony messinda wrote...
> > 
> > "what do you mean, "doesn't actually have a netbios name"?  you specify 
> > one in your smb.conf file of the 3.0.10 server.  that name is then used 
> > to generate an account for netbios_name$ on the 3.0.7 pdc."
> > 
> > I didn't realise a domain member required a NetBIOS name, only a domain
> > controller - so thanks for that. Clearly my knowledge of Windows networking needs
> > improving.
> > 
> > However, even after adding that in and restarting the server I still get the same
> > error.
> > 
> > The log on the domain controller says...
> > 
> > [2006/01/29 12:14:31, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
> >   get_md4pw: Workstation FS1$: no account in domain
> > [2006/01/29 12:14:31, 2] smbd/server.c:exit_server(571)
> >   Closing connections
> > 
> > FS1 is the NetBIOS name I have added to the server I wish to become a domain member.
> > 
> > Should it not create the machine account automatically? If so it's failing to do so.
> > 
> > Can it be created manually on the server acting as the PDC, just like when
> > creating a manual Windows client account...
> > 
> > useradd -d /dev/null -g machine -s /sbin/nologin -M FS1$
> > smbpasswd -a -m FS1
> > 
> > ?
> 
> the pdc will create the machine account if you have configured it to do 
> so.  it would be best if you followed the official samba howto from:
> 
> http://samba.org/samba/docs/man/Samba-HOWTO-Collection/
> 
> this howto was very well written.  granted, there is lots of info there, 
> but it will tell you everything you need to get started.
> 
> also, man smb.conf will help you.
----
Reference to documentation is good.

I think he needs to 'join' the machine to the domain. Command line from
the machine that needs to join the domain...

net join -S NET_BIOS_OF_PDC -W DOMAIN_NAME -U Administrator

Craig



More information about the samba mailing list