Bug 188931

Summary: Use system Net-SNMP libraries on Linux systems
Product: [Retired] 389 Reporter: Nathan Kinder <nkinder>
Component: Security - GeneralAssignee: Nathan Kinder <nkinder>
Status: CLOSED CURRENTRELEASE QA Contact: Viktor Ashirov <vashirov>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 16:37:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 152373, 208654, 240316    
Attachments:
Description Flags
CVS Diffs none

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