summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-11libcli/nbt Add parser for a 'hosts' file that takes DNS record typesAndrew Bartlett3-0/+313
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-11Move prototype to header of common code for set_sockaddr_portAndrew Bartlett2-1/+2
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-10vfs_netatalk: Segfault if hide files or veto files has no ".AppleDouble"SATOH Fumiyasu1-1/+1
2010-03-11s4-smbtorture: only look at DATA_BLOB pointer when einfo[0].data_length > 0.Günther Deschner1-1/+3
Guenther
2010-03-10Added regression test for bug #7234 - Symlink delete fails but incorrectly ↵Jeremy Allison2-5/+47
reports success. Ensure we can delete a symlink by path. Jeremy.
2010-03-10s4-smbtorture: while testing PrinterDataEx also compare Get and Enum results.Günther Deschner1-10/+29
Guenther
2010-03-10Fix bug #7234 - Symlink delete fails but incorrectly reports success to client.Jeremy Allison1-1/+1
Typo called LSTAT instead of STAT in the unlink by pathname path. Jeremy.
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-10nsswitch: build libnss_winbind.so with SOVERSION = 2Stefan Metzmacher1-0/+2
metze
2010-03-10nsswitch: don't use socket_wrapper for winbind client codeStefan Metzmacher1-2/+1
metze
2010-03-10nsswitch: build libnss_winbindd.so only for the non merged buildStefan Metzmacher1-0/+2
metze
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-10idl: Regenerate DRSUAPI idl filesKamen Mazdrashki5-299/+225
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: drsuapi_QuerySitesByCostCtr1 'unknown' member is now knownKamen Mazdrashki1-1/+1
and this it is a reserved fields for future flags - 'flags_reserver' Must be 0 and is currently ignored. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: QuerySitesByCost - switch types should be unsignedKamen Mazdrashki1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: DsGetMemberships2 - switch types should be unsignedKamen Mazdrashki1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
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/idl: DsRemoveDSServer - switch types should be unsignedKamen Mazdrashki1-4/+4
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/idl: DsWriteAccountSpn - switch types should be unsignedKamen Mazdrashki1-4/+4
Changes also propagated into source code as they are too minor to be done in separate commit Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s3/drs: DsCrackNames - Propagating IDL changes to source codeKamen Mazdrashki2-4/+4
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/idl: DsCrackNames - switch types should be unsignedKamen Mazdrashki1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: DsGetMemberships - switch types should be unsignedKamen Mazdrashki1-4/+4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: DsReplicaMod - switch types should be unsignedKamen Mazdrashki1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: DsReplicaDel - switch types should be unsignedKamen Mazdrashki1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: DsReplicaAdd - switch types should be unsignedKamen Mazdrashki1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: DsReplicaUpdateRefs - switch types should be unsignedKamen Mazdrashki1-2/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s3/drs: DsGetNCChanges - Propagating IDL changes to source codeKamen Mazdrashki2-9/+9
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/idl: DsGetNCChanges - switch types should be unsignedKamen Mazdrashki1-5/+5
Converting those types to unsigned should help in creating DRSUAPI dissector for Wireshark also. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s4/idl: drsuapi_DsReplicaSyncOptions flags are no more usedKamen Mazdrashki2-28/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10doxygen: talloc_get_type name fixed in Doxygen documentationKamen Mazdrashki1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-10s3-winreg: add some debug statements to _winreg_QueryValue().Günther Deschner1-2/+6
Guenther