Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

createUser and com2sec directives in snmpd.conf for SNMP v3

269 views
Skip to first unread message

Yves Robin

unread,
Jan 10, 2003, 4:10:51 AM1/10/03
to
Hi Dave,

Here are the configuration options :

CONFIGURE_ARGS= --with-defaults
CONFIGURE_ARGS+= --prefix=/usr
CONFIGURE_ARGS+= --with-cc="${CC}"
CONFIGURE_ARGS+= --with-mib-modules="host ucd-snmp/dlmod"
CONFIGURE_ARGS+= --with-out-mib-modules="snmpv3 snmpv3mibs"
CONFIGURE_ARGS+= --disable-privacy
CONFIGURE_ARGS+= --without-openssl
CONFIGURE_ARGS+= --with-cflags="-Os -mcpu=i486 -march=i486"
#CONFIGURE_ARGS+= --enable-mini-agent=yes

Yves


> -----Original Message-----
> From: Dave Shield [mailto:D.T.S...@csc.liv.ac.uk]
> Sent: Thursday, January 09, 2003 5:39 PM
> To: Yves Robin
> Cc: net-snmp-users
> Subject: Re: createUser and com2sec directives in snmpd.conf for SNMP v3
>
>
>
> > 1) the following error when running snmpd -f -L
> >
> > /var/ucd-snmp/snmpd.conf: line 8: Warning: Unknown token: createUser.
> > UCD-SNMP version 4.2.3
>
> Ah! That's not a good sign :-(
>
> How did you configure the package initially?
> I.e. what flags did you give to "configure" ?
>
> Dave


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Net-snmp-users mailing list
Net-snm...@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Yves Robin

unread,
Jan 10, 2003, 7:21:12 AM1/10/03
to
I have suppressed the --with-out-mibs-modules="snmpv3 snmpv3mibs"
and --without-openssl but now i am facing following linking errors.

.libs/libucdmibs.so: undefined reference to `init_snmpEngine'
.libs/libucdmibs.so: undefined reference to `init_usmStats'
.libs/libucdmibs.so: undefined reference to `init_snmpMPDStats'
.libs/libucdmibs.so: undefined reference to `init_usmUser'

Dave Shield

unread,
Jan 10, 2003, 7:58:06 AM1/10/03
to
> Here are the configuration options :

> CONFIGURE_ARGS+= --with-out-mib-modules="snmpv3 snmpv3mibs"

Well that explains why the agent doesn't understand 'createUser' then.
This directive is handled by the module "snmpv3/usmUser.c"

If you want you use SNMPv3 facilities, you'll need to include the snmpv3
group (i.e. 'snmpv3mibs')

In response to your later message, try "make clean; make".
I've got a feeling that the mibgroup Makefile doesn't always
include a complete dependency tree.

0 new messages