can I use LDIFDE to clear a field?

  • Thread starter Thread starter Joe Murphy
  • Start date Start date
J

Joe Murphy

How would I clear the 'city' field using LDIFDE?

If I do a

changetype: modify
replace: l
l:

It errors out (apparently this is by design). What do I do if I want to make
that field blank using LDFIDE?

Thanks,
JM
 
If you read ftp://ftp.rfc-editor.org/in-notes/rfc2849.txt you can read the
following

5) When a zero-length attribute value is to be included directly
in an LDIF file, it MUST be represented as
AttributeDescription ":" FILL SEP. For example, "seeAlso:"
followed by a newline represents a zero-length "seeAlso"
attribute value. It is also permissible for the value
referred to by a URL to be of zero length.

so, try using FILL SEP to clear out an attribute. I belive, that this didn't
work on 2000, but I can be mistaken.

--

Regards

Matjaz Ladava, MCSA, MCSE, MCT, MVP
Microsoft MVP Windows Server - Active Directory
(e-mail address removed), (e-mail address removed)
 
Back
Top