cant make identity-regexp & common-name-regexp working
@rextended, i really need your input here
Exactly, I wouldnt bother assisting such an obtuse fellow probably doing something illegal because he refuses to provide the clear requirements (use cases what users should or should not be able to do and without any mention of config) and only wants info on some specific bit of config code.You mean how you can automate the creation of the interface names?
Now is it clear or do you still need help? I hope you have solved
and that is most likely the case, the old documentation is a bit confusing in the first place:Sounds like matching on the CN (common name) field of the CAP certificate.
but that could mean anythingcommon-name-regexp (string; Default: ) Regular expression to match radios by common name
but that is the same identity as system/identity on the CAP tough only if you do not use certificates...common-name-regexp (string; Default: ) Regular expression to match radios by common name. Each CAP's common name identifier can be found under "/caps-man radio" as value "REMOTE-CAP-NAME"
so it is the common name of the certificate, the same when you doCAPsMAN distinguishes between CAPs based on an identifier. The identifier is generated based on the following rules:
if CAP provided a certificate, identifier is set to the Common Name field in the certificate
otherwise identifier is based on Base-MAC provided by CAP in the form: '[XX:XX:XX:XX:XX:XX]'.
[admin@...] > certificate/print
Flags: L - CRL; T - TRUSTED
Columns: NAME, COMMON-NAME, FINGERPRINT
# NAME COMMON-NAME FINGERPRINT