I have a SOAP driver that isn't setting the association value correctly when the user has a DirXMLAssociations attribute that is missing the value like this: "cn=soapdriver,cn=driverset1,o=system#4#". If I delete the DirXMLAssociations attribute manually the driver associates correctly.
The users got into this state by doing a migration on them when they didn't have the account entitlement. The migrate event was vetoed but they kept the migration state association without a value. I'd like to be able to handle this fix in the driver and will clean up the users as well.
Here is the trace where I have tried a few things to fix it: https://pastebin.com/nWadHp16
What can I do to make sure the association value is set right?