How to rename am samba domain member server

Conrad Lawes pxeboot at gmail.com
Sat Aug 2 02:15:46 GMT 2008


You can rename a  Linux domain member as follows:

First, remove it from the domain

#net ads leave -U administrator at MYDOMAIN.COM

Next,  change the netbios name value  in the /etc/samba/smb.conf file, e.g.

netbios name = <NEW NAME>

Restart the samba and winbind daemons

# /etc/init.d/smb restart && /etc/init.d/winbind restart

Finally,  you rejoin it   to the domain

#net ads join -U administrator at MYDOMAIN.COM

Make sure everything OK.

#net ads testjoin
#getent passwd
#getent group

Check  winbind

# wbinfo -t
# wbinfo  -u



On Thu, Jul 31, 2008 at 3:40 AM, Lothar Belle <tqsystems at web.de> wrote:

> we have got a samba server (3.0.28) (SLES10 SP1 64bit)
> It is a member in a windows 2000 Domain
> ( joined with "net join")
>
> Now i have to rename the Server.
>
> Windows XP have a command to do this:
> ---
> netdom renamecomputer meincomputer /newname:deincomputer _
>     /userD:meinedomäne\administrator /passwordd:*  _
>    /usero:administrator /passwordo:* /reboot:60
> ---
> Is there any prefered way to do this with samba?
> How can i find any documentation about this matter?
>
> Lothar
>
>
>
>
>
>
> ____________________________________________________________
> Großes Kino für zu Hause - Kostenlos für alle WEB.DE Nutzer!
> Jetzt kostenlos anmelden unter http://www.blockbuster.web.de
>
>


-- 
Regards,
Conrad Lawes
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the smb-clients mailing list