How to rename am samba domain member server

Lothar Belle tqsystems at web.de
Mon Aug 4 08:04:50 GMT 2008


Thank you very much.

the removal with net ads leave ...  worked properly

the rejoin didn`t work (Authentication Error)
but curiously the rejoin using yast, and the same user  works properly.


One thing:
I have a share:

[COMPASS]
        comment = /shares/COMPASS
        inherit acls = Yes
        path = /shares/COMPASS
        read only = No
        create mask = 0666
        directory mask = 0777
        guest ok = yes
        guest account = Nobody
#       valid users = @"everyone",@"jeder"
        store dos attributes = yes

It isn`t possible to connect to the share with an local account from an other Memberserver

A Share on a Windowsserver with Grants to everyone worked.







> -----Ursprüngliche Nachricht-----
> Von: "Conrad Lawes" <pxeboot at gmail.com>
> Gesendet: 02.08.08 04:15:56
> An: "Lothar Belle" <tqsystems at web.de>
> CC: smb-clients at lists.samba.org
> Betreff: Re: How to rename am samba domain member server


> 
> 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
> 
> 
> 


_______________________________________________________________________
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid@mf2



More information about the smb-clients mailing list