Hoping *someone* can help me with my LDAP question

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default Hoping *someone* can help me with my LDAP question

    Well, I have posted this question practically everywhere yet I have no
    answers and even worse, I really don't know where to go next. If there
    is someone that could recommend a support path, I would *really*
    appreciate it as this is causing big problems for me. Here are the details:

    When I run an LDAP query, Coldfusion is asking for a bunch of additional
    Java objects. I would hope that someone can help me explain it to my
    LDAP admin that it's normal, or at least what they are.

    Here's the LDAP query I'm trying to perform:

    <cfldap action="query"
    name="qCheckUsername"
    server="#ldapserver#"
    port="389"
    attributes="uid"
    maxrows="100"
    start="cn=People,ou=school,dc=edu"
    scope="subtree"
    filter="(uid=#someuid#)"
    username="uid=#myuserid#,cn=people,ou=school,dc=ed u"
    password="#mypassword#">

    The problem that I'm having is instead of ColdFusion only asking for
    just the UID in the LDAP query, it is also asking for a bunch of other
    stuff. Take a look at what iPlanet shows in the logs:

    attrs="uid objectClass javaSerializedData javaClassName javaFactory
    javaCodebase javaReferenceAddress javaClassNames javaremotelocation"

    Any idea why ColdFusion (and/or the java subsystem) is asking for all of
    those extra attributes? Know what they are? I really only need the uid.
    My LDAP admin is extremely tight and does not want to give access to
    those objects because he doesn't know what they are so unfortunately I
    can't get any info at all!

    So, I just need to figure out what those extra attributes are so then
    maybe I can convince him to allow CF to see them. Any help would be
    very much appreciated!

    Thanks,
    Mike

    msoultan Guest

  2. Similar Questions and Discussions

    1. Net::LDAP compare question
      I am writing a perl script to query an ldap database and find users who do not belong to any mail distribution list. I can run the query just fine,...
    2. hoping some1-- email here
      First I'm not very good with Flash (besides the demo expired), and I made a animated gif (255 kb) that could and would be nicer and much smaller if...
    3. hoping some1 could take the time
      First I'm not very good with Flash (besides the demo expired), and I made a animated gif (255 kb) that could and would be nicer and much smaller if...
    4. Hoping for a simple solution...
      I have 4 background images with identical message floating in using flash on the index page. Looking for a simple no-brainer way to rotate the .swf...
    5. Hoping for Another Answer? XML Netscape?
      In testing Netscape and XML, I noticed that Netscape will not download to cache the Filemaker XML Data file or supporting XSL file that are normally...
  3. #2

    Default Re: Hoping *someone* can help me with my LDAP question

    what are you tryiing to do?
    just to authorized access to the site via ldap?

    jorgepino Guest

  4. #3

    Default Re: Hoping *someone* can help me with my LDAP question

    jorgepino wrote:
    > what are you tryiing to do?
    > just to authorized access to the site via ldap?
    >
    I'm trying to bind to our ldap server yet coldfusion is asking for too
    much information. I'm trying to figure out why it's asking for all
    those extra attributes, or figure out what they are, so I can explain to
    my admin that they are ok.
    Mike Soultanian Guest

  5. #4

    Default Re: Hoping *someone* can help me with my LDAP question


    I'm not an expert on LDAP, but I've queried it with CF on several
    occasions... One thing that caught my eye is what your value is for
    the Username. I've used the CFLDAP username/password parameters for
    authenticating in a Windows (AD) and Unix (Mail server) environment,
    but I've never seen actual LDAP parameters (example: cn,ou,dc) being
    used in the values for the username. Usually that's just a simple
    username or a "domain\username" combination.

    What platform are you querying LDAP on?



    On Thu, 23 Jun 2005 16:27:51 +0000 (UTC), "msoultan"
    <webforumsuser@macromedia.com> wrote:
    >Well, I have posted this question practically everywhere yet I have no
    > answers and even worse, I really don't know where to go next. If there
    > is someone that could recommend a support path, I would *really*
    > appreciate it as this is causing big problems for me. Here are the details:
    >
    > When I run an LDAP query, Coldfusion is asking for a bunch of additional
    > Java objects. I would hope that someone can help me explain it to my
    > LDAP admin that it's normal, or at least what they are.
    >
    > Here's the LDAP query I'm trying to perform:
    >
    > <cfldap action="query"
    > name="qCheckUsername"
    > server="#ldapserver#"
    > port="389"
    > attributes="uid"
    > maxrows="100"
    > start="cn=People,ou=school,dc=edu"
    > scope="subtree"
    > filter="(uid=#someuid#)"
    > username="uid=#myuserid#,cn=people,ou=school,dc=ed u"
    > password="#mypassword#">
    >
    > The problem that I'm having is instead of ColdFusion only asking for
    > just the UID in the LDAP query, it is also asking for a bunch of other
    > stuff. Take a look at what iPlanet shows in the logs:
    >
    > attrs="uid objectClass javaSerializedData javaClassName javaFactory
    > javaCodebase javaReferenceAddress javaClassNames javaremotelocation"
    >
    > Any idea why ColdFusion (and/or the java subsystem) is asking for all of
    > those extra attributes? Know what they are? I really only need the uid.
    > My LDAP admin is extremely tight and does not want to give access to
    > those objects because he doesn't know what they are so unfortunately I
    > can't get any info at all!
    >
    > So, I just need to figure out what those extra attributes are so then
    > maybe I can convince him to allow CF to see them. Any help would be
    > very much appreciated!
    >
    > Thanks,
    > Mike
    EZH Guest

  6. #5

    Default Re: Hoping *someone* can help me with my LDAP question

    i tried to keep it simple.
    I am using to Ldap just Authenticate

    <cftry>
    <cfldap action="QUERY"
    name="auth"
    attributes="name"
    start="#ServerDS#"
    server="#Serverdomain#"
    username="#trim(form.username)#"
    password="#trim(form.password)#">

    <cfset session.isAuthenticated="yes">
    <cfcatch type="ANY">
    <cfset session.isAuthenticated="no">
    </cfcatch>
    </cftry>

    jorgepino Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139