[asterisk-dev] cmd Authenticate clarification

Peter Beckman beckman at purplecow.com
Tue May 2 08:24:17 MST 2006


I'm reading up on Authenticate, and was hoping to get some confirmation of
a few things.

     Authenticate(password[|options[|maxdigits]])

     Password can be:

         password
         /path/to/passwd.file
         /db-keyfamily

     1. In the docs:
         "m - Interpret the given path as a file which contains
              a list of account codes and password hashes delimited with
              ':', listed one per line in the file."

        Password hashes -- not like an md5 hash, but just a list:

         account_code:1234
         other_code:4521

        Yes?

     2. the "m" flag -- when did it appear?  I didn't see it on the wiki
        pages, but I see it in the source of 1.2.6.

     3. option Maxdigits -- this is only in SVN and planned for 1.3?

Thanks!

Beckman
---------------------------------------------------------------------------
Peter Beckman                                                  Internet Guy
beckman at purplecow.com                             http://www.purplecow.com/
---------------------------------------------------------------------------



More information about the asterisk-dev mailing list