Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Fedora Directory Server 1.0 Released!

Posted by Zonk on Sun Dec 04, 2005 06:28 AM
from the like-a-kid-with-edubuntu dept.
LnxAddct writes "NewsForge is reporting that the first official release of the Fedora Directory Server has been announced. This is good news for members of the open source community longing for an easy to use, enterprise class directory server. Fedora Directory Server is based off of Netscape Directory Server which Red Hat purchased a year ago and released as open source. Screenshots are available on their site." NewsForge is a Slashdot sister site.
+ -
story

Related Stories

[+] Fedora Core 5 Available 327 comments
Jan Slupski writes "New release day today. Fedora Core 5 CD images are now available for download (i386, ppc, x86_64) on the ftp servers or via the torrent page." Linclips also has a short screencast on some of the default functionality.
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • command line (Score:5, Interesting)

    by Darkon (206829) on Sunday December 04 2005, @06:32AM (#14177676)

    A fancy GUI [redhat.com] is all very well, but does this come with some decent command line tools to scriptify adding and removing users and the like? One of the things that's kept my department on NIS for so long is that absolute hideous unfriendliness of the OpenLDAP tools vs useradd, usermod and friends.
    • Re:command line (Score:3, Insightful)

      by Anonymous Coward
      In short: Yes.

      However, I find it interesting that you describe OpenLDAP as "absolute hideous unfriendliness" when it simply isn't that case. Granted that the ldif format isn't obvious or familiar, using the command lines tools is actually rather simple. You only need to understand how an LDAP Directory works, and how your schema of choice is laid out.

      I have personall written a front end for managing userspace in OpenLDAP via bash scripts, and I can tell you that once I spen a hour reading up on ldif, it w
      • For some people, "absolute hideous unfriendliness" means you have to read documentation, as opposed to the program having a nice GUI interface that is comprehensive, intuitive, obvious, and familiar to a new user.
    • Re:command line (Score:5, Informative)

      by digitalhermit (113459) on Sunday December 04 2005, @07:28AM (#14177790) Homepage
      The addition of a user is pretty simple... Just run ldapadd against an ldif file. To create the LDIF file is simple and you can do it with a perl script to specify username, userid and password. To create the password you can use crypt or md5. Something like:

          my @validsalt = ('a' .. 'z', 'A' .. 'Z', 0 .. 9, '.', '/');
          my $salt = $validsalt[rand(64)] . $validsalt[rand(64)];
          my $test = crypt($cleartext, $salt);

      Of course, you'd also want to do some basic validation of the inputs. Then just wrap the user inputs in an LDIF template and run. It sounds a lot more difficult than it actually is.

      The schema can actually validate that userid is unique, but you should check anyway and also validate the groups and gids.
      • The main gripe is that you have to kludge all this yourself.
        Every admin in the world must write his or her own script to add a user to the directory.

        Why can't we have ready-made programs that perform such simple tasks?
        Like useradd, for example.
        • LDAP itself is not *just* for authentication, though that's one of its more popular uses. That's probably why there are not so many specific auth related tools. It's a similar thing with the more decoupled Linux LVM versus, for example, AIX's tightly integrated LVM. There are GUI tools such as JXplorer and lots of Java based apps that can add/modify entries. JXplorer, for example, can define template screens so that you can view only auth relevant parts of the schema.
        • You could use the IDEALX smbldap-tools for the scripts and all. That would give you UNIX and Samba authentication and user account information, and control over groups, as well as a simple command line tool for passwords.
    • Most scripting languages will have some kind of LDAP module available, like python has http://python-ldap.sourceforge.net/ [sourceforge.net] and perl has http://ldap.perl.org/ [perl.org].

      So even if Fedora's directory server doesn't offer any console tools (i dont know if it does), it won't be any problem making scripts manipulating its data. Take a look at this example on howto remove a record, its from the python-ldap site, and it isn't exactly overly-complex to use from the looks of it :-)

      import ldap
      try:
      l
    • You thought that those screenshots look fancy? My first thought on looking at those screenshots was 'How could they make such a butt ugly theme the default for Swing applications?'. It combines the worst apects of Motif and Windows95.
    • Thankyou. This is the first thing I noticed too. Obviously something that hasn't changed since its netscape days when they needed to be able to show something to PHBs who made purchasing decisions. A big dumb 'START SERVER' button. Please god let them unix-ise the software in the next few versions.
      • Re:command line (Score:3, Informative)

        by Anonymous Coward
        It is so totally NOT built on top of OpenLDAP. In fact, it share not code with OpenLDAP at all. Thanks for playing.
  • wow (Score:5, Insightful)

    by know1 (854868) on Sunday December 04 2005, @06:36AM (#14177681)
    redhat bought something usefull and made it open source? that's one of the most amazingly good things i've heard this week. i thought open source was all about using software made for free. it's so great to see a xcompany making a living off open source to buy something usefull the community needs and give it out for free. i'm a debian man myself, but keep up the good work redhat!
    • Re: wow (Score:5, Informative)

      by Dolda2000 (759023) <fredrik@do l d a2000.com> on Sunday December 04 2005, @07:20AM (#14177777) Homepage
      This isn't exactly the first time RedHat has done something like this. Last year, they also bought Sistina and released GFS for free. I think they have done other such things as well, but I can't remember any off the top of my head.
    • Not the first time. (Score:5, Informative)

      by ebuck (585470) on Sunday December 04 2005, @08:31AM (#14177920)
      As another poster has already stated, it's not the first time that RedHat has bought something and then changed the license to an open-source license.

      However, this story is just a bit more complicated.

      RedHat open-sourced all of the code they could, which was quite a bit, but originally just the main directory daemon, ns-slapd, a few shared libraries and command-line tools were open source. The real news here is that the last of the "other" bits have finally been re-written under a new (open-source) license.

      That's part of the motivation for resetting the release nubmer; note that this is verison "1.0" instead of (grumbles about memory) 8 or 9?

      So now, it is a 100% open source solution, no more binary-only rpms.
    • Re:wow (Score:3, Informative)

      As another poster pointed out, Sun have done this with other things as well. One example that I suspect a lot of /.ers are familar with is Cygwin - bought be RedHat and open sourced. They are also not the only company to do this. Sun bought a German outfit called Star Division and released their flagship product as open source, and continue to supply most of the developer time to it. You might have used that too.
    • Re:wow (Score:5, Informative)

      by LnxAddct (679316) <sgk25@drexel.edu> on Sunday December 04 2005, @12:10PM (#14178736) Homepage
      Heh, you severly underestimate Red Hat's contribution to the community:) Read this [fedoraproject.org] for a truncated list of contributions they've made. Some other products they've purchased and released include GFS [redhat.com], Cygwin [cygwin.com], and eCos [sourceware.org]. They also contribute more code to the kernel than any other entity and in large part maintain and extend glib and GCC (they have a few people on the GCC board and contribute huge amounts of code, in fact many of the newest features in GCC 4.0.x you can thank Red Hat for). Here [sourceware.org] is another list, but that list is only for projects hosted from that site, so its not complete either, but suffice it to say that Red Hat does a staggering amount for the community, its kind of a shame when people bash them.
      Regards,
      Steve
  • + Kerberos ? (Score:5, Informative)

    by ratatask (905257) on Sunday December 04 2005, @06:50AM (#14177713)
    One of the net things is if you couple together Kerberos [mit.edu] with LDAP - much like a windows network
    with Active Directory.
    Does the Fedora DS intergrate those two neatly, single sign on is neat, but OSS provides
    no turnkey solutions for this (yet).
    • Re:+ Kerberos ? (Score:4, Insightful)

      by Dolda2000 (759023) <fredrik@do l d a2000.com> on Sunday December 04 2005, @07:35AM (#14177807) Homepage
      but OSS provides no turnkey solutions for this (yet).
      Maybe this is just me, but I've never understood why people need "turnkey solutions" for things like these. Updating your LDAP, Kerberos, NSS and PAM configs manually isn't exactly hard as it is. If you want to make it easy to set up multiple workstations with this setup, just use Kickstart (or a shell script on NFS...).

      Really, I'm not trying to troll here, I'm just really not seeing what this need to click a single button for every possible setup comes from. Rather than trying to provide every possible setup from the start, as Microsoft does (and which much of the complexity in Windows derives from), isn't it better to have a generic solution that can be tailored to one's specific need, instead?

      • I've never understood why people need "turnkey solutions" for things like these.

        It's one possible measure for the amount of care that's put in the product. You can say this doesn't go for this particular product, but lots of times adoption of a product starts with someone who has 15 minutes of spare time.

        If the product doesn't show a few nice things within those 15 minutes, it just might be possible it's not looked further into.

        I'm not saying this is the correct procedure to evaluate an important piec

      • Maybe this is just me, but I've never understood why people need "turnkey solutions" for things like these.

        Yeah, because it's not like this is a well used 'feature' in Windows Domains in just about every large company...
      • Re:+ Kerberos ? (Score:5, Insightful)

        by moreati (119629) <<alex> <at> <moreati.org.uk>> on Sunday December 04 2005, @09:00AM (#14178009) Homepage
        Maybe this is just me, but I've never understood why people need "turnkey solutions" for things like these.


        Largely, I think it boils down to - 'because they don't understand the technology as we do'. Take a simple, high level requirement: identity management. You or I might see that in terms of the components: such as a directory, an authentication service, creation & removal scripts, some means of replication, monitoring scripts etc.

        A $notnerd sees the requirement as a black box, they don't care about the internals. They've probably been told by some techie/salesman that it will address some problem they have. For this person turnkey seems perfect, $company sells $product which is billed as an 'identity managment solution'. A magic black box solution to a black box problem, their work is done - now it is IT's problem.

        Updating your LDAP, Kerberos, NSS and PAM configs manually isn't exactly hard as it is. If you want to make it easy to set up multiple workstations with this setup, just use Kickstart (or a shell script on NFS...).


        To you it isn't, but what happens when you leave? It's much easier to recruit someone to maintain a push button solution, than a partly bespoke ecology of components and scripts. Often the solution and the ecology are similar in complexity, but the solution hides that behind a GUI and glossy marketting material.

        Purchasers often chose to spend their money on specialised software (solutions), hopefully saving time. We often choose to spend our time customising general purpose software, hopefully saving money.

        Alex
        • A $notnerd sees the requirement as a black box, they don't care about the internals. They've probably been told by some techie/salesman that it will address some problem they have. For this person turnkey seems perfect, $company sells $product which is billed as an 'identity managment solution'. A magic black box solution to a black box problem, their work is done - now it is IT's problem.

          I agree completely with that, but my main point is that I think that this "turnkey solution" should be a separate pro

        • Re:+ Kerberos ? (Score:4, Interesting)

          by rhinoX (7448) on Sunday December 04 2005, @12:56PM (#14178990)
          Actually, it's not always $notnerd vs. $nerd. I am a nerd in every sense of the word. I understand the technology as well, if not better than any other nerd. I also understand that in my company, my technical talents are better used to _produce new products_ for us to sell to our clients and thus make more money. Screwing around with configuration files, etc. is a _waste of my time_. I just want a directory service that allows single sign-on so I can easily add resources and people to the organization without having to freaking script my own mgmt console around some lame-ass command line tools because someone out there thinks that you have to use a CLI to "understand technology".

        • Largely, I think it boils down to - 'because they don't understand the technology as we do'.

          Oh that's just egotistical rubbish! People like turnkey solutions mainly for two reasons:

          1.) They're novices and they just want something that works
          2.) They're not novices, but they're overloaded with work and they don't want to learn the complete ins and outs of yet another massive, complex software package (note I said package, not the protocols it uses, etc).
      • Maybe this is just me, but I've never understood why people need "turnkey solutions" for things like these.

        Because it makes deploying them easier, quicker, cheaper and less dependant on a particular individual's (or individuals') knowledge.

      • I think it's because the domain of technical knowledge is so great that it's really quite difficult to grasp it all. If you're a small or medium sized company you may not have someone who really understands Kerberos and LDAP. Your sysadmins may know everything in the world about mailservers, webservers, DNS servers, DHCP servers and database servers but very little about AAA servers, Kerberos and LDAP. Look at the security community which is still farily young. People are already starting to specialize into

        • Even for the 'common admin' it has to look like an AD server for the Windows workstations, otherwise it'll get passed over. That means having ldap+kerberos built in from the first install.

          Common signon for Linux machines is all very well, but you've been able to do that with NIS for years.
  • The example they used in the screenshots [redhat.com] is the same one used here! [66.102.9.104] There must be a deeper meaning to this blatant plagiarism. I mean, even the phone number is the same... Yep, definitely a terrorist plot in the making somewhere here...
  • Gentoo package? (Score:5, Interesting)

    by nighty5 (615965) on Sunday December 04 2005, @07:05AM (#14177748)
    Anyone know if there is a gentoo package for this? - Even if it's not the most up to date.

    I've searched used such strings as "ldap", "nss", "directory" etc - but nothing comes up too interesting.
    • My pick is is not yet ported - so you can try to contribute a ebuild! It is your chance to shine! :)

      More seriously, I will check out depencies. As I have rather big interest in this product, I will check out If I can't contribute an ebuild.
  • In and of itself, LDAP started off as a partial implementation of the X.500 directory services - partial being the bits that people generally found useful. The LDAP specification has changed over time, reflecting a better understanding of what people actually needed - together with the fact that as systems became more powerful, people generally needed rather more out of services.

    The first problem is that Netscape probably didn'tadd much to their Directory Service towards the end, and it is unclear how much

    • by Anonymous Coward on Sunday December 04 2005, @07:31AM (#14177796)
      I'm sorry, what the hell are you talking about? That was the most mindless post I have ever seen.

      The first problem is that Netscape probably didn'tadd much to their Directory Service towards the end, and it is unclear how much Fedora has had to put resources into code cleanups and bug fixes, as opposed to adding the capabilities it is going to need.

      Red Hat / Fedora Team spent about a year cleaning it up and porting it to linux, or didn't you bother to read the summary?

      For this directory server to be of much interest to network administrators, this package absolutely must support two-way communication with Microsoft Active Directory's LDAP. It can support more - and it would be great if, for once, Open Source "embraced and extended" something from The Other Side...

      Uh? What does it need? 3-way communication with AD? 4-way? Active Directory is just a bastardized for of LDAP, and even OpenLdap includes the bits needed to work with it. What you are saying here doesn't make any sense.

      To be of interest to system admins, it needs to work with PAM and preferably one of the standard "unified" admin interfaces, like Webmin or (yes, it is still used) linuxconf, in addition to specialized tools.

      What you are saying here demostrates a complete ignorance of PAM, LDAP, and directory services in general. PAM has long supported LDAP, as has the NSS libraries. Webmin and Linuxconf are two interfaces the people have added as a layer on top of existing services. Nothing NEEDS to work with them, they support whatever they want. FDS has a great GUI and that is the point. Otherwise, an LDAP service is a usefull as the schema you load and how you implement it.

      I like Fedora's distro, it is simply that if they are neglectful of something they can do in a script and a makefile, and of mere patches they had already made public, then how confident can I be of their ability to maintain a very complex piece of software?

      Ok, seriously, get a clue. If you are looking for assurance, pony up some cash and buy the fully supported Red Hat Directory Server. Frankly, I think the entire Fedora effort is great, but I wouldn't run any substatinal business on it. For that I pay for Red Hat.

      • AD is not just a bastardised LDAP. AD is LDAP+Kerberos+Extensions which needs to be *specifically* catered for. I'm assuming this DS supports AD otherwise it's just going to get nowhere in the corporate space.
      • by Temkin (112574) on Sunday December 04 2005, @09:29AM (#14178087)

        Red Hat / Fedora Team spent about a year cleaning it up and porting it to linux, or didn't you bother to read the summary?



        "Porting to Linux" is and of itself a mindless statement, since this is Netscape DS, aka iPlanet DS, which is an antique fork of Sun's current SJES DS, all of which have been running on Linux for better part of a decade.

        It will be interesting to compare Fedora DS to Sun's current offering. Sun even provides an open source tool for this called SLAMD [slamd.com].
    • The first problem is that Netscape probably didn'tadd much to their Directory Service towards the end, and it is unclear how much Fedora has had to put resources into code cleanups and bug fixes, as opposed to adding the capabilities it is going to need.

      To really understand this move by Redhat, it has to be taken into context with last weeks news about Sun open sourcing their enterprise applications, one of which is iPlanet Directory Server. iPlanet Directory Server and Redhat's both forked from the same N
  • Have anyone else noticed how slow the console is on a RedHat Enterprise 3 server?
    Its like you press a button, then you have to wait for 10 seconds before anything is happening. On Enterprise 4, everything is about 50 times faster, maybe even more.
    The main difference here should be 2.4 kernel versus 2.6 kernel, but what makes the console that much faster on 2.6?
      • Re:About the console (Score:2, Informative)

        by Anonymous Coward
        User error, hit any person at keyboard to continue.

        It is probably trying to do some kind of lookup, ipv6 or your nameservice, you did configure your /etc/nsswitch.conf to look at the nameserver, not the local ldap server (recursive lookups are bad ! )

  • ldap schmel-dap (Score:3, Interesting)

    by Anonymous Coward on Sunday December 04 2005, @07:38AM (#14177821)
    My employer recently tried to "enchance" our application to authenticate to an LDAP directory rather than our traditional backend security server. Wow, is LDAP ever NOT the tool for that job.

    There are so few standards around LDAP authentication that it is impossible to support "LDAP" - you have to support MS Active Directory, Oracle Info Server, Novell eDir, etc..

    For example, there is no standard way to handle password expiration. Every directory does it differently. There is no standard location or hashing algorithm for user passwords, nor is there any sort of standard password policy (password complexity rules, maximum retries until lockout, etc)

    So we basically had to rewrite support for all these things that we already had in a modular fashion so now administrators are stuck configuring "the AD plugin", or "the OIS plugin".. ... but anyway, LDAP thinks it's all that and a bag of potato chips, but I'm here to tell you it is NOT.
    • For example, there is no standard way to handle password expiration. Every directory does it differently. There is no standard location or hashing algorithm for user passwords, nor is there any sort of standard password policy (password complexity rules, maximum retries until lockout, etc)

      RFC 2307 - using LDAP to provide a Network Information Service.

      Almost everything you touched on is covered in that RFC. So the standards exist, but Microsoft/Oracle/etc chose not to adhere to them by creating their ow

        • Yes, anybody can submit an RFC, but the IETF decides which ones to accept as official RFCs. Joe Random's weblog would probably not qualify.

          Additionally, who cares if it's not an official standard? The original poster said that LDAP is flawed because Microsoft AD, Oracle, and Novell all use different schemas within their directory products. That has nothing to do with LDAP (the protocol), and everything to do with the design choices those companies made.
    • Instead of trying to interface with all those why not create your own schema that the purchasers can import into the variouse directory types. Surely you could set it up so that you didn't have to use the proprietary protocols. Then your clients could just import that schema into their particular directory service. You could even link it into the current accounts with a little creative scripting I think. (not sure on that one though haven't messed with LDAP much yet Though I'm starting to)
  • Sam Carter (Score:3, Funny)

    by Andrewkov (140579) on Sunday December 04 2005, @09:48AM (#14178136)
    I'm Sam Carter, please stop using my name in screen shots!
  • Is a directory server something like MS ActiveDirectory?
  • I'm running Open-Xchange, an OSS groupware suite that, among other features, can transparently replace (mostly) Microsoft Exchange. OX uses OpenLDAP, though it can (in theory) use any LDAP directory server, including the FDS. OX uses Postgres as its default RDBMS for its data tier, but OpenLDAP stores its data internally. OX has some limits on its integration of directory data, because the rest of the app can't connect to the OpenLDAP storage - that means some sync issues, and some data is defacto read-only
    • ... and will be opened as well. [slashdot.org] I can't help but think that RH rushed this out the door to counter Sun.

      But does anyone really want an older version that's likely been untouched for years?

    • I think that the Fedora directory Server is late, and it is based on old versions of Netscape Directory Server.

      Yes, it is late. Plus I find it disturbing some parts of it have special licensing concerns. And being version 1.0.... hopefully they will write this code out in time.

      But it's strengths are that being based on the Netscape server gives it a boost in functionality over Open LDAP. I often wondered why Open LDAP seemed to almost stall in it's development.

      So I will still be using Sun One Directo

      • A real solution would be a policy engine, an actual application that read policies from an enterprise server then took those policies and applied them to the workstation. Take that and give it an interface (whether gui or tui) to allow the management of the different policies. I've looked around and there isn't much. Zenworks from Novell is supposed to be able to do this but haven't had time to setup a test system to see what it can do. As much as one might hate Microsoft, he/she has to admit that their Ent