mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
s4-provision: FreeBSD uses 'staff' for users
This commit is contained in:
committed by
Stefan Metzmacher
parent
de2b841935
commit
83aaf4829e
@ -1140,7 +1140,7 @@ def provision(setup_dir, message, session_info,
|
|||||||
|
|
||||||
root_uid = findnss_uid([root or "root"])
|
root_uid = findnss_uid([root or "root"])
|
||||||
nobody_uid = findnss_uid([nobody or "nobody"])
|
nobody_uid = findnss_uid([nobody or "nobody"])
|
||||||
users_gid = findnss_gid([users or "users", 'users', 'other'])
|
users_gid = findnss_gid([users or "users", 'users', 'other', 'staff'])
|
||||||
if wheel is None:
|
if wheel is None:
|
||||||
wheel_gid = findnss_gid(["wheel", "adm"])
|
wheel_gid = findnss_gid(["wheel", "adm"])
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user