RE: [SPAM] - LDAP Processor together with ADS - Bayesian Filter detected spam

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

RE: [SPAM] - LDAP Processor together with ADS - Bayesian Filter detected spam

Biju Narayanan
Hi Peter:

Check the attributes you are passing to the LDAP processor. See the
example below to retrieve CN of SAM Account name against MS Active
directory.

   <p:processor name="oxf:ldap"
xmlns:p="http://www.orbeon.com/oxf/pipeline">
          <p:input name="config" debug="LDAP:Config">
              <config>
                          <host>mydomain</host>
                          <port>389</port>
                          <bind-dn>CN=Full Name</bind-dn>
                          <password>1234</password>
                          <root-dn>OU=Users,dc=Domain
Name,dc=com</root-dn>
                          <attribute>cn</attribute>
                     <attribute>description</attribute>
                </config>

          </p:input>
          <p:input name="filter" debug="LDAP:Filter">
                            <filter>
                                (SAMAccountName=<xsl:value-of
select="raju"/>)                          
                            </filter>
                </p:input>
           <p:output name="data" debug="LDAP:Results"
id="ldap-results"/>
          </p:processor>


 

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]
Sent: Tuesday, August 16, 2005 1:20 PM
To: [hidden email]
Subject: [SPAM] - [ops-users] LDAP Processor together with ADS -
Bayesian Filter detected spam

Hello to all,
I am still evaluation OPS an have some problems regarding the LDAP
processor and the "Microsoft ADS" LDAP implementation. Up to now I seem
to get a connection to the ADS service but whatever filter I use I
always receive an empty result node.
Is there anybody having the processor running with ADS?




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

AW: [SPAM] - LDAP Processor together with ADS - Bayesian Filter detected spam

Peter.Heintz
Hello Biju,
Thank you for your information.
In my first tries I left the password empty. Now I have chosen my CN and my password. Now I get the following error.

2005-08-16 15:45:44,431 ERROR org.orbeon.oxf.pipeline.InitUtils null - Exception with no location data
javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error, data 525, v893

I am far away of being an LDAP expert. Do I may be have to ask my ADS admins for an admin password or an admin account?



Mit freundlichen Grüßen / Best regards,
Peter Heintz
--
Knorr-Bremse SfSGmbH
COC BC,R/BCE11
Moosacher Straße 80,D-80809 Munich
Phone +49 893547-1145
Fax +49 893547-2676
mailto:[hidden email]
http://www.knorr-bremse.com

-----Ursprüngliche Nachricht-----
Von: Biju Narayanan [mailto:[hidden email]]
Gesendet: Dienstag, 16. August 2005 10:24
An: [hidden email]
Betreff: RE: [SPAM] - [ops-users] LDAP Processor together with ADS - Bayesian Filter detected spam

Hi Peter:

Check the attributes you are passing to the LDAP processor. See the
example below to retrieve CN of SAM Account name against MS Active
directory.

   <p:processor name="oxf:ldap"
xmlns:p="http://www.orbeon.com/oxf/pipeline">
          <p:input name="config" debug="LDAP:Config">
              <config>
                          <host>mydomain</host>
                          <port>389</port>
                          <bind-dn>CN=Full Name</bind-dn>
                          <password>1234</password>
                          <root-dn>OU=Users,dc=Domain
Name,dc=com</root-dn>
                          <attribute>cn</attribute>
                     <attribute>description</attribute>
                </config>

          </p:input>
          <p:input name="filter" debug="LDAP:Filter">
                            <filter>
                                (SAMAccountName=<xsl:value-of
select="raju"/>)                          
                            </filter>
                </p:input>
           <p:output name="data" debug="LDAP:Results"
id="ldap-results"/>
          </p:processor>


 

-----Original Message-----
From: [hidden email]
[mailto:[hidden email]]
Sent: Tuesday, August 16, 2005 1:20 PM
To: [hidden email]
Subject: [SPAM] - [ops-users] LDAP Processor together with ADS -
Bayesian Filter detected spam

Hello to all,
I am still evaluation OPS an have some problems regarding the LDAP
processor and the "Microsoft ADS" LDAP implementation. Up to now I seem
to get a connection to the ADS service but whatever filter I use I
always receive an empty result node.
Is there anybody having the processor running with ADS?





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: AW: [SPAM] - LDAP Processor together with ADS - Bayesian Filter detected spam

Erik Bruchez
Administrator
[hidden email] wrote:
 > Hello Biju,
 > Thank you for your information.
 > in my first tries I left the password empty. Now I have chosen my CN
 > and my password. Now I get the following error.
 >
 > 2005-08-16 15:45:44,431 ERROR org.orbeon.oxf.pipeline.InitUtils null
- Exception with no location data
 > javax.naming.AuthenticationException: [LDAP: error code 49 -
80090308: LdapErr: DSID-0C09030B, comment: AcceptSecurityContext error,
data 525, v893
 >
 > I am far away of being an LDAP expert. Do I may be have to ask my
 > ADS admins for an admin password or an admin account?

Peter,

In the past we have used both scenarios: with or without password
(blank password). The exception above definitely means that there is a
problem with either the username or the password or both.

You can use an LDAP browser to check that you are correctly
authenticating to your LDAP server. I have used this one in the past:

   http://www-unix.mcs.anl.gov/~gawor/ldap/

It appears quite old now, but it may work just fine. I haven't found
whether there is a newer version or some better software out there.

-Erik



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws