Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

spring - Getting org.springframework.ldap.NameNotFoundException: [LDAP: error code 32 - Parent entry not found in the directory.]; -


hi using spring ldap adding user in ldap.

i have specified context source of ldap in application context file....

<bean id="contextsource" class="org.springframework.ldap.core.support.ldapcontextsource"> <property name="url" value="ldap://brm-devoid-01.brocade.com:389"/> <property name="base" value="ou=users,dc=external,dc=brocade,dc=com"/> <property name="userdn" value="cn=oracladmin"/> <property name="password" value="mypassword"/> </bean>  <bean id="ldaptemplate" class="org.springframework.ldap.core.ldaptemplate" > <constructor-arg ref="contextsource"/> </bean>  <bean id="activation" class="com.brocade.webportal.registration.service.activationimpl"> <property name="ldaptemplate" ref="ldaptemplate"/> </bean> 

with these specification in place, able read user ldap able list user ldap. when trying add user using ldaptemplate.bind() getting following exception:

org.springframework.ldap.namenotfoundexception: [ldap: error code 32 - parent entry not found in directory.]; nested exception javax.naming.namenotfoundexception: [ldap: error code 32 - parent entry not found in directory.]; remaining name 'brusertype=end user,brsupportuser=n,brprofileupdateflag=n,brresetflag=n,brsegment=guest,brrelationshiptype=general,cn=dinesh narayanan,sn=narayanan,givenname=dinesh,userpassword=password1,uid=testingspringldap2@intrado.com'                 @ org.springframework.ldap.support.ldaputils.convertldapexception(ldaputils.java:174)                 @ org.springframework.ldap.core.ldaptemplate.executewithcontext(ldaptemplate.java:810)                 @ org.springframework.ldap.core.ldaptemplate.executereadwrite(ldaptemplate.java:802)                 @ org.springframework.ldap.core.ldaptemplate.bind(ldaptemplate.java:996)                 @ com.brocade.webportal.registration.service.activationimpl.activateuser(activationimpl.java:242) 

check out ldap error codes

looks 32 means:

indicates target object cannot found. code not returned on following operations: * search operations find search base cannot find entries match search filter. * bind operations.


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -