diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-26 03:03:09 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-26 03:03:09 +0000 |
commit | 2113d7f440a5b6940962059b8a04a52490c2f769 (patch) | |
tree | 18c82e2c91942c3a912b8a3d8c8321809d17cdef /source/utils | |
parent | 4c0e765b10d8085c1ee2e417ac5d4eaf1b655b57 (diff) | |
download | samba-2113d7f440a5b6940962059b8a04a52490c2f769.tar.gz samba-2113d7f440a5b6940962059b8a04a52490c2f769.tar.xz samba-2113d7f440a5b6940962059b8a04a52490c2f769.zip |
I have done the evil thing :-).
I have added the 'crap applience' mode code to the 2.0 branch.
This allows smbd in security=server or security=domain mode
to create a UNIX user on the fly if the password server
accepts them but there is no local UNIX user.
It uses two new parameters
add user script
delete user script
and replaces %u with the username.
Note that I have violated my own rules by not yet
documenting this :-). But I intend to, after some
more testing.
It seems ok - but needs more testing.
Jeremy.
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/torture.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/torture.c b/source/utils/torture.c index 81fa33fc750..54b42819dd8 100644 --- a/source/utils/torture.c +++ b/source/utils/torture.c @@ -107,7 +107,7 @@ static BOOL check_error(struct cli_state *c, uint8 class; uint32 num; int eno; - eno = cli_error(c, &class, &num); + eno = cli_error(c, &class, &num, NULL); if ((eclass != class || ecode != num) && num != (nterr&0xFFFFFF)) { printf("unexpected error code class=%d code=%d\n", |