Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Jul 2009 10:17:55 +0800
From:      Ruel Luchavez <ruel.freebsd@gmail.com>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Samba PDC with LDAP backend
Message-ID:  <ee9dc2b40907171917k1089ea27n22d0b9621c083b7@mail.gmail.com>
In-Reply-To: <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th>
References:  <ee9dc2b40907171829r5afbc885u1f84b2054ff4f5e5@mail.gmail.com> <200907180207.n6I27ZDQ071155@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 18, 2009 at 10:07 AM, Olivier Nicole <on@cs.ait.ac.th> wrote:

> Hi,
>
> > >>when I look at the smblap_tools.pm at line 322 this is what it look
> likes
> > and sorry I cant understand the code:
> >
> > else {
> >         $ldap_master = Net::LDAP->new(   <--This is line 322
> >             "$config{masterLDAP}",
> >             port    => "$config{masterPort}",
> >             version => 3,
> >             timeout => 60,
>
> Are you sure about your configuration of smbldap?
>
> Are you sure ldap is running? Have you tried a manual access through
> ldapsearch(1)?
>
> Olivier
>

Hello,
Im sure with my smblap..why?Is there something wrong with my config?

And yes ldap is running
#ps -aux | grep slap

ldap   1522  0.0  6.6 341992  7756  ??  Is   10:15AM   0:00.08
/usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fopenldap%2fldapi/ldap://
0.0.0.0/ldap://192.168.5.0/ldap://127.0

root   1678  0.0  0.2   388   268  p0  R+   10:20AM   0:00.00 grep slap


Its running right?

I also tried the ldapsearch and it says it cant contact the ldap server
#ldapsearch

ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
any more ideas?

thanks for your reply

-- 
Ruel Luchavez
FreeBSD user since 6.0
Happy BSD use...
Country:Philippines
Zip Code:8000



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ee9dc2b40907171917k1089ea27n22d0b9621c083b7>