Your ldap filter doesnt look correct.
M@
On 8/14/06, Alex Alborzfard <[EMAIL PROTECTED]> wrote:
According to product documentation, I have to configure embedded ldap
authentication. Apparently this printer has an Embedded Web Server
(EWS).
However, when I follow the documentation, using ldp tool, it fails when
trying to query ldap. The message I get is this:
***Searching...
ldap_search_s(ld, "DC=pharmanet,DC=com", 2,
"(&(objectclass=person)displayname=phelps,k*))", NULL, 0, &msg)
Error: Search: Filter Error. <87>
Server error:
Error<94>: ldap_parse_result failed: No result present in message
Getting 0 entries:
I connect to ldp as member of Domain Admins and Schema Admins, with the
same result.
Any ideas?
Alex
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Tomasz Onyszko
Sent: Wednesday, August 09, 2006 3:05 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] LDAP Logon Name
Alex Alborzfard wrote:
> We have a HP printer/scanner that we want to setup for emailing
scanned
> documents.
>
> Management wants to ensure only domain users with email addresses can
do
> this.
>
> There is an option for setting up LDAP gateway, where you can set user
> name & password up.
>
> It's asking for LDAP logonname. I have tried my user name and account
> anme, but it didn't work.
>
> I looked it up in ADSIedit, but I couldn't find it.
I think that simplest way would be to refer to product documentation but
I would try to use DN, or CN (in CN=... format) of this user.
--
Tomasz Onyszko
http://www.w2k.pl/blog/ - (PL)
http://blogs.dirteam.com/blogs/tomek/ - (EN)
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx
List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.activedir.org/ml/threads.aspx