Re: Some questions about DirectoryServices
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Eb/XxWOrE+s4hGGxRH/WgJMSmdGe3w+5srxTPDlb6pg=; b=UdeU1pkUBnIpU6auktrR/9b+rBuRgB5mkRW4deJnKP5tyXcsVUGyYvwTGDdN2GWlZL 9/7HzQro3Y8ugc/lBqkfx0HEJVg/MzIwsu6AtqTtMmULMPL6+FJs3NVsGgSbUsIc08NJ 5AeFlMaPoziZiIbW3MRWORJ7dWVRjdosnXrGk= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; b=CsOcVrLRQYceSrhRA2TB2OQ97O9IGjcyWs4KwJ3Vp1Xq50W/HooSW5vUljKLEH7RVH GL9m3bCQbvipdP2dpwL2Dh9vu77K7/lk1zM7h4XQ3r5EDxSufQQ/+38yQND3RAoVQ67a aWKq8FRIx06vHO3KLBT71qRxHjjFDtgCzXv18= Oh, right. Well, dsconfigldap is open source, as is the LDAPv3 plugin. They use DS plugin custom calls, in particular eDSCustomCallLDAPv3WriteConfigData may do what you want (seems to let you just supply a new XML configuration data which gets written out to DSLDAPv3PlugInConfig.plist and then the server is told to re-read its configuration). Of course this should be treated with care, since it's kind of all internals (but then, you were already relying on internals for the keys/values of the plugin configuration file). -- Finlay On Wed, Feb 25, 2009 at 7:04 PM, Eli Bach <ebach2@gmail.com> wrote:
On Feb 25, 2009, at 11:01 AM, Finlay Dobbie wrote:
On Tue, Feb 24, 2009 at 8:23 AM, Eli Bach <ebach2@gmail.com> wrote:
1. What is the preferred method to get DirectoryServices to re-read it's configurations files (in particular, it's LDAP configuration). Right now, I do a 'killall -TERM DirectoryService', which does the job, but in a relatively heavyhanded way.
You may have better luck using dsconfigldap.
-- Finlay
From the original message:
On Feb 24, 2009, at 12:23 AM, Eli Bach wrote:
I'm configuring some ldap settings that the dsconfigldap cli tool doesn't support
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/finlay.dobbie%40gmail.com
This email sent to finlay.dobbie@gmail.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Finlay Dobbie