Samba PDC with LDAP backend
    Ruel Luchavez 
    ruel.freebsd at gmail.com
       
    Sat Jul 18 02:17:57 UTC 2009
    
    
  
On Sat, Jul 18, 2009 at 10:07 AM, Olivier Nicole <on at 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
    
    
More information about the freebsd-questions
mailing list