Thanks Paul

M@

On 8/17/06, Paul Williams <[EMAIL PROTECTED]> wrote:

You need to escape the comma, as a comma is a delimiter and in the case of
displayName it shouldn't be a delimiter:

(&(objectCategory=person)(objectClass=user)(displayName=phelps\,
k*))


I've not read the whole thread, so can't discuss whether or not this is the
best way to do what you want.  I will say I feel for you re. the HP
documentation.  I had some fun getting the AD iLO integration stuff to work
because the guide wasn't very helpful at explaining what format and syntax
things wanted.  I found the help on the administration pages better, and
simply tried a number of things that I thought should work.


--Paul

----- Original Message -----
From: Alex Alborzfard
To: ActiveDir@mail.activedir.org
Sent: Monday, August 14, 2006 8:22 PM
Subject: RE: [ActiveDir] LDAP Logon Name



Good catch, but the corrected query still didn't work! L




Alex
________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Andrew Cace
Sent: Monday, August 14, 2006 2:50 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] LDAP Logon Name



In the error below, the LDAP filter is
"(&(objectclass=person)displayname=phelps,k*))".  You
missed the opening parenthesis before displayname.



-Andrew


________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Alex Alborzfard
Sent: Monday, August 14, 2006 1:24 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] LDAP Logon Name



That was exactly the same as HP documentation. I'll try your filter and will
post the result.



Thanks




Alex
________________________________


From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Matheesha Weerasinghe
Sent: Monday, August 14, 2006 1:43 PM
To: ActiveDir@mail.activedir.org
Subject: Re: [ActiveDir] LDAP Logon Name




I assume you need a filter such as
"(&(objectcategory=person)(objectclass=user)(displayname=phelps,k*))"





I optimised the user object search and put a opening bracket when specifying
the displayname.





M@




On 8/14/06, Matheesha Weerasinghe <[EMAIL PROTECTED]> wrote:


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





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

Reply via email to