cannot rename windows xp machine in samba4

Vladimir Obukhov stncldbsh at gmail.com
Tue May 1 21:43:39 MDT 2012


> So now in Computer properties in XP, what's the name ?
>
> I have the feeling that XP is sending a create when it should in fact
> send a rename, to help us it would be great to:
>
> * leave XP from the domain
> * join the domain
> * stop the vm
> * start a tcpdump capture (check
> https://wiki.samba.org/index.php/Capture_Packets) on the ubuntu box
> * export the keytab of the domain (attention with this we have access to
> ALL the password so do it on a test domain with password that you
> _never_ use in production), check
> https://wiki.samba.org/index.php/Keytab_Extraction for the method to
> export the keytab
> * start the vm
> * log in with the admin, if possible note the packet number after the
> user has logged in
> * rename the workstation
>
> Send us the capture it might be helpful.
>

in computer properties the name was still ws1

I followed your instructions:
* left XP from domain
* changed winxp computer name to ws3 and sid with newsid utility (I had to
do it because I got the error saying smth like "cannot correlate user
names", sorry for my bad translation from russian)
* joined winxp to domain under name WS3
* powered off the vm
* started packet capture with "tcpdump -i eth1 -p -s 0 -w samba4.dump.txt
port 445 or port 139"
* exported keytab with "samba-tool domain exportkeytab ./samba4.keytab"
* powered on winxp
* logged in as admin and tried to rename WS3 to WS4, twice, both times a
got an error but they seem to be a bit different, first time it said smth
like the file exists already, the second time something like username is
not found.

I wasn't able to note the packet number after I've logged on, packets are
in raw. I zipped samba4 dump and keytab files and attached it.
Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: samba4.zip
Type: application/zip
Size: 36915 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120502/5f69d8e9/attachment.zip>


More information about the samba-technical mailing list