summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner3-0/+3
Guenther
2011-04-13s3-netapi: remove two shadowed variables.Günther Deschner1-2/+0
Guenther
2011-04-13s3-util_sock: very brief documentation for open_socket_out().Günther Deschner1-0/+10
The most important bit is to document that timeout is in MILLIseconds, not seconds. Guenther
2011-04-13s3-charcnv: Move convert_string() et al to lib/util/charsetAndrew Bartlett1-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>
2011-04-13lib/util: Make string_replace from s3 commonAndrew Bartlett1-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>
2011-04-13lib/util ucs2_align is identical, put it in commonAndrew Bartlett1-7/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util Move simple string routines into common code.Andrew Bartlett1-49/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13lib/util/charset Move source3/lib/util_unistr.c to the common code.Andrew Bartlett2-364/+39
This file (largely) contains functions to deal with UTF16 strings. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Move strdup_w to it's only user in mangle_hash.cAndrew Bartlett1-18/+0
Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Move isvalid83_w to mangle_hash.cAndrew Bartlett3-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>
2011-04-13s3-lib make static and remove more _w functionsAndrew Bartlett1-14/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Remove unused #defineAndrew Bartlett1-4/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Remove unused skip_unibuf()Andrew Bartlett1-20/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib: Remove unused _w functions.Andrew Bartlett1-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>
2011-04-13s3-lib Correct comment in strlen_w()Andrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib Remove more unused fstring.c functionsAndrew Bartlett1-46/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-charcnv: make pull_ucs2 staticAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-13s3-lib: Remove unused pull_ucs2_fstring()Andrew Bartlett1-4/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-04-12s3-util: separate out cmdline helpers.Günther Deschner2-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
2011-04-12s3-netapi: use dcerpc_try_samr_connects().Günther Deschner1-4/+18
Guenther
2011-04-12s3-netapi: use libnetapi_get_binding_handle().Günther Deschner6-108/+54
Guenther
2011-04-12s3-netapi: add libnetapi_get_binding_handle().Günther Deschner2-0/+27
Guenther
2011-04-11s3: Fix timeout calculation in event_add_to_poll_argsVolker Lendecke1-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
2011-04-06s3: Fix tldap_make_mod_blob_int() debug messagesSumit Bose1-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
2011-04-06s3-smbldap: make octet_strings/DATA_BLOBs const.Sumit Bose1-4/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-smbldap: support storing octet_strings/DATA_BLOBs.Günther Deschner1-21/+91
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-04s3: add function srprs_quoted to parse strings written with cbuf_print_quotedGregor Beck2-1/+52
2011-04-04s3: add function cbuf_print_quotedGregor Beck2-1/+49
2011-04-04s3: add function dbwrap_traverseGregor Beck1-0/+8
2011-04-04s3: add function dbwrap_trans_traverseGregor Beck1-0/+30
2011-04-04s3: fix cbuf_swapptrGregor Beck1-0/+2
2011-03-31s3:dbwrap_ctdb: in ctdb_delete, send a SCHEDULE_FOR_DELETION control to ↵Michael Adam1-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.
2011-03-31s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the controlMichael Adam1-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.
2011-03-31s3:ctdb: samba can now handle the NOREPLY flagMichael Adam1-3/+0
Revert "samba3 can't handle NOREPLY yet" This reverts commit 9bf211db6d7d6ef6e59508de69d6d8dfe5bae059.
2011-03-31s3:ctdb: correctly handle cstatus if CTDB_CTRL_FLAG_NOREPLY is set.Michael Adam1-0/+3
2011-03-31s3-libndr: add ../librpc/ndr/libndr.h include in some places.Günther Deschner1-0/+1
Guenther
2011-03-30Fix convert_string() to take a *converted_size arg. and return a bool.Jeremy Allison4-40/+49
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104
2011-03-30Change convert_string_internal() and convert_string_error() to bool return.Jeremy Allison2-57/+54
Move closer to makeing all convert_string_XXX functions return bool. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 20:58:10 CEST 2011 on sn-devel-104
2011-03-30Fix the nstring calls to use the correct sizes.Jeremy Allison1-6/+6
2011-03-30s3: Fix g_lock_lock after the select/poll conversionVolker Lendecke1-1/+1
Without clustering we don't have an fd to listen on, and sys_poll needs one element of space Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 18:36:50 CEST 2011 on sn-devel-104
2011-03-30s3-winbind: try to fix the build on hosts w/o winbind support.Günther Deschner1-1/+1
Guenther
2011-03-30lib/util Move base64 functions into lib/util/base64.cAndrew Bartlett1-115/+0
Andrew Bartlett
2011-03-30s3:lib make lazy_initialize_conv() staticAndrew Bartlett1-1/+1
2011-03-30s3: try to fix the build on some non-linux buildfarm machines.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 11:39:31 CEST 2011 on sn-devel-104
2011-03-30s3-ctdb_wrap: remove unused variable from db_ctdb_fetch_persistent().Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 30 02:00:50 CEST 2011 on sn-devel-104
2011-03-30s3: only include lib/privileges.h where needed.Günther Deschner2-0/+19
This finally removes the global lsa.h inclusion. Guenther
2011-03-30s3: include ../librpc/gen_ndr/lsa.h where needed.Günther Deschner2-0/+3
Guenther
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner7-10/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner11-0/+11
Guenther
2011-03-30s3-auth: use auth.h where needed.Günther Deschner1-0/+1
Guenther