Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-23 Thread David Robillard
 Sorry, I am pretty new with LDAP too :) I have no documentation beside
 the one I found from Googling around.

Hi Olivier,

There are a few good books about LDAP out there, but most of them are
quite old unfortunately. Anyhow, I found that reading LDAP System
Administration by Gerald Carter from O'Reilly was a good help in
understanding LDAP, deploying OpenLDAP and configuring applications to
fetch data from the LDAP directory (i.e. sendmail, replace NIS, PAM,
FTP, Apache, DNS, etc). Get more info at
http://www.oreilly.com/catalog/ldapsa/index.html

For a more in depth look into LDAP itself, get your hands on
Understanding and Deploying LDAP Directory Services by Timothy A.
Howes  al. from Addison-Wesley. Again, it's rather old, but will
still help your understanding of LDAP quite a lot. Check it out on
Amazon at 
http://www.amazon.ca/Understanding-Deploying-LDAP-Directory-Services/dp/0672323168/ref=wl_itt_dp/702-7398595-5616835?ie=UTF8coliid=IDX1KGHZ13UXHcolid=CWBQ1L7F8P6P

Next is the Oracle Internet Directory Administrator's Guide document
which covers LDAP very well, just don't read the Oracle specific stuff
if you're not interested. You can reach this doc for free at
http://download-east.oracle.com/docs/cd/B14099_11/idmanage.1012/b14082/toc.htm

Finally, for a more OpenLDAP centric book, look for OpenLDAP by
Example: Practical Exercises in LDAP Directory Deployment by John H.
Terpstra  Benjamin Coles from Prentice Hall PTR. Contrary to the
other books, this one is not yet published (as you can see from
http://www.amazon.ca/OpenLDAP-Example-Practical-Exercises-Deployment/dp/0131488732/ref=wl_itt_dp/702-7398595-5616835?ie=UTF8coliid=I1YEUBXAR8YIE3colid=CWBQ1L7F8P6P
;) Seems quite promising. We'll see

Good luck,

David
-- 
David Robillard
UNIX systems administrator  Oracle DBA
CISSP, RHCE  Sun Certified Security Administrator
Montreal: +1 514 966 0122
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-23 Thread Lisandro Grullon

 
The concept of openLDAP and its integration with FreeBSD seems pretty broad and 
somewhat overwelm, I found a hint link, yet I am looking for a more specific 
article that would elaborate in depth the aspects of openLDAP and FreeBSD at a 
corporate level.
 
http://www.bsdforums.org/forums/showthread.php?t=49221
 
Thank in advance for your help and if see anything relate to this let me/us 
know.  Date: Thu, 23 Aug 2007 09:21:09 +0700 From: [EMAIL PROTECTED] To: 
[EMAIL PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: Configuring 
OpenLDAP on FreeBSD 6.2 Release, Problems.   I think it may be a problem 
there, do you have any how to for that configur=  ation, in case I can double 
check. Off course besides the info provide at o=  penldap.org. Thanks in 
advance.  Sorry, I am pretty new with LDAP too :) I have no documentation 
beside the one I found from Googling around.  Olivier 
___ freebsd-questions@freebsd.org 
mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To 
unsubscribe, send any mail to [EMAIL PROTECTED]
_
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-23 Thread Ivan \Rambius\ Ivanov
Hello,

On 8/23/07, David Robillard [EMAIL PROTECTED] wrote:
  Sorry, I am pretty new with LDAP too :) I have no documentation beside
  the one I found from Googling around.

 Hi Olivier,

 There are a few good books about LDAP out there, but most of them are
 quite old unfortunately. Anyhow, I found that reading LDAP System
 Administration by Gerald Carter from O'Reilly was a good help in
 understanding LDAP, deploying OpenLDAP and configuring applications to
 fetch data from the LDAP directory (i.e. sendmail, replace NIS, PAM,
 FTP, Apache, DNS, etc). Get more info at
 http://www.oreilly.com/catalog/ldapsa/index.html

I really recommend this book. Its initial chapters helped me get
openldap up and running just for a couple of hours.

Since I am also interested in programming and scripting with ldap I
also found helpful Deploying OpenLDAP by Tom Jackiewicz
http://www.amazon.com/gp/product/1590594134/105-1483603-1926857. It
contains a chapter discussing the LDAP APIs for a couple of languages.

Regards
Rambius

-- 
Tangra Mega Rock: http://www.radiotangra.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-22 Thread Olivier Nicole
 I think it may be a problem there, do you have any how to for that configur=
 ation, in case I can double check. Off course besides the info provide at o=
 penldap.org. Thanks in advance.

Sorry, I am pretty new with LDAP too :) I have no documentation beside
the one I found from Googling around.

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-21 Thread Lisandro Grullon
I think it may be a problem there, do you have any how to for that 
configuration, in case I can double check. Off course besides the info provide 
at openldap.org. Thanks in advance.

 Date: Tue, 21 Aug 2007 08:38:55 +0700 From: [EMAIL PROTECTED] To: [EMAIL 
 PROTECTED] CC: freebsd-questions@freebsd.org Subject: Re: Configuring 
 OpenLDAP on FreeBSD 6.2 Release, Problems.   I am a newcomer to the 
 FreeBSD world. I am trying to implement a  openLDAP installation. It all 
 went ok with the SASL and SERVER  install in conjunction with BDB, yet when 
 I try starting the service  using /usr/local/libexec/slapd or 
 /usr/local/etc/rc.d/slapd  start, the service does not start. I checked 
 ps -axww | grep  slapd and nothing is showing. After checking cat  
 /var/log/debug.log I can see the following output in stdout.Beside 
 enabling slapd in /etc/rc.conf, did you configure openldad in 
 /usr/local/etc/openldad? I doubt it will start before you configure it 
 properly.  Best regards,  Olivier 
 ___ 
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, 
 send any mail to [EMAIL PROTECTED]
_
See what you’re getting into…before you go there
http://newlivehotmail.com/?ocid=TXT_TAGHM_migration_HM_viral_preview_0507___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Lisandro Grullon



 From: [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: 
 Configuring OpenLDAP on FreeBSD 6.2 Release, Problems. Date: Mon, 20 Aug 
 2007 22:26:26 +0200 CC: [EMAIL PROTECTED]  On Monday 20 August 2007 17:21, 
 Lisandro Grullon wrote:  Hi All,  I am a newcomer to the FreeBSD world. I 
 am trying to implement a openLDAP  installation. It all went ok with the 
 SASL and SERVER install in  conjunction with BDB, yet when I try starting 
 the service using  /usr/local/libexec/slapd or /usr/local/etc/rc.d/slapd 
 start, the  service does not start.  This may be a very silly question, 
 but have you enabled slapd in /etc/rc.conf?  The startup scripts in 
 /etc/rc.d and /usr/local/etc/rc.d won't run unless the  associated control 
 variable is set to YES in /etc/rc.conf. To find the  right variable and 
 its current setting,
 
This is what I have added in my current rc.conf. I think it goes according to 
the guidelines of the Manual at openLDAP.
 
# The following line will enable slapd and all its 
dependeciesslapd_enable=YESslapd_flags='-h 
ldapi://%2fvar%2frun%2fopenldap%2fldapi/ 
ldap://0.0.0.0/;'slapd_sockets=/var/run/openldap/ldapi
I am not 100% sure where my mistake is hence the log is not showing me 
anything, this is the first time for me playing with openLDAP.
I am starting to worder if it has something to do with the LDIF file or 
configuration of the database. Throw me a bone if you have one.
  /usr/local/etc/rc.d/slapd rcvar  which in this case tells us the control 
  variable is $slapd_enable,  so /etc/rc.conf needs to contain  
  slapd_enable=YES  As a bonus, if this isn't set but you want to do a 
  one-off start or stop (for  example during testing), you can use onestart 
  and onestop:  /usr/local/etc/rc.d/slapd onestart 
 
I tried following these guidelines and still getting that silly error by syslog 
which doesn't give a clue of where the mistake is located. 
This is the output of debug.log
 
Aug 20 16:24:21 sce2 slapd[72618]: @(#) $OpenLDAP: slapd 2.4.3alpha (Oct 18 
2006 03:27:53) $[EMAIL 
PROTECTED]:/work/a/ports/net/openldap24-server/work/openldap-2.4.3alpha/servers/slapdAug
 20 16:24:21 sce2 slapd[72618]: connections_destroy: nothing to destroy.Aug 20 
16:24:21 sce2 slapd[72618]: slapd stopped.
I am even more confuse by this whole thing. Thanks in advance for any help you 
can provide me with.
 which ignores the control variable.  Jonathan
_
Find a local pizza place, movie theater, and more….then map the best route!
http://maps.live.com/default.aspx?v=2ss=yp.bars~yp.pizza~yp.movie%20theatercp=42.358996~-71.056691style=rlvl=13tilt=-90dir=0alt=-1000scene=950607encType=1FORM=MGAC01___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Jonathan and Jeannie
On Monday 20 August 2007 17:21, Lisandro Grullon wrote:
 Hi All,
 I am a newcomer to the FreeBSD world. I am trying to implement a openLDAP
 installation. It all went ok with the SASL and SERVER install in
 conjunction with BDB, yet when I try starting the service using
 /usr/local/libexec/slapd  or  /usr/local/etc/rc.d/slapd start, the
 service does not start.

This may be a very silly question, but have you enabled slapd in /etc/rc.conf?

The startup scripts in /etc/rc.d and /usr/local/etc/rc.d won't run unless the 
associated control variable is set to YES in /etc/rc.conf. To find the 
right variable and its current setting,

/usr/local/etc/rc.d/slapd rcvar

which in this case tells us the control variable is $slapd_enable, 
so /etc/rc.conf needs to contain

slapd_enable=YES

As a bonus, if this isn't set but you want to do a one-off start or stop (for 
example during testing), you can use onestart and onestop:

/usr/local/etc/rc.d/slapd onestart

which ignores the control variable.

Jonathan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Configuring OpenLDAP on FreeBSD 6.2 Release, Problems.

2007-08-20 Thread Olivier Nicole
 I am a newcomer to the FreeBSD world. I am trying to implement a
 openLDAP installation. It all went ok with the SASL and SERVER
 install in conjunction with BDB, yet when I try starting the service
 using /usr/local/libexec/slapd or /usr/local/etc/rc.d/slapd
 start, the service does not start. I checked ps -axww | grep
 slapd and nothing is showing. After checking cat
 /var/log/debug.log I can see the following output in stdout.
 

Beside enabling slapd in /etc/rc.conf, did you configure openldad in
/usr/local/etc/openldad? I doubt it will start before you configure it
properly.

Best regards,

Olivier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]