]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
LDAP sync cookies contain all contextCSN values separated by ';'
authorNick Porter <nick@portercomputing.co.uk>
Fri, 22 Dec 2023 10:13:23 +0000 (10:13 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Fri, 22 Dec 2023 10:13:23 +0000 (10:13 +0000)
raddb/sites-available/ldap_sync
src/tests/ldap_sync/rfc4533/config/radiusd.conf

index 3c4522425bd05229417e5bafcb824b0ee1864e14..367db4ff4c872c7ebf1bdaa2ecd137d2970aafdb 100644 (file)
@@ -370,7 +370,7 @@ server ldap_sync {
 #              if (!&reply.LDAP-Sync.Cookie) {
 #                      string csn
 #
-#                      &csn := %ldap("ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base")
+#                      &csn := %concat(%ldap("ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base"), ';')
 #                      &reply.LDAP-Sync.Cookie := "rid=000,csn=%{csn}"
 #              }
        }
index 7f0b5ce3644718db322c60a1f9d367f946df6684..2815a0325c60640bdeff275d6a35540ef8315bee 100644 (file)
@@ -183,7 +183,7 @@ server test {
        load Cookie {
                string csn
 
-               &csn := %ldap("ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base")
+               &csn := %concat(%ldap("ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base"), ';')
                &reply.LDAP-Sync.Cookie := "rid=000,csn=%{csn}"
        }