Problem while intialising ldapclient - SUN

This is a discussion on Problem while intialising ldapclient - SUN ; Hello all, While I am configuring LDAP client it is throwing " Unable to open filename '/var/ldap/ldap_client_file' for reading (errno=2) " error. ____________________________ root@sunfi46# /usr/sbin/ldapclient manual -a credentialLevel=anonymous -a authenticationMethod=none -a defaultSearchBase=dc=in,dc=com -a "serviceSearchDescriptor=passwd:dc=in,dc=com?sub" -a serviceAuthenticationMethod=pam_ldap:simple -a domainName=in.com -a followReferrals=false ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Problem while intialising ldapclient

  1. Problem while intialising ldapclient

    Hello all,

    While I am configuring LDAP client it is throwing " Unable to open
    filename '/var/ldap/ldap_client_file' for reading (errno=2) " error.

    ____________________________
    root@sunfi46# /usr/sbin/ldapclient manual -a credentialLevel=anonymous
    -a authenticationMethod=none -a defaultSearchBase=dc=in,dc=com -a
    "serviceSearchDescriptor=passwd:dc=in,dc=com?sub" -a
    serviceAuthenticationMethod=pam_ldap:simple -a domainName=in.com -a
    followReferrals=false -a defaultSearchScope=sub -a
    "defaultServerList=180.144.228.11" -a
    preferredServerList=180.144.228.11 -a searchTimeLimit=30
    Unable to load new information from configuration file
    '/var/ldap/ldap_client_file' ('Unable to open filename
    '/var/ldap/ldap_client_file' for reading (errno=2).').
    ____________________________

    Please suugest me to solve this.

    Thanks,
    Velmurugan G


  2. Re: Problem while intialising ldapclient

    gvelmurugan@gmail.com wrote:

    >Hello all,
    >
    >While I am configuring LDAP client it is throwing " Unable to open
    >filename '/var/ldap/ldap_client_file' for reading (errno=2) " error.
    >
    >____________________________
    >root@sunfi46# /usr/sbin/ldapclient manual -a credentialLevel=anonymous
    >-a authenticationMethod=none -a defaultSearchBase=dc=in,dc=com -a
    >"serviceSearchDescriptor=passwd:dc=in,dc=com?sub" -a
    >serviceAuthenticationMethod=pam_ldap:simple -a domainName=in.com -a
    >followReferrals=false -a defaultSearchScope=sub -a
    >"defaultServerList=180.144.228.11" -a
    >preferredServerList=180.144.228.11 -a searchTimeLimit=30
    >Unable to load new information from configuration file
    >'/var/ldap/ldap_client_file' ('Unable to open filename
    >'/var/ldap/ldap_client_file' for reading (errno=2).').
    >
    >

    It's telling you "no such file or directory"

+ Reply to Thread