[Samba] Rename computer, but still shows up as old name
Scott Goodwin
scott at mimicsimulation.com
Thu Feb 6 12:19:21 MST 2014
Hmm, well, if I remember correctly, at my last job, where we used MS AD
(Win Server 2003), we could rename the computer objects from the AD window.
Now, however, I don't have a MS AD domain that I can test this on.
I'll try to dig up confirmation of this, and post if I find anything.
*Scott Goodwin*
IT Lead
Mimic Technologies, Inc
811 First Avenue, Suite 408 | Seattle, WA 98104
phone: 1.800.918.1670 | direct: 206.456.9180
fax: 206.623.3491 | cell: 206.355.7767
On Wed, Feb 5, 2014 at 10:51 AM, Andrew Bartlett <abartlet at samba.org> wrote:
> On Wed, 2014-01-29 at 13:33 -0800, Scott Goodwin wrote:
> > Samba Version 4.1.4-SerNet-RedHat-7.el6
> > Using RSAT via Windows 8.1
> > --
> > For a computer that is on the domain, I rename it from the client, then
> > reboot. This renames the computer as expected. The common name in AD,
> > however, is not affected. Is there a way to do this? Am I missing a
> step?
> > Details: Using RSAT, I see the old computer name, not the new computer
> > name. If I double click on the entity, I see on the General tab that the
> > Computer name and and DNS name ARE changed. It's just the common name
> that
> > isn't updated. On command line:
> > samba-tool spn list dompc-newname$
> >
> > This gives me:
> > dompc-newname$
> > User CN=DOMPC-OLDNAME,OU=Desktops,OU=Domain Computers,DC=example,DC=com
> has
> > the following servicePrincipalName:
> > HOST/DOMPC-NEWNAME
> > ...etc...
> >
> > As you can see, it sees the new name everywhere except in the CN.
> >
> > So, is this expected behavior? I'm not seeing an obvious way to rename CN
> > to new name, either via RSAT or via samba-tool. The workaround is, of
> > course, to unjoin from domain, then rejoin, but I'd rather not have to do
> > that if I don't have to.
> >
> > Thanks, and let me know if you need more deets.
>
> It would really be up to the client tool that is renaming the account to
> change the DN. Samba doesn't really know this operation as anything
> special.
>
> Naturally, if you find Windows does differently, please help us figure
> out how and why.
>
> Thanks,
>
> Andrew Bartlett
>
> --
> Andrew Bartlett http://samba.org/~abartlet/
> Authentication Developer, Samba Team http://samba.org
> Samba Developer, Catalyst IT
> http://catalyst.net.nz/services/samba
>
>
>
More information about the samba
mailing list