LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-17-2005, 09:03 AM   #1
steve007
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3
Posts: 96

Rep: Reputation: 15
LDAP Problem Invalid DN syntax (34)


Hello,
I am having a problem accessing my LDAP Address book through outlook. I can add it and enter in the server name and username and password fine, but when i make a new email and click the To button to select an address the error "Invalid DN Syntax (34)" shows up but i dont know why. i followed instructions on how to make the LDAP Address Book from the "Red Hat Fedora Core Bible" by christoper negus, however it is not seeming to work. I have run the check for syntax errors and it says there isnt any. So I am not sure what this error is for or why it is throwing it up.

Can anyone shed any light on this matter??

Thanks in advance,

Steve

Last edited by steve007; 10-17-2005 at 09:53 AM.
 
Old 10-18-2005, 03:28 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
Hi,

you might want to start the LDAP server with a very high level of debugging messages, so you can see what DN is used by outlook. As root, you can use the command 'slapcat' to see everything in the LDAP server, so you can check the registered DN's. I don't know the "Red Hat Fedora Core Bible" to wich you refer, but if you can't get it working, please post some debugging log of the LDAP server.

Greets,
.-=~ iluvatar ~=-.
 
Old 10-18-2005, 05:01 AM   #3
steve007
Member
 
Registered: Jun 2005
Distribution: Fedora Core 3
Posts: 96

Original Poster
Rep: Reputation: 15
hello,
below is what i got from the slapcat command

Code:
dn: dc=my-company,dc=co.uk
objectClass: top
objectClass: dcObject
objectClass: organization
dc: my-company
o: My Company
structuralObjectClass: organization
entryUUID: 626f31d8-d35e-1029-8348-974537f35987
creatorsName: cn=root,dc=my-company,dc=co.uk
createTimestamp: 20051017133345Z
entryCSN: 20051017133345Z#000001#00#000000
modifiersName: cn=root,dc=my-company,dc=co.uk
modifyTimestamp: 20051017133345Z
when i try to connect to an LDAP Server in outlook it asks for the following information:

server name:

logon information (username and password)

under the more settings button it asks for "Display Name" (as it appears in the address book)

i used the internal LAN number for the server name, but perhaps thats where i am wrong... this automatically comes through to the Display Name box..... what do I really need to put in these boxes, are you able to tell from the information provided above?

thank you for your help

Steve
 
Old 10-18-2005, 06:03 AM   #4
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
Hi,

Ok I think you have to provide a full qualified DN as username, you should be able to connect with the DN and password in /etc/openldap/slapd.conf (or where-ever your slapd configuration file is located). The one called 'Bind DN'. Looks like your bind DN is 'cn=root,dc=my-company,dc=co.uk', try this one to connect. Remember: if you run "slapd -d 10" in a console you see what's going on with the LDAP server. This will also show any requests made and server responses wich (might) say more than the outlook message....

Greets,
.-=~ iluvatar ~=-.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP Problem Invalid DN Syntax (34) steve007 Linux - Newbie 3 08-24-2009 08:53 AM
ldap invalid credentials johond Linux - Networking 1 12-14-2004 05:31 AM
ldap: invalid credentials johond Debian 0 12-14-2004 05:00 AM
squirremail ...it says invalid user or invalid password. rnj Fedora 9 10-25-2004 10:56 PM
Syntax problem thort Linux - Newbie 9 12-22-2003 04:08 PM


All times are GMT -5. The time now is 03:55 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration