Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |||||
2009-05-14 | Add new functions and tests: str_list_make_empty(), str_list_make_single() | Andrew Bartlett | 1 | -0/+10 | |
2009-05-03 | Clean up after Tridge's util_strlist changes | Volker Lendecke | 1 | -7/+9 | |
2009-04-09 | added _const versions of some of the str_list_*() functions | Andrew Tridgell | 1 | -0/+20 | |
These const versions don't copy the strings themselves, which is useful when those strings point at known constant data (into the schema in this case) | |||||
2009-04-09 | added str_list_unique() and str_list_show() | Andrew Tridgell | 1 | -8/+13 | |
I also undid some of the const changes from Andrew, as they didn't in fact resolve the const warnings. | |||||
2009-04-08 | Rework util_strlist prototypes to use a bit more and less const | Andrew Bartlett | 1 | -2/+11 | |
Hopefully this produces less warnings, but it might produce more... Andrew Bartlett | |||||
2009-03-03 | lib/util: remove samba specific talloc_get_type_abort() | Stefan Metzmacher | 1 | -7/+0 | |
metze | |||||
2009-03-01 | Move next_token_talloc() to top-level. | Jelmer Vernooij | 1 | -0/+15 | |
2009-02-23 | Refactored sys_fork() and sys_pid() into shared util library | Steven Danneman | 1 | -0/+10 | |
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid(). | |||||
2009-02-21 | Fix shadowed declaration warning | Tim Prouty | 1 | -1/+1 | |
2009-02-20 | Moved become_daemon() and close_low_fds() to shared util lib | Steven Danneman | 1 | -3/+6 | |
2009-02-13 | Replace get_myname() with the talloc version from v3-3-test | Volker Lendecke | 1 | -2/+2 | |
2009-02-09 | Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 ↵ | Jelmer Vernooij | 1 | -2/+0 | |
and s4" lib/util already has discard_const_p. This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d. | |||||
2008-12-30 | s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4 | Tim Prouty | 1 | -0/+2 | |
2008-11-20 | s3 build: Fix incomplete types warnings | Tim Prouty | 1 | -3/+2 | |
2008-11-01 | Move ABS() to libutil. | Jelmer Vernooij | 1 | -0/+4 | |
2008-11-01 | Fix includes in installed version of talloc_stack.h. | Jelmer Vernooij | 1 | -1/+1 | |
2008-11-01 | Only provide valgrind_strlen prototype when it's being compiled in. | Jelmer Vernooij | 1 | -2/+2 | |
2008-11-01 | Samba3: Include util.h header file rather than having custom prototypes. | Jelmer Vernooij | 1 | -7/+23 | |
2008-10-24 | Remove include/local.h and move defines to more appropriate places. | Jelmer Vernooij | 1 | -0/+2 | |
2008-10-24 | Move charset library to top level. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-23 | Use common net utility code (address and sockaddr manipulation). | Jelmer Vernooij | 1 | -2/+4 | |
2008-10-23 | Import talloc_stack into util library. | Jelmer Vernooij | 1 | -0/+1 | |
2008-10-20 | Make sure prototypes are always included, make some functions static and | Jelmer Vernooij | 1 | -0/+11 | |
remove some unused functions. | |||||
2008-10-20 | Move discard_const hack to memory.hso it can be used by Samba 3. | Jelmer Vernooij | 1 | -27/+0 | |
2008-10-18 | Add extra parameter consistent with samba3. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-18 | Add TALLOC_CTX pointer to strhex_to_data_blob for consistency with Samba | Jelmer Vernooij | 1 | -1/+1 | |
3. | |||||
2008-10-18 | Use separate make variables for libutil and libcrypto. | Jelmer Vernooij | 1 | -1/+1 | |
2008-10-18 | Add extra argument free_on_fail to realloc_array() in Samba 4, as used by ↵ | Jelmer Vernooij | 1 | -1/+1 | |
Samba 3. | |||||
2008-10-18 | Move some of the memory utility macros to a separate header (for now). | Jelmer Vernooij | 1 | -69/+1 | |
2008-10-15 | Share libndr.h between Samba 3 and Samba 4. | Jelmer Vernooij | 1 | -0/+2 | |
2008-10-12 | Use common util_file code. | Jelmer Vernooij | 1 | -4/+4 | |
2008-10-12 | Use common strlist implementation in Samba 3 and Samba 4. | Jelmer Vernooij | 1 | -5/+4 | |
2008-10-11 | Clean up properly. | Jelmer Vernooij | 1 | -1/+0 | |
2008-10-11 | Move lib/util from source4 to top-level libutil. | Jelmer Vernooij | 1 | -0/+813 | |
Conflicts: source4/Makefile |