summaryrefslogtreecommitdiff
path: root/source4/smbd/server.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2937: Make sure all memory is initializedJelmer Vernooij1-7/+7
(This used to be commit edf28c42f3c9b41c82a4f642ddae23efbb12c944)
2007-10-10r2857: this commit gets rid of smb_ucs2_t, wpstring and fpstring, plus lots ↵Andrew Tridgell1-2/+0
of associated functions. The motivation for this change was to avoid having to convert to/from ucs2 strings for so many operations. Doing that was slow, used many static buffers, and was also incorrect as it didn't cope properly with unicode codepoints above 65536 (which could not be represented correctly as smb_ucs2_t chars) The two core functions that allowed this change are next_codepoint() and push_codepoint(). These functions allow you to correctly walk a arbitrary multi-byte string a character at a time without converting the whole string to ucs2. While doing this cleanup I also fixed several ucs2 string handling bugs. See the commit for details. The following code (which counts the number of occuraces of 'c' in a string) shows how to use the new interface: size_t count_chars(const char *s, char c) { size_t count = 0; while (*s) { size_t size; codepoint_t c2 = next_codepoint(s, &size); if (c2 == c) count++; s += size; } return count; } (This used to be commit 814881f0e50019196b3aa9fbe4aeadbb98172040)
2007-10-10r1486: commit the start of the generic server infastructureStefan Metzmacher1-19/+23
the idea is to have services as modules (smb, dcerpc, swat, ...) the process_model don't know about the service it self anymore. TODO: - the smbsrv should use the smbsrv_send function - the service subsystem init should be done like for other modules - we need to have a generic socket subsystem, which handle stream, datagram, and virtuell other sockets( e.g. for the ntvfs_ipc module to connect to the dcerpc server , or for smb or dcerpc or whatever to connect to a server wide auth service) - and other fixes... NOTE: process model pthread seems to be broken( but also before this patch!) metze (This used to be commit bbe5e00715ca4013ff0dbc345aa97adc6b5c2458)
2007-10-10r1233: -move smb related code to smb_server/*Stefan Metzmacher1-195/+1
-move process_model code to smbd/process_model.c -remove some used code metze (This used to be commit 10dd8487290a2876253ce69033e374d23b42e704)
2007-10-10r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher1-2/+2
metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-2/+2
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-1/+1
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r277: fix the initialisation of subsystems for process model 'thread' and ↵Stefan Metzmacher1-2/+2
'standard' metze (This used to be commit 3d01cf95ad8b065cd274bc0e544919c7c9336721)
2004-02-02const fixesStefan Metzmacher1-2/+2
metze (This used to be commit a2beaa0823f899ae9f49c2e624f5e10263c5c26b)
2004-02-02- we now specify the object files in the subsystems config.m4 fileStefan Metzmacher1-2/+2
I plan to convert all objectfile group to use SMB_SUBSYSTEM later I'll add a SMB_BINARY() and SMB_LIBRARY(), then there will be no more need to touch Makefile.in, because all make rules will be autogenerated by configure - convert the PROCESS_MODEL subsystem to this new scheme and move the pthread test to smbd/process_model.m4 - convert the CHARSET subsystem to this new scheme and move the iconv test to lib/iconv.m4 (This used to be commit 2e57ee884ebea194ee79ac20e84e385481b56aa2)
2004-01-28merge the version.h autogeneration stuff from 3.0Stefan Metzmacher1-1/+1
metze (This used to be commit 24dc237e109f6dce69814b22e0fb7878a7f6bfa8)
2004-01-09Update Copyright to 1992-2004Stefan Metzmacher1-1/+1
Jerry should I change this in 3_0 and HEAD as well? metze (This used to be commit 664f1e30f816ef64f85b5df841592675a6fe06f2)
2003-12-13dcerpc over tcp in the samba4 server now works to some extent. ItAndrew Tridgell1-30/+40
needs quite a bit more work to get it finished. The biggest missing feature is the lack of NTLMSSP which is needed for basic authentication over tcp (This used to be commit 9fb0f0369356909c99389e2cbc525be27c08793c)
2003-10-30- a few portability fixes from Jim MyersAndrew Tridgell1-1/+1
- added SMBD_LISTEN_BACKLOG in local.h - added the beginnings of a ndr/rpc parsing framework for Samba4. It currently correctly parses security descriptors for the nttrans QUERY_SECDESC call, but I hope it will become a reasonable framework that an idl based generator can work to (This used to be commit 9bf904fc34f88e0581f93656e73d3c01ca96f761)
2003-08-15more fixes from the IRIX compiler (thanks herb!)Andrew Tridgell1-1/+1
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+340
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)