Woops figured out why it was putting the scriptPath in the
description...I was using separator like a delimiter
Now I have separator="|" and delimiter=";"
It still doesn't like the empty fields though :-(

-----Original Message-----
From: Coleman, Brian
Sent: Monday, September 13, 2004 4:25 PM
To: CF-Talk
Subject: RE: cldap modifying


Thanks for the advice guys
This is really weird...I set it up like the example below, line for line
I'm changing both the scriptPath and description fields at once with
this form using the below cfldap query, with separator of $
Here's my attribute line

attributes="description=#form.description#$scriptPath=#form.scriptPath#"

Now, when I have description field blank, and lets say I have log.bat in
the scriptPath box...it will put "scriptPath=log.bat" into description!
When description has something in it, it gives the error code

An error has occured while trying to execute modify :[LDAP: error code
19 - 00002081: AtrErr: DSID-031D0809, #1: 0: 00002081: DSID-031D0809,
problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att d (description) ].

I also tried changing separator="$" to be delimiter="$" and when I do
this, it will edit the fields with their correct values as long as there
is something in each field, but if one field is left blank, it gives the
above error message.

-----Original Message-----
From: Dawson, Michael [mailto:[EMAIL PROTECTED]
Sent: Monday, September 13, 2004 12:05 PM
To: CF-Talk
Subject: RE: cldap modifying

Also, please note that Bob added the MODIFYTYPE attribute.  You probably
needed that as well.  You should be fine with the default separator as
long as you don't have any commas in your description.  I usually do put
an uncommon separator such as $ or | in my CFLDAP tags, just to be safe.

________________________________

From: Bob Flynn [mailto:[EMAIL PROTECTED]
Sent: Monday, September 13, 2004 11:16 AM
To: CF-Talk
Subject: Re: cldap modifying

Brian,

My CFLDAP wiz tells me that you need to identify your separator. I'm not
sure that is the problem, but give it a shot. See the example below:

<cfldap action=""
DN="#ListName#"
attributes="member=#memberID#"
separator="$"
modifytype="REPLACE"
server="your.server.nameOrIP"
port="389"
username="adminUser"
password="xxxxxx">

Bob
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to