ssh root@ldap
ldapvi -D "cn=Accounts,dc=skynet,dc=ie" -w`cat /etc/ldap.secret` -h ldaps://

#make changes easily with the vi editor
#To escape vi, Press "Esc", then type :wq

When quiting the above, the following appears:

add: 0, rename: 0, modify: 1, delete: 0
Action? [yYqQvVebB*rsf+?] y

Hitting "y" will do fine for the above to save the ldapvi modifications. More info on ldapvi can be gotten from: [WWW]

Simple as that :)

last edited 2008-09-28 16:39:42 by 87-198-21-185