Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-03-11 | s4:provision - Updated FDS schema mapping. | Endi S. Dewata | 1 | -6/+4 | |
2010-03-11 | s4:provision Improve the handling of provision errors | Andrew Bartlett | 3 | -29/+42 | |
The backtraces were too confusing for our users, and didn't tell them what to do to fix the problem. By printing the string (rather than a backtrace), and including in the error what to do, and what file to remove, we give them a chance. Andrew Bartlett | |||||
2010-03-11 | s4:libcli Use integrated name resolution when connecting SMB | Andrew Bartlett | 2 | -38/+13 | |
This avoids pulling the address into a string and back again if given a name, by letting the next async layer down do the name resolution. If it was an IP address to start with, then the resolver library just converts that to the struct socket_address. Andrew Bartlett | |||||
2010-03-11 | s4:libcli/resovle File based lookup module for DNS name types | Andrew Bartlett | 3 | -1/+153 | |
This uses the new common code to read a file containing DNS host names, so we don't have to use real DNS lookups in our test environment. Andrew Bartlett | |||||
2010-03-11 | s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdate | Andrew Bartlett | 3 | -25/+60 | |
For the testsuite to use DNS like names, we need to write these names to a file. Also, to have this run in 'make test' the usual rules about 'no 127.*' IP addresses in DNS must be skipped, so glue.interface_ips takes two arguments now | |||||
2010-03-11 | s4:lib/socket Don't go via a string when resolving addresses in connect_multi | Andrew Bartlett | 1 | -28/+20 | |
This also removes the special case for IP addresses, and leaves that to the code in the resolver library. Andrew Bartlett | |||||
2010-03-11 | s4:libcli/resolve Use a more robust way to return the string address | Andrew Bartlett | 2 | -3/+12 | |
By going via these tevent functions, we avoid needing to dereference the struct socket_address, which may contain a 'struct sockaddr' or strings. The new dns_host_file resolver returns in the form of a struct sockaddr. Andrew Bartlett | |||||
2010-03-11 | s4:lib/socket Add function to set a port on the socket address | Andrew Bartlett | 2 | -0/+14 | |
2010-03-11 | s4/rpc_server Don't segfault over replPropertyMetaData contents | Andrew Bartlett | 1 | -0/+7 | |
The replPropertyMetaData may contain attrid values that we don't yet have in the local schema. We need to deal with this - it is a serious error, but we should not segfault. Andrew Bartlett | |||||
2010-03-11 | s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0. | Günther Deschner | 1 | -1/+3 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results. | Günther Deschner | 1 | -10/+29 | |
Guenther | |||||
2010-03-10 | Revert "s4-smbtorture: disable winreg QueryValue test for today." | Günther Deschner | 1 | -2/+2 | |
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64. | |||||
2010-03-10 | ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULL | Björn Jacke | 1 | -1/+1 | |
2010-03-10 | s4:libnet - change variables to "unsigned" where needed | Matthias Dieter Wallnöfer | 8 | -12/+13 | |
2010-03-10 | s4:libnet_become_dc - change counter variables to "unsigned" where they ↵ | Matthias Dieter Wallnöfer | 2 | -3/+3 | |
count LDB objects | |||||
2010-03-10 | s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced ↵ | Matthias Dieter Wallnöfer | 1 | -7/+11 | |
torture test Found out by gd's updated torture test. | |||||
2010-03-10 | s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAM | Matthias Dieter Wallnöfer | 1 | -1/+5 | |
2010-03-10 | s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2010-03-10 | s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0 | Stefan Metzmacher | 1 | -6/+0 | |
r->out.total_entries = 0; should be *r->out.total_entries = 0; Otherwise we fail to marshall the reponse or crash if we run with log level = 10 and trigger the ndr_print functions. All out elements are already setup and initialized by the pidl generated code. metze | |||||
2010-03-10 | s4:rpc_server/wkssvc: remove unneeded talloc_reference() | Stefan Metzmacher | 1 | -4/+2 | |
metze | |||||
2010-03-10 | s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated ↵ | Stefan Metzmacher | 1 | -4/+0 | |
[out,ref] memory metze | |||||
2010-03-10 | s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out); | Stefan Metzmacher | 1 | -2/+0 | |
Here it doesn't matter, but it's a bad example for other code as it might reset the [out,ref] pointers which are already generated by the pidl generated code. metze | |||||
2010-03-10 | s4/drs: DsRemoveDSServer - Propagating IDL changes to source code | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsWriteAccountSpn - Propagating IDL changes to source code | Kamen Mazdrashki | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsCrackNames - Propagating IDL changes to source code | Kamen Mazdrashki | 3 | -4/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4/drs: DsGetNCChanges - Propagating IDL changes to source code | Kamen Mazdrashki | 4 | -7/+7 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2010-03-10 | s4-smbtorture: do full winreg QueryValue test for values we created. | Günther Deschner | 1 | -0/+27 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: check for non existing value under version key in RPC-WINREG. | Günther Deschner | 1 | -0/+2 | |
Guenther | |||||
2010-03-10 | s4-spoolss: remove unsed iconv handle from dcesrv_spoolss_GetPrinterData(). | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-03-10 | s4:winreg RPC - don't crash when incoming data wasn't correctly specified | Matthias Dieter Wallnöfer | 1 | -2/+8 | |
Also found by the WINREG torture test enhancements by gd. | |||||
2010-03-10 | s4:lib/registry/ldb.c - fix up registry backend to be more robust | Matthias Dieter Wallnöfer | 1 | -9/+5 | |
This should let the new WINREG tests written by gd at least pass against us. | |||||
2010-03-10 | s4-smbtorture: disable winreg QueryValue test for today. | Günther Deschner | 1 | -2/+2 | |
wow, both s3 and s4 crash on full coverage winreg QueryValue testing. Guenther | |||||
2010-03-10 | s4-smbtorture: fix some build warnings in RPC-SPOOLSS test. | Günther Deschner | 1 | -8/+8 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: on HKLM hive test the well known CurrentVersion value. | Günther Deschner | 1 | -0/+17 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: add full coverage test for winreg QueryValue calls. | Günther Deschner | 1 | -0/+101 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again. | Günther Deschner | 1 | -3/+8 | |
Guenther | |||||
2010-03-10 | s4-smbtorture: add tests for set and delete value in RPC-WINREG. | Günther Deschner | 1 | -0/+52 | |
Guenther | |||||
2010-03-09 | Fix typo and convert spaces to tabs | Simo Sorce | 1 | -4/+4 | |
2010-03-09 | s4:ldb fix escape parsing | Simo Sorce | 1 | -2/+24 | |
sscanf can return also on short reads, in this case an invalid escape sequence like '\1k' would be accepted, returning 1 as value and swallowing the 'k'. Use an auxiliar function to validate and convert hex escapes. | |||||
2010-03-09 | s4:winbind - use "unsigned" variables where possible | Matthias Dieter Wallnöfer | 5 | -27/+27 | |
2010-03-09 | s4:winbind/wb_cmd_getgroups.c - fix up warnings | Matthias Dieter Wallnöfer | 1 | -8/+16 | |
Also fix some indentations. | |||||
2010-03-09 | s4:winbind: stub implementation of WINBINDD_PAM_LOGOFF | Matthieu Patou | 2 | -2/+29 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-03-09 | s4:winbind: Fix a misplaced returned info | Matthieu Patou | 1 | -4/+2 | |
libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-03-09 | s4:winbind Implement logic for getgroups to work | Matthieu Patou | 3 | -17/+273 | |
This function is called by the system everytime we do a id user or when we do wbinfo -r Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-03-09 | s4:winbind: implement calls for allowing getent groups | Matthieu Patou | 5 | -2/+379 | |
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed. Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-03-09 | s4:torture/rpc/netlogon.c - "LogonGetDomainInfo" test - make it compatible ↵ | Matthias Dieter Wallnöfer | 1 | -18/+100 | |
against Windows Server 2008 This is a reworked version of the mentioned test which passes against Windows Server 2008. The previous version, also mainly written by me passed only against Windows Server <= 2003. | |||||
2010-03-09 | s4:netlogon RPC - "LogonGetDomainInfo" - make the call compatible with >= ↵ | Matthias Dieter Wallnöfer | 1 | -23/+62 | |
Windows 2008 Add more security checks and other corrections to imitate Windows Server >= 2008. | |||||
2010-03-09 | s4-smbtorture: fix uninitialized variable in winreg QueryValue call. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-03-09 | s3: Fix a typo. Thanks to Christian Ambach for pointing me at it :-) | Volker Lendecke | 1 | -1/+1 | |
2010-03-09 | A helper function to get the Infrastructure DN. | Nadezhda Ivanova | 1 | -0/+12 | |