diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tools/sss_sync_ops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tools/sss_sync_ops.c b/src/tools/sss_sync_ops.c index e6faedcae..5468929b6 100644 --- a/src/tools/sss_sync_ops.c +++ b/src/tools/sss_sync_ops.c @@ -31,7 +31,6 @@ #define DFL_BASEDIR_VAL "/home" #define DFL_CREATE_HOMEDIR true #define DFL_REMOVE_HOMEDIR true -#define DFL_UMASK 077 #define DFL_SKEL_DIR "/etc/skel" #define DFL_MAIL_DIR "/var/spool/mail" @@ -524,7 +523,7 @@ int useradd_defaults(TALLOC_CTX *mem_ctx, /* umask to create homedirs */ ret = confdb_get_int(confdb, conf_path, CONFDB_LOCAL_UMASK, - DFL_UMASK, (int *) &data->umask); + SSS_DFL_UMASK, (int *) &data->umask); if (ret != EOK) { goto done; } |