The Samba-Bugzilla – Bug 2182
Net rpc vampire does'nt keep sambaMangedDial in sync
Last modified: 2005-08-24 10:24:46 UTC
I use net rpc vampire to migrate a NT domain to a Samba domain (with LDAP
The user TSE data stored in the SAM are not migrated. There is no
sambaMangedDial attribute in user entries after the net rpc vampire.
This was fixed in subversion some days ago (See
for the patch).
Could you give that a try and reopen the bug if you find any problems with it?
Thanks for your report.
It doesn't work
Normaly, in LDAP the attribute is stored in base64 format. With the new net rpc
vampire, it's stored in raw format.
You just have to convert the value into base64 format.
Created attachment 861 [details]
base64-encode munged dial
I've updated an updated version of the patch. Please give us feedback again.
Thanks for testing.
It's now ok for the base64 format. But there is a problem : the attribute is
With your code I have (with a lot of special car) :
And it must be (with a lot of special car) :
00 CtxNWLogonServer00CtxWFHomeDir00"CtxWFHomeDirDrive00 CtxWFProfilePath
With the first patch, it's not in base64 but there is the whole string in the
With the second patch, it's in base64 but the attribute is truncated.
The problem comes with the base64 conversion.
mung.length = 2*delta->uni_parameters.uni_str_len;
mung.length = delta->uni_parameters.uni_str_len;
delta->uni_parameters.buffer is uint16 and you cast it into uint8
(I'm not sure it's the real reason, but it works now :)
Fixed in Subversion (this time hopefully correct :).
Please reopen if you see any further problems.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.