ahall@madasafish.com
2006-Jan-28 19:42 UTC
[Samba] samba3 to samba3 domain membership failing
Hi, I'm attempting to make a Samba 3.0.10 fileserver become a domain member of a Samba 3.0.7 server which is running as a PDC. I'm using the instructions gained from here... http://samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2538809 ...but when running the command... net rpc join -S PDCNAME -UAdministrator%password I get the error... Create of workstation account failed Unable to join domain PDCNAME. (of course PDCNAME has been substituted with the NetBIOS name of the Samba PDC) Can anyone help me troubleshoot this? I would attempt to create the machine account on the PDC manually, but the Samba 3.0.10 server is a fileserver which doesn't actually have a NetBIOS name. Thanks very much, Andrew Hall. ---- - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up to 8Mb Broadband now from just £11.99 a month
ahall@madasafish.com wrote:> Hi, > > I'm attempting to make a Samba 3.0.10 fileserver become a domain member of a > Samba 3.0.7 server which is running as a PDC. > > I'm using the instructions gained from here... > > http://samba.org/samba/docs/man/Samba-HOWTO-Collection/domain-member.html#id2538809 > > ...but when running the command... > > net rpc join -S PDCNAME -UAdministrator%password > > I get the error... > > Create of workstation account failed > Unable to join domain PDCNAME. > > (of course PDCNAME has been substituted with the NetBIOS name of the Samba PDC) > > Can anyone help me troubleshoot this? I would attempt to create the machine > account on the PDC manually, but the Samba 3.0.10 server is a fileserver which > doesn't actually have a NetBIOS name. > > Thanks very much, Andrew Hall.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.
ahall@madasafish.com
2006-Jan-29 12:26 UTC
[Samba] samba3 to samba3 domain membership failing
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 ? Thanks very much. ---- - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up to 8Mb Broadband now from just £11.99 a month
ahall@madasafish.com
2006-Jan-29 20:59 UTC
[Samba] samba3 to samba3 domain membership failing
Thanks for the help chaps. For some reason my brain can't read documentation on a screen very well, so I've (probably stupidly) spent hard-earned cash on the treeware version of the official HOWTO. I shall endevour to read it. Adding the domain member workstation account manually and then re-running the net rpc join command worked, so I now have a domain member Samba fileserver. The hassle of getting there makes the end result strangely satisfying. Thanks again. I'll be keeping an eye on the mailing list in the hope of helping others who may be new to all this too. ---- - Message sent via Madasafish Webmail - http://www.madasafish.com/ Up to 8Mb Broadband now from just £11.99 a month