How to make mass changes to DS.
For any ldap server, you can use ldap ldif files to make the change, making the
ldif files might take as long as doing it by hand depending on the number of
attributes you want to change.
If you are using edir , you have other choices like JRB Utilities
(http://www.jrbsoftware.com/) or N4 tools (http://webnet.stone-ware.com/DL/n4util.zip)
Example 1:
Change the swaretemplate to /components/displayComponents.jsp so that all users have a dashboard.
setname.exe /0 .UserA.students.company /a="swarewebtemplate" "/components/displayComponents.jsp"
Example 2:
Goes through 3 contexts and sets swareInheritLevels swareAssignedTheme on each OU.
:AA
set context=AA
set return=CHAN
goto setit
:CHAN
set context=CHAN
set return=UADV
goto setit
:UADV
set context=UADV
set return=end
goto setit
:setit
echo Setting rights for %context%
setname /0 .%context%.company /a="swareInheritLevels" /o=organizational_unit /x "2"
setname /0 .%context%.company /a="swareAssignedTheme" /o=organizational_unit /x ".FrameTop Theme.RelayServer1.portal.company"
goto %return%
:end
Example 3:
Using N4 utilities
n4attr .swemp.users.stoneware swareInheritLevels o 1
will set swareInheritLevels to 1 for the container .swemp which is in .users.stoneware
o = overwrite since it is a single valued attribute.
It has a /T option which will show you what it will do, without actually doing it.