LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-29-2010, 10:00 AM   #1
avatardeviva
Member
 
Registered: Jan 2004
Location: Almost Canada :-p
Posts: 34

Rep: Reputation: 15
Kerberos LDAP


Hi All,

I'm stuck on a Kerberos LDAP setup. I've basically copied and pasted the ldap configuration sample that came with the server. It gives me a "create: Invalid syntax while creating realm" every single time. I cannot get around it unless I remove the ldap portion. Here is the entire krb5.conf:

Code:
[logging]
        default = FILE:/var/log/kerberos/krb5libs.log
        kdc = FILE:/var/log/kerberos/krb5kdc.log
        admin_server = FILE:/var/log/kerberos/kadmind.log
[libdefaults]
        default_realm = <DOMAIN>.COM
        dns_lookup_kdc = false
        dns_looup_realm = false
        default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
        default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc


[realms]
        <DOMAIN>.COM = {
                default_domain = <domain>.com
                kdc = tupperserver.<domain>.com
                admin_server = tupperserver.<domain>.com
                database_module = ldap
                kpasswd_server = tupperserver.<domain>.com
        }

[domain_realm]
        .<domain>.com = <DOMAIN>.COM

[dbdefaults]
        database_module = ldap

[dbmodules]
        ldap = {
                db_library = kldap
                ldap_kerberos_container_dn = "ou=kerberos,dc=<domain>,dc=com"
                ldap_kdc_dn = "cn=ldapadmin,dc=<domain>,dc=com"
                ldap_kadmind_dn = "cn=ldapadmin,dc=<domain>,dc=com"
                ldap_service_password_file = /etc/kerberos/krb5kdc/ldap.service
                ldap_servers = ldap://127.0.0.1
                ldap_conns_per_server = 5
        }
Any thoughts on what could be causing this? I'm stumped.. its been two days now of looking at that file, sample files, moving things around, etc and still nothing.
 
  


Reply



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 replication and kerberos neverland Linux - Server 2 03-24-2010 02:46 AM
LDAP and Kerberos? kja_007700 Linux - Security 2 02-20-2010 07:52 AM
Samba Ldap Kerberos kratos13ec Linux - Server 0 10-05-2007 12:17 PM
combine LDAP and Kerberos? licht Linux - Server 0 07-12-2007 12:35 PM
LDAP and Kerberos the right tools? labratmatt Linux - Software 4 05-30-2006 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration