From: Nick Porter Date: Mon, 11 Dec 2023 12:12:16 +0000 (+0000) Subject: Update sample virtual server to reflect new load Cookie behaviour X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84260b90813e1d896978b4e857d45e6752ee717c;p=thirdparty%2Ffreeradius-server.git Update sample virtual server to reflect new load Cookie behaviour --- diff --git a/raddb/sites-available/ldap_sync b/raddb/sites-available/ldap_sync index afa6bc10acc..ec38b080121 100644 --- a/raddb/sites-available/ldap_sync +++ b/raddb/sites-available/ldap_sync @@ -350,9 +350,11 @@ server ldap_sync { # - If a connection experiences an error and needs to be restarted. # # The section may return one of the following/codes attributes: - # - ok/updated and &reply.LDAP-Sync.Cookie to indicate a cookie value was loaded. - # - noop to indicate that no cookie was found. - # - Any other code to indicate failure. + # - fail / invalid / reject / disallow to indicate failure. The section will be + # retried after a delay (the ldap reconnection delay). The sync query will not be started until + # this section succeeds. + # - Any other code with &reply.LDAP-Sync.Cookie populated to indicate a cookie value was loaded. + # - Any other code without &reply.LDAP-Sync.Cookie populated to indicate no cookie was found. # load Cookie { debug_request @@ -371,7 +373,6 @@ server ldap_sync { # &csn := %ldap("ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base") # if (&csn) { # &reply.LDAP-Sync.Cookie := "rid=000,csn=%{csn}" -# updated # } # } }