Date: Fri, 16 Apr 1999 00:40:56 -0700 From: Amancio Hasty <hasty@rah.star-gate.com> Cc: jgrosch@MooseRiver.com, Brett Glass <brett@lariat.org>, chris@calldei.com, "Daniel O'Connor" <doconnor@gsoft.com.au>, chat@FreeBSD.ORG, crh@outpost.co.nz Subject: App Idea: Configuration Message-ID: <199904160740.AAA89424@rah.star-gate.com> In-Reply-To: Your message of "Fri, 16 Apr 1999 00:11:26 PDT." <199904160711.AAA89239@rah.star-gate.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904160740.AAA89424>