summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:regshell - don't use negative exit codesMatthias Dieter Wallnöfer2010-05-281-1/+1
|
* s4:client/client.c - fix "asprintf"sMatthias Dieter Wallnöfer2010-05-281-9/+15
| | | | | | Fix the result values or change them into "talloc_asprintf"s where possible see bug #6404
* waf Read VERSION file inside WAF to set package versionAndrew Bartlett2010-05-281-4/+7
| | | | | | | This replaces the call to mkversion.sh in both the Samba3 and Samba4 WAF builds. Andrew Bartlett
* s4-smbtorture: finally test all levels in rap_NetUserGetInfo RAP-SAM test.Günther Deschner2010-05-281-1/+1
| | | | Guenther
* s4-smbtorture: remove obsolete handmarshalled rap code.Günther Deschner2010-05-281-281/+0
| | | | Guenther
* s4-smbtorture: we can fully use autogenerated code to pull info unions now.Günther Deschner2010-05-281-172/+90
| | | | Guenther
* s4-smbtorture: create the user to test in test_usergetinfo() in RAP-SAM.Günther Deschner2010-05-271-3/+27
| | | | Guenther
* s4-smbtorture: add usergetinfo to RAP-SAM.Günther Deschner2010-05-261-0/+25
| | | | Guenther
* s4-smbtorture: add smbcli_rap_netusergetinfo().Günther Deschner2010-05-261-0/+175
| | | | Guenther
* s4/test: Connect SAMR and LDARPC pipes before calling libnet_ functionsKamen Mazdrashki2010-05-261-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.
* s4/test: remove unused codeKamen Mazdrashki2010-05-261-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
* s4/test: make test_cleanup() in libnet_user library more robustKamen Mazdrashki2010-05-261-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).
* s4/test: rename enum test_fields{} member names to be more descriptiveKamen Mazdrashki2010-05-263-28/+29
|
* s4/test: Replace hand-made field count to testKamen Mazdrashki2010-05-263-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.
* s4:smbd: Use tstream_npa_accept_existing to accept named pipe connectionsSimo Sorce2010-05-262-546/+175
| | | | Pair-programmed-with: Stefan Metzmacher <metze@samba.org>
* s4:smbd: Add tstream to the stream_connection structureSimo Sorce2010-05-261-0/+1
|
* s4:torture/rpc/samr.c: Fix the "ValidatePassword" testMatthias Dieter Wallnöfer2010-05-251-3/+6
| | | | It was failing randomly due to an uninitialised "status" variable.
* s4:dsdb_enum_group_mem - use "unsigned" countersMatthias Dieter Wallnöfer2010-05-242-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".
* s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this caseMatthias Dieter Wallnöfer2010-05-241-2/+2
|
* s4:dsdb_add_user - check the "cn"/"account_name" length (should be >= 1)Matthias Dieter Wallnöfer2010-05-241-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).
* Add in support for the NTLMSSP version reply.Jeremy Allison2010-05-242-4/+31
| | | | Jeremy.
* ldb-waf: Install manual pages for ldb in standalone build, installJelmer Vernooij2010-05-241-4/+23
| | | | python module.
* s4:winbind Give more detail on the parameters when reporting idmap failureAndrew Bartlett2010-05-241-1/+2
|
* s4:winbind Change idmap API to match that used by the source3/ idmap subsystemAndrew Bartlett2010-05-243-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
* s4:winbind Change include guard so as not to conflict with idmap.h in source3Andrew Bartlett2010-05-242-3/+3
|
* s4:winbind Fix up includes after seperation of idmap.idl from winbind.idlAndrew Bartlett2010-05-243-1/+3
|
* s4:idmap Adjust code to new idmap structure names and layout.Andrew Bartlett2010-05-249-127/+75
| | | | Andrew Bartlett
* s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmapAndrew Bartlett2010-05-242-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
* s4:samr Push most of samr_LookupRids into a helper functionAndrew Bartlett2010-05-242-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
* s4:samr Push most of samr_QueryGroupMember into a helper functionAndrew Bartlett2010-05-242-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
* s4:samr Move most of samr_CreateDomAlias into a helper functionAndrew Bartlett2010-05-242-52/+81
| | | | | | | This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
* s4:samr Split most of samr_CreateDomainGroup into a helper functionAndrew Bartlett2010-05-242-60/+88
| | | | | | | This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
* s4:samr Split the guts of samr_CreateUser2 into a helper functionAndrew Bartlett2010-05-243-187/+258
| | | | | | | This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett
* s4:dsdb Allow a NULL search expression in dsdb_search()Andrew Bartlett2010-05-241-2/+5
| | | | | | | The NULL search expression expands to (objectClass=*), but %s expands NULL to (NULL) which doesn't parse... Andrew Bartlett
* s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDLAndrew Bartlett2010-05-246-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
* s4:LogonGetDomainInfo - allow to set DNS hostname for the first timeMatthias Dieter Wallnöfer2010-05-241-11/+14
| | | | Otherwise it obviously can never be set.
* s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to ↵Matthias Dieter Wallnöfer2010-05-241-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).
* s4:setup/*.ldif - remove unneeded "cn" attributesMatthias Dieter Wallnöfer2010-05-242-2/+0
| | | | Should be generated automatically
* torture: fix typosSimo Sorce2010-05-221-2/+2
|
* s4:ldb_controls: make it possible to pass arbitrary control via the command lineStefan Metzmacher2010-05-221-0/+34
| | | | | | | | --controls=local_oid:1.3.6.1.4.1.7165.4.3.7:1 To specify the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control as critical. metze
* s4:libnet: use the new generated config from the provision for the self_joinStefan Metzmacher2010-05-221-1/+1
| | | | | | This fixes net vampire with the --target-dir option. metze
* s4:torture/rap/rap.c - quiet discard const warningMatthias Dieter Wallnöfer2010-05-211-1/+1
|
* s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer2010-05-211-8/+3
|
* s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warningsMatthias Dieter Wallnöfer2010-05-211-2/+2
|
* s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warningMatthias Dieter Wallnöfer2010-05-211-3/+5
| | | | | The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly or it is NULL if we ran out of memory.
* Doh! If you're going to give advice in "useage", make sure it's correct.Jeremy Allison2010-05-211-2/+2
| | | | Jeremy.
* Add comments to usage error message for -k to make it obvious what this needs.Jeremy Allison2010-05-211-2/+3
| | | | Jeremy.
* s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.Günther Deschner2010-05-211-5/+40
| | | | Guenther
* s4-smbtorture: fix smbcli_rap_netuserpasswordset2().Günther Deschner2010-05-211-2/+2
| | | | Guenther
* s4-torture: Improved the winreg symlink test.Andreas Schneider2010-05-211-10/+82
| | | | | | | | This test is still disabled as we don't know how to remove a symbolic link. It looks like there only DeleteKey functions which can work on a handle are able to delete a symbolic link. Pair-Programmed-With: Michael Adam <obnox@samba.org>