Linux Directory Services?
m0rph asks: "My company is building a Linux web cluster solution. We are currently discussing using Open LDAP for user authentication (for ftp http etc). I have been reading recently about the NDS port to Linux. This has raised some questions to me. In reading the NDS-Linux How-To the document states the you can use NDS in conjuction with Open LDAP. Being new to directory services I am wanting to know how does NDS differ in function from Open LDAP or other directory services? Is anyone using this same sort of method for authentication? and if so what are you using? why would you use a directory service like NDS with Open LDAP? also can someone can reccomend good documentation or a book that you have had good results with? "
We've been looking at very much the same solution at my place of employment and from what I understand NDS (or rather e-directory) is an LDAP *compliant* directory system...That means if you have software that works with LDAP and not NDS you can make it work with NDS through LDAP, the inverse is also true I believe. Supposedly with the latest release a novell server is not needed for directory services AT ALL. Another benifit we liked was the ability to use the native administrative tools to the OS and have them reflected transparently in the Tree.
-Aaron
----------------- Who is Jesus?
NDS is much more than just LDAP.
Realize that I know NDS and am just learning LDAP.
Now having said that. In a Novell environment NDS is the *Cloud* (for lack of a better term) in which the network lives. It is a self replicating, distributed, self repairing (to a greater/lesser extent) database. In your Tree you have Containers and Objects that include but are not limited too: Orginizations, Orginizational Units, Users, Groups, Printers, Print Servers, Print Queues, Servers, Volumes, Orginizational Roles (this is about 11 of 30 object types install by default and it is extensible). You do 90% of you administration here (some programs just don't fully integrate into the admin tools). You setup user rights, file system rights, who can see what and do what. You can store programs here for launching with double click. It is X.500 compliant.
In the latest version of NDS, NDS 8 or E-Directory it includes LDAP. You can take an LDAP supporting application and using the catalogs that can be created, use NDS as your Directory for your site.
As was stated E-Directory runs not only on Novell, but can be placed on Windows NT, Linux, Solaris, SCO UnixWare, and I belive AIX and/or HP-UX.
Using it to combine administration of Novell and NT domains allows you to grant rights for any user to any NT server just by assigning rights (no more Trusts) and allows your Novell admins to administrat using NWAdmin or Console One while your NT admins use User Manager.
(Yes I know this sounds like a sales pitch but it's not.)
On the other hand a poorly planed NDS Tree will cause you no end of problems becouse if the Tree is down so is the Network. Fotunantly you can (and *MUST* [ok should but really]) but replicas on multiple servers, partition the network for both performance and redundancy, and raise or lower any of the replicas to master or back to read/write or read-only replicas almost anytime.
Like anything else usefull it has much to be learned about it, but if it is a possibility or a need for you take the time to look into it or talk to someone who knows about it.
shdo
(just a plain old mcne)
Netscape provides an LDAP Directory Server for LINUX. I'm just starting to look at it, but it seems to be a decent product. Amusingly, they refer to their product as NDS. It's caused no end of problems in discussions with my Novell using friends.
Novell Directory Services, or eDirectory, is a distributed, replicable, hierarchical directory database, which currently runs with full functionality on NetWare (administered and managed almost exclusively from MS Windows), with plenty of functionality (or so the glossies imply) on Solaris and Linux. In the past, NDS has been accessed mostly from Windows clients through Novell Directory Access Protocol (NDAP), something that looks darn similar to Lightweight Directory Access Protocol (LDAP, a subset of the heavy X.500's Directory Access Protocol). Novell used to provide an LDAP gateway to the NDS, which would send your LDAP request through NDAP to the NDS, and then the answer would come back through NDAP, through the LDAP gateway, and back to you. Novell's eDirectory now lets you hit NDS directly through LDAP, so LDAP is now a true peer to NDAP.
I've played with NDS for Solaris before, and it's pretty slick. Here at Miami U, we've got one or two replicas of a test NDS tree, and we just made our Solaris machine another replica of that tree. All user attributes like shell and home directory are stored as NDS attributes (part of the installation involved extending the NDS schema to allow for Unix attributes). We're pretty excited about this, because any given client of ours has at least five or six different passwords to remember; consolidating directories is a must at this point.
Novell also has a product in Golden Master right now called NetWare NFS Services 3.0. This is another gateway-type thingy that provides NIS and NFS services. I haven't played with this one yet, but it sounds promising.
The problem I'm running into is that Linux doesn't support 32-bit UID's. Miami has on the order of 30,000 clients to support, so we decided to start numbering UID's at the next highest order of magnitude, 100,000. Well, Linux can't see UID's bigger than 65,535, so we must either re-do all our UID's (big, big, big pain in the tochus, as thousands of these UID's are currently in use), abandon universal UID's and the ability to NFS share data across platforms, or wait until Linux gets big UID support. I've read that the recent 2.3 kernels actually support large UID's but we've still got to wait for glibc 2.2. There have been hacks, but I really don't want an enterprise depending on Joe's hack.
We are currently deploying a few hundred LDAP servers to administer several thousand email accounts and several thousand Linux NCs (IBM 2800's). We decided to go with Netscape's LDAP server for a few reasons.
A. NDS was only in Beta on Linux at the time.
B. LDAP compatibility. In our test pilot, we did run into some LDAP compatibility issues. They seem to occur in the way in which NDS classes and attributes are mapped to/from LDAP.
C. The Netscape LDAP Server has a simpler and more open design that better fits our work philosphy. NDS relies on a multi-master approach for replication. This has many advantages, but it raises the complexity of the directory network. By staying with a simple Master/Client model for replication and controlling the directory writes (we are fortunate that we are able to do this), we will have a directory service which will be extremely stable and have nearly zero administrative costs. Our design philosophy is basically to keep everything stateless and easily replaceable.
Where the multi-master replication model has the strong advantage is when data in the directory needs to be changed often and at several different locations. In short if you have to change your data often and at several different locations then you are not looking at an optimal directory service.