diff --git a/docs-xml/smbdotconf/misc/cachedirectory.xml b/docs-xml/smbdotconf/misc/cachedirectory.xml
index 5216998ae42..1cb8124c930 100644
--- a/docs-xml/smbdotconf/misc/cachedirectory.xml
+++ b/docs-xml/smbdotconf/misc/cachedirectory.xml
@@ -17,6 +17,6 @@
-${prefix}/var/locks
+${prefix}/var/cache
/var/run/samba/locks/cache