User Mangment: LDAP, AFS, Kerberos

Ask a Question related to Debian, Design and Development.

  1. #1

    Default Re: User Mangment: LDAP, AFS, Kerberos

    Raffaele Sandrini <rasa@gmx.ch> writes:
    > I'm thinking about creating a central managed user and data system
    > here. It should use AFS (OpenAFS) as virtual filesystem and LDAP
    > (OpenLDAP) as User and Comuter info Database. I tried this earlier
    > but it ended in more than one user database (LDAP and AFS (kerberos
    > 4)). I thought of using Kerberos 5 as login and credentials manager
    > because its very secure.
    (You might clarify your terminology and motivations here. Do you have
    other services that would benefit from having Kerberos around [IMAP
    comes to mind]? I've generally heard it recommended that people use
    the krb5 KDC with OpenAFS, but you can in principle use the AFS
    kaserver just as well.)
    > I am not sure if it is possible for this three compnents (AFS,LDAP
    > and Kerberos 5) to interact together using LDAP as central
    > infobase. M$ has managed to get that to work with its AD and Login
    > system and DFS wich is all kerberos 5 based.
    At MIT, there's some local very ugly glue that tries to keep
    everything synchronized. At the very least, you need to make sure
    that a given user has a Kerberos identity, an AFS pts identity, and an
    AFS home directory, in addition to an LDAP entry. When new users are
    created, all of these things need to be set up, and when users are
    deactivated, they need to go away. You also might consider that it's
    possible to give a machine a Kerberos entry (and a /etc/krb5.keytab)
    but not give it a pts identity, or a pts identity but not an AFS
    directory.
    > There are several issues wich need to be thought about:
    > - Is there a need for Kerberos 5? Is LDAP over SSL not equal secure?
    "Is there a need for breakfast cereal? Does not copy paper provide
    fiber?" Really, these are two completely separate things.
    > - Is there a possiblity to trim OpenAFS to LDAP so that it not uses
    > its own userdatabases?
    I don't believe so.
    > - If Kerberos 5 is needed is there a way to trim it to LDAP?
    I don't believe so. (But you have the same issues with kaserver as
    you would with the krb5 KDC.)
    > The system should be the most secure and the most simple one :)).
    You should consider what you really mean as "secure". On Athena
    (MIT's computing system), for example, the root password for cluster
    machines is fairly public, but being root on a given machine gives you
    very little power to break into other people's accounts. Unencrypted
    telnet and FTP have both been disabled on officially maintained
    machines to try to limit the amount of password sniffing on the
    network, but denial-of-service attacks (in the form of file-sharing
    programs) are a major issue. Sadly, security and simplicity generally
    don't go together. (Consider that your pointy-haired boss probably
    wants everything to be available on the Web, but Kerberos and HTTP
    don't play together well, and the browser they want to use is probably
    closed-source anyways.)

    --
    David Maze [email]dmaze@debian.org[/email] [url]http://people.debian.org/~dmaze/[/url]
    "Theoretical politics is interesting. Politicking should be illegal."
    -- Abra Mitchell


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    David Z Maze Guest

  2. Similar Questions and Discussions

    1. Query IIS or LDAP for User Info
      Is it possible to query from IIS or LDAP, the user who is currently accessing the web server? I'm trying to set up a secure site that uses...
    2. LDAP - find out if logged in as admin user
      Hi I can successfully bind as a user to our LDAP server using the ldap_connect() / ldap_bind() functions. What I can't seem to figure out...
    3. Kerberos not being used, only NTLM - Login failed for user '(null)'
      We have a Win2K3 Server running an ASP .NET application that connects to a Win2K3 server running SQL 2000 on the backend. Whenever a user opens...
    4. PHP, MySQL user rights with LDAP ?
      Hi, as I did not find a group for MySQL I try my luck here. Plz tell me, if there is a better cathegory for MySQL... I´ve got several MySQL...
    5. Solaris 9 LDAP and Kerberos
      Does anyone know that packages that have to be added to get LDAP and Kerberos (assuming they were not installed when the server was built). wayne
  3. #2

    Default Re: User Mangment: LDAP, AFS, Kerberos

    Excellent comments by David. Just to add a few things...

    On Fri, 01 Aug 2003 11:26:21 -0400
    David Z Maze <dmaze@debian.org> wrote:
    > Raffaele Sandrini <rasa@gmx.ch> writes:
    >
    > > I am not sure if it is possible for this three compnents (AFS,LDAP
    > > and Kerberos 5) to interact together using LDAP as central
    > > infobase. M$ has managed to get that to work with its AD and Login
    > > system and DFS wich is all kerberos 5 based.
    Much of that unification is done behind the scenes. Passwords are still
    kept in a Kerberos database, not in LDAP/AD, which means that there is
    at least a simple hash between usernames and passwords in Kerberos, if
    nothing else. I've never looked into DFS, so I can't comment on the
    architecture, but from what I understand AFS is considerably more
    sophisticated than DFS anyway, so they are probably not directly
    comparable.
    > At MIT, there's some local very ugly glue that tries to keep
    > everything synchronized.
    And there is similar glue pretty much everywhere else. All the pieces
    are modular enough to be strung together easily. If it's not worth an
    hour or two to create some simple scripts, then your site shouldn't be
    using these systems.
    > > There are several issues wich need to be thought about:
    > > - Is there a need for Kerberos 5? Is LDAP over SSL not equal secure?
    >
    > "Is there a need for breakfast cereal? Does not copy paper provide
    > fiber?" Really, these are two completely separate things.
    LOL. To be less witty, LDAP is designed to distribute information,
    Kerberos is designed to keep it private. Add to that the fact that
    Kerberos is an accepted standard for authentication of other network
    services, and you can see why it's around. Again, build some scripts -
    it's no big deal.
    > > - Is there a possiblity to trim OpenAFS to LDAP so that it not uses
    > > its own userdatabases?
    >
    > I don't believe so.
    Correct. This is not possible. You must have a pts server and some
    form of Kerberos.
    > > - If Kerberos 5 is needed is there a way to trim it to LDAP?
    >
    > I don't believe so. (But you have the same issues with kaserver as
    > you would with the krb5 KDC.)
    You mean something like LDAPv3 with a K5 authentication backend? Or you
    mean something like eliminating pts and getting file permissions through
    LDAP? I think it's the latter, in which case the answer is still no.
    But there's nothing keeping you from adding pts info to your schema and
    managing pts by grabbing info from LDAP.
    > > The system should be the most secure and the most simple one :)).
    It's nice to say that, but you're asking about some extremely
    powerful systems, designed to serve 1000's of users in a huge
    variety of network environments. Consider whether you really need AFS.
    If you just want everything in LDAP, you should be able to set up Samba
    servers that auth against an LDAP backend. You could cut Kerberos and
    AFS out altogether then, at the cost of slightly less password security
    on the wire.

    --Todd


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Todd Pytel Guest

  4. #3

    Default Re: User Mangment: LDAP, AFS, Kerberos

    Turbo Fredriksson has a good write-up at
    [url]http://www.bayour.com/LDAPv3-HOWTO.html[/url] regarding Kerberos and
    OpenLDAP. I'm working on a similiar project attempting to integrate
    OpenLDAP, Kerberos and OpenAFS. IBM Germany has an interesting
    project/product as well. Here's a pdf link to a product presentation:
    [url]http://www.linux-verband.de/veranstaltungen/v_event/syn2003/live-oehme-20030416.pdf[/url]

    Email me off-line if you want a copy of my docs (so far). They include
    Debian base system installation, OpenLDAP installation/configuration
    (Primary and Secondary servers) and Kerberos V
    installation/configuration (Primary and Secondary). Some other stuff as
    well...

    Ken McCord



    Todd Pytel wrote:
    >Excellent comments by David. Just to add a few things...
    >
    >On Fri, 01 Aug 2003 11:26:21 -0400
    >David Z Maze <dmaze@debian.org> wrote:
    >
    >
    >
    >>Raffaele Sandrini <rasa@gmx.ch> writes:
    >>
    >>
    >>
    >>>I am not sure if it is possible for this three compnents (AFS,LDAP
    >>>and Kerberos 5) to interact together using LDAP as central
    >>>infobase. M$ has managed to get that to work with its AD and Login
    >>>system and DFS wich is all kerberos 5 based.
    >>>
    >>>
    >
    >Much of that unification is done behind the scenes. Passwords are still
    >kept in a Kerberos database, not in LDAP/AD, which means that there is
    >at least a simple hash between usernames and passwords in Kerberos, if
    >nothing else. I've never looked into DFS, so I can't comment on the
    >architecture, but from what I understand AFS is considerably more
    >sophisticated than DFS anyway, so they are probably not directly
    >comparable.
    >
    >
    >
    >>At MIT, there's some local very ugly glue that tries to keep
    >>everything synchronized.
    >>
    >>
    >
    >And there is similar glue pretty much everywhere else. All the pieces
    >are modular enough to be strung together easily. If it's not worth an
    >hour or two to create some simple scripts, then your site shouldn't be
    >using these systems.
    >
    >
    >
    >>>There are several issues wich need to be thought about:
    >>>- Is there a need for Kerberos 5? Is LDAP over SSL not equal secure?
    >>>
    >>>
    >>"Is there a need for breakfast cereal? Does not copy paper provide
    >>fiber?" Really, these are two completely separate things.
    >>
    >>
    >
    >LOL. To be less witty, LDAP is designed to distribute information,
    >Kerberos is designed to keep it private. Add to that the fact that
    >Kerberos is an accepted standard for authentication of other network
    >services, and you can see why it's around. Again, build some scripts -
    >it's no big deal.
    >
    >
    >
    >>>- Is there a possiblity to trim OpenAFS to LDAP so that it not uses
    >>> its own userdatabases?
    >>>
    >>>
    >>I don't believe so.
    >>
    >>
    >
    >Correct. This is not possible. You must have a pts server and some
    >form of Kerberos.
    >
    >
    >
    >>>- If Kerberos 5 is needed is there a way to trim it to LDAP?
    >>>
    >>>
    >>I don't believe so. (But you have the same issues with kaserver as
    >>you would with the krb5 KDC.)
    >>
    >>
    >
    >You mean something like LDAPv3 with a K5 authentication backend? Or you
    >mean something like eliminating pts and getting file permissions through
    >LDAP? I think it's the latter, in which case the answer is still no.
    >But there's nothing keeping you from adding pts info to your schema and
    >managing pts by grabbing info from LDAP.
    >
    >
    >
    >>>The system should be the most secure and the most simple one :)).
    >>>
    >>>
    >
    >It's nice to say that, but you're asking about some extremely
    >powerful systems, designed to serve 1000's of users in a huge
    >variety of network environments. Consider whether you really need AFS.
    >If you just want everything in LDAP, you should be able to set up Samba
    >servers that auth against an LDAP backend. You could cut Kerberos and
    >AFS out altogether then, at the cost of slightly less password security
    >on the wire.
    >
    >--Todd
    >
    >
    >
    >


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Ken McCord Guest

  5. #4

    Default Re: User Mangment: LDAP, AFS, Kerberos

    Ken McCord <ken@themccords.com> wrote:
    > Turbo Fredriksson has a good write-up at
    > [url]http://www.bayour.com/LDAPv3-HOWTO.html[/url] regarding Kerberos and
    > OpenLDAP. I'm working on a similiar project attempting to integrate
    > OpenLDAP, Kerberos and OpenAFS. IBM Germany has an interesting
    > project/product as well. Here's a pdf link to a product presentation:
    > [url]http://www.linux-verband.de/veranstaltungen/v_event/syn2003/live-oehme-20030416.pdf[/url]
    >
    > Email me off-line if you want a copy of my docs (so far). They include
    > Debian base system installation, OpenLDAP installation/configuration
    > (Primary and Secondary servers) and Kerberos V
    > installation/configuration (Primary and Secondary). Some other stuff as
    > well...
    Maybe [url]http://www.boxedpenguin.com/[/url] is another interesting
    project in this context (although it has been abandoned
    imho).

    I would be interested in your docs, as well.

    by
    Töns
    --
    There is no safe distance.


    --
    To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
    with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
    Toens Bueker Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139