Re: LDAP Coding??

2003-03-27 Thread Volker Lendecke
On Thu, Mar 27, 2003 at 12:44:55PM +0100, Volker Lendecke wrote:
> Why does my LDAP server deny the following request?

Ok, this seems to be something specific to OpenLDAP 2.0. With 2.1.16
just compiled this works as expected. Could this be called a bug?

Volker


pgp0.pgp
Description: PGP signature


Re: LDAP Coding??

2003-03-27 Thread Volker Lendecke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

> profilePath:: IA==
> [EMAIL PROTECTED]:~/ldif$ ldapmodify -x -D cn=admin,dc=samba,dc=org -w secret -f 
> test.ldif
> modifying entry "uid=vl,dc=kampf,dc=de"
> ldap_modify: Invalid syntax

Ooops. I had wanted to edit this completely...

Volker
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Key-ID D32186CF, Fingerprint available: phone +49 551 370

iD8DBQE+guRpOmSXH9Mhhs8RAlbtAKCA8Rz+z9YFj14NPp/PqSAnx8G7qgCdG+wr
P+o2yPwPhTq5MM2eqtNjGlA=
=EGpG
-END PGP SIGNATURE-


LDAP Coding??

2003-03-27 Thread Volker Lendecke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi (lukeh?)!

Why does my LDAP server deny the following request?

ldapmodify sends this IA== (base64 for blank) as '04 01 20' according
to ethereal.

If I have a non-base64 value, say 'xxx', in 'profilePath' this works
perfecly fine.

This is a standard debian woody, so I have slapd 2.0.23.

I'm still seeing this as my error, or could this also be an OpenLDAP
bug?

Thanks!

Volker

[EMAIL PROTECTED]:~/ldif$ ldapsearch -x uid=vl profilePath
version: 2

#
# filter: uid=vl
# requesting: profilePath 
#

# vl, samba, org
dn: uid=vl,dc=samba,dc=org
profilePath:: IA==

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
[EMAIL PROTECTED]:~/ldif$ cat test.ldif
dn: uid=vl,dc=samba,dc=org
changetype: modify
delete: profilePath
profilePath:: IA==
[EMAIL PROTECTED]:~/ldif$ ldapmodify -x -D cn=admin,dc=samba,dc=org -w secret -f 
test.ldif
modifying entry "uid=vl,dc=kampf,dc=de"
ldap_modify: Invalid syntax
additional info: modify: delete values failed

ldif_record() = 21
[EMAIL PROTECTED]:~/ldif$

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Key-ID D32186CF, Fingerprint available: phone +49 551 370

iD8DBQE+guPQOmSXH9Mhhs8RAj0eAJoDQkBwFmwJdJkqfDSTOF5Pr10rIgCeM2zI
LLqc4ungKdauZaSCqD+4LTw=
=yC2n
-END PGP SIGNATURE-