Andrew Tridgell
862823a776
samba-tool: print samaccountname in samba-tool user list
...
this is the attribute the admin needs for other commands
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Andrew Tridgell
39356761e5
test: use planpythontestsuite() for ldb.python test
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Andrew Tridgell
b0be72d508
test: added directory option to planpythontestsuite()
...
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Andrew Tridgell
ac0bba2ea1
test: added -D option to subunitrun
...
this allows for:
subunitrun -D lib/ldb/tests/python api
which makes this easier for developers
2011-11-10 14:24:21 +11:00
Andrew Tridgell
333248f08c
pyldb: fixed ldb API test
...
it was failing previously, but the failure wasn't being noticed
2011-11-10 14:24:21 +11:00
Andrew Tridgell
a04eac7aa2
build: only run symbol checking if running all tests
...
this makes it much faster to run 1 test
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Andrew Tridgell
58457e6cd2
pyldb: enhanced get() method on msg object
...
get() now takes a default value and an idx, allowing for much easier
usage
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
1cef3212a1
samba-tool: Added new "user disable" command
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
34ff5d29e6
samba-tool: Added "user list" command
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
da21ff82a5
samba-tool: Change internal argument name in domain machinepassword
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
53fc437d05
samba-tool: Fix domain machinepassword secret db search
...
pair programmed with Jelmer Vernooij
Add search to include secrets.ldb
2011-11-10 14:24:21 +11:00
Giampaolo Lauria
ec5afae292
samba-tool: Fix domain machinepassword name search
...
Append '$' to name provided by user to search for a machine account
when necessary
2011-11-10 14:24:21 +11: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
Andrew Tridgell
a7c1add5c4
s4-socket: detect NULL server in socket connection code
...
return NT_STATUS_NOT_FOUND instead of a segfault
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-11-10 14:24:20 +11:00
Sean Dague
e118d91a63
test: enable time and user samba-tool tests
...
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-11-10 14:24:20 +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
Andrew Bartlett
ca52871541
s4-setup Remove servicePrincipalName: DNS/${DNSDOMAIN} from new installations
...
This servicePrincipalName is incorrect (windows does not use that
servicePrincipalName, as it targets the server it is updating, not the
root of the DNS tree), and now that we have multiple DNS backends that
use the internal database, it is quite incorrect (as it cannot exist
on more than one account).
Andrew Bartlett
Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Nov 10 01:11:46 CET 2011 on sn-devel-104
2011-11-10 01:11:46 +01:00
Andrew Bartlett
0f2ff7c5c2
s3-py_passdb Ensure that group mapping list input is initailised
...
This may help to ensure we consistantly crash on an incorrect de-reference.
Andrew Bartlett
2011-11-09 23:38:25 +01:00
Andrew Bartlett
1fb836d863
s3-passdb Initialise the correct level of pointer dereference
...
*pp_rmap may be NULL or un-initialised data.
This was introduced by 995d156726
.
Andrew Bartlett
2011-11-09 23:38:25 +01:00
Matthias Dieter Wallnöfer
f4a07f0b81
s4:join.py - fix up "DsAddEntry" against Windows Server 2000
...
It is important to consider the result level regarding error
information. Windows 2000 seems to send us back v2, all other
implementations v3. Consider post "Joining W2k AD domain"
Reviewed-by: abartlet
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Wed Nov 9 23:37:08 CET 2011 on sn-devel-104
2011-11-09 23:37:08 +01:00
Andreas Schneider
c49fc5264b
docs: Make clear to use the workgroup name not the realm.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Nov 9 21:17:09 CET 2011 on sn-devel-104
2011-11-09 21:17:09 +01:00
Jelmer Vernooij
7feb83a1c4
s4: Install samba-tool and samba_kcc to bin/ rather than sbin/.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov 9 19:43:07 CET 2011 on sn-devel-104
2011-11-09 19:43:06 +01:00
Jelmer Vernooij
b8efff57dc
samba_kcc: Remove unnecessary return statements.
2011-11-07 02:04:52 +01:00
Jelmer Vernooij
56081da368
util/time: Make some functions explicitly public.
2011-11-03 17:22:40 +01:00
Jelmer Vernooij
56852bf1fc
util/time: Remove unnecessary _PUBLIC_ - that's implicit for things in header files.
2011-11-03 14:34:08 +01:00
Michael Adam
6727429aea
s3:registry: prevent unnecessary transactions in regdb_init
...
Skip the transaction for the upgrade code, if the database
is already at code-level.
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Nov 9 15:06:59 CET 2011 on sn-devel-104
2011-11-09 15:06:58 +01:00
Andreas Schneider
e66ceb6566
s3: Use autotools to set the winbind socket directory.
...
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Nov 9 13:31:27 CET 2011 on sn-devel-104
2011-11-09 13:31:27 +01:00
Stefan Metzmacher
ffbd1ed279
s3:smb2_server: grant credits in async interim responses (bug #8357 )
...
The first fix for bug #8357 intruduced a regression, so that we no
longer grant credits for real async interim responses with
STATUS_PENDING.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov 9 11:56:29 CET 2011 on sn-devel-104
2011-11-09 11:56:29 +01:00
Stefan Metzmacher
4b31c4273c
s3:libsmb: consistently use state->size in cli_write_andx_create() (bug #5326 )
...
Otherwise we may get unexpected results.
This is a fix that was missing in commit 95595dd93f
(s3:libsmb: fix cli_write_and_x() against OS/2 print shares (bug #5326 ))
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Wed Nov 9 10:13:32 CET 2011 on sn-devel-104
2011-11-09 10:13:32 +01:00
Amitay Isaacs
0c2f91c6b2
s4-provision: Create ldap records for DNS partitions similar to windows
...
this allows easy comparison between windows and samba ldap trees
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Wed Nov 9 08:27:46 CET 2011 on sn-devel-104
2011-11-09 08:27:46 +01:00
Amitay Isaacs
a807c83641
s4-provision: Set security descriptor for DNS records
2011-11-09 16:49:08 +11:00
Michael Adam
4c52e8f68b
s4:torture:smb2: rewrite durable-open.open test to use smb2_*_create functions
...
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Nov 9 02:36:36 CET 2011 on sn-devel-104
2011-11-09 02:36:36 +01:00
Michael Adam
9d862c00e5
s4:torture:smb2: rewrite the durable-open.lock test to use smb2_lease_create()
2011-11-09 01:02:09 +01:00
Michael Adam
0652b21c68
s4:torture:smb2: rewrite the durable-open.lease test to use smb2_lease_create()
2011-11-09 01:02:09 +01:00
Michael Adam
cda10063ab
s4:torture:smb2: rewrite the durable-open.oplock test to use smb2_oplock_create()
2011-11-09 01:02:08 +01:00
Michael Adam
5d3b6aa674
s4:torture:smb2: rewrite the durable-open.file-position test to use smb2_oplock_create()
2011-11-09 01:02:08 +01:00
Michael Adam
6e721fdd43
s4:torture:smb2: rewrite the durable-open.open2 test to use smb2_lease_create_share()
2011-11-09 01:02:08 +01:00
Michael Adam
afc94fea2a
s4:torture:smb2: rewrite the durable-open.open1 test to use smb2_oplock_create_share()
2011-11-09 01:02:08 +01:00
Michael Adam
cb98e31b24
s4:torture:smb2: add smb2_oplock_create_share() that takes sharemode as parameter
2011-11-09 01:02:08 +01:00
Michael Adam
901cab2def
s4:torture:smb2: add smb2_lease_create_share() that takes a sharemode as parameter
2011-11-09 01:02:08 +01:00
Michael Adam
ef6c0974a0
s4:torture:smb2: add smb2_generic_create_share() that also takes the sharemode as parameter
2011-11-09 01:02:08 +01:00
Michael Adam
4746edc55d
s4:torture:smb2: move the smb2_create_*() utility functions from lease.c to util.c for re-use
2011-11-09 01:02:08 +01:00
Michael Adam
a5d8614e63
s4:torture:smb2: use smb2_util_oplock_level() in the durable-open test for convenience
2011-11-09 01:02:08 +01:00
Michael Adam
3078c27be1
s4:torture:smb2: lease: oplock_level is uint8_t, not uint32_t or int
2011-11-09 01:02:08 +01:00
Michael Adam
7f1920801b
s4:torture:smb2: move oplock() from lease.c to smb2_util_oplock_level() in util.c for re-use
2011-11-09 01:02:08 +01:00
Michael Adam
b47edad673
s4:torture:smb2: extract map_sharemode() to smb2_util_share_access() in util.c
2011-11-09 01:02:08 +01:00
Michael Adam
4ea5ac04b2
s4:torture:smb2: use common smb2_util_lease_state() in the lease tests
2011-11-09 01:02:08 +01:00
Michael Adam
33ccdf88f9
s4:torture:smb2: extract map_lease() to util.c as smb2_util_lease_state().
2011-11-09 01:02:08 +01:00