[cisco-voip] AD plugin issue

Kevin Thorngren kevint at cisco.com
Tue May 17 15:55:23 EDT 2005


Hi Phil,

It looks like the LDAP query is receiving a referral to cvtc.local on  
port 389.  This server seems to be refusing the connection:

Caused by: javax.naming.CommunicationException: cvtc.local:389 [Root  
exception is java.net.ConnectException: Connection refused: connect]
 at com.sun.jndi.ldap.LdapReferralContext.<init>(Unknown Source)
 
You can collect a packet capture to get more detail of what is  
happening.  The referral seems to be pointing to a server that does not  
have TCP port 389 open.  One option is to point the CCM to a GC using  
port 3268.  The GC owns all objects and won't return referrals.  Or you  
will need to find out why the referred server is not responding  
correctly.

HTH,
Kevin

On May 17, 2005, at 3:36 PM, Walenta, Phil wrote:

> Has anyone had a problem with their AD plugin that looks like this?   
> The user is there, I just don't know why it can't be accessed.
>  
> 9: May 16 13:22:15.250 CDT %UserPreference-6-UNK:*********************
> DIRUSER CONNECTED TO   
> ldap://s-ecb-ns1.cvtc.local:389**************************
> 50: May 16 13:22:15.250 CDT %UserPreference-6-UNK:The Paged Control is  
> available & will be used
> 51: May 16 13:22:15.250 CDT %UserPreference-6-UNK:Search Attribute  
> getting used is sAMAccountName
> 52: May 16 13:22:15.250 CDT %UserPreference-6-UNK:Exit DirUser<1>
> 53: May 16 13:22:15.360 CDT %UserPreference-6-UNK:Enter getDNForUserId  
> <1>
> 54: May 16 13:22:15.360 CDT %UserPreference-6-UNK:Enter getDNForUserId  
> <2>
> 55: May 16 13:22:15.360 CDT %UserPreference-6-UNK:userDN (relative)  
> CN=CCM SysUser,OU=Cisco,dc=cvtc,dc=local
> 56: May 16 13:22:16.547 CDT %UserPreference-6-UNK:Error getDNForUserId  
> <2>
> 57: May 16 13:22:16.547 CDT  
> %UserPreference-3-UNK:javax.naming.PartialResultException [Root  
> exception is javax.naming.CommunicationException: cvtc.local:389 [Root  
> exception is java.net.ConnectException: Connection refused: connect]]
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source)
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(Unknown  
> Source)
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source)
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(Unknown  
> Source)
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreImpl(Unknown Source)
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMore(Unknown Source)
>  at DirUser.DirUser.getDNForUserId(DirUser.java:12899)
>  at DirUser.DirUser.getDNForUserId(DirUser.java:12946)
>  at DirUser.DirUser.getUserHandleFromUserId(DirUser.java:12703)
>  at com.cisco.ma.dirdata.GetBlobRequest.run(GetBlobRequest.java:33)
>  at  
> com.cisco.ma.dirdata.Thread_pool$Pooled_thread.run(Thread_pool.java: 
> 108)
> Caused by: javax.naming.CommunicationException: cvtc.local:389 [Root  
> exception is java.net.ConnectException: Connection refused: connect]
>  at com.sun.jndi.ldap.LdapReferralContext.<init>(Unknown Source)
>  at com.sun.jndi.ldap.LdapReferralException.getReferralContext(Unknown  
> Source)
>  at com.sun.jndi.ldap.LdapNamingEnumeration.hasMoreReferrals(Unknown  
> Source)
>  ... 11 more
> Caused by: java.net.ConnectException: Connection refused: connect
>  at java.net.PlainSocketImpl.socketConnect(Native Method)
>  at java.net.PlainSocketImpl.doConnect(Unknown Source)
>  at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
>  at java.net.PlainSocketImpl.connect(Unknown Source)
>  at java.net.Socket.connect(Unknown Source)
>  at java.net.Socket.connect(Unknown Source)
>  at java.net.Socket.<init>(Unknown Source)
>  at java.net.Socket.<init>(Unknown Source)
>  at com.sun.jndi.ldap.Connection.createSocket(Unknown Source)
>  at com.sun.jndi.ldap.Connection.<init>(Unknown Source)
>  at com.sun.jndi.ldap.LdapClient.<init>(Unknown Source)
>  at com.sun.jndi.ldap.LdapClient.getInstance(Unknown Source)
>  at com.sun.jndi.ldap.LdapCtx.connect(Unknown Source)
>  at com.sun.jndi.ldap.LdapCtx.<init>(Unknown Source)
>  at com.sun.jndi.ldap.LdapCtxFactory.getUsingURL(Unknown Source)
>  at com.sun.jndi.ldap.LdapCtxFactory.getLdapCtxInstance(Unknown Source)
>  at  
> com.sun.jndi.url.ldap.ldapURLContextFactory.getObjectInstance(Unknown  
> Source)
>  at javax.naming.spi.NamingManager.getURLObject(Unknown Source)
>  at javax.naming.spi.NamingManager.processURL(Unknown Source)
>  at javax.naming.spi.NamingManager.processURLAddrs(Unknown Source)
>  at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
>  ... 14 more
>  
>  
> _______________________________________________
> cisco-voip mailing list
> cisco-voip at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-voip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 7802 bytes
Desc: not available
Url : https://puck.nether.net/pipermail/cisco-voip/attachments/20050517/97f3c0db/attachment-0001.bin


More information about the cisco-voip mailing list