]> git.proxmox.com Git - systemd.git/blobdiff - src/home/homework-cifs.c
New upstream version 249~rc1
[systemd.git] / src / home / homework-cifs.c
index 2736095f939789839c40a16b336c9237b483ab46..2254eb59cd742b87c1485603299dba85a7e0d54c 100644 (file)
@@ -185,7 +185,7 @@ int home_create_cifs(UserRecord *h, UserRecord **ret_home) {
         if (r < 0)
                 return r;
 
-        r = user_record_clone(h, USER_RECORD_LOAD_MASK_SECRET, &new_home);
+        r = user_record_clone(h, USER_RECORD_LOAD_MASK_SECRET|USER_RECORD_PERMISSIVE, &new_home);
         if (r < 0)
                 return log_error_errno(r, "Failed to clone record: %m");