summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22555: Ensure our paranoid malloc functions return NULL onJeremy Allison1-0/+12
size == 0 so we have a known behavior. Jeremy. (This used to be commit 27c0f2970842a6e07875c5591ded6352acf36a4e)
2007-10-10r22542: Move over to using the _strict varients of the tallocJeremy Allison2-3/+3
calls. No functional changes. Looks bigger than it is :-). Jeremy. (This used to be commit f6fa3080fee1b20df9f1968500840a88cf0ee592)
2007-10-10r22541: Added talloc_size_strict macro.Jeremy Allison1-0/+1
Jeremy. (This used to be commit fcbfa2c99175780524d2258885410c79bbb12d6e)
2007-10-10r22540: Added _strict varients of the macro calls - addedJeremy Allison1-0/+6
prototypes. Jeremy. (This used to be commit 06b47f3d72d0ca1c83842dff3425d8dacd283fff)
2007-10-10r22539: Added _strict varients of the talloc calls toJeremy Allison2-1/+96
return NULL on size == 0 varients. Jeremy. (This used to be commit 1283da1bf8ebe458cf84ee4a703909945cdfcd88)
2007-10-10r22481: Move check for non-mappable SIDs to after sid_to_uid,Jeremy Allison1-0/+3
sid_to_gid mapping, add LocalSystem to non-mappable list. Jeremy. (This used to be commit 805f01464f3feb30725dbce1f90d4296380dd796)
2007-10-10r22418: Support running under launchd. We abstract the method of obtainingJames Peach1-0/+242
sockets to listen on a little, because in the launchd case these are provided for us. We also add an idle timeout so that a daemon can exit after a period of inactivity. (This used to be commit fc8589a3371d396197fae508e563f814899c2beb)
2007-10-10r22394: Remove test directory once we are finished.James Peach1-0/+2
(This used to be commit e718606295f4d686767d1583fd5e774dd66b8b86)
2007-10-10r22391: Looks bigger than it is. Make "inbuf" availableJeremy Allison1-7/+9
to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy. (This used to be commit 2d80a96120a5fe2fe726f00746d36d85044c4bdb)
2007-10-10r22389: Start preparing for multiple encryption contexts in theJeremy Allison1-7/+13
server. Allow server to reflect back to calling client the encryption context that was sent. Jeremy. (This used to be commit b49e90335d1e589916b5ab4992e3c4a2d221ca7e)
2007-10-10r22366: sync lib/talloc/ with samba4Stefan Metzmacher4-8/+22
metze (This used to be commit 7fab12b34a818f029f4285a59d6e49768b7f8e79)
2007-10-10r22364: sync lib/tdb/ with samba4Stefan Metzmacher10-82/+3300
there's no code change here... metze (This used to be commit 562a9ce019af802b4a71c210b69bc8b93ebcd76f)
2007-10-10r22363: merge from samba4:Stefan Metzmacher1-1/+1
fix compiler warning metze (This used to be commit e9200b4475bcae4fd5eaaf94905c8a9beccd635a)
2007-10-10r22320: Be more careful and check for the euid instead of the uid.Lars Müller1-1/+1
Thx for the hint James! (This used to be commit 72be9766a9b3a860717222a86d636c1dbbf61b12)
2007-10-10r22318: If we're running as non root we might not be able to dump the core fileLars Müller1-0/+7
to the corepath. Even the chdir() will fail if the LOGFILEBASE path is set 0700. If the currrent user doesn't have the permission to create the core file we end with: unable to change to <LOGFILEBASE> refusing to dump core The alternative would be to change the permissions of the directory. But taht would not ensure core dumps are working out of the box. (This used to be commit 0814a3acbe0fe40badf88690ab61d8ad106419d6)
2007-10-10r22317: add tdb_ prefix to non static functionStefan Metzmacher3-8/+8
metze (This used to be commit 56e31d60c672689e934fbed2794c7c54cf874b11)
2007-10-10r22316: merge from samba4:Stefan Metzmacher1-2/+2
this function should be static metze (This used to be commit f722fd32da56aabca2fffe243e89177bc23e2be7)
2007-10-10r22315: move tdbback.c content into tdbbackup.cStefan Metzmacher3-273/+169
and make the functions static. also use libreplace headers in tdbbackup.c metze (This used to be commit 1ca12b1c9e7e8267fa13a40ebeb2bdcd199237de)
2007-10-10r22314: use libreplace headersStefan Metzmacher1-12/+4
metze (This used to be commit d757cdc092b07972c110208717f13fdc0656f55f)
2007-10-10r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplaceStefan Metzmacher2-0/+35
metze (This used to be commit 8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1)
2007-10-10r22280: merge from samba4:Stefan Metzmacher1-56/+254
add a lot more detailed strtoll() and strtoull() tests metze (This used to be commit 737b445007109e3005e4c5fb278b56f00b8c157d)
2007-10-10r22276: Fix name -> servicename in messages.cJeremy Allison1-1/+1
Jeremy. (This used to be commit cc4face3bc269afa7af19bde534cacc04f9510a9)
2007-10-10r22274: merge from samba4:Stefan Metzmacher2-1/+11
- provide __LINESTR__ macro - add __STRINGSTRING() macro to really create a string of __LINE__ - fix __location__ macro metze (This used to be commit 5ca18546444e3e65491c2104cf8eeb1022bb5591)
2007-10-10r22271: merge from samba4:Stefan Metzmacher2-0/+7
provide __location__ in replace.h and see how the build-farm likes this simpler version metze (This used to be commit 3f87165771ecbbcd70e870235e324d25b21a04d4)
2007-10-10r22268: merge from samba4:Stefan Metzmacher1-4/+6
protect #define __location__ with an #ifndef metze (This used to be commit 4c93c05542c5a238b1b7a5cd9b75f9f852c0ad4d)
2007-10-10r22264: merge from samba4:Stefan Metzmacher2-2/+2
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0 and #ifndef doesn't work. metze (This used to be commit 66b0a6cc51a3987c489cc71a17c0da632bf6a6bc)
2007-10-10r22254: merge from samba4:Stefan Metzmacher1-7/+56
- make the strtoll tests more verbose - add initial strtoull tests metze (This used to be commit 9865d3165d629c56a24d9fa5ee993f4b04ba12de)
2007-10-10r22252: merge from samba4:Stefan Metzmacher2-1/+7
add prototype of setenv metze (This used to be commit 42ccfaf5e58d92e04ba490f726e5d6972039bdc4)
2007-10-10r22249: move tdb code to lib/tdb/ as in samba4Stefan Metzmacher31-0/+6905
metze (This used to be commit c7def92a9c2e17c90061ef17bc14e36250574e85)
2007-10-10r22247: merge from samba4:Stefan Metzmacher1-1/+0
only test strtoll once metze (This used to be commit 17088fd644ef68ac2e96ed1246339b65943d63d0)
2007-10-10r22244: merge from samba4:Stefan Metzmacher1-2/+0
remove useless printf's metze (This used to be commit cf7c57eae5671cd15f0cee0173c7b05a8a8ba055)
2007-10-10r22240: merge from samba4:Stefan Metzmacher1-2/+2
use strlcpy instead of strcpy to make the IBM checker happy metze (This used to be commit fe4be25c3056260049a8052e072500756bf14fce)
2007-10-10r22229: discard_const_p is in lib/replace nowStefan Metzmacher1-4/+0
metze (This used to be commit 8dea4ebe98ec5bdb7fd55b54e9b14a52db817f4f)
2007-10-10r22227: merge from samba4:Stefan Metzmacher2-1/+24
move discard_const macros to librelace metze (This used to be commit 8f4a39127f7b560a7a609e74423ccb88f53e545e)
2007-10-10r22224: merge from samba4:Stefan Metzmacher1-5/+25
make comparing of struct tm more verbose and portable metze (This used to be commit 29cbd75f22bcbb10d049910c3a72d911094ccb05)
2007-10-10r22221: merge from samba4:Stefan Metzmacher11-15/+1426
- libreplace unsetenv() and strptime() replacements metze (This used to be commit 057c1c04d09b48c713ebc0b334cabcefc02561e9)
2007-10-10r22213: We can't use become_root() here, as it does DEBUG()Volker Lendecke1-5/+8
itself. become_root_uid_only did not :-) Revert 21868, we need to find a better way. Volker (This used to be commit 629f966714c7a8d96b06027d514b86cde81b69b9)
2007-10-10r22181: Fix for EISCON in open_any_socket_out from William JojoJeremy Allison1-0/+3
for bug #3632. Jeremy. (This used to be commit 7979a5a350739150a9c7077f2c35d9512d8596e4)
2007-10-10r22151: remove netgr functions from libreplace they're not usedStefan Metzmacher4-39/+2
in samba4 currently and samba3 has explicit configure checks for them. should fix bug #4496 metze (This used to be commit 7f61b3f0095efed81adc9022ba44e5c7df84d2f2)
2007-10-10r22113: Fix core dump when configfile in same directory.Jeremy Allison1-0/+7
From Steven Danneman <steven.danneman@isilon.com>. Jeremy. (This used to be commit 572c418b04eb1dbce8da7643fe7e236b06fce57b)
2007-10-10r22107: Fix typo.James Peach1-1/+1
(This used to be commit fd056b2426dea059fec50fe1c90e4fdd48f916d7)
2007-10-10r22096: become_root_uid_only() is unneeded - it's only used inJeremy Allison3-27/+10
messages.c. Refactor to use become_root() instead and make it local to messages.c Jeremy. (This used to be commit f3ffb3f98472b69b476b702dfe5c0575b32da018)
2007-10-10r22050: Fix a couple of off-by-one errors in the rapJeremy Allison1-4/+14
call patch. Jerry, this works now for displaying shares on Win9x (and hopefully everything else as well :-). Jeremy. (This used to be commit 728a4cc71376f9cfff2578d21a47602f8b7c6531)
2007-10-10r22045: As Volker noticed, skip_string's last argument isJeremy Allison2-16/+12
redundent. Remove it. Jeremy. (This used to be commit 140881cfbb59ce4a699b5900efe02bf315be7bd5)
2007-10-10r22042: Try and clean up my own mess using the API VolkerJeremy Allison1-6/+56
suggested. I now use : BOOL is_offset_safe(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) char *get_safe_str_ptr(const char *buf_base, size_t buf_len, char *ptr, size_t off) int get_safe_SVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) int get_safe_IVAL(const char *buf_base, size_t buf_len, char *ptr, size_t off, int failval) Volker, please criticize and comment. Thanks, Jeremy. (This used to be commit d47af7c9263f519e7307859b6a696d854c5dfca3)
2007-10-10r22026: Missed in my last commit, another case where we need to copy, not ↵Andrew Bartlett1-1/+1
reference. Andrew Bartlett (This used to be commit 635b83a21683068eb3908506d5ee1191e55381d1)
2007-10-10r22024: Don't leak, actually use the provided memory context...Andrew Bartlett1-1/+1
(This used to be commit 46ff4e599e79f47254e05c7e4db75db9a19934bc)
2007-10-10r22023: I don't like this cache, but I think Jeremy is right, the consequencesAndrew Bartlett1-2/+2
of the talloc heirarchy created are too subtle, particularly with callers picking out individual members. This might fix the faults on the build farm. Andrew Bartlett (This used to be commit 82667bc75e63292c61f73c1f7cde809cc3dd55b0)
2007-10-10r22020: Make it more clear that both the vuser struct and it's contents areAndrew Bartlett1-6/+6
talloc_free()'ed at the end of a session. Rework the passwd cache code to use talloc_unlink and talloc_reference, to more carefully manage the cache. Andrew Bartlett (This used to be commit e3e0ec25e67308de314aa61852905ee42aa2c8fe)
2007-10-10r22019: Jeremy, this hopefully fixes the build farm currently. But I think ↵Volker Lendecke1-2/+2
we need another get_safe_offset call that also includes the required buffer size. Volker (This used to be commit 6138be7e4a5eb57af4a024d749cb68168b8589fb)