same read and community names

Meilán García Antonio <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

I have a problem with de access control when read community is equal to 
write community, with this simple snmpd.conf

#       sec.name  source          community
com2sec public_sec default private
com2sec private_sec default private

#       groupName    securityModel    securityName
group   public_grp    v1        public_sec
group   public_grp    v2c        public_sec
group   private_grp    v1        private_sec
group   private_grp    v2c        private_sec

#       name        incl/excl    subtree        mask(optional)
view    rview        included        system.sysName
view    rwview        included        system.sysName

#       group        context    sec.model    sec.level    prefix    
read    write    notif
access    public_grp    ""    any        noauth        exact    rview    
none    rview
access    private_grp    ""    any        noauth        exact    
rview    rwview    rview


if I try to set a variable with the same public and private communty's 
name (in this case both are 'private') I get from de agent that I can 
not to access to this MIB data.

If I use different read and community string I can do the set perfectly. 
Is normal ? can I not use the same string for both communities?

thank you in advance,
Antonio.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.