Are there any samples to add, change and remove a field on a LOGONID by issuing an ldapmodify command with an LDIF?
Generally, there are two patterns of how the field on LOGONID is specified
Please see the following examples: Assume that we use an ldapmodify command like this:
ldapmodify -D acf2lid=admuser,host=xxxx,o=yyy,c=zz -w admpswd -x -h hostname -f sample.ldif -v
(where sample.ldif is the name of the file which contains the LDIF statements below)
Sample LDIFs for a field with value
dn: acf2lid=TSTUSER,acf2admingrp=lids,host=xxxx,o=yyy,c=zz changetype:modify Phone:0123456789The equivalent command under CA ACF2 is:
CHA TSTUSER PHONE(0123456789)
dn: acf2lid=TSTUSER,acf2admingrp=lids,host=xxxx,o=yyy,c=zz changetype:modify delete:PhoneThe equivalent command under CA ACF2 is :
CHA TSTUSER PHONE()
Sample LDIFs for a field with no value
dn: acf2lid=TSTUSER,acf2admingrp=lids,host=xxxx,o=yyy,c=zz changetype:modify TraceAllEvents:YThe equivalent command under CA ACF2 is:
CHA TSTUSER TRACE
dn: acf2lid=TSTUSER,acf2admingrp=lids,host=xxxx,o=yyy,c=zz changetype:modify TraceAllEvents:NThe equivalent command under CA ACF2 is:
CHA TSTUSER NOTRACE