🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #52

strange problem

#52
From: Spider
Date: Mon, 28 May 2001 13:18
21 lines
1572 bytes
Hi,
I want to modify an entry attribute for a name in a OiD ldap context with
modifyAttributes() method.
Now, if the method invocation is like

    myContext.modifyAttributes("cn=foo, ou=Cybercom", ...);

the entry value changes, but when the parameter changes like this

    myContext.modifyAttributes("cn=foo/foo2, ou=Cybercom", ...);

I receive an error:

    javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such
Object]; remaining name 'cn=foo/foo2, ou=Cybercom'

Naturally foo and foo/foo2 are present at the same level and with identical
properties;
more, the "/" character is not a special one!

Thanks in advance.
Technical Details
Message-ID: <ZesQ6.21122$WT5.806462@news.infostrada.it>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news.infostrada.it!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103627,5554925afac72034,start
X-Google-Attributes: gid103627,public
X-Google-ArrivalTime: 2001-05-28 06:17:53 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!news.infostrada.it!not-for-mail
From: "Spider" <a@p.com>
Newsgroups: fj.net.ldap
Subject: strange problem
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <ZesQ6.21122$WT5.806462@news.infostrada.it>
Date: Mon, 28 May 2001 13:18:49 GMT
NNTP-Posting-Host: 151.4.92.2
X-Complaints-To: abuse@iunet.it
X-Trace: news.infostrada.it 991055929 151.4.92.2 (Mon, 28 May 2001 15:18:49 MET DST)
NNTP-Posting-Date: Mon, 28 May 2001 15:18:49 MET DST
Organization: [Infostrada]