Ms Outlook Invalid Dn Syntax Error 34
inHidden fieldsSearch for groups or messages
[x] | Forgot Password Login: [x] Bug922 - ldap and outlook : "invalid DN-syntax (34) error" Summary: ldap and outlook : "invalid DN-syntax (34) error" Status: CLOSED WORKSFORME Alias: None Product: OXtender for MS Outlook 4 Classification: Unclassified Component: Contacts (show other bugs) Version: 3.8.6 Hardware: PC/Mac --- Severity: P2 3 Target Milestone: Later Assignee: Leonardo Di Lella QA Contact: Bugzilla Admin URL: Whiteboard: Keywords: Depends on: Blocks: Reported: 2005-10-19 15:21 CEST by bodo Modified: 2005-10-22 09:05 CEST (History) CC List: 1 user (show) bodo.t See Also: Server OS: --- Client OS: --- Client Software: --- Reproducability: --- Ticket number: Customer Name: Patch ID: Reviewed: --- Internal verification: https://productforums.google.com/d/topic/calendar/folKCTcTUno --- Reference: Customer defect ID: Attachments Add an attachment (proposed patch, testcase, etc.) Description bodo 2005-10-19 15:21:56 CEST i allways get this error in MS-Outlook 2003 (including all SPs) with and without OXlook installed. an therefore can not use the OX adressbook with the same Bind-DN string it works perfekt with Thunderbird, so the Bind-DN string seems to be korrekt, or do i need a different one for Outlook? the string i use is: https://bugs.open-xchange.com/show_bug.cgi?id=922 uid=
License agreement Sales policy 508 statement Report piracy Shopping More ways to buy Shopping FAQ Support FAQ Online Help Request & Feedback http://www.ldapadministrator.com/forum/problem-invalid-dn-syntax-t181.html Subscribe Forum Customers What Users Say News Links Login • Register Username: Password: | Log me on automatically each visit Board index ‹ Public Forums ‹ http://stackoverflow.com/questions/13487225/ldap-issue-ldap-bind-invalid-dn-syntax General Discussion Change font size Advanced search FAQ Register Login Problem: Invalid DN syntax General Discussion about LDAP Administrator Moderator: Support Post a reply 6 posts ms outlook • Page 1 of 1 Problem: Invalid DN syntax by Fred Hebert » Sat Oct 18, 2003 6:57 pm I am new to LADP and just set up a directory on my home system. It seems to work and the command line utilities are able to add to and qurey the directory. When ms outlook invalid trying to connect with LDAP Administrator I get "Invalid DN syntax". Can anyone help? System: RedHat 7.2 ---excerpt from slapd.conf-------- database ldbm suffix "dc=fjhconsulting,dc=com" rootdn "cn=Manager,dc=fjhconsulting,dc=com" rootpw password ---LDAP Administratio Profile properties--- [General] host: alf.fjhconsulting.com port: 389 Protocol version: 3 (also tried 2) base: dc=fjhconsulting,dc=com URL: ldap://alf.fjhconsulting.com:389/dc=fjh ... ectclass=*) [Credentials] User DN: Manager Password: password [LDAP Settings] Referrlas: Disable (also tried Enable) Deference Aliases: Never Filter: (objectclass=*) Timeout: 30 Entry count limit: 1000 ----------------------------------- Everything seems OK (to me) but it doesn't work. Any help would be greatly appreciated. Fred Hebert. Fred Hebert Posts: 3Joined: Sat Oct 18, 2003 6:39 pm Top Re: Problem: Invalid DN syntax by Zoblin » Mon Oct 20, 2003 1:15 pm host# ldapsearch -D "cn=Manager" -W -v -x -b "dc=fjhconsulting,dc=com" Zoblin Posts: 38Joined: Wed Sep 24, 2003 11:03 amLocation: Kiev, Ukraine WebsiteICQ Top Re: Problem: Invalid DN syntax by Fred Hebert » Tue Oct 21, 2003 1:04 am OK,
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 up LDAP issue, ldap_bind invalid dn syntax up vote 5 down vote favorite 2 I know that my mistake is going to be something really simple but I have tried to find the problem and I do not see it, maybe you can help me.... I am trying to create a function with php, so I can be able to connect to LDAP and find the desired information. My php code is the following: $ldapconfig['host'] = "127.0.0.1"; $ldapconfig['port'] = NULL; $ldapconfig['basedn'] = "dc=example,dc=com"; $ldapconfig['binddn'] = "user"; $ldapconfig['bindpw'] = "password"; function ldap_authenticate($user, $pass) { global $ldapconfig; ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7); if ($user != "" && $pass != "") { $ds=ldap_connect($ldapconfig['host'],$ldapconfig['port']); if(!ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)) { return NULL; } ldap_set_option($ds, LDAP_OPT_REFERRALS, 0); ldap_bind( $ds, $ldapconfig['binddn'], $ldapconfig['bindpw']); $r = ldap_search( $ds, $ldapconfig['basedn'], 'sAMAccountName=' . $user); if ($r) { $result = ldap_get_entries( $ds, $r); if ($result[0]) { if (ldap_bind( $ds, $result[0]['dn'], $pass) ) { return $result[0]['mail'][0]; } } } } return NULL; When I try to run the code it gives me the following mistake: ldap_bind invalid DN syntax on line xxxx and that line is the following: ldap_bind( $ds, $ldapconfig['binddn'], $ldapconfig['bindpw']); php ldap share|improve this question edited Nov 21 '12 at 6:20 Arun Antony 1,4761234 asked Nov 21 '12 at 5:55 Humberto 991110 add a comment| 2 Answers 2 active oldest votes up vote 5 down vote accepted As stated in the error, your bind DN is the wrong format. DN