[PATCH] New LDAP comparing tool
Zahari Zahariev
zahari.zahariev at postpath.com
Fri Dec 11 07:50:08 MST 2009
Hello Samba4,
I have been working the last couple of weeks on comparing objects and attributes between different Active Directories within the same naming context. There are certain amount of given object DNs that are being ignored for a couple of reasons one of them still missing some place holders. After syncing both DN lists that we read for each naming context in each AD (Samba4) domain then we start to compare them object for object and attribute for attribute.
What results we can expect?
1. We get to know which objects are present in the first DC but not in the second and vice versa.
2. We would know for two objects that are present in both DCs if there are attribute(s) that are found only in the first DC but not in the second (different number of attributes) and vice versa.
3. We have a final Summary that says all of the above things regarding attributes.
Indeed the tool takes a mouthful of options: host, user, password for both DCs and the naming context as an argument. Note that the 'user' option may take all of the known authentication methods: NETBIOS\User, User at REALM, DN(User).
This tool will be upgraded so it will implement as many place holders as possible.
Please look at it & test for yourself and give me any sort of feedback.
Cheers!
--
Zahari Zahariev,
Software Engineer Cisco Systems,
PPD & Installer team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-New-comparing-tool-for-LDAP-servers.patch
Type: text/x-patch
Size: 22129 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20091211/14360be5/attachment.bin>
More information about the samba-technical
mailing list