Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update idmap config syntax #47

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/modules/SambaWinbind.pm
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ sub AdjustSambaConfig {
if ($status) {
# if turning on and there is no values set, use default
SambaConfig->GlobalUpdateMap({
"idmap uid" => "10000-20000",
"idmap gid" => "10000-20000"
"idmap config * : backend" => "tdb",
"idmap config * : range" => "10000-20000"
});
SambaConfig->GlobalSetStr ("template shell", "/bin/bash");
}
Expand Down
4 changes: 2 additions & 2 deletions testsuite/tests/SambaWinbind.out
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ $VAR1 = 1;

SambaConfig: [global]
SambaConfig: _modified = 1
SambaConfig: idmap gid = 10000-20000
SambaConfig: idmap uid = 10000-20000
SambaConfig: idmap config * : backend = tdb
SambaConfig: idmap config * : range = 10000-20000

Nsswitch::WriteDB(passwd, [files,nis])
Nsswitch::WriteDB(group, [files,ldap,nis])
Expand Down