Bug 188931 - Use system Net-SNMP libraries on Linux systems
Summary: Use system Net-SNMP libraries on Linux systems
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Security - General
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nathan Kinder
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 152373 fds103trackingbug 240316
TreeView+ depends on / blocked
 
Reported: 2006-04-13 18:45 UTC by Nathan Kinder
Modified: 2015-12-07 16:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-07 16:37:11 UTC
Embargoed:


Attachments (Terms of Use)
CVS Diffs (10.60 KB, patch)
2006-04-13 19:22 UTC, Nathan Kinder
no flags Details | Diff

Description Nathan Kinder 2006-04-13 18:45:39 UTC
We currently package a set of the Net-SNMP 5.2.1 libraries with Directory Server
for our SNMP subagent (ldap-agent).  Our subagent is built against that version
of Net-SNMP as well, which means that it is not compatible with earlier Net-SNMP
versions.  This means that one would need to install a non-system Net-SNMP
package on RHEL4 (which uses Net-SNMP 5.1.2 currently) to use the subagent.

We should be building against the system Net-SNMP libraries and just using them
from /usr/lib instead of packaging them.

Comment 1 Nathan Kinder 2006-04-13 19:22:22 UTC
Created attachment 127721 [details]
CVS Diffs

This makes Linux builds use the system Net-SNMP.  There were some minor changes
required to make the subagent work with NetSNMP v5.1.  These were mainly small
API changes.  I also found that I was getting lots of callback log messages
with Net-SNMP v5.1 that didn't happen in v5.2.	These messages were at the
LOG_INFO level, which was our default.	I changed our default to LOG_WARN and
changed some of our own logging statements from LOG_INFO to LOG_WARN as well.

Comment 2 Nathan Kinder 2006-04-13 23:06:59 UTC
Checked into ldapserver.  Reviewed by Noriko and Rich (thanks!).

Checking in components.mk;
/cvs/dirsec/ldapserver/components.mk,v  <--  components.mk
new revision: 1.49; previous revision: 1.48
done
Checking in internal_comp_deps.mk;
/cvs/dirsec/ldapserver/internal_comp_deps.mk,v  <--  internal_comp_deps.mk
new revision: 1.41; previous revision: 1.40
done
Checking in ldap/servers/snmp/ldap-agent.c;
/cvs/dirsec/ldapserver/ldap/servers/snmp/ldap-agent.c,v  <--  ldap-agent.c
new revision: 1.10; previous revision: 1.9
done
Checking in ldap/servers/snmp/ldap-agent.h;
/cvs/dirsec/ldapserver/ldap/servers/snmp/ldap-agent.h,v  <--  ldap-agent.h
new revision: 1.8; previous revision: 1.7
done
Checking in ldap/servers/snmp/main.c;
/cvs/dirsec/ldapserver/ldap/servers/snmp/main.c,v  <--  main.c
new revision: 1.8; previous revision: 1.7
done


Note You need to log in before you can comment on or make changes to this bug.