summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-05-30Revert "s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with ↵Matthias Dieter Wallnöfer1-12/+2
Windows 2000" This reverts commit 1cf5be39e30f9478606a5525eb7beeb21ee83c24. My fix approach isn't such appreciated therefore revert this.
2010-05-30s4:rpc_server/dcesrv_auth.c - Fix a RPC issue in conjunction with Windows 2000Matthias Dieter Wallnöfer1-2/+12
Windows 2000 does strictly request header signing on some requests also if the server doesn't provide it. But there is a small trick (don't reset the actual session info) to make these special RPC operations work without a full header signing implementation. This fixes for example the list of domain groups in local groups when displayed sing the local user/group management tool. And this should finally fix bug #7113. The patch was inspired by another one by tridge and abartlet: http://gitweb.samba.org/samba.git/?p=tridge/samba.git;a=commitdiff;h=2dc19e2878371264606575d3fc09176776be7729
2010-05-30s4:web_server/wsgi.c - free the "env" and "inputstream" objects on an ↵Matthias Dieter Wallnöfer1-0/+2
"asprintf" failure
2010-05-30s4:auth/credentials/credentials.c - initialise "password_last_changed_time"Matthias Dieter Wallnöfer1-0/+2
Otherwise it could remain uninitialised.
2010-05-28s4/test-libnet: Remove multiple test_samr_close() impelementationsKamen Mazdrashki2-45/+15
We now have a nice common test_samr_close_handle() function to use
2010-05-28s4/test-libnet-user: Remove test_createuser()Kamen Mazdrashki1-63/+3
We have same functionality already implemented by test_user_create() in libnet/utils.c
2010-05-28s4/test-libnet-utils: refactor test_user_create()Kamen Mazdrashki1-13/+39
- param names made more clear what they stand for - user RID out param is now optional, so that this function may be used in cases where we don't need user RID - SAMR connection handle is closed as it is not used further (we should play nice with servers)
2010-05-28s4/test: remove local impl for open_domain and use common oneKamen Mazdrashki2-57/+5
2010-05-28s4/test: remove torture/libnet/utils.h as we are using proto.h nowKamen Mazdrashki5-61/+4
2010-05-28s4/test: change prototype for test_opendomain()Kamen Mazdrashki6-13/+14
- name changed to test_domain_open to be more alike athore functions in utils.c file - output parameters moved to the end param list definition just after mem_ctx so it is somehow more clear those params are OUT
2010-05-28s4/test: Refactor test_opendomain to address followingKamen Mazdrashki1-16/+33
- param names made more clear what they stand for - dom_sid out param is now optional, so that this function may be used in cases where we don't need dom_sid - SAMR connection handle is closed as it is not used further
2010-05-28s4/test: make samr_close handle functio publicKamen Mazdrashki2-0/+26
It is to be used further for closing opened handles when testing using SAMR interface
2010-05-28s4/test: refactor NET-USERINFO test to be more 'torture' friendlyKamen Mazdrashki1-24/+6
Test may be further refactored to be converted as a test case (what it is actually)
2010-05-28s4/test: test_userinfo/_async tests should use passed user_name param valueKamen Mazdrashki1-2/+2
2010-05-28s4:web_server/wsgi.c - provide a better out-of-memory handling for an ↵Matthias Dieter Wallnöfer1-1/+2
"asprintf" call
2010-05-28s4:build Don't automatically mark as 'not a git snapshot'.Andrew Bartlett1-2/+0
If we generate a tarball, it may well be a git snapshot - we will change the VERSION file if it really is a release. Andrew Bartlett
2010-05-28s4:build use autotools for mkrelease.shAndrew Bartlett1-1/+3
The mkrelease.sh script only works with the autotools build. However, it isn't recommended. Andrew Bartlett
2010-05-28s4:waf Exclude the autotools based build environment from a Samba4 releaseAndrew Bartlett1-1/+7
2010-05-28waf Add DIST_BLACKLIST to list files that we cannot include in a releaseAndrew Bartlett1-0/+5
This currently includes the source3 directory for Samba4 releases (per past practice in mkrelease.sh), but also could include things like DFSG-unfree RFC files in the future. Andrew Barltett
2010-05-28s4:kdc Remove special talloc_free of the ldb contextAndrew Bartlett2-11/+1
I can see no reason not to just let this go with the talloc tree that created it, and avoid a talloc_free with references. Andrew Bartlett
2010-05-28s4:client/client.c - we don't need "&ctx" for talloc callsMatthias Dieter Wallnöfer1-1/+1
Simply use "ctx".
2010-05-28s4:web_server/wsgi.c - fix "asprintf" callMatthias Dieter Wallnöfer1-1/+3
2010-05-28s4:utils/ntlm_auth.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-6/+11
2010-05-28s4:smbd/pidfile.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-2/+7
2010-05-28s4:scripting/python/modules.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-2/+6
2010-05-28s4:param/loadparm.c - fix "asprintf" callMatthias Dieter Wallnöfer1-2/+3
2010-05-28s4:ntvfs/simple/svfs_util.c - change an "asprintf" into a "talloc_asprintf"Matthias Dieter Wallnöfer1-2/+3
2010-05-28s4:ntvfs/nbench/vfs_bench.c - change a "asprintf" into a "talloc_asprintf"Matthias Dieter Wallnöfer1-2/+4
2010-05-28s4:libcli/clideltree.c - fix "asprintf"sMatthias Dieter Wallnöfer1-3/+12
2010-05-28s4:regshell - fix an "asprintf"Matthias Dieter Wallnöfer1-1/+5
2010-05-28s4:regshell - don't use negative exit codesMatthias Dieter Wallnöfer1-1/+1
2010-05-28s4:client/client.c - fix "asprintf"sMatthias Dieter Wallnöfer1-9/+15
Fix the result values or change them into "talloc_asprintf"s where possible see bug #6404
2010-05-28waf Read VERSION file inside WAF to set package versionAndrew Bartlett1-4/+7
This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
2010-05-28s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.Günther Deschner1-1/+1
Guenther
2010-05-28s4-smbtorture: remove obsolete handmarshalled rap code.Günther Deschner1-281/+0
Guenther
2010-05-28s4-smbtorture: we can fully use autogenerated code to pull info unions now.Günther Deschner1-172/+90
Guenther
2010-05-27s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.Günther Deschner1-3/+27
Guenther
2010-05-26s4-smbtorture: add usergetinfo to RAP-SAM.Günther Deschner1-0/+25
Guenther
2010-05-26s4-smbtorture: add smbcli_rap_netusergetinfo().Günther Deschner1-0/+175
Guenther
2010-05-26s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functionsKamen Mazdrashki1-7/+29
In multi-DC environment, NBT name resolution may resolv domain name to any of DCs. This make this test to fail, as we are modifying the user account on one DC and query user info immediately after that on another DC.
2010-05-26s4/test: remove unused codeKamen Mazdrashki1-18/+0
There is no need anymore to modify samAccountName of the testing user to original value as test_cleanup() will spot the right samAccountName to delete
2010-05-26s4/test: make test_cleanup() in libnet_user library more robustKamen Mazdrashki1-4/+74
test_cleanup() is called always with RDN name of the user to be deleted. When modify-user test fails however, we end up with a user with RDN = libnetusertest and samAccountName = random_name. This way we can not delete the user and the error message is quite misleading (I've spent a *lot* of time trying to figure out if the database is corrupted because of this error).
2010-05-26s4/test: rename enum test_fields{} member names to be more descriptiveKamen Mazdrashki3-28/+29
2010-05-26s4/test: Replace hand-made field count to testKamen Mazdrashki3-8/+11
This patch replaces hand-make count of fields to be tested with defines for FIRST-LAST value for corresponding fields to test with. As a side-effect, 'acct_flags' is now included in tests.
2010-05-26s4:smbd: Use tstream_npa_accept_existing to accept named pipe connectionsSimo Sorce2-546/+175
Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
2010-05-26s4:smbd: Add tstream to the stream_connection structureSimo Sorce1-0/+1
2010-05-25s4:torture/rpc/samr.c: Fix the "ValidatePassword" testMatthias Dieter Wallnöfer1-3/+6
It was failing randomly due to an uninitialised "status" variable.
2010-05-24s4:dsdb_enum_group_mem - use "unsigned" countersMatthias Dieter Wallnöfer2-7/+6
"size_t" counters aren't really needed here (we don't check data lengths). And we save the result in a certain "num_sids" variable which is of type "unsigned".
2010-05-24s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this caseMatthias Dieter Wallnöfer1-2/+2
2010-05-24s4:dsdb_add_user - check the "cn"/"account_name" length (should be >= 1)Matthias Dieter Wallnöfer1-7/+12
This needed by the "cn_name_len"-1 accesses. And use a "size_t"-typed variable for storing it (length specificators should always be stored using "size_t" variables).