summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* s3: Fix Coverity ID 2478, UNINITVolker Lendecke2011-04-231-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 23 14:11:22 CEST 2011 on sn-devel-104
* s3:lib/sysquota: remove ugly LARGE_SMB_OFF_T ifdef'sStefan Metzmacher2011-04-231-24/+0
| | | | | | We rely on uint64_t for a long time now... metze
* s3: Fix Coverity ID 2307, NULL_RETURNSVolker Lendecke2011-04-221-0/+4
|
* s3: Fix Coverity ID 1340, NULL_RETURNSVolker Lendecke2011-04-221-0/+4
|
* lib/util/charset create _handle functions for convert_string() et alAndrew Bartlett2011-04-201-12/+0
| | | | | | | | | | | | | | This is now API compatible with the existing code in lib/util/charset lazy_initialize_conv() is no longer called as init_iconv() is called when the smb.conf is processed, and get_conv_handle() will auto-init with defaults if required. load_case_tables_library() is no longer requried as all binaries and libraries already load these in their entry points, as otherwise all the other string functions would fail. Andrew Bartlett
* s3: Use \0 instead of NULL when 0-terminating a stringVolker Lendecke2011-04-171-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
* s3: Remove an unused variableVolker Lendecke2011-04-161-3/+0
|
* s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner2011-04-141-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
* lib/util Move alpha_strcpy() from s3 into common codeAndrew Bartlett2011-04-141-50/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
* s3-lib Remove very unused (#if 0) strncpynAndrew Bartlett2011-04-141-25/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 06:27:31 CEST 2011 on sn-devel-104
* s3-lib Remove unused string_appendAndrew Bartlett2011-04-141-22/+0
|
* s3-lib Move unix_strlower and unix_strupper to their only users.Andrew Bartlett2011-04-142-41/+41
|
* s3-lib Remove unused str_ascii_charnum()Andrew Bartlett2011-04-141-18/+0
|
* s3-lib Move strisnormal to it's only user in mangle_hash.cAndrew Bartlett2011-04-141-13/+0
|
* s3-includes: only include acl prototypes when needed.Günther Deschner2011-04-141-0/+20
| | | | Guenther
* s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner2011-04-133-0/+3
| | | | Guenther
* s3-netapi: remove two shadowed variables.Günther Deschner2011-04-131-2/+0
| | | | Guenther
* s3-util_sock: very brief documentation for open_socket_out().Günther Deschner2011-04-131-0/+10
| | | | | | | The most important bit is to document that timeout is in MILLIseconds, not seconds. Guenther
* s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett2011-04-131-445/+1
| | | | | | | | | This is the first step to this being the common convert_string implementation. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util: Make string_replace from s3 commonAndrew Bartlett2011-04-131-43/+0
| | | | | | | | | The s4 implementation didn't do multibyte strings, so was only good for '/' which is known to be safe in all multibyte charsets. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util ucs2_align is identical, put it in commonAndrew Bartlett2011-04-131-7/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util Move simple string routines into common code.Andrew Bartlett2011-04-131-49/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* lib/util/charset Move source3/lib/util_unistr.c to the common code.Andrew Bartlett2011-04-132-364/+39
| | | | | | | | This file (largely) contains functions to deal with UTF16 strings. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib Move strdup_w to it's only user in mangle_hash.cAndrew Bartlett2011-04-131-18/+0
| | | | | | Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib Move isvalid83_w to mangle_hash.cAndrew Bartlett2011-04-133-51/+0
| | | | | | | | | | | | This means that there is no need for the 'valid.dat' table to be loaded by anything other than smbd, so the unloader is also removed. The concept of a 'valid dos character' has been replaced by the hash2 mangle method. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib make static and remove more _w functionsAndrew Bartlett2011-04-131-14/+2
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib Remove unused #defineAndrew Bartlett2011-04-131-4/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib Remove unused skip_unibuf()Andrew Bartlett2011-04-131-20/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib: Remove unused _w functions.Andrew Bartlett2011-04-131-213/+1
| | | | | | | | | In general we don't manipulate UTF16 strings internally, particularly as they are also multibyte, so are no easier to work with than UTF8. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib Correct comment in strlen_w()Andrew Bartlett2011-04-131-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib Remove more unused fstring.c functionsAndrew Bartlett2011-04-131-46/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-charcnv: make pull_ucs2 staticAndrew Bartlett2011-04-131-1/+1
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-lib: Remove unused pull_ucs2_fstring()Andrew Bartlett2011-04-131-4/+0
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3-util: separate out cmdline helpers.Günther Deschner2011-04-122-253/+277
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 12 13:06:27 CEST 2011 on sn-devel-104
* s3-netapi: use dcerpc_try_samr_connects().Günther Deschner2011-04-121-4/+18
| | | | Guenther
* s3-netapi: use libnetapi_get_binding_handle().Günther Deschner2011-04-126-108/+54
| | | | Guenther
* s3-netapi: add libnetapi_get_binding_handle().Günther Deschner2011-04-122-0/+27
| | | | Guenther
* s3: Fix timeout calculation in event_add_to_poll_argsVolker Lendecke2011-04-111-1/+1
| | | | | | | | | In the initial phase nmbd does not yet have timed events. This led to nmbd not correctly registering its names in make test and certainly everywhere else. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 11 14:35:45 CEST 2011 on sn-devel-104
* s3: Fix tldap_make_mod_blob_int() debug messagesSumit Bose2011-04-061-3/+3
| | | | | | | Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 6 13:10:30 CEST 2011 on sn-devel-104
* s3-smbldap: make octet_strings/DATA_BLOBs const.Sumit Bose2011-04-061-4/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-smbldap: support storing octet_strings/DATA_BLOBs.Günther Deschner2011-04-061-21/+91
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3: add function srprs_quoted to parse strings written with cbuf_print_quotedGregor Beck2011-04-042-1/+52
|
* s3: add function cbuf_print_quotedGregor Beck2011-04-042-1/+49
|
* s3: add function dbwrap_traverseGregor Beck2011-04-041-0/+8
|
* s3: add function dbwrap_trans_traverseGregor Beck2011-04-041-0/+30
|
* s3: fix cbuf_swapptrGregor Beck2011-04-041-0/+2
|
* s3:dbwrap_ctdb: in ctdb_delete, send a SCHEDULE_FOR_DELETION control to ↵Michael Adam2011-03-311-1/+56
| | | | | | | | | | | | local ctdbd This way, the record will be scheduled for fast vacuuming. This is sent with the NOREPLY flag, so ctd should not sent a reply packet and samba does not expect one. Hence, it is not important for the success of the db_ctdb_delete command whether or not the ctdbd we are running against supports the SCHEDULE_FOR_DELETION control.
* s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the controlMichael Adam2011-03-311-0/+1
| | | | | | The only flag that is currently used is the NOREPLY flag to indicate that the client expects no reply packet. This needs to get passed down to the ctdb daemon so that it really does not send a reply.
* s3:ctdb: samba can now handle the NOREPLY flagMichael Adam2011-03-311-3/+0
| | | | | | Revert "samba3 can't handle NOREPLY yet" This reverts commit 9bf211db6d7d6ef6e59508de69d6d8dfe5bae059.
* s3:ctdb: correctly handle cstatus if CTDB_CTRL_FLAG_NOREPLY is set.Michael Adam2011-03-311-0/+3
|