In Jackrabbit, We had an option of "splitdn" in order to maintain AD structure while registering AD users but now in Oak(1.2.x) we didn’t find anything similar to configure.
Assuming “User DN paths”(user.makeDnPath) as similar configuration in Oak, it didn’t work as expected.
Below are the differences for the paths synced in case of CRX and Oak :-
After the sync happens, users created are under the path is as follows :
For Jackrabbit(using splitdn option),
For Oak 1.2.x (Using 'User DN paths' option )
Path= /home/users/CN=Mosca\, Patrick/OU=TSD/OU=MIS/OU=CITYOFCHICAGO/DC=cityofchicago/DC=local/HxOYFwEec_hmNHfoW68d
It seems like the algorithm with Oak is different than the previous version, Hence the difference in path structure.