summaryrefslogtreecommitdiffstats
path: root/source/smbd/srvstr.c
Commit message (Collapse)AuthorAgeFilesLines
* Match the 3.0.27a version of this function.Jeremy Allison2007-11-161-14/+4
| | | | Jeremy.
* [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-testGerald (Jerry) Carter2007-10-101-1/+1
|
* r24133: Explicitly pass flags2 down to push_string_fnVolker Lendecke2007-10-101-3/+7
| | | | This needs a bit closer review, it also touches the client libs
* r24130: Explicitly pass flags2 to srvstr_pushVolker Lendecke2007-10-101-3/+3
| | | | | This is in preparation of the trans2 conversion: srvstr_push should not look at inbuf directly.
* r24000: Add message_push_blob() and message_push_string().Volker Lendecke2007-10-101-0/+40
| | | | | | The proposed new API convention is to start with a 0 bcc length and then push things step by step. These routines reallocate the outbuf and adjust the length and bcc fields as necessary.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* (merge from HEAD)Andrew Bartlett2003-03-221-0/+44
| | | | | | | | | | | | | | | Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett
* Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett2003-03-181-41/+0
| | | | | | | | | | This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-0/+9
|
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header.
* The big character set handling changeover!Andrew Tridgell2001-07-041-140/+5
| | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation.
* Added STR_NOALIGN flags to clistr and srvstr fns. Yes, NT actually doesAndrew Tridgell2001-06-211-17/+21
| | | | | | | | send unaligned unicode strings sometimes! Fixed our handling of the workgroup name tacked on the end of the NT1 negprot response (a unaligned unicode) fixed a couple of places where we should be using the message_end fns instead of pre-calculated buffer lengths
* started converting some of the only-ascii code to use srvstr_*Andrew Tridgell2001-03-311-0/+18
| | | | | | | added srvstr_push_ascii() and srvstr_pull_ascii() as convenience routines to replace the current usage of strncpy() like fns for packet pull/push. We need to do this in *lots* of places in Samba in order to get our codepage handling right
* fixed some compilation errors with IRIX ccAndrew Tridgell2001-03-181-2/+2
|
* don't need srvstr_push_size or srvstr_pull_sizeAndrew Tridgell2001-03-141-40/+0
|
* simpler and more correct srvstr_push()Andrew Tridgell2001-03-131-10/+10
| | | | | | it now uses outbuf not inbuf for the unicode flag, which allows for some server fns to be ascii and means one less parameter in push calls
* added STR_ASCII flag to srvstr_pull()Andrew Tridgell2001-03-131-2/+2
|
* started support for unicode on the wire in smbd. Using a very similarAndrew Tridgell2001-03-101-0/+186
method to what was used in the client I now have session setup and tconx working. Currently this is enabled with SMBD_USE_UNICODE environment variable. Once the code is complete this will become a smb.conf option.