Ldaperr Comment Error In Attribute Conversion Operation
Contents |
(עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeWindows 10Windows 10 MobilePrevious versionsMDOPSurfaceSurface HubLibraryForums Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Error when trying to add a user entry to
Error In Attribute Conversion Operation Data 0 V1db1
Active Directory via LDAP interface Windows Server > Directory Services Question 0 Sign ldap: error code 16 - 00000057 in to vote I'm attempting to add a user entry to an Active Directory server here via the LDAP dsid-0c090b8a interface from a Linux host using OpenLDAP tools (ldapadd or ldapmodify). Here's a bare-bones example of what I'm trying to add to Active Directory: DN: CN=John Smith,CN=Users,DC=ad,DC=cs,DC=wisc,DC=edu objectClass: user CN: John
Ldap: Error Code 21 - 00000057
Smith sn: John givenName: Smith displayName: John Smith sAMAccountName: jsmith userPrincipalName: jsmith@ad.cs.wisc.edu altSecurityIdentities: Kerberos:jsmith@CS.WISC.EDU The Active Directory domain is "ad.cs.wisc.edu" in this case. I am binding to Active Directory via LDAP+SSL (port 636) as user Administrator. I can successfully bind to Active Directory and search for entries, but adding errors produces the following error: ldapadd -x -H ldaps://bunyan.ad.cs.wisc.edu -D "CN=Administrator,CN=Users,DC=ad,DC=cs,DC=wisc,DC=edu" -w ADMINISTRATOR_PW -f /tmp/jsmith.ldif -v ldap_initialize( ldaps://bunyan.ad.cs.wisc.edu ) add objectClass: user add CN: John Smith add sn: John add givenName: Smith add displayName: John Smith add sAMAccountName: jsmith add userPrincipalName: jsmith@ad.cs.wisc.edu adding new entry "CN=John Smith,CN=Users,DC=ad,DC=cs,DC=wisc,DC=edu" modify complete ldapadd: No such attribute (16) additional info: 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1 The "additional info" is logged on event log on the Active Directory server as well as being returned when trying to run ldapadd. Any suggestions from Active Directory gurus out there? Am I missing some required fields as demanded by AD schema, or is this a permission issue? John Thursday, April 28, 2011 7:04 PM Reply | Quote Answers 2 Sign in to vote Looks like my LDIF file had some trailing spaces at the end of some lines. ldapadd/ldapmodify (or the LDAP service on our Active Directory server) apparently doesn't like that. Once those trailing space were removed, the LDIF loads just fine. Thank you to those who looked into this and offered suggestions. John Marked as answer by Arthur_LiMicrosoft contingent staff, Modera
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign https://social.technet.microsoft.com/Forums/windows/en-US/a56b24c8-5929-46f6-8efe-757b450edc9c/error-when-trying-to-add-a-user-entry-to-active-directory-via-ldap-interface?forum=winserverDS up Zend Ldap attribute error in Synfony 2 and Active Directory up vote 1 down vote favorite I'm bulding a Symfony2 app and I need to connect to my AD server to add a user when they register on the website. I use the ZendLdap class included in SF2. I also use FOSUserBundle to handle register and login. The connection to the server http://stackoverflow.com/questions/23396461/zend-ldap-attribute-error-in-synfony-2-and-active-directory works fine but I have this error when I try to add an entry: 0x10 (No such attribute; 00000057: LdapErr: DSID-0C090D87, comment: Error in attribute conversion operation, data 0, v2580): adding: cn=jordane,ou=CUBBYHOLE,dc=cubbyhole,dc=me"}] I've searched a lot to figure out why I can't add my user, I think all my attributes are ok and correctly spelled but maybe I made a misconfiguration. Here is my class: class LdapRegistrationController extends BaseController { protected $ldapDriver; public function __construct() { $ldapOptions = array( 'host' => 'cubbyhole.me', 'port' => 389, 'useStartTls' => false, 'useSsl' => false, 'username' => 'CUBBYHOLE\Administrateur', 'accountCanonicalForm' => 3, 'password' => 'mypassword', 'accountDomainName' => 'cubbyhole.me', 'accountDomainNameShort' => 'CUBBYHOLE', 'baseDn' => 'CN=Users, dc=cubbyhole, dc=me', 'accountFilterFormat' => '(&(objectClass=Top:person;organizationalPerson;user))' ); //connection try { $this->ldapDriver = new Ldap($ldapOptions); $this->ldapDriver->bind(); } catch(Exception $e) { throw new LdapException("Error connecting to LDAP. Exception message: ".$e->getMessage()); } } /** * @param User $user * @throws \Zend\Ldap\Exception\LdapException */ public function addUserInLdap(User $user=null) { if($user != null) { //add in ldap $entry = array(); Attribute::setAttribute($entry, 'cn', $user->getUsername()); Attribute::setAttribute($entry, 'sn', $user->getUsername()); Attribute::setAttribute($entry, 'givenName', $user->getUsername()); Attribute::setAttribute($entry, 'displayName', $user->getUsername()); Attribute::setAttribute($entry, 'userPrincipalName', $user->getUsername()); Attribute::setAttribute($entry, 'distinguishedName', $user->getUsername()); $objectClass = array('top:person', 'organizationalPerson', 'user'); Attribute::setAttribute($
and https://archive.sap.com/discussions/thread/3230540 SafetyAsset NetworkAsset Operations and MaintenanceCommerceOverviewSubscription Billing https://community.oracle.com/thread/3522828 and Revenue ManagementMaster Data Management for CommerceOmnichannel CommerceFinanceOverviewAccounting and Financial CloseCollaborative Finance OperationsEnterprise Risk and ComplianceFinancial Planning and AnalysisTreasury and Financial Risk ManagementHuman ResourcesOverviewCore Human error in Resources and PayrollHuman Capital AnalyticsTalent ManagementTime and Attendance ManagementManufacturingOverviewManufacturing NetworkManufacturing OperationsResponsive ManufacturingMarketingOverviewMarket with Speed and AgilityUnique Customer ExperiencesReal-Time Customer InsightsR&D/EngineeringOverviewDesign NetworkDesign OrchestrationProject and Portfolio ManagementSalesOverviewCollaborative Quote to CashSales Force AutomationSales Performance ManagementSelling error in attribute Through Contact CentersServiceOverviewEfficient Field Service ManagementOmnichannel Customer ServiceTransparent Service Process and OperationsSourcing and ProcurementOverviewContingent Workforce ManagementDirect ProcurementSelf-Service ProcurementServices ProcurementStrategic Sourcing and Supplier ManagementSupply ChainOverviewDemand ManagementDemand NetworkLogistics NetworkManufacturing Planning and SchedulingResponse NetworkResponse and Supply ManagementSales, Inventory, and Operations PlanningTransportation ManagementWarehouse ManagementSustainabilityOverviewEnvironment, Health, and SafetyProduct Safety and Stewardship NetworkBrowse by IndustryAerospace and DefenseAutomotiveBankingChemicalsConsumer ProductsDefense and SecurityEngineering, Construction, and OperationsHealthcareHigh TechHigher Education and ResearchIndustrial Machinery and ComponentsInsuranceLife SciencesMediaMill ProductsMiningOil and GasProfessional ServicesPublic SectorRetailSports and EntertainmentTelecommunicationsTravel and TransportationUtilitiesWholesale DistributionBrowse Platform and TechnologyAnalyticsOverviewBusiness IntelligencePredictive AnalyticsGovernance, Risk, and ComplianceEnterprise Performance ManagementApplication Platform and InfrastructureOverviewApplication PlatformContent and CollaborationInterface Managem
CommunityOracle User Group CommunityTopliners CommunityOTN Speaker BureauJava CommunityError: You don't have JavaScript enabled. This tool uses JavaScript and much of it will not work correctly without it enabled. Please turn JavaScript back on and reload this page. Please enter a title. You can not post a blank message. Please type your message and try again. More discussions in Identity Manager All PlacesFusion MiddlewareIdentity ManagementIdentity Manager This discussion is archived 4 Replies Latest reply on Mar 5, 2014 2:42 AM by 934887 LDAP: error code 16 - 00000057 error while provisioning a user after PS2 upgrade 1974526 Feb 28, 2014 12:05 AM I am having an issue where I could provision a user to the LDAP before we did an OIM 11gR2PS2 upgrade. Since the upgrade, I am seeing the LDAP: error code 16 - 00000057: LdapErr: DSID-0C090B3D, comment: Error in attribute conversion operation, data 0, vece error while provisioning user to our LDAP directory which is ADAM. I am using the LDAP v3 connector and it was provisioning before the upgrade. The surprising thing is I am seeing this error for the DN attribute. I am not 100% certain if it is related to the upgrade, but that is the only thing that has changed.