summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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
2010-05-22torture: fix typosSimo Sorce1-2/+2
2010-05-22s4:ldb_controls: make it possible to pass arbitrary control via the command lineStefan Metzmacher1-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
2010-05-22s4:libnet: use the new generated config from the provision for the self_joinStefan Metzmacher1-1/+1
This fixes net vampire with the --target-dir option. metze
2010-05-21s4:torture/rap/rap.c - quiet discard const warningMatthias Dieter Wallnöfer1-1/+1
2010-05-21s4:torture/raw/open.c - remove unused variables and fix error handlingMatthias Dieter Wallnöfer1-8/+3
2010-05-21s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warningsMatthias Dieter Wallnöfer1-2/+2
2010-05-21s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warningMatthias Dieter Wallnöfer1-3/+5
The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly or it is NULL if we ran out of memory.
2010-05-21Doh! If you're going to give advice in "useage", make sure it's correct.Jeremy Allison1-2/+2
Jeremy.
2010-05-21Add comments to usage error message for -k to make it obvious what this needs.Jeremy Allison1-2/+3
Jeremy.
2010-05-21s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.Günther Deschner1-5/+40
Guenther
2010-05-21s4-smbtorture: fix smbcli_rap_netuserpasswordset2().Günther Deschner1-2/+2
Guenther
2010-05-21s4-torture: Improved the winreg symlink test.Andreas Schneider1-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>
2010-05-21s4-torture: Disable the security descriptor tests.Andreas Schneider1-2/+7
2010-05-21s4-torture: Try to fix the winreg tests.Andreas Schneider1-42/+76
2010-05-21s4:ldb: add --controls support to ldbeditStefan Metzmacher1-5/+12
metze
2010-05-21s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for ↵Andrew Bartlett2-2/+2
libcli_ldap.h It took a little while to find where to update this... Andrew Bartlett
2010-05-21s4:torture:winreg: improve error messages in test_HKLM_wellknownMichael Adam1-3/+3
2010-05-21s4:torture:winreg: improve error messages in test_QueryValue_fullMichael Adam1-7/+9
So that one has a chance to tell what part of the test failed. And why.
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-1/+1
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21s4:libcli/ldap Rename ldap.h to libcli_ldap.hAndrew Bartlett17-15/+9
It is a problem if a samba header is called ldap.h if we also want to use OpenLDAP's ldap.h Andrew Bartlett
2010-05-21s4:auth Remove un-needed headers.Andrew Bartlett5-9/+0