summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2010-03-11NET-API-BECOME-DC: convert to torture apiStefan Metzmacher1-54/+28
metze
2010-03-11s4:rpc_server/drsuapi: don't reset [out,ref] pointer to NULL in ↵Stefan Metzmacher1-1/+0
dcesrv_drsuapi_DsRemoveDSServer() metze
2010-03-11RPC-DSSYNC: fix the build after idl changesStefan Metzmacher1-6/+11
metze
2010-03-11s4: create ../lib/iniparser_build/config.m4Matthieu Patou1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11s4: Modify auth/config.m4 to move pam tests to nsswitch.m4 so that we tests ↵Matthieu Patou2-7/+5
things in one place Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-11s4:provision - Updated FDS schema mapping.Endi S. Dewata1-6/+4
2010-03-11s4:provision Improve the handling of provision errorsAndrew Bartlett3-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-11s4:libcli Use integrated name resolution when connecting SMBAndrew Bartlett2-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-11s4:libcli/resovle File based lookup module for DNS name typesAndrew Bartlett3-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-11s4:samba_dnsupdate Add a 'file based' mode to samba_dnsupdateAndrew Bartlett3-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-11s4:lib/socket Don't go via a string when resolving addresses in connect_multiAndrew Bartlett1-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-11s4:libcli/resolve Use a more robust way to return the string addressAndrew Bartlett2-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-11s4:lib/socket Add function to set a port on the socket addressAndrew Bartlett2-0/+14
2010-03-11s4/rpc_server Don't segfault over replPropertyMetaData contentsAndrew Bartlett1-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-11s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.Günther Deschner1-1/+3
Guenther
2010-03-10s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.Günther Deschner1-10/+29
Guenther
2010-03-10Revert "s4-smbtorture: disable winreg QueryValue test for today."Günther Deschner1-2/+2
This reverts commit 420e3b8553c9e721fba27dd64eb78b2c7105ce64.
2010-03-10ѕ4: EDQUOT needs to be mapped to NT_STATUS_DISK_FULLBjörn Jacke1-1/+1
2010-03-10s4:libnet - change variables to "unsigned" where neededMatthias Dieter Wallnöfer8-12/+13
2010-03-10s4:libnet_become_dc - change counter variables to "unsigned" where they ↵Matthias Dieter Wallnöfer2-3/+3
count LDB objects
2010-03-10s4:winreg RPC - fix up the "QueryValue" call to work against the enhanced ↵Matthias Dieter Wallnöfer1-7/+11
torture test Found out by gd's updated torture test.
2010-03-10s4:registry/ldb.c - if "name" isn't set we should return WERR_INVALID_PARAMMatthias Dieter Wallnöfer1-1/+5
2010-03-10s4:build/m4/public.m4: add realname argument to SMB_BUILD_LIBRARY()Stefan Metzmacher1-1/+2
metze
2010-03-10s4:rpc_server/wkssvc: don't reset [out,ref] pointer to 0Stefan Metzmacher1-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-10s4:rpc_server/wkssvc: remove unneeded talloc_reference()Stefan Metzmacher1-4/+2
metze
2010-03-10s4:rpc_server/wkssvc: avoid ZERO_STRUCT(r->out) and use already allocated ↵Stefan Metzmacher1-4/+0
[out,ref] memory metze
2010-03-10s4:rpc_server/srvsvc: remove unused ZERO_STRUCT(r->out);Stefan Metzmacher1-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-10s4/drs: DsRemoveDSServer - Propagating IDL changes to source codeKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsWriteAccountSpn - Propagating IDL changes to source codeKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki3-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/drs: DsGetNCChanges - Propagating IDL changes to source codeKamen Mazdrashki4-7/+7
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4-smbtorture: do full winreg QueryValue test for values we created.Günther Deschner1-0/+27
Guenther
2010-03-10s4-smbtorture: check for non existing value under version key in RPC-WINREG.Günther Deschner1-0/+2
Guenther
2010-03-10s4-spoolss: remove unsed iconv handle from dcesrv_spoolss_GetPrinterData().Günther Deschner1-1/+0
Guenther
2010-03-10s4:winreg RPC - don't crash when incoming data wasn't correctly specifiedMatthias Dieter Wallnöfer1-2/+8
Also found by the WINREG torture test enhancements by gd.
2010-03-10s4:lib/registry/ldb.c - fix up registry backend to be more robustMatthias Dieter Wallnöfer1-9/+5
This should let the new WINREG tests written by gd at least pass against us.
2010-03-10s4-smbtorture: disable winreg QueryValue test for today.Günther Deschner1-2/+2
wow, both s3 and s4 crash on full coverage winreg QueryValue testing. Guenther
2010-03-10s4-smbtorture: fix some build warnings in RPC-SPOOLSS test.Günther Deschner1-8/+8
Guenther
2010-03-10s4-smbtorture: on HKLM hive test the well known CurrentVersion value.Günther Deschner1-0/+17
Guenther
2010-03-10s4-smbtorture: add full coverage test for winreg QueryValue calls.Günther Deschner1-0/+101
Guenther
2010-03-10s4-smbtorture: rework test_winreg_QueryValue in RPC-SPOOLSS-PRINTER once again.Günther Deschner1-3/+8
Guenther
2010-03-10s4-smbtorture: add tests for set and delete value in RPC-WINREG.Günther Deschner1-0/+52
Guenther
2010-03-09Fix typo and convert spaces to tabsSimo Sorce1-4/+4
2010-03-09s4:ldb fix escape parsingSimo Sorce1-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-09s4:winbind - use "unsigned" variables where possibleMatthias Dieter Wallnöfer5-27/+27
2010-03-09s4:winbind/wb_cmd_getgroups.c - fix up warningsMatthias Dieter Wallnöfer1-8/+16
Also fix some indentations.
2010-03-09s4:winbind: stub implementation of WINBINDD_PAM_LOGOFFMatthieu Patou2-2/+29
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09s4:winbind: Fix a misplaced returned infoMatthieu Patou1-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-09s4:winbind Implement logic for getgroups to workMatthieu Patou3-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-09s4:winbind: implement calls for allowing getent groupsMatthieu Patou5-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>