Can a Solaris 9 server running DS 5.2 server be its own native LDAP client?

Can a Solaris 9 server running DS 5.2 server be its own native LDAP client?

Post by Torsten Kirschne » Sat, 13 Sep 2003 06:49:06



Hi,

is it true that a Solaris 9 server running DS 5.2 server cannot
be its own native LDAP client?
I.e. am I supposed to run a dedicated, user- and applicationless
server for this, or actually at least two for redundancy?

We were thinking of migrating to LDAP/DS for all naming services,
but if the above is true, it currently seems a bit blown out of
proportion for just a small group of servers.

    TIA
        Torsten

 
 
 

Can a Solaris 9 server running DS 5.2 server be its own native LDAP client?

Post by Mike Delane » Sat, 13 Sep 2003 09:14:41




:  Hi,
:  
:  is it true that a Solaris 9 server running DS 5.2 server cannot
:  be its own native LDAP client?
:  I.e. am I supposed to run a dedicated, user- and applicationless
:  server for this, or actually at least two for redundancy?

In theory, yes.  

:  We were thinking of migrating to LDAP/DS for all naming services,
:  but if the above is true, it currently seems a bit blown out of
:  proportion for just a small group of servers.

IIRC, the major problem with the LDAP server being its own client is
that the Solaris ldap_cachemgr daemon gets rather bent out of shape
if it can't talk to the LDAP server immediately upon starting - and
the default configuration has the cache manager starting well before
Directory Server at boot time.  (NIS on the other hand started both
client and server in the same script.)

You might be able to achive a tolerable setup by inserting an init script
into the boot order immediately after Directory Server starts to restart
ldap_cachemgr, and setting nsswitch.conf on your LDAP server(s) to use
files before ldap on all services.  You'd have to investigate that, and
determine for your self if you can live with any of the potential failure
modes you might find in such a setup.

However, bear in mind that you've probably already got one or more services
in your network that could stand to run on a system that wasn't an LDAP
(or NIS) client (and probably could benifit from not having users able to
login to the machine).  DNS, DHCP, and NTP spring readily to mind.

 
 
 

Can a Solaris 9 server running DS 5.2 server be its own native LDAP client?

Post by Torsten Kirschne » Thu, 18 Sep 2003 05:15:28






> :  is it true that a Solaris 9 server running DS 5.2 server cannot
> :  be its own native LDAP client?
> :  I.e. am I supposed to run a dedicated, user- and applicationless
> :  server for this, or actually at least two for redundancy?

> In theory, yes.  

> :  We were thinking of migrating to LDAP/DS for all naming services,
> :  but if the above is true, it currently seems a bit blown out of
> :  proportion for just a small group of servers.

> IIRC, the major problem with the LDAP server being its own client is
> that the Solaris ldap_cachemgr daemon gets rather bent out of shape
> if it can't talk to the LDAP server immediately upon starting - and
> the default configuration has the cache manager starting well before
> Directory Server at boot time.  (NIS on the other hand started both
> client and server in the same script.)

Thanks. That explains something. I am still somewhat disappointed, though.
It appeared to me that DS is the next NIS, but it doesn't really say
anywhere in big, red flashing letters that a dedicated server is required.

Quote:> You might be able to achive a tolerable setup by inserting an init script
> into the boot order immediately after Directory Server starts to restart
> ldap_cachemgr, and setting nsswitch.conf on your LDAP server(s) to use
> files before ldap on all services.  You'd have to investigate that, and
> determine for your self if you can live with any of the potential failure
> modes you might find in such a setup.

We are paying a Sun partner PS by the hour to set up our systems. I somewhat
object to the idea of spending several thousand dollars and risking days of
downtime to figure this out. Frankly, I expect Sun to document and certify
some workable setup.

Once I get at least two Solaris machines at home, I will toy around along
the lines you indicate. It might just work.

Having seen DS 5.2, it seems nice once its working. Obviously, we're not
doing anything fancy, but we'd like to apply DS whereever possible.

Quote:> However, bear in mind that you've probably already got one or more services
> in your network that could stand to run on a system that wasn't an LDAP
> (or NIS) client (and probably could benifit from not having users able to
> login to the machine).  DNS, DHCP, and NTP spring readily to mind.

DNS, DHCP, NTP, yeah, those would be nice. We don't have those. Seriously.
I am amazed our open systems platform is working at all. OK, the PC people
have DHCP, but other than that: nothing. No NIS, no NFS, nothing.

Well, thanks ayway.

 
 
 

1. Solaris Native LDAP Client + OpenLDAP Server + SSL

Howdy,

I am in the process of trying to set up the native LDAP client on a
Solaris 10 (vintage 01/06) system to talk to an OpenLDAP (version
2.2.13) server running on RedHat 4.0 AS. The OpenLDAP server is
configured/verified to support SSL and has been happily servicing
requests from other RedHat systems in the infrastructure for a number
of weeks now. Following the documents from a number of sources
(including Gary Tay's most excellent ones), I've got the Solaris box
doing queries (id, getent, etc.)in cleartext to the LDAP server
(verified with a sniffer). I also have the cert7.db and key3.db files
set up and can do an encrypted ldapsearch (verified with a sniffer). So
I've got the encryption piece working and I've got the LDAP piece
working, but for some reason I am unable to get them to work together.
Is there some flag I need to set or some configuration file option
needed to force the LDAP client to use SSL for queries? FWIW, I've
included my ldap_client_file below.

NS_LDAP_FILE_VERSION= 2.0
NS_LDAP_SERVERS= server1.example.com, server2.example.com
NS_LDAP_SEARCH_BASEDN= dc=example,dc=com
NS_LDAP_AUTH= none
NS_LDAP_SEARCH_REF= FALSE
NS_LDAP_SEARCH_SCOPE= one
NS_LDAP_SEARCH_TIME= 30
NS_LDAP_CACHETTL= 3600
NS_LDAP_SERVICE_SEARCH_DESC= passwd: ou=People,dc=example,dc=com?one
NS_LDAP_SERVICE_SEARCH_DESC= group: ou=Group,dc=example,dc=com?one
NS_LDAP_SERVICE_SEARCH_DESC= hosts: ou=Hosts,dc=example,dc=com?one
NS_LDAP_BIND_TIME= 10

2. Gnome doesn't switch from one app to other on RH 6

3. LDAP (Directory Server 5.2) - How do I increase the client cache?

4. Problems with rsh, .rhosts and hosts.equiv (Maybe...)

5. solaris ldap client and AD ldap server

6. opening ethernet as a raw device

7. Solaris * LDAP client and iPlanet DS 4.12

8. Problem using ftp with SCO Unix 4.2

9. Pop3 server dies when ldap server running

10. NFS problem - Solaris client, RH 5.2 server

11. Sun-sshd+ldap with solaris 10 native client library?

12. HOWTO (DRAFT): Solaris 8 LDAP Client/Server Setup

13. solaris ldap client to linux openldap server