summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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).
2010-05-24Add in support for the NTLMSSP version reply.Jeremy Allison2-4/+31
Jeremy.
2010-05-24ldb-waf: Install manual pages for ldb in standalone build, installJelmer Vernooij1-4/+23
python module.
2010-05-24s4:winbind Give more detail on the parameters when reporting idmap failureAndrew Bartlett1-1/+2
2010-05-24s4:winbind Change idmap API to match that used by the source3/ idmap subsystemAndrew Bartlett3-28/+62
This makes it much easier to write an idmap module that bridges the gap. We should finish the change to the new API, but for the moment this choke point works for the conversion. Andrew Bartlett
2010-05-24s4:winbind Change include guard so as not to conflict with idmap.h in source3Andrew Bartlett2-3/+3
2010-05-24s4:winbind Fix up includes after seperation of idmap.idl from winbind.idlAndrew Bartlett3-1/+3
2010-05-24s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett9-127/+75
Andrew Bartlett
2010-05-24s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmapAndrew Bartlett2-27/+7
These structures now match those in use in the source3 code. I'm not sure if this is the better API or not, but it is far, far safer to remove a pointer than to add one. Andrew Bartlett
2010-05-24s4:samr Push most of samr_LookupRids into a helper functionAndrew Bartlett2-52/+82
This is a rewrite of the lookup_rids code, using a query based on the extended DN for a clearer interface. By splitting this out, the logic is able to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
2010-05-24s4:samr Push most of samr_QueryGroupMember into a helper functionAndrew Bartlett2-80/+120
This is a rewrite of the group membership lookup code, using the stored extended DNs to avoid doing the lookup into each member to find the SID By splitting this out, the logic is able to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
2010-05-24s4:samr Move most of samr_CreateDomAlias into a helper functionAndrew Bartlett2-52/+81
This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
2010-05-24s4:samr Split most of samr_CreateDomainGroup into a helper functionAndrew Bartlett2-60/+88
This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
2010-05-24s4:samr Split the guts of samr_CreateUser2 into a helper functionAndrew Bartlett3-187/+258
This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
2010-05-24s4:dsdb Allow a NULL search expression in dsdb_search()Andrew Bartlett1-2/+5
The NULL search expression expands to (objectClass=*), but %s expands NULL to (NULL) which doesn't parse... Andrew Bartlett
2010-05-24s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDLAndrew Bartlett6-6/+6
This IDL is almost common, but the source3 version has a hand-marshalled server_id. The s3compat build has problems with two different idl files of the same name. Andrew Bartlett
2010-05-24s4:LogonGetDomainInfo - allow to set DNS hostname for the first timeMatthias Dieter Wallnöfer1-11/+14
Otherwise it obviously can never be set.
2010-05-24s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to ↵Matthias Dieter Wallnöfer1-6/+20
normalise it) And return always the correct error codes on the failed add operations (should anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
2010-05-24s4:setup/*.ldif - remove unneeded "cn" attributesMatthias Dieter Wallnöfer2-2/+0
Should be generated automatically