Ignore:
Timestamp:
Nov 12, 2012, 4:35:55 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.12

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/winbindd/winbindd.c

    r599 r732  
    904904                                          struct winbindd_listen_state);
    905905
    906         while (winbindd_num_clients() >
    907                WINBINDD_MAX_SIMULTANEOUS_CLIENTS - 1) {
     906        while (winbindd_num_clients() > lp_winbind_max_clients() - 1) {
    908907                DEBUG(5,("winbindd: Exceeding %d client "
    909908                         "connections, removing idle "
    910                          "connection.\n",
    911                          WINBINDD_MAX_SIMULTANEOUS_CLIENTS));
     909                         "connection.\n", lp_winbind_max_clients()));
    912910                if (!remove_idle_client()) {
    913911                        DEBUG(0,("winbindd: Exceeding %d "
    914912                                 "client connections, no idle "
    915913                                 "connection found\n",
    916                                  WINBINDD_MAX_SIMULTANEOUS_CLIENTS));
     914                                 lp_winbind_max_clients()));
    917915                        break;
    918916                }
Note: See TracChangeset for help on using the changeset viewer.