unix directory and Novell NDS or MS Active Directory

unix directory and Novell NDS or MS Active Directory

Post by InfoTe » Fri, 21 Jun 2002 02:52:55



With Novell's NDS or MS Active Directory users log into the Tree (NDS)
or Domain (MS).  Does a Unix user log into one server at a time or is
there a way Unix users can log into multiple servers simultaneously?
 
 
 

unix directory and Novell NDS or MS Active Directory

Post by p.. » Fri, 21 Jun 2002 03:13:28



> With Novell's NDS or MS Active Directory users log into the Tree (NDS)
> or Domain (MS).  Does a Unix user log into one server at a time or is
> there a way Unix users can log into multiple servers simultaneously?

Define 'log into'

--
Peter H?kanson        
        IPSec  Sverige      ( At Gothenburg Riverside )
           Sorry about my e-mail address, but i'm trying to keep spam out,
           remove "icke-reklam" if you feel for mailing me. Thanx.

 
 
 

unix directory and Novell NDS or MS Active Directory

Post by Nicholas Bachman » Fri, 21 Jun 2002 06:49:45



> With Novell's NDS or MS Active Directory users log into the Tree (NDS)
> or Domain (MS).  Does a Unix user log into one server at a time or is
> there a way Unix users can log into multiple servers simultaneously?

If you're talking about a centralized authentication system, most Unix
flavors can use LDAP (which NDS and AD are) for password verification,
along with other solutions like NIS(+), Kerberos, Samba, etc.  Note that
will all but NIS/NIS+, the users' passwd data (home directory, UID,
etc.) is not sent by the authentication system (although the Unix
snap-in(1) for AD may be able to, I'm not sure) so either something like
Hesoid or /etc/passwd must be used.

(1) Is that just a retarded name or what?  Doesn't MS put things like
this through focus groups to weed out dumb, potentially misconstrued, names?

--
+ http://www.not-real.org/~nick                                   +
+ How valuable is my contribution? Share your feedback at Affero: +
+ http://svcs.affero.net/rm.php?r=nick                            +

 
 
 

unix directory and Novell NDS or MS Active Directory

Post by Liam Cunningha » Fri, 21 Jun 2002 23:30:10



> With Novell's NDS or MS Active Directory users log into the Tree (NDS)
> or Domain (MS).  Does a Unix user log into one server at a time or is
> there a way Unix users can log into multiple servers simultaneously?

The short answer is NO and yes. The long answer is that you have to
understand what Novell and MS are doing with the directory services and
how that might me applied to UNIX.
When you authenticate to NDS ( and presumably ActiveDir ) you are logging
in to an authentication server which verifies and stores your
credentials. When you then attempt to access a service on a particular
server, that server checks with the authentication server to verify who
you claim to be. This happens in the backgound and in such a way that
your PC does not have to cache your Login ID and password and you do not
get an annoying login prompt. Any application written with the appropriate
SDK can take advantage of this authentication. Novell provides a UNIX client
(Solaris I think) that will work with NDS ( now eDirectory ).
There are ways to duplicate this functionality on UNIX. The remote login
facility (rlogin) is one, although it is not designed to provide
assurances of security. You could also look into LDAP and kerberos which
I believe are the underlying technologies used be MS and Novell. In
addition, both LDAP and NIS can be used to centrally manage user accounts.
It really amounts to clearly defining what, specifically, you are trying to
accomplish. Logging into multiple UNIX systems simultaneously might not
make sense if you are talking about telnet sessions ( at least, not to me
), but might make sense and be quite trivial with other services.
 
 
 

1. LDAP and MS Active Directory

Hi.  I'm trying to get Linux working with a Windows 2000 Server; in
particular, I'm trying to get it working with Active Directory.

I _basically_ have it working right now.  I've set up Heimdal Kerberos
5 so that I can use kinit to get a TGT from the Win2K KDC.  I've set
up the OpenLDAP tools so they know to look at the 2K machine.  I can
do, e.g., `ldapsearch -x' and get (correct) information.

The problem I'm having now is that I can't authenticate to AD, and as
a result it won't feed me complete information.  I can change the ACLs
on the 2K box so that "everyone" has access and then everything works
as I want.  But that obviously isn't a satisfactory long-term
solution.

So basically what I need is a step-by-step, cookbook-style explanation
of how the hell to get Kerberos working with the OpenLDAP tools.
There is a Kerberos option listed in the man page, but that's only
Kerberos v4 (Win2K requires v5).  There is a whole bunch of
gobbledygook about SASL which makes no sense to me, but whenever I try
to use it, it says:

  SASL/GSSAPI authentication started
  ldap_sasl_interactive_bind_s: Local error

The appropriate plugins for SASL are installed (i.e., the Heimdal
Kerberos one).  But I can't get the sample-server and -client programs
to work, either:

  Choosing best mechanism from: GSSAPI
  sample-client: Starting SASL negotiation: generic failure

Note that these are quite possibly the two worst error messages I have
ever seen.

I'm beginning to suspect that part of my problem here is that I have
no idea what SASL actually is.

I just want to use Kerberos to authenticate to an LDAP server.
Kerberos works on its own; LDAP works on its own; but they don't work
together.  Is there anything else I can try?  FWIW, I'm running
Debian; it's possible that I need some support that's not compiled
in.  (But I have no idea what support I would need, so please tell
me.)

--

"I woke up this morning and realized what the game needed: pirates,
pimps, and gay furries."  - Rich "Lowtax" Kyanka

2. IP Spoofing from inside own network.

3. nss_ldap / ms active directory password authentication

4. Newsprint 2.5B problem

5. How apache on unix authenticate user using Active Directory?

6. SB AWE 64 OEM

7. How to automate ftp from Windows NT directory to UNIX directory

8. What does #!/bin/sh do in a 2.X script?

9. FreeBSD Unix, Kerberos 5, and Windows 2000 Active Directory

10. UNIX directory tree to an MSDOS directory

11. User Authentication on a UNIX- or NT-based Web Server via Novell NDS

12. Problems with Heimdal, OpenLDAP, Cyrus SASL, GSSAPI, and Active Directory

13. cd to a directory with a whitespace in the directory name