Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-08 | lib: added base64_decode_data_blob_talloc() | Andrew Tridgell | 1 | -0/+8 | |
its nice to be able to allocate on other than NULL Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-14 | util: add function to extend anonymous shared memory | Simo Sorce | 1 | -0/+1 | |
2011-08-10 | lib-util: Make useful function a common utility. | Simo Sorce | 1 | -0/+5 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-07-06 | libcli/smb move enum protocol_types to a common header | Andrew Bartlett | 1 | -15/+0 | |
2011-06-21 | lib/util: Use common d_printf() in the whole codebase | Andrew Bartlett | 1 | -3/+0 | |
This removes the lang_tdb based varient, the only user of the lang_tdb code is SWAT, which calls that directly. 'net' and 'pam_winbind' are internationalised using gettext. Andrew Bartlett | |||||
2011-06-21 | lib/util Make unused d_vfprintf() static | Andrew Bartlett | 1 | -1/+0 | |
2011-06-09 | lib/util Bring procid_str() into lib/util as server_id_string() | Andrew Bartlett | 1 | -0/+2 | |
This is needed for OpenChange, which prints Samba struct server_id values in debug messages. Andrew Bartlett | |||||
2011-06-06 | lib/util use modules_path(), data_path() and shlib_ext() from source3 | Andrew Bartlett | 1 | -0/+26 | |
This brings these helpful utility functions in common, as they are not based on either loadparm system. (The 'modules dir' parameter from Samba4 will shortly be removed, so there is no loss in functionality) Andrew Bartlett | |||||
2011-05-31 | lib/util Move sys_memalign into lib/util/system.c | Andrew Bartlett | 1 | -0/+2 | |
2011-05-06 | lib/util don't use enum protocol_types in ms_fnmatch_protocol | Andrew Bartlett | 1 | -1/+1 | |
This makes it easier to compile this in the top level with s3 and s4 headers. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 6 08:50:52 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbol | Andrew Bartlett | 1 | -2/+3 | |
This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett | |||||
2011-05-04 | I added them, so I get to kill them :-). Finally remove all uses of ↵ | Jeremy Allison | 1 | -12/+0 | |
safe_strcpy and safe_strcat. Change to strlcpy, strlcat. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104 | |||||
2011-05-03 | lib/util Use compiler-checked safe string macros in top level code. | Andrew Bartlett | 1 | -2/+4 | |
This brings the 'safe' macros to the top level code, and removes duplication of the safe_strcpy() and safe_strcat() functions. Andrew Bartlett | |||||
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 1 | -1/+13 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-04-30 | lib/util Rename conv_str_size() -> conv_str_size_error() | Andrew Bartlett | 1 | -3/+1 | |
2011-04-29 | lib/util Re-merge the string_sub() and all_string_sub() from source3 | Andrew Bartlett | 1 | -0/+2 | |
Andrew Bartlett | |||||
2011-03-30 | lib/util Move base64 functions into lib/util/base64.c | Andrew Bartlett | 1 | -0/+13 | |
Andrew Bartlett | |||||
2011-03-29 | lib: removed a spurios declaration of 'logfile' | Andrew Tridgell | 1 | -1/+0 | |
we don't have a global logfile variable any more Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-03-23 | fault: fixed smb_panic() prototypes | Andrew Tridgell | 1 | -2/+0 | |
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104 | |||||
2011-03-23 | fault: get fault.c ready for use by s4 | Andrew Tridgell | 1 | -6/+7 | |
this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use | |||||
2011-03-15 | lib: fixed header paths | Andrew Tridgell | 1 | -8/+8 | |
this is a public header, and needs to use sane paths for the public header creation | |||||
2011-02-22 | s3:auth: change num_groups to from size_t to uint32_t | Stefan Metzmacher | 1 | -2/+2 | |
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze | |||||
2011-02-18 | lib/util Remove #if _SAMBA_BUILD_ == 4 that isn't required any more | Andrew Bartlett | 1 | -2/+0 | |
2011-02-18 | s4-util: removed the valgrind_strlen() routine | Andrew Tridgell | 1 | -7/+0 | |
this was for a bug in valgrind from 7 years ago. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-01-20 | lib/util: add anonymous_shared_free() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-01-20 | lib/util: s/allocate_anonymous_shared/anonymous_shared_allocate/ | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-12-21 | s4-dns: disable segfault handling in dlz_bind9 | Andrew Tridgell | 1 | -0/+1 | |
we don't want bind9 calling the Samba segv handler | |||||
2010-10-26 | lib/util: remove useless ../lib/util/mutex.* | Stefan Metzmacher | 1 | -10/+0 | |
Only the disabled process_thread.c registers uses the register fn, all other functions are not used anywhere. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Oct 26 23:29:46 UTC 2010 on sn-devel-104 | |||||
2010-10-24 | Add dump_data_cb() | Volker Lendecke | 1 | -0/+8 | |
2010-10-24 | Add print_asc_cb() | Volker Lendecke | 1 | -0/+3 | |
2010-09-16 | s3/s4: merge msleep and smb_msleep | Björn Jacke | 1 | -1/+1 | |
the merged variant is renamed to smb_msleep as some platforms already have a msleep function. | |||||
2010-09-04 | util: added samba_start_debugger() | Andrew Tridgell | 1 | -0/+4 | |
This developer function is useful for debugging unusual error conditions | |||||
2010-03-26 | s3-smbd: Don't close stdout if we want to log to stdout. | Andreas Schneider | 1 | -1/+1 | |
2010-03-26 | libutil: moved the networking defines to util_net.h | Andrew Tridgell | 1 | -27/+0 | |
These were causing thousands of warnings on solaris8 | |||||
2010-03-22 | lib/util: add allocate_anonymous_shared() | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2010-03-09 | lib/util: change samba_runcmd() to use tevent_req _send/_recv | Stefan Metzmacher | 1 | -7/+8 | |
metze | |||||
2010-02-26 | lib/util: add generate_random_password() | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2010-02-26 | s4-dns: use a loadparm list for samba_runcmd() commands | Andrew Tridgell | 1 | -1/+1 | |
This allows commands with multiple arguments and quoting to be used, while still avoiding running a shell (and this having shell expansion problems) | |||||
2010-02-22 | Spelling fixes for libutil | Brad Hards | 1 | -4/+4 | |
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | |||||
2010-02-17 | util: added samba_runcmd() | Andrew Tridgell | 1 | -0/+17 | |
This allows us to run a child command in an async fashion, with control over logging of stdout and stderr (which appears in the Samba log file). This is useful for ensuring we don't miss important messages from rndc commands (for example). Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2010-02-11 | util: added file_compare() utility function | Andrew Tridgell | 1 | -0/+5 | |
file_compare() returns true if two files are the same. It is meant for small files. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-01 | util/util_strlist - add a call "const_str_list" for making "unconst" lists ↵ | Matthias Dieter Wallnöfer | 1 | -0/+5 | |
"const" | |||||
2009-11-20 | util/strlist: Fix up "const" warnings in the string list and test code | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
This work I did using suggestions by Jelmer. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-11-02 | lib/util Use rfc1738.c from Squid for all our URL encode/decode needs. | Andrew Bartlett | 1 | -0/+25 | |
Andrew Bartlett | |||||
2009-09-24 | Remove the const from the str_list_XXX functions that | Jeremy Allison | 1 | -5/+5 | |
allocate both list and containing strings. This fixes problems that people have tried to cast away and are not needed. Jeremy. | |||||
2009-09-15 | libcli:nbt put util_net.c protos in new header file | Andrew Bartlett | 1 | -21/+0 | |
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett | |||||
2009-09-15 | libcli:nbt make the lmhosts parsing code and dependicies common | Andrew Bartlett | 1 | -1/+21 | |
This starts the process to have Samba4 use lmhosts. Andrew Bartlett | |||||
2009-09-10 | util_strlist: Add some more "const"s | Matthias Dieter Wallnöfer | 1 | -5/+8 | |
2009-09-08 | lib/util: add unique string generator helper function | Steven Danneman | 1 | -0/+10 | |
2009-05-29 | util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique. | Günther Deschner | 1 | -0/+12 | |
Guenther |