diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/config.mk | 1 | ||||
-rw-r--r-- | source4/torture/winbind/config.mk | 14 | ||||
-rw-r--r-- | source4/torture/winbind/winbind.c | 32 |
3 files changed, 47 insertions, 0 deletions
diff --git a/source4/torture/config.mk b/source4/torture/config.mk index 3ad3d44b81..887bb3cf86 100644 --- a/source4/torture/config.mk +++ b/source4/torture/config.mk @@ -96,6 +96,7 @@ PRIVATE_DEPENDENCIES = \ ################################# include smb2/config.mk +include winbind/config.mk [SUBSYSTEM::TORTURE_NDR] PRIVATE_PROTO_HEADER = ndr/proto.h diff --git a/source4/torture/winbind/config.mk b/source4/torture/winbind/config.mk new file mode 100644 index 0000000000..d7351144b7 --- /dev/null +++ b/source4/torture/winbind/config.mk @@ -0,0 +1,14 @@ + +################################# +# Start SUBSYSTEM TORTURE_WINBIND +[MODULE::TORTURE_WINBIND] +SUBSYSTEM = torture +INIT_FUNCTION = torture_winbind_init +PRIVATE_PROTO_HEADER = \ + proto.h +OBJ_FILES = \ + winbind.o +PRIVATE_DEPENDENCIES = \ + POPT_CREDENTIALS +# End SUBSYSTEM TORTURE_WINBIND +################################# diff --git a/source4/torture/winbind/winbind.c b/source4/torture/winbind/winbind.c new file mode 100644 index 0000000000..371f52beb5 --- /dev/null +++ b/source4/torture/winbind/winbind.c @@ -0,0 +1,32 @@ +/* + Unix SMB/CIFS implementation. + SMB torture tester + Copyright (C) Stefan Metzmacher 2007 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "includes.h" +#include "torture/torture.h" + +NTSTATUS torture_winbind_init(void) +{ + struct torture_suite *suite = torture_suite_create(talloc_autofree_context(), "WINBIND"); + + suite->description = talloc_strdup(suite, "WINBIND-protocol tests"); + + torture_register_suite(suite); + + return NT_STATUS_OK; +} |