Environment
ICE Command Line Utility
Situation
Resolution
ICE -S LDAP -s <LDAP server> -p <LDAP port> -d <bind dn> -w <password> -C SUB -F <LDAP search filter> -a <comma separated list of attributes to include> -D DELIM -f <export file> -F <data order>
And here is an example to do the query on the local server, logging in as admin.novell with password novell
In this example mapping.txt is:
cn,telephonenumber,title
ice -S LDAP -s x.x.x.x -p 389 -d cn=admin,o=novell -w novell -c SUB -F cn=* -a cn,telephonenumber,title -D DELIM -f c:\export.txt -F mapping.txt
And the export.txt result is:
Tommy,10 204030, Support Engineer
Here is an example of running the same command on a Linux eDirectory server:
/opt/novell/eDirectory/bin/ice -S LDAP -s x.x.x.x -p 389 -d cn=admin,o=novell -w novell -c SUB -D DELIM -f export.txt -F mapping.txt