After upgrading some of my samba installations to 3.2.x I noticed, that even if lockdir ( --with-lockdir, also --with-fhs ) option is set (e.g. to /var/locks-smb), part of the files will be kept under /var/lib/samba (registry, group mappings, account_policy, nt*, share_info, perfmon). In 3.0.x series, all files would be kept under /var/locks-smb in such case.
Is this new default as per 3.2.x, or some small bug ?
If the former, then some small mention in official howto would be (in "Upgrading from Samba-3.0.x to Samba-3.2.0" section of chapter 35).