summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r22014: Make us pass RANDOMIPC test again :-(. This is an ugly check-in,Jeremy Allison2-4/+55
but I've no option. Jeremy. (This used to be commit c3a565081d70b209a4f9e6e8f1859bf7194a5f74)
2007-10-10r22011: As Metze suggested, use 0xFF 'E' <enc ctx> insteadJeremy Allison1-1/+1
of 0xFF 'S' <enc ctx>. Jeremy. (This used to be commit d8cd4fc91b324c9ab8d2f66ee264093763018f76)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher6-29/+29
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r22007: make string_tdb_data(NULL) possible...Stefan Metzmacher1-2/+2
metze (This used to be commit d03094708378bde088bf6e90efe54deb83d3952e)
2007-10-10r22006: use string_term_tdb_data()...Stefan Metzmacher1-2/+1
metze (This used to be commit 136914502ff129b90f10794ed6474dca558c75a0)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-4/+3
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r21991: I hate Steve French :-). Add support for encryptionJeremy Allison1-0/+13
contexts.... Jeremy. (This used to be commit ae8f3649f773b8a8dcb55921536d038d3475322e)
2007-10-10r21990: Stop messing with the signing engine just becauseJeremy Allison1-11/+11
we're encrypted. This will make further changes and spec much more clear. Jeremy. (This used to be commit ffa3a5c508a494d22e8ee3ada424a6517ddf8923)
2007-10-10r21987: split tdb_prs_*() functions in version which take a keystr and a ↵Stefan Metzmacher1-2/+2
TDB_DATA key metze (This used to be commit 724c6fa337bb535e1b97d0452c2489f58339a3bf)
2007-10-10r21976: make use of tdb_*_bystring() and string_term_tdb_data() in lib/Stefan Metzmacher2-25/+13
to avoid creating the TDB_DATA struct from strings "by hand" metze (This used to be commit c22b86595a502eb48c9d0038faee8a9ee41b8438)
2007-10-10r21972: - add string_term_tdb_data() it creates a null-terminates tdb key ↵Stefan Metzmacher1-23/+32
from a string (the current string_tdb_data() creates a non-terminates tdb key from a string!) - pass TDB_DATA instead of const char *, size_t len to some functions metze (This used to be commit 815ef8acdc7f89d30f3fd1812b12bd0e2dc62473)
2007-10-10r21960: Fix bugs 4463,4464,4465,4466. Thanks Jason :-)Volker Lendecke1-13/+0
(This used to be commit a2e27c443101a59ef3429a55e049af3ebd5ec1f2)
2007-10-10r21953: One format fix, clarify a condition that the IBMJeremy Allison1-1/+1
checker was worried about. Jeremy. (This used to be commit 70eec7b8ae6a4992b43df853dffc21dd91498390)