summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-01Whitespace cleanup.Jeremy Allison1-16/+16
Jeremy.
2008-10-01Fix use of DLIST_REMOVE as spotted by Constantine Vetoshev <gepardcv@gmail.com>.Jeremy Allison3-5/+5
This API is unusual in that if used to remove a non-list head it nulls out the next and prev pointers. This is what you want for debugging (don't want an entry removed from the list to be still virtually linked into it) but means there is no consistent idiom for use as the next and prev pointers get trashed on removal from the list, meaning you must save them yourself. You can use it one way when deleting everything via the head pointer, as this preserves the next pointer, but you *must* use it another way when not deleting everything via the head pointer. Fix all known uses of this (the main one is in conn_free_internal() and would not free all the private data entries for vfs modules. The other changes in web/statuspage.c and winbindd_util.c are not strictly neccessary, as the head pointer is being used, but I've done them for consistency. Long term we must revisit this as this API is too hard to use correctly. Jeremy.
2008-10-01Turn the socket connections into a refcounted list - in the common case ↵Jeremy Allison1-44/+95
there'll now only be one socket per smbd. Changed the format of the wire data to (a) include a version number (V1) as the first element. (b) removed the ";)" at the end an replaced it with a "\n". Receiver can change back if needed, and now receiver can just log "as-is" to a text file (making testing easier). Added my (C). Sorry Holger, but I've changed quite a bit now. Jeremy.
2008-10-01Fix some syntax errors for use with ReST.Jelmer Vernooij1-17/+26
2008-10-01Fix header.Jelmer Vernooij1-1/+1
2008-10-01Fix formatting to be compatible with ReST.Jelmer Vernooij1-13/+16
2008-10-01Update to refer to 3 and 4, not just Samba 3.Jelmer Vernooij1-33/+32
2008-09-30Convert to allocated strings. Use write_data(), not send as this doesn't ↵Jeremy Allison1-58/+42
correctly deal with EINTR. Jim and Holger please check this still works. Jeremy.
2008-09-30Revert erroneous commit.Jeremy Allison1-1/+1
Jeremy.
2008-09-30Remove current_user_info - not needed.Jeremy Allison2-5/+3
Jeremy.
2008-09-30Restructure the module so it connects to the remote data sinkJeremy Allison1-150/+156
on connect, and closes the socket on client disconnect. This should make it much more efficient. Store the remote fd in a private data pointer off the handle. Finally we need to remove the fstrings and convert to allocated buffer storage. Jeremy.
2008-09-30Fix the make test problem Karolin reported. Now rename_open_files actually ↵Jeremy Allison1-2/+2
works correctly we must emit the change notify before we change the name, not before. Jeremy.
2008-09-30Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell95-402/+778
2008-09-30Use a getatr instead to make things cleaner.root1-2/+4
Jeremy.
2008-09-30Add in test name visible on the wire or in debug logs so you can see when ↵Jeremy Allison1-16/+17
particular tests start. Jeremy.
2008-09-30Use UTF8 rather than the possibly different UNIX charset.Matthias Dieter Wallnöfer1-3/+3
2008-09-30check call status not rpc fault code when calling to different levelsAndrew Tridgell1-4/+4
of calls
2008-09-30cope with NULL attrAndrew Tridgell1-1/+3
2008-09-30- make bcast name resolution match other name resolution modules forAndrew Tridgell2-2/+8
host not found errors - when we have no resolve context return NT_STATUS_OBJECT_NAME_NOT_FOUND
2008-09-30Move Samba4-specific files into source4/Jelmer Vernooij3-4/+4
2008-09-30Fix FHS flag, rename to --enable-fhs since it's a feature flagJelmer Vernooij1-7/+12
and doesn't take any arguments.
2008-09-30The author of the upstream code asked for this code to be GPLv2+ not GPLv3Andrew Tridgell1-1/+1
2008-09-30merged a bugfix for the idtree code from the Linux kernel. ThisAndrew Tridgell1-1/+13
matches commit 7aae6dd80e265aa9402ed507caaff4a5dba55069 in the kernel. Many thanks to Jim Houston for pointing out this fix to us
2008-09-30Compare sids in samba3sam tests.Jelmer Vernooij1-11/+21
2008-09-30Make Sid member variables accessible from Python.Jelmer Vernooij3-0/+128
2008-09-30Enable winreg Python tests - authentication works now.Jelmer Vernooij2-2/+2
2008-09-30Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij22-117/+261
2008-09-30s4:drsblob: fix the buildStefan Metzmacher2-29/+1
metze
2008-09-30s4:smb_server/smb: FLAGS2_SMB_SECURITY_SIGNATURES should only be echoed, not ↵Stefan Metzmacher1-5/+6
set always metze
2008-09-29Rework to match new trustDomainPasswords IDLAndrew Bartlett1-5/+5
2008-09-29Fix parsing of the trust passwords in LSA CreateTrustedDomainEx*Andrew Bartlett6-25/+60
2008-09-29Use the new 'samba4' name for our internal hdb plugin.Andrew Bartlett1-1/+1
2008-09-29Rename hdb_ldb to hdb_samba4 and load as a plugin into the kdc.Andrew Bartlett5-43/+78
This avoids one more custom patch to the Heimdal code, and provides a more standard way to produce hdb plugins in future. I've renamed from hdb_ldb to hdb_samba4 as it really is not generic ldb. Andrew Bartlett
2008-09-29NetApp found that we never set the smb signing flags2.Andrew Bartlett1-0/+4
This was found during testing at the CIFS plugfest. No other client seems to honour or use this bit, but it is quite ligitimately required by the spec. Andrew Bartlett
2008-09-29setup the loadparm context for ldb in testjoinAndrew Tridgell1-0/+1
2008-09-29return a more useful error message when no name resolution methods areAndrew Tridgell1-0/+4
available
2008-09-30s4:selftest: make sure we test RPC-OBJECTUUID with sealStefan Metzmacher1-1/+1
metze
2008-09-30s4:torture/rpc: add RPC-OBJECTUUIDStefan Metzmacher3-1/+89
This test shows that object uuids should be ignored if they're present in a dcerpc request. metze
2008-09-30s4:rpc_server: correctly handle dcerpc requests with object uuidsStefan Metzmacher2-6/+12
metze
2008-09-30s4:librpc/rpc: correctly sign or seal rpc request with an object guidStefan Metzmacher1-2/+4
metze
2008-09-30dcerpc.idl: add DCERPC_PFC_OFFSETStefan Metzmacher1-0/+1
metze
2008-09-30s4:selftest: add "smb.signing" to anon signing testsStefan Metzmacher1-3/+3
metze
2008-09-30dcesrv: Remove use of global_loadparm.Jelmer Vernooij1-19/+19
2008-09-30Update .gitignore for new pidl location.Jelmer Vernooij1-4/+4
2008-09-30make sure dcerpc is always initialized.Jelmer Vernooij2-3/+11
2008-09-30Fix segfault.Jelmer Vernooij1-1/+1
2008-09-30wmi: Use cli_credentials.Jelmer Vernooij2-14/+2
2008-09-30Remove two more uses of global loadparm by remember requiredJelmer Vernooij2-16/+31
details for secondary DCE/RPC connections.
2008-09-30Eliminate another global_loadparm.Jelmer Vernooij7-8/+10
2008-09-30Cope with API changes.Jelmer Vernooij16-43/+90