[Devel] [ openser-Documentation-1364150 ] Regex processing of group membership

SourceForge.net noreply at sourceforge.net
Tue Nov 22 22:29:14 CET 2005


Documentation item #1364150, was opened at 2005-11-22 21:19
Message generated for change (Comment added) made by goestelecom
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=782960&aid=1364150&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
Status: Open
Resolution: None
Priority: 5
Submitted By: Norman Brandinger (goestelecom)
Assigned to: Nobody/Anonymous (nobody)
Summary: Regex processing of group membership

Initial Comment:
1.3.8. re_exp_column (string)

   Name of the "re_table" column holding the regular
expression
   used for user matching.

   Default value is "reg_exp".

   Example 1-8. Set reg_exp parameter
...
modparam("group", "reg_exp", "re")
...
    
_________________________________________________________

1.3.9. re_gid_column (string)

   Name of the "re_table" column holding the group IDs.

   Default value is "group_id".

   Example 1-9. Set group_id parameter
...
modparam("group", "group_id", "grp_id")
...

The section heading for 1.3.8 "re_exp_column" does not
match the example making it unclear if
modparam("group","reg_exp", "re") or
modparam("group","re_exp_column", "re") is the correct
statement.

ditto for section 1.3.9.

Regards,
Norm

p.s. openser_mysql.sh does not have definitions for the
re_grp table.

p.s.s the new regular expression handling of group
membership seems to be activated by default(and thus
the re_grp table is required).  is this correct ?

----------------------------------------------------------------------

>Comment By: Norman Brandinger (goestelecom)
Date: 2005-11-22 21:29

Message:
Logged In: YES 
user_id=1372252

I was able to successfully start OpenSER (haven't done any
regex testing yet) with the following settings:
1)
version table:

INSERT INTO version VALUES (re_grp, 1);

2)
CREATE TABLE re_grp (
  reg_ex varchar(255) NOT NULL,
  grp_id int(11) NOT NULL
) ENGINE=MyISAM

3)
opeser.cfg

modparam("group", "re_table", "re_grp")
modparam("group", "re_exp_column", "reg_ex")
modparam("group", "re_gid_column", "grp_id")
modparam("group", "multiple_gid", 1)

Regards,
Norm


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=782960&aid=1364150&group_id=139143



More information about the Devel mailing list