You may just need to start the CF Service as a user
with access to the ldap server



--- Matt Woodward <[EMAIL PROTECTED]> wrote:

> Interesting--didn't know that about Exchange.  Have
> you talked to your
> server admin to see if there is something up with
> the login
> information you're using?  I guess since that's
> mentioned as a
> possibility in the error message you're getting from
> CF that would be
> the first thing I'd check.
> 
> On 4/19/05, John Ivanoff <[EMAIL PROTECTED]>
> wrote:
> > it's an exchange server
> >  in asp the server is 
> >  
> >  server = "ldap://servername";
> >  and I query cn
> >  
> >  and I run queties againts it using asp to verify
> email address before
> > entering into the intranet employee list. 
> >  
> >  side note. the ldap/exchange server does not
> allow anonymus connections.
> >  I tried putting my user name and password into
> the cfldap tag and i don't
> > remember the error I got off the top of my head.
> >  
> >  the asp ldap search works on my server which does
> not allow annonymus
> > connections so if I view my server in firefox I
> have to type my user id and
> > password. IE know who I am so it isn't required.
> >  
> >  the intranet allows annonumos connection so the
> ldap search won't work on
> > it. 
> >  
> >  (yes I would love to pull that info from the
> ldap/exchange. less typing and
> > if emails are changed the intranet is 'updated')
> > 
> > 
> > On 4/19/05, Matt Woodward <[EMAIL PROTECTED]>
> wrote:
> > > 
> > > OK, I read this really quickly earlier.  You're
> running cfldap against 
> > > a mail server?  What type of mail server? 
> Typically cfldap would be
> > > used against an LDAP server or Active Directory.
>  Does your mail
> > > server have the ability to respond to LDAP
> queries?  The error says
> > > perhaps you don't have permissions--when you say
> you can do the search 
> > > using ASP, are you also doing an LDAP query in
> that case?
> > > 
> > > Sorry for all the questions--just trying to
> figure out exactly what
> > > you're doing.  And forgive my ignorance about
> running LDAP against a
> > > mail server if that's possible, I've just never
> done that so it 
> > > sounded a bit odd to me.  I've just always run
> cfldap against our
> > > enterprise directory.
> > > 
> > > Matt
> > > 
> > > On 4/19/05, John Ivanoff
> <[EMAIL PROTECTED]> wrote:
> > > > code (strait from cwack7 page 1081) ok I
> change john doe and the server
> > name
> > > >
> > > >  <cfset name = "john ivanoff" >
> > > >  <cfldap server="mailserver"
> > > >  action="query" 
> > > >  name="results"
> > > >  start="cn=#name#"
> > > >  filter="(cn=#name#)"
> > > >  attributes="cn,o,mail,p"
> > > >  scope="subtree"
> > > >  sort="cn ASC"> 
> > > >  <cftable query="results" border="yes"
> htmltable="yes">
> > > >  <cfcol header="name" text="#cn#">
> > > >  <cfcol header="email" text="#mail#"> 
> > > >  </cftable>
> > > >
> > > >  error:
> > > >   An error has occured while trying to execute
> sort :[LDAP: error code
> > 12 -
> > > > Unavailable Critical Extension].
> > > >  One or more of the required attributes may be
> missing/incorrect or you
> > do 
> > > > not have permissions to execute this operation
> on the server
> > > >
> > > >  I can do a search on the server using ASP and
> it has to know how I am
> > using
> > > > ie and Request.ServerVariables("AUTH_USER") 
> > > >
> > > >
> > > > On 4/19/05, Matt Woodward
> <[EMAIL PROTECTED]> wrote:
> > > > > If the server name resolves correctly and
> quickly there's no real
> > > > > reason to use the IP address.  Sometimes in
> shared hosting situations 
> > > > > when the database is on the same internal
> network but on a different
> > > > > server I'll use an internal IP so the
> traffic doesn't go through DNS
> > > > > resolution and the public internet just to
> hit a box that's physically
> > > > > right next to the web server, but for stuff
> like LDAP I'd say in
> > > > > general it's better to use the server name
> just in case for some
> > > > > reason the IP changes.
> > > > >
> > > > > That's my random thought on the issue
> anyway. ;-) 
> > > > >
> > > > > Matt
> > > > >
> > > > > On 4/19/05, John Ivanoff
> <[EMAIL PROTECTED]> wrote:
> > > > > > newbie at this.
> > > > > > if the ldap server is on the local network
> do you just put the
> > server 
> > > > > > name in there or is ip better?
> > > > > >
> > > > > > <cfldap server="mailserver"
> > > > > >
> > > > > > I've used cfNTAuthenticate and it is
> succesfull. (I figure I need to
> > > > > > be auth to look at my mail box)
> > > > > >
> > > > > > (I'm looking to have a mail box "pod" on a
> home page)
> > > > > >
> > > >
> >
>
----------------------------------------------------------
> 
> > > > > > To post, send email to [email protected]
> > > > > > To unsubscribe:
> > > > > >   
> > http://www.dfwcfug.org/form_MemberUnsubscribe.cfm 
> > > > > > To subscribe:
> > > > > >    
> > http://www.dfwcfug.org/form_MemberRegistration.cfm
> > > > > >
> > > > > >
> > > > > 
> > > > > --
> > > > > Matt Woodward
> > > > > [EMAIL PROTECTED]
> > > > > http://www.mattwoodward.com
> > > > >
> > > >
> >
>
----------------------------------------------------------
> 
> > > >
> > > > > To post, send email to [email protected]
> > > > > To unsubscribe:
> > > > >   
> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm 
> > > > > To subscribe:
> > > > >    
> > http://www.dfwcfug.org/form_MemberRegistration.cfm
> > > > >
> > > > >
> > > >
> > > 
> > > --
> > > Matt Woodward 
> > > [EMAIL PROTECTED]
> > > http://www.mattwoodward.com
> > >
> >
>
----------------------------------------------------------
> > > To post, send email to [email protected]
> > > To unsubscribe:
> > >   
> http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> > > To subscribe:
> > >   
> http://www.dfwcfug.org/form_MemberRegistration.cfm
> > > 
> > > 
> > 
> >  
> 
> 
> -- 
> Matt Woodward
> [EMAIL PROTECTED]
> http://www.mattwoodward.com
>
----------------------------------------------------------
> To post, send email to [email protected]
> To unsubscribe:
>    http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
> To subscribe:
>   
> http://www.dfwcfug.org/form_MemberRegistration.cfm
> 
> 
> 


Anthony C. Frey
214-529-1507
[EMAIL PROTECTED]
 
 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
----------------------------------------------------------
To post, send email to [email protected]
To unsubscribe: 
   http://www.dfwcfug.org/form_MemberUnsubscribe.cfm
To subscribe: 
   http://www.dfwcfug.org/form_MemberRegistration.cfm


Reply via email to