Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-05-26 | s4/test: make test_cleanup() in libnet_user library more robust | Kamen Mazdrashki | 1 | -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-26 | s4/test: rename enum test_fields{} member names to be more descriptive | Kamen Mazdrashki | 3 | -28/+29 | |
2010-05-26 | s4/test: Replace hand-made field count to test | Kamen Mazdrashki | 3 | -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-26 | s4:smbd: Use tstream_npa_accept_existing to accept named pipe connections | Simo Sorce | 2 | -546/+175 | |
Pair-programmed-with: Stefan Metzmacher <metze@samba.org> | |||||
2010-05-26 | s4:smbd: Add tstream to the stream_connection structure | Simo Sorce | 1 | -0/+1 | |
2010-05-25 | s4:torture/rpc/samr.c: Fix the "ValidatePassword" test | Matthias Dieter Wallnöfer | 1 | -3/+6 | |
It was failing randomly due to an uninitialised "status" variable. | |||||
2010-05-24 | s4:dsdb_enum_group_mem - use "unsigned" counters | Matthias Dieter Wallnöfer | 2 | -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-24 | s4:dsdb_lookup_rids - "unsigned" counters fit better than "signed" in this case | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-05-24 | s4:dsdb_add_user - check the "cn"/"account_name" length (should be >= 1) | Matthias Dieter Wallnöfer | 1 | -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-24 | Add in support for the NTLMSSP version reply. | Jeremy Allison | 2 | -4/+31 | |
Jeremy. | |||||
2010-05-24 | ldb-waf: Install manual pages for ldb in standalone build, install | Jelmer Vernooij | 1 | -4/+23 | |
python module. | |||||
2010-05-24 | s4:winbind Give more detail on the parameters when reporting idmap failure | Andrew Bartlett | 1 | -1/+2 | |
2010-05-24 | s4:winbind Change idmap API to match that used by the source3/ idmap subsystem | Andrew Bartlett | 3 | -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-24 | s4:winbind Change include guard so as not to conflict with idmap.h in source3 | Andrew Bartlett | 2 | -3/+3 | |
2010-05-24 | s4:winbind Fix up includes after seperation of idmap.idl from winbind.idl | Andrew Bartlett | 3 | -1/+3 | |
2010-05-24 | s4:idmap Adjust code to new idmap structure names and layout. | Andrew Bartlett | 9 | -127/+75 | |
Andrew Bartlett | |||||
2010-05-24 | s4:idmap Seperate idmap structures from winbind.idl and match to source3/ idmap | Andrew Bartlett | 2 | -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-24 | s4:samr Push most of samr_LookupRids into a helper function | Andrew Bartlett | 2 | -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-24 | s4:samr Push most of samr_QueryGroupMember into a helper function | Andrew Bartlett | 2 | -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-24 | s4:samr Move most of samr_CreateDomAlias into a helper function | Andrew Bartlett | 2 | -52/+81 | |
This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett | |||||
2010-05-24 | s4:samr Split most of samr_CreateDomainGroup into a helper function | Andrew Bartlett | 2 | -60/+88 | |
This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett | |||||
2010-05-24 | s4:samr Split the guts of samr_CreateUser2 into a helper function | Andrew Bartlett | 3 | -187/+258 | |
This allows this logic to be shared, rather than copied, into a passdb wrapper. Andrew Bartlett | |||||
2010-05-24 | s4:dsdb Allow a NULL search expression in dsdb_search() | Andrew Bartlett | 1 | -2/+5 | |
The NULL search expression expands to (objectClass=*), but %s expands NULL to (NULL) which doesn't parse... Andrew Bartlett | |||||
2010-05-24 | s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL | Andrew Bartlett | 6 | -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-24 | s4:LogonGetDomainInfo - allow to set DNS hostname for the first time | Matthias Dieter Wallnöfer | 1 | -11/+14 | |
Otherwise it obviously can never be set. | |||||
2010-05-24 | s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to ↵ | Matthias Dieter Wallnöfer | 1 | -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-24 | s4:setup/*.ldif - remove unneeded "cn" attributes | Matthias Dieter Wallnöfer | 2 | -2/+0 | |
Should be generated automatically | |||||
2010-05-22 | torture: fix typos | Simo Sorce | 1 | -2/+2 | |
2010-05-22 | s4:ldb_controls: make it possible to pass arbitrary control via the command line | Stefan Metzmacher | 1 | -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-22 | s4:libnet: use the new generated config from the provision for the self_join | Stefan Metzmacher | 1 | -1/+1 | |
This fixes net vampire with the --target-dir option. metze | |||||
2010-05-21 | s4:torture/rap/rap.c - quiet discard const warning | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2010-05-21 | s4:torture/raw/open.c - remove unused variables and fix error handling | Matthias Dieter Wallnöfer | 1 | -8/+3 | |
2010-05-21 | s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warnings | Matthias Dieter Wallnöfer | 1 | -2/+2 | |
2010-05-21 | s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warning | Matthias Dieter Wallnöfer | 1 | -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-21 | Doh! If you're going to give advice in "useage", make sure it's correct. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2010-05-21 | Add comments to usage error message for -k to make it obvious what this needs. | Jeremy Allison | 1 | -2/+3 | |
Jeremy. | |||||
2010-05-21 | s4-smbtorture: Fix NetUserPasswordSet2 RAP tests. | Günther Deschner | 1 | -5/+40 | |
Guenther | |||||
2010-05-21 | s4-smbtorture: fix smbcli_rap_netuserpasswordset2(). | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2010-05-21 | s4-torture: Improved the winreg symlink test. | Andreas Schneider | 1 | -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-21 | s4-torture: Disable the security descriptor tests. | Andreas Schneider | 1 | -2/+7 | |
2010-05-21 | s4-torture: Try to fix the winreg tests. | Andreas Schneider | 1 | -42/+76 | |
2010-05-21 | s4:ldb: add --controls support to ldbedit | Stefan Metzmacher | 1 | -5/+12 | |
metze | |||||
2010-05-21 | s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for ↵ | Andrew Bartlett | 2 | -2/+2 | |
libcli_ldap.h It took a little while to find where to update this... Andrew Bartlett | |||||
2010-05-21 | s4:torture:winreg: improve error messages in test_HKLM_wellknown | Michael Adam | 1 | -3/+3 | |
2010-05-21 | s4:torture:winreg: improve error messages in test_QueryValue_full | Michael Adam | 1 | -7/+9 | |
So that one has a chance to tell what part of the test failed. And why. | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -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-21 | s4:libcli/ldap Rename ldap.h to libcli_ldap.h | Andrew Bartlett | 17 | -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-21 | s4:auth Remove un-needed headers. | Andrew Bartlett | 5 | -9/+0 | |
2010-05-21 | s4:auth Fix previous commit - segfault in determinging a user's groups | Andrew Bartlett | 1 | -5/+3 | |
The previous commit didn't include these vital fixes. Andrew Bartlett | |||||
2010-05-21 | Revert "Make -k a simple non-bool option." | Andrew Bartlett | 1 | -0/+9 | |
This reverts commit 2bbf055dbb15ea99b80ae66adc906ad5494a3999. This change broke 'make test', because the current syntax is deliberate and an integral part of how Samba4 uses Kerberos. If a change like this is to be implemented, then careful review of all our test scripts must be taken first, and then new options such as --dont-use-kerberos, --may-use-kerberos and --must-use-kerberos should be added. Andrew Bartlett |