Issue with ActiveDS.dat file | MDaemon Technologies, Ltd.

Issue with ActiveDS.dat file


  • Hello.

    A customer is suffering an issue related to ActiveDS.dat.

    They syncronize their users from AD. Sometimes, they have to change something inside the file, as doesn't modify to which UUID belongs the account, and when done (They don't stop the file), ActiveDS.dat shows some strange characters in [CharacterConvert], ans there convert some caracters in email direction (and storage folder of the user)

    E to  aeuaeuae, O to aeuaeaeuaeuae. When there's an S, adds an %, and just happen in capital letters.

    I've recomended them to do the changes, with MDaemon service stopped, but if UUID were changed correctly, won't be necesary to do the changes manually.

    I've attached you a modified ActiveDS.dat, and a log of a day where the character substitution.

    Thank you.

     



  • What did they use to edit the file?

    The ActiveDS.dat file you provided is UTF8 encoded and has corrupted characters.

    The file should be ANSI encoded.  I do not know what changed the encoding, but it won't work correctly the way it is.  

    All of the settings in the [CharacterConvert] section have corrupted corrupted characters.   And the Mailbox key is commented out, which will cause issues.

    I'd reccomend using something like notepad++ to change the file encoding back to ANSI and then fix all the settings with corrupted characters.  

    This is what the [CharacterConvert] section should look like when viewing the file in a text editor.

    [CharacterConvert]
    ;
    ; Here you can setup character conversions for each of the MDaemon account
    ; fields specified in the [Templates] section.  This is especially important
    ; for the Mailbox field to make sure it doesn't end up with any 8-bit chars
    ; which are illegal in Internet email addresses.
    ;
    ; To setup a character conversion specify the MDaemon account field you want
    ; converted followed by a string of one or more character pairs.  The value 
    ; which ends up in that MDaemon account field will have all occurances of the
    ; first character in each pair converted to the second.
    ;
    ; Use the '-2chars' version to replace the first character with the following
    ; two characters if you wish.
    ;
    Mailbox=ÇCüuéeâaäaàaåaçcêeëeèeïiîiìiÄAÅAÉEôoöoòoûuùuÿyÖOÜUƒfáaíióoúuñnÑN
    Mailbox-2chars=ÖOEÜUEÄAEßSSüueäae
    Alias=ÇCüuéeâaäaàaåaçcêeëeèeïiîiìiÄAÅAÉEôoöoòoûuùuÿyÖOÜUƒfáaíióoúuñnÑN
    Alias-2chars=ÖOEÜUEÄAEßSSüueäae
    

    I just noticed that the content I posted before was not correct.  It may be best to just install MDaemon on a test machine and get the content of the file.


Please login to reply this topic!