Jelmer Vernooij
e3a48bb5f6
samba-tool user test: Fix expected output.
...
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date(master): Fri Oct 19 11:37:44 CEST 2012 on sn-devel-104
2012-10-19 11:37:44 +02:00
Alexander Wuerstlein
071047e895
Tests for 'samba-tool user create' with RFC2307 attributes
...
Check if attributes are correctly set and read from SamDB
Test automatic creation of attributes from getpwent (NSS)
Check if overriding NSS attributes works
getpwent will be skipped if the current UID of the user running the
tests has no passwd entry (getpwuid(geteuid())).
If a user with the name of the current UID already exists in the
directory, the getpwent test will fail. If that should happen, the
test would need to be updated to use a nonexistent UID that is
visible to the Python 'pwd' module.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-10-18 17:10:58 +11:00
Jelmer Vernooij
2a797f29aa
s4-python: Various formatting fixes.
...
* Trailing whitespace
* use of "==" where "is" should be used
* double spaces
2012-09-27 18:45:12 +02:00
Andrew Bartlett
7b86c18f38
selftest: Add python blackbox tests for samba-tool ntacl get/set
...
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Sep 5 15:47:55 CEST 2012 on sn-devel-104
2012-09-05 15:47:55 +02:00
Andrew Bartlett
123ee7f9b5
s4-selftest: Add test for samba-tool ntacl sysvolcheck
2012-08-23 15:02:26 +02:00
Andrew Bartlett
7cf50b9f30
s4-selftest: Add testing of samba-tool ntacl sysvolreset
2012-08-23 15:02:26 +02:00
Michael Adam
2a1ab92793
s4:tests: fix use of a non-existent word (existant)
2012-06-12 07:21:45 +02:00
Andrew Bartlett
86b1dd845a
s4-samba-tool: make new samba-tool group listmembers use samAccountName
...
This is the unique username value.
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu May 3 01:57:41 CEST 2012 on sn-devel-104
2012-05-03 01:57:41 +02:00
Lukasz Zalewski
9cd664b2e9
Extension to the samba-tool group subcommand functionality to allow listing of the members of an AD group
2012-05-03 08:09:09 +10:00
Michael Adam
ee0e1ca5d8
s4:selftest: add test for "samba-tool group list"
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Mon Mar 19 02:30:39 CET 2012 on sn-devel-104
2012-03-19 02:30:39 +01:00
Michael Adam
f4458a5cef
s4:selftest: add a new testsuite for the "samba-tool group" command
2012-03-18 23:41:40 +01:00
Michael Adam
edfdbb82bb
s4:selftest: remove python shebang accidentially re-added to the "samba-tool user" test
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Mar 15 16:17:54 CET 2012 on sn-devel-104
2012-03-15 16:17:54 +01:00
Michael Adam
d430c88cfe
s4:selftest: fix message typo in test for "samba-tool user list"
...
Spotted by kukks - thanks.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Thu Mar 15 14:24:29 CET 2012 on sn-devel-104
2012-03-15 14:24:29 +01:00
Michael Adam
94af1581ef
s4:selftest: fix a message-typo in the "samba-tool user" testsuite.
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Mar 14 21:19:11 CET 2012 on sn-devel-104
2012-03-14 21:19:11 +01:00
Michael Adam
a85d86129a
s4:selftest: add a new test for "samba-tool user list"
2012-03-14 19:39:18 +01:00
Andreas Schneider
e5425743c2
s4-python: Remove env from non-executable samba_tool scripts.
2012-03-13 17:52:30 +01:00
Jelmer Vernooij
7320a5c900
samba.tests.samba_tool.base: Avoid unnecessary call to testtools.matchers.Contains.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Mar 10 05:27:51 CET 2012 on sn-devel-104
2012-03-10 05:27:51 +01:00
Jelmer Vernooij
b703267dfc
samba.tests.samba_tool.user: Remove unused imports.
2012-03-10 03:48:46 +01:00
Andrew Tridgell
46723aa2da
s4-test: improved error checking in samba-tool time test
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Sean Dague
a818253960
test: add samba-tool user tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Sean Dague
a66eae9a6d
test: Add samba-tool time tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00
Sean Dague
559835dc59
test: add directory and base class for samba-tool tests
...
this allows for more sophisticated testing of samba-tool
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +11:00