summaryrefslogtreecommitdiff
path: root/lib/util
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06s4-waf: install the rest of the headersAndrew Tridgell1-3/+4
2010-04-06s4-waf: started adding auto-install of include filesAndrew Tridgell1-1/+2
2010-04-06s4-waf: look for libiconv before checking libcAndrew Tridgell1-1/+6
This is needed for solaris8
2010-04-06s4-waf: added checks for all the different statvfs varientsAndrew Tridgell1-4/+83
2010-04-06s4-waf: remove the need for some of the lib aliasesAndrew Tridgell2-2/+2
2010-04-06build: updated configure checks or new syntaxAndrew Tridgell2-18/+5
2010-04-06build: check libc first for several librariesAndrew Tridgell1-1/+1
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell2-0/+68
2010-04-06build: added statvfs64 testAndrew Tridgell1-0/+9
2010-04-06build: iconv checksAndrew Tridgell1-0/+10
2010-04-06build: check for xattr supportAndrew Tridgell1-0/+6
2010-04-06build: move gettimeofday check to libreplaceAndrew Tridgell1-1/+0
- add checklink option to CHECK_FUNC() - Used for when a prototype is not available
2010-04-06build: added interface checking and nicer snprintf checkingAndrew Tridgell1-1/+1
use CHECK_CODE()
2010-04-06build: added CHECK_CODE_COMPILES()Andrew Tridgell1-0/+2
2010-04-06build: check xattr and frsizeAndrew Tridgell1-0/+5
2010-04-06build: check signal functionsAndrew Tridgell1-0/+2
2010-04-06build: backtrace and crypt testsAndrew Tridgell1-2/+1
2010-04-06build: check for backtraceAndrew Tridgell1-0/+6
2010-04-02debug: enable talloc loggingAndrew Tridgell2-0/+15
we want to ensure talloc warnings are printed in the log
2010-03-30charset: look for the codepages in the right placeAndrew Tridgell1-2/+2
selftest runs from source3/source4. The codepages when not installed are in ../codepages
2010-03-26s3-smbd: Don't close stdout if we want to log to stdout.Andreas Schneider2-5/+7
2010-03-26util: on FreeBSD true is in /usr/bin. Use execvp to find itAndrew Tridgell1-1/+1
2010-03-26libutil: moved the networking defines to util_net.hAndrew Tridgell3-27/+29
These were causing thousands of warnings on solaris8
2010-03-22convert_string_talloc_convenience - print out the input buffer in a better ↵Matthias Dieter Wallnöfer1-1/+2
way (using dump_data since it isn't always directly readable)
2010-03-22lib/util: add allocate_anonymous_shared()Stefan Metzmacher2-0/+33
metze
2010-03-21Fix an uninitialized variableVolker Lendecke1-0/+4
2010-03-21Use TALLOC_FREE in talloc_pop()Volker Lendecke1-2/+1
2010-03-21Use calloc instead of ZERO_STRUCTP in talloc_stackframe_create()Volker Lendecke1-7/+5
2010-03-21Trim an overlong lineVolker Lendecke1-2/+2
2010-03-18charset: fixed a problem with the global use of the iconv_convenience structureAndrew Tridgell3-13/+39
We had a crash bug where a cached copy of a iconv convenience pointer was used after being freed when loadparm asked for iconv to reload. This could happen if a python module used a iconv based function before loadparm was completed. The fix is to ensure that any use of this pointer remains valid, by reusing the pointer itself when it has already been initialised, but filling in the child elements with the updated values.
2010-03-15talloc_stack: reset stackframe pointers to NULLStefan Metzmacher1-0/+2
This makes it easier to debug the code in future. metze
2010-03-15talloc_stack: make sure we never let talloc_tos() return ts->talloc_stack[-1]Stefan Metzmacher1-1/+1
In smbd there's a small gab between TALLOC_FREE(frame); before be call smbd_parent_loop() where we don't have a valid talloc stackframe. smbd_parent_loop() calls talloc_stackframe() only within the while(1) loop. As DEBUG(2,("waiting for connections")) uses talloc_tos() to construct the time header for the debug message we crash on some systems. metze
2010-03-11Explain why we don't use certain characters in the generated pwAndrew Bartlett1-0/+6
2010-03-11lib/util - Removed curly braces from generate_random_password().Endi S. Dewata1-1/+1
2010-03-11Move prototype to header of common code for set_sockaddr_portAndrew Bartlett1-0/+2
2010-03-09lib/util: change samba_runcmd() to use tevent_req _send/_recvStefan Metzmacher2-146/+188
metze
2010-03-05s4-privs: add root_privileges_original_uid()Andrew Tridgell1-0/+6
This can be used to get the uid we changed away from when we gained root privileges Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-26lib/util: add generate_random_password()Stefan Metzmacher2-0/+47
metze
2010-02-26s4-dns: use a loadparm list for samba_runcmd() commandsAndrew Tridgell2-6/+6
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-23libutil: Remove obsolete signal type cast.Andreas Schneider1-5/+5
2010-02-22Spelling fixes for libutilBrad Hards7-24/+24
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-17util: added samba_runcmd()Andrew Tridgell3-0/+275
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-16s4-dsdb: removed gendb_search_single_extended_dn()Andrew Tridgell2-105/+0
Use dsdb_search_one() instead, which allows for arbitrary controls Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-14lib: use TYPESAFE_QSORT() in lib/ and libcli/Andrew Tridgell1-1/+2
2010-02-14s4-ldb: use TYPESAFE_QSORT() in the rest of the ldb codeAndrew Tridgell1-1/+3
2010-02-13use ZERO_STRUCTVolker Lendecke1-1/+2
2010-02-13Use ZERO_STRUCTPVolker Lendecke1-1/+1
2010-02-13s3: Fix a typoVolker Lendecke1-1/+1
2010-02-13util: added TYPESAFE_QSORT() macroAndrew Tridgell1-0/+38
This makes it much harder to get the type of a qsort comparison function wrong.
2010-02-12s3: Add tdb_data_equalVolker Lendecke2-0/+9