Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-06-09 | s3-talloc Change TALLOC_REALLOC_ARRAY() to talloc_realloc() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_REALLOC_ARRAY isn't standard talloc. Andrew Bartlett | |||||
2011-06-09 | s3-talloc Remove unused TALLOC zeronull functions and macro definitions | Andrew Bartlett | 1 | -105/+0 | |
These have been under #if 0 for a long time now. Andrew Bartlett | |||||
2011-06-06 | lib/util use modules_path(), data_path() and shlib_ext() from source3 | Andrew Bartlett | 1 | -37/+0 | |
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-06-06 | s3-lib Remove unused lib_path() | Andrew Bartlett | 1 | -13/+0 | |
2011-05-31 | s3-lib Move source3-specific malloc replacements into a seperate file | Andrew Bartlett | 1 | -143/+0 | |
This will make it easier to create a dep tree for otherwise simple libraries. Andrew Bartlett | |||||
2011-05-31 | s3-build Specify more of the smbconf dependencies | Andrew Bartlett | 1 | -162/+0 | |
This brings more functions into util_names.c, and util_names.c into PARAM_WITHOUT_REG_SRC. This is not yet a full list, that would formalise the implicit dependency loop. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 31 01:43:37 CEST 2011 on sn-devel-104 | |||||
2011-05-31 | s3-lib Move free_namearray() into it's own file | Andrew Bartlett | 1 | -16/+0 | |
This makes it easier to have conn_smbd strictly depend on all it's dependencies. Andrew Bartlett | |||||
2011-05-18 | s3-lib Replace StrCaseCmp() with strcasecmp_m() | Andrew Bartlett | 1 | -2/+2 | |
strcasecmp_m() never needs to call to talloc, and via next_codepoint() still has an ASCII fast-path bypassing iconv() calls. Andrew Bartlett | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-06 | Fix broken interface to set_namearray() - don't modify incoming string. | Jeremy Allison | 1 | -6/+17 | |
2011-05-05 | More const fixes for compiler warnings from the waf build. | Jeremy Allison | 1 | -4/+4 | |
2011-05-05 | Fix many const compiler warnings. | Jeremy Allison | 1 | -2/+2 | |
2011-05-02 | s3-util: move valid_share_pathname() to lib/util.c | Günther Deschner | 1 | -0/+34 | |
Guenther | |||||
2011-04-29 | libcli/smb Move attrib_string in common | Andrew Bartlett | 1 | -20/+0 | |
2011-04-29 | s3-client Add TALLOC_CTX argument to attrib_string(). | Andrew Bartlett | 1 | -2/+2 | |
This ensures the caller knows where the memory was allocated. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCH | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIR | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_VOLUME intead of aVOLID | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEM | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDEN | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-29 | s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLY | Andrew Bartlett | 1 | -1/+1 | |
This means we use just one constant for this file attribute. Andrew Bartlett | |||||
2011-04-13 | s3-lib Move isvalid83_w to mangle_hash.c | Andrew Bartlett | 1 | -1/+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-12 | s3-util: separate out cmdline helpers. | Günther Deschner | 1 | -253/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 12 13:06:27 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/passwd.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | lib/util/util_pw: share sys_get{pw,gr} group of calls. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-23 | s3-lib Remove the clobber_region() code. | Andrew Bartlett | 1 | -14/+0 | |
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett | |||||
2011-03-23 | fault: get fault.c ready for use by s4 | Andrew Tridgell | 1 | -1/+1 | |
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-16 | s3: Use jenkins hash for str_checksum, fix bug 8010 | Volker Lendecke | 1 | -11/+2 | |
From the bugreport: I have a folder with ~90 photos: IMG_XXXX.JPG where XXXX is a four digit number, almost consecutive (photos from camera for one day). Current implementation gives about 30 different checksums for this set of files. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 16 01:15:41 CET 2011 on sn-devel-104 | |||||
2011-02-28 | s3: Add timeval_to_msec | Volker Lendecke | 1 | -0/+5 | |
2011-02-25 | Detect Mac OS X as a separate client type. | Justin Maggard | 1 | -0/+3 | |
2011-02-17 | s3-cluster Always fill in the clustering vnn element | Andrew Bartlett | 1 | -24/+0 | |
This avoids this structure being partially uninitialised. Adnrew Bartlett | |||||
2011-02-08 | libndr: share some uuid helpers. | Günther Deschner | 1 | -17/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104 | |||||
2010-10-20 | s3: Add any_nt_status_not_ok | Volker Lendecke | 1 | -0/+13 | |
This helps avoid quite a bit of repetitive code when looking at dcerpc_xx_recv results. | |||||
2010-10-20 | Make getpwnam_alloc() static to lib/username.c, and ensure all username ↵ | Jeremy Allison | 1 | -1/+1 | |
lookups go through Get_Pwnam_alloc(), which is the correct wrapper function. We were using it *some* of the time anyway, so this just makes us properly consistent. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Oct 20 16:02:12 UTC 2010 on sn-devel-104 | |||||
2010-09-28 | s3: Remove talloc_autofree_context() from myhostname() | Volker Lendecke | 1 | -3/+1 | |
No destructor needed, so we can as well use the NULL context | |||||
2010-09-26 | s3: Remove talloc_autofree_context() from nametouid() | Volker Lendecke | 1 | -1/+1 | |
pass is freed a few lines down | |||||
2010-09-20 | s3-build: only include ctdbd_conn.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-16 | s3/s4: merge msleep and smb_msleep | Björn Jacke | 1 | -49/+0 | |
the merged variant is renamed to smb_msleep as some platforms already have a msleep function. | |||||
2010-09-14 | s3/profiling: don't use CLOCK_PROCESS_CPUTIME_ID | Björn Jacke | 1 | -17/+0 | |
that clock is a CPU burnometer but we need a chronometer for profiling. | |||||
2010-08-31 | s3: messaging_ctdbd_connection() was only called with procid_self() | Volker Lendecke | 1 | -1/+1 | |
Eventually we'll get this right... | |||||
2010-08-28 | s3: Fix some DEBUGs | Volker Lendecke | 1 | -2/+2 | |
2010-08-05 | s3-popt: Only include popt-common.h when needed. | Andreas Schneider | 1 | -0/+1 | |
2010-08-05 | s3-secrets: only include secrets.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-07-05 | s3: Pass procid_self() explicitly to messaging_ctdbd_connection() | Volker Lendecke | 1 | -2/+2 | |
2010-07-04 | s3: Pass the new server_id through reinit_after_fork | Volker Lendecke | 1 | -1/+2 | |
2010-07-04 | s3: Re-initialize the server_id in messaging_reinit | Volker Lendecke | 1 | -3/+3 | |
2010-06-22 | Fix bug 7528 - Solaris with NIS autohome. | Jeremy Allison | 1 | -0/+3 | |
Ensure entries containing "\n" are stripped. Jeremy. | |||||
2010-05-28 | s3:lib split out global workgroup and netbios name functions. | Andrew Bartlett | 1 | -42/+1 | |
Having these in their own file allows easier selective inclusion. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> |