]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
don't use Tmp-* in examples
authorAlan T. DeKok <aland@freeradius.org>
Tue, 26 Dec 2023 15:36:30 +0000 (10:36 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 26 Dec 2023 15:36:30 +0000 (10:36 -0500)
doc/antora/modules/raddb/pages/sites-available/ldap_sync.adoc
raddb/sites-available/ldap_sync

index 80dd5f2f23727a898c5a10a7de63447a915c6d59..84d3e330fc5f419daf6560dc672daeffd1a48d51 100644 (file)
@@ -100,6 +100,11 @@ See /etc/raddb/mods-available/ldap for more detailed descriptions of
 configuration items.
 
 
+
+Local attributes which are used to cache results from LDAP
+
+
+
 The LDAP server to connect to.
 
 May be prefixed with:
@@ -425,6 +430,11 @@ The return code of this section is ignored (for now).
 ```
 server ldap_sync {
        namespace = ldap_sync
+       dictionary {
+               string  member
+               uint64  user-acct-control
+               string  last-known-parent
+       }
        listen  {
                transport = ldap
                ldap {
@@ -464,7 +474,7 @@ server ldap_sync {
 #                      filter = "(objectClass=groupOfNames)"
 #                      scope = "sub"
 #                      update {
-#                              &Tmp-String-0 += "member"
+#                              &member += "member"
 #                      }
 #              }
 #              sync {
@@ -473,7 +483,7 @@ server ldap_sync {
 #                      scope = 'sub'
 #                      update {
 #                              &Proto.radius.User-Name = 'sAMAccountName'
-#                              &Tmp-Integer-0 = 'userAccountControl'
+#                              &user-acct-control = 'userAccountControl'
 #                      }
 #              }
 #              sync {
@@ -482,8 +492,8 @@ server ldap_sync {
 #                      scope = "one"
 #                      update {
 #                              &Proto.radius.User-Name = 'sAMAccountName'
-#                              &Tmp-Integer-0 = 'userAccountControl'
-#                              &Tmp-String-0 = 'lastKnownParent'
+#                              &user-acct-control = 'userAccountControl'
+#                              &last-known-parent = 'lastKnownParent'
 #                      }
 #              }
        }
index 367db4ff4c872c7ebf1bdaa2ecd137d2970aafdb..16dc7f27a8a801e19ca687d23ca98f22fab67456 100644 (file)
 #
 server ldap_sync {
        namespace = ldap_sync
+
+       #
+       #  Local attributes which are used to cache results from LDAP
+       #
+       dictionary {
+               string  member
+               uint64  user-acct-control
+               string  last-known-parent
+       }
+
        listen  {
                transport = ldap
 
@@ -242,7 +252,7 @@ server ldap_sync {
                        #  FreeRADIUS attributes.
                        #
 #                      update {
-#                              &Tmp-String-0 += "member"
+#                              &member += "member"
 #                      }
 #              }
 
@@ -294,7 +304,7 @@ server ldap_sync {
 #
 #                      update {
 #                              &Proto.radius.User-Name = 'sAMAccountName'
-#                              &Tmp-Integer-0 = 'userAccountControl'
+#                              &user-acct-control = 'userAccountControl'
 #                      }
 #              }
 
@@ -316,8 +326,8 @@ server ldap_sync {
 #
 #                      update {
 #                              &Proto.radius.User-Name = 'sAMAccountName'
-#                              &Tmp-Integer-0 = 'userAccountControl'
-#                              &Tmp-String-0 = 'lastKnownParent'
+#                              &user-acct-control = 'userAccountControl'
+#                              &last-known-parent = 'lastKnownParent'
 #                      }
 #              }
        }