Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > b1fe2e8533f5d22bfeaff1ec1d531d86 > files > 12

squidGuard-1.4-8.fc13.i686.rpm

This file documents the flow of control through the new LDAP logic:


                   UserSearch
                       |
                       |
                 SourceBlock *s;
               search in s->userDb
                    /      \
               ----/        \-----------
              /                         \
          not found                   found
           |                          /   \
           |                         /     \
           |                      LDAP     user list
           |                      user       user
           |                      /  \        |
           |                     /    \-------+
           |                timeout           |
           |                   /              |
      search LDAP ------------/               |
        URL list                              |
          / \                                 |
         /   \                                |
       not   found                            |
     found    |                               |
        |     |                           return success
        \    /
       save both
     states in the
      userDb cache
    i.e. add to userDb
       if necessary
           |
           |
       return found state as success or failure