Results 1 to 5 of 5

Thread: openldap

  1. #1
    Join Date
    May 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    openldap

    Hi,
    i m using RHEL5.5 and configure OPENLDAP . so plz anyone help me and share thd doc

    Ranjeet




  2. #2
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Quote Originally Posted by ranjeet_azad View Post
    Hi,
    i m using RHEL5.5 and configure OPENLDAP . so plz anyone help me and share thd doc

    Ranjeet
    Hi Ranjeet,

    Please follow link for openldap setup

    people.math.gatech.edu / ~dijuremo / ldap / openldapframes.html

    Thanks,

    Abhijeet

  3. #3
    Join Date
    May 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi abhijeet
    i m using RHEL5.5 and i want to generate log file for openldap server. so plz tell me what is the procedure......


    Regds
    Ranjeet

  4. #4
    Join Date
    May 2012
    Posts
    2
    Thanks
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Logging in OpenLDAP

    Quote Originally Posted by ranjeet_azad View Post
    Hi abhijeet
    i m using RHEL5.5 and i want to generate log file for openldap server. so plz tell me what is the procedure......


    Regds
    Ranjeet
    Hello Ranjeet,

    If you do, you will get info about loglevel

    > man slapd.conf
    ...
    loglevel <integer>
    Specify the level at which debugging statements and
    operation statistics should be syslogged (currently
    logged to the syslogd(8) LOG_LOCAL4 facility). Log
    levels are additive, and available levels are:
    1 trace function calls
    2 debug packet handling
    4 heavy trace debugging
    8 connection management
    16 print out packets sent and received
    32 search filter processing
    64 configuration file processing
    128 access control list processing
    256 stats log
    connections/operations/results
    512 stats log entries sent
    1024 print communication with shell
    backends
    2048 entry parsing


    ...

    To configure,

    Add following line in you slapd.conf

    ...
    loglevel <with_log_level_number>
    ...


    Add this line to /etc/syslog.conf, so that stuff will actually go to a log, /var/log/slapd.log:

    >cat /etc/syslog.conf
    ...
    # save OpenLDAP log
    local4.* /var/log/ldap.log
    ...


    Restart slapd and syslogd:

    sudo /sbin/service syslog restart
    sudo /sbin/service ldap restart



    Grep whatever you want to from ldap.log file.


    Thanks,

    Abhijeet
    Last edited by Abhijeet; 06-05-2012 at 12:50 AM. Reason: Formatting was wrong

  5. The Following User Says Thank You to Abhijeet For This Useful Post:

    ranjeet_azad (06-13-2012)

  6. #5
    Join Date
    May 2012
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thx Abhijeet
    Now log file is generated

    Regds
    Ranjeet

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
           








Check out Linux Central for Linux software and other goodies!





» Stats

Members: 3,585
Threads: 3,921
Posts: 9,448
Top Poster: Fred (1,486)
Welcome to our newest member, Nick Vinson

» Links



Powered by vBadvanced CMPS