From owner-freebsd-chat Fri Apr 16 0:44:30 1999 Delivered-To: freebsd-chat@freebsd.org Received: from rah.star-gate.com (rah.star-gate.com [209.249.129.138]) by hub.freebsd.org (Postfix) with ESMTP id D11BF14FB7 for ; Fri, 16 Apr 1999 00:44:27 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.9.1/8.8.8) with ESMTP id AAA89424; Fri, 16 Apr 1999 00:40:56 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199904160740.AAA89424@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 Cc: jgrosch@MooseRiver.com, Brett Glass , chris@calldei.com, "Daniel O'Connor" , chat@FreeBSD.ORG, crh@outpost.co.nz Subject: App Idea: Configuration In-reply-to: Your message of "Fri, 16 Apr 1999 00:11:26 PDT." <199904160711.AAA89239@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Apr 1999 00:40:56 -0700 From: Amancio Hasty Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Proposal: Use ldap to build the foundation for configuration of FreeBSD systems and eliminate silly RC scripts. What is LDAP? You can find out at: http://www.openldap.org openldap compiles with no fuzz on Freebsd and there is an older version available in port/net/ldap. We can start real small like creating an ldap schema for email accounts . Netscape has released their java api for ldap and the ldap package comes with a C api;perhaps, there is C++ api for ldap for C++ fans. I think it would be cool to have a yellow pages of freebsd hackers around the world o=freebsd, c=world 8) To help the group get started on using ldap , try building the ports version or download ldap from www.openldap.org. What follows is a simple configuration. Here is my slapd.conf include /usr/local/etc/ldap/slapd.at.conf include /usr/local/etc/ldap/slapd.oc.conf schemacheck off referral ldap://ldap.itd.umich.edu ####################################################################### # ldbm database definitions ####################################################################### database ldbm suffix "o=star-gate.com, c=US" directory /usr/tmp/ldap rootdn "cn=root, o=star-gate.com, c=US" roopw ****** The start of my ldif file , myldif: dn:o=star-gate.com, c=US o:star-gate.com objectclass:organization dn:cn=Amancio Hasty, o=star-gate.com, c=US cn:Amancio Hasty sn:Hasty mail:hasty@star-gate.com telephoneNumber:+1 408 530 1915 objectclass:person To "batch" build ldap entries: ldif2ldbm -i myldif -i slapd.conf Here is my ldap.conf to store default values for my ldap server: cat ldap.conf # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable. BASE o=star-gate.com, c=US #BASE dc=OpenLDAP, dc=Org HOST localhost #HOST ldap.openldap.org ldap-master.openldap.org:666 #PORT 389 #SIZELIMIT 12 #TIMELIMIT 15 Lets see if it works: ../../bin/ldapsearch "sn=hasty" dn: cn=Amancio Hasty, o=star-gate.com, c=US cn: Amancio Hasty sn: Hasty mail: hasty@star-gate.com telephonenumber: +1 408 530 1915 objectclass: person Cool, now I can have a networked email address book which I can access with Netscape's emailer. Apparently sendmail has has patches for ldap so a couple of tools begin to be easily manageable. For unix command-line fans they can always use ldap's programs: ldapsearch , ldapmodify, etc... This is the beginning's of an ldap email schema editor and it is written in java. http://www.iit.edu/~gawojar/ldap/download.html Sounds like the beginnings of a nice project and all of you are invited to play. I need database schema designers, database/file system designers, GUI people , application writers, documentation people, web designers, etc... -- Amancio Hasty hasty@star-gate.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message