summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r18709: add some useful function from samba4Stefan Metzmacher1-0/+25
metze (This used to be commit f7a93b6acb705256c2aa4fe6475b89223af30491)
2007-10-10r18707: Fix the build when you have libnscd installed (which apparently no hostGünther Deschner2-21/+42
on the buildfarm has). Guenther (This used to be commit b0bb364df0efe140780328d90ae55bb823e6b10d)
2007-10-10r18705: not all compilers like thisStefan Metzmacher1-2/+2
metze (This used to be commit 2ec4bc0f5299f295525f306279ddb136e0b19ee1)
2007-10-10r18703: Fix the annoying effect that happens when nscd is running:Günther Deschner1-0/+21
We usually do not get the results from user/group script modifications immediately. A lot of users do add nscd restart/refresh commands into their scripts to workaround that while we could flush the nscd caches directly using libnscd. Guenther (This used to be commit 7db6ce295afbedfada7b207ad56566d2195a0d21)
2007-10-10r18698: this stuff isn't needed anymoreStefan Metzmacher1-183/+0
metze (This used to be commit 31b83ff4bd568a393eaa6260366ece7501df1985)
2007-10-10r18687: sync the lib/interfaces.c with lib/socket/netif.c from samba4Stefan Metzmacher1-23/+25
to hopefully fix the build on HPUX and Tru64 metze (This used to be commit aa8222c6a709a1538862878b89a17b893600b7e8)
2007-10-10r18673: define the macros even if we don't define bool ourselfStefan Metzmacher1-2/+10
metze (This used to be commit 65013a8d9e678c44cecae07967b7a001b796faf1)
2007-10-10r18672: fix the build on Tru64Stefan Metzmacher1-1/+8
metze (This used to be commit 6c101d206812fe24233409e0757cad52638e685a)
2007-10-10r18671: try to fix the build on solaris 10 and maybe some other hostsStefan Metzmacher1-0/+1
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined by <rpcsvc/yp_prot.h> metze (This used to be commit 5a589bb16c2bb3da75874bd190384eabd39eb972)
2007-10-10r18669: fix the samba3 build...Stefan Metzmacher1-2/+5
we need to move the iconv configure checks to libreplace... metze (This used to be commit 6b53ed8fdc2a4c0b3b24e22ada90d14d60cc93fb)
2007-10-10r18661: C++ warningsVolker Lendecke1-2/+2
(This used to be commit 6004b8025de3207f5af2d62087ec13c5e444fec7)
2007-10-10r18654: Rename "struct uuid" => "struct GUID" for consistency.Jelmer Vernooij2-10/+10
(This used to be commit 5de76767e857e9d159ea46e2ded612ccd6d6bf19)
2007-10-10r18652: libreplace has replacements for strndup and strnlenStefan Metzmacher1-43/+0
metze (This used to be commit 9f3599a7ca636dd21c150873f395abde153ee6fd)
2007-10-10r18649: the PRINTF_ATTRIUTE() macro is provided by libreplaceStefan Metzmacher1-1/+1
metze (This used to be commit dd76f4f5f374ec4822abbf1a09d26287926b92ce)
2007-10-10r18646: now we can have the socket_wrapper.c completely in sync with samba4Stefan Metzmacher1-2/+1
metze (This used to be commit d4d9b7e02614e30ab410a26654db3ca66ffe06e6)
2007-10-10r18644: bring in libreplace in lib/replaceStefan Metzmacher50-509/+8068
metze (This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)
2007-10-10r18640: move to socket_wrapper to lib/socket_wrapper/Stefan Metzmacher3-77/+301
and sync it with samba4 metze (This used to be commit 9c0e5b29f1451a90605cce7e1e032e5516b6970d)
2007-10-10r18605: sync dlinklist.h with samba4, that means DLIST_ADD_END()Stefan Metzmacher1-2/+1
and DLIST_DEMOTE() now take the type of the tmp pointer not the tmp pointer itself anymore. metze (This used to be commit 2f58645b7094e81dff3734f11aa183ea2ab53d2d)
2007-10-10r18597: A C++ warningVolker Lendecke1-1/+1
(This used to be commit 528082aed8c24b54d5781c6b3a6062b6cded74ef)
2007-10-10r18534: Fix grammarSimo Sorce1-1/+1
(This used to be commit 6c9b80bde39be7feb15f0fab4024a1de2980f4c1)
2007-10-10r18530: typosSimo Sorce1-2/+2
(This used to be commit 8c5c4959ede04e1cdbfe65beeee1f67ac0a93753)
2007-10-10r18529: warn the user that putting the machine host name on theSimo Sorce1-0/+8
127.0.0.1 line in /etc/hosts is not ok for Kerberos. (This used to be commit 85126391e11006514af8e6c6b88eb7fa21abf49a)
2007-10-10r18473: Once we go online, trigger a "get krb5 ticket event"Jeremy Allison1-1/+16
immediately if we were waiting on one. Jeremy. (This used to be commit 6dc8f9042f057e1f9aff46042a0fe697cb8a912c)
2007-10-10r18457: Argl :-)Volker Lendecke1-1/+1
(This used to be commit cafaf5a37cb0ee41829cce95d2d3f2619d5c2744)
2007-10-10r18449: Attempt to fix the build on non-linux platforms: Many of those don't ↵Volker Lendecke1-0/+15
have strtoull. This is a copy of the stuff in samba4 libreplace, which is GPL. I hope it is ok to copy&paste it into a GPL file. Tridge, we could also create a replace_lpgl.c if needed. Volker (This used to be commit f8346687d950ed643e8fa7d0b1a9c27f2880cc85)
2007-10-10r18313: Nobody said "no" (yet.... gd?), so commit it:Volker Lendecke1-125/+42
Remove the account_policy_migrated() thingy, and make cache_account_policy_set use gencache. Account policies are now handled like groups and users are with respect to "passdb backend". Volker (This used to be commit fa8b2e2a585ab0c00a5fbde7aa790043261caf2e)
2007-10-10r18312: Change gencache_get slightly: Delete expired keys, and only strdup ↵Volker Lendecke1-1/+10
the value if a valid entry was found. The newer calls got the latter one wrong, change the older calls. Volker (This used to be commit 554e68887bc84510690226c9b07a872e7a282abe)
2007-10-10r18311: Simplify gencache_get by using strtol instead of sscanfVolker Lendecke1-50/+28
(This used to be commit f6497adac674f9e5089a2e54ead07596e568a936)
2007-10-10r18310: Add a little test for some gencache routinesVolker Lendecke1-67/+7
Remove unused gencache_set_only Use CONST_DISCARD instead of SMB_STRDUP Volker (This used to be commit 651e7e44e2e56eab81c5fe708f33e6d3918a39f9)
2007-10-10r18271: Big change:Gerald Carter1-2/+2
* autogenerate lsa ndr code * rename 'enum SID_NAME_USE' to 'enum lsa_SidType' * merge a log more security descriptor functions from gen_ndr/ndr_security.c in SAMBA_4_0 The most embarassing thing is the "#define strlen_m strlen" We need a real implementation in SAMBA_3_0 which I'll work on after this code is in. (This used to be commit 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951)
2007-10-10r18191: Fix the online/offline state handling of winbindd.Jeremy Allison1-17/+14
Instead of trying to do this in the winbindd_cache entries, add a timed even handler to probe every 5 mins when disconnected. Fix events to run all pending events, rather than only one. Jeremy. (This used to be commit 7bfbe1b4fb9a91c6678035f220bbf0b4f5afdcac)
2007-10-10r18188: merge 3.0-libndr branchJelmer Vernooij1-848/+838
(This used to be commit 1115745caed3093c25d6be01ffee21819fb0a675)
2007-10-10r18182: only grant privs to Administrators if privileges are enabled to ↵Gerald Carter1-2/+5
avoid bopgus error messages (This used to be commit 7d5356fd5db6ece2504c9c140d1f454056be7164)
2007-10-10r18099: merge from samba4 to make tcc happy as the same struct name was used ↵Stefan Metzmacher1-11/+7
in multiple places and that only works if they're all in a local scope metze (This used to be commit 027c7964eeb658d47e4aa2b974cc0c6089dbdba0)
2007-10-10r18066: It's a bit pointless to send ourselves a signal just to check if we ↵Volker Lendecke1-0/+4
exist :-) Volker (This used to be commit 44105ff2ffa726d2961cecdabbd2056f243ad914)
2007-10-10r18049: Backport SAMBA_4_0 snprintf changesSimo Sorce1-12/+43
(This used to be commit e4e31e5f0fd6e1acab6ba9f58dd136d9f359d6f7)
2007-10-10r18048: More nested structuresVolker Lendecke1-6/+9
(This used to be commit 20fcce5ceb701cfdcdc37172d7811bc6a7a554c3)
2007-10-10r18029: More C++ stuffVolker Lendecke1-1/+1
(This used to be commit 089b51e28cc5e3674e4edf5464c7a15673c5ec0f)
2007-10-10r18027: Fix some 64-bit warningsVolker Lendecke2-10/+19
(This used to be commit 54706285f7394e458b6481d0285f67ed225ea34e)
2007-10-10r18016: OpenBSD apparently does not have ENOTSUPVolker Lendecke1-0/+20
(This used to be commit 8e087b7e462aaa14e3918cdfe125f8375d4d5fd8)
2007-10-10r18009: Fixes bug 4026.Derrell Lipman1-1/+1
This completes the work Jeremy began last week, disambiguating the meaning of c_time. (In POSIX terminology, c_time means "status Change time", not "create time".) All uses of c_time, a_time and m_time have now been replaced with change_time, access_time, and write_time, and when creation time is intended, create_time is used. Additionally, the capability of setting and retrieving the create time have been added to the smbc_setxattr() and smbc_getxattr() functions. An example of setting all four times can be seen with the program examples/libsmbclient/testacl with the following command line similar to: testacl -f -S "system.*:CREATE_TIME:1000000000,ACCESS_TIME:1000000060,WRITE_TIME:1000000120,CHANGE_TIME:1000000180" 'smb://server/share/testfile.txt' The -f option turns on the new mode which uses full time names in the attribute specification (e.g. ACCESS_TIME vs A_TIME). (This used to be commit 8e119b64f1d92026dda855d904be09912a40601c)
2007-10-10r17959: sync with samba4Stefan Metzmacher1-0/+2
metze (This used to be commit 69a7a83b103adb1494c15a96318aa34ebd354749)
2007-10-10r17951: sync talloctort.c with samba4Stefan Metzmacher1-32/+246
metze (This used to be commit f862195efd2b8c1137ae8e0cb8cb252dcf4f19b6)
2007-10-10r17949: change the comment, talloc_enable_null_tracking() shouldStefan Metzmacher1-1/+5
stay here. metze (This used to be commit 8eff4787428fddf83cd9d7ea07645f8640157db2)
2007-10-10r17928: Implement the basic store for CLDAP sitenameJeremy Allison1-2/+0
support when looking up DC's. On every CLDAP call store the returned client sitename (if present, delete store if not) in gencache with infinate timeout. On AD DNS DC lookup, try looking for sitename DC's first, only try generic if sitename DNS lookup failed. I still haven't figured out yet how to ensure we fetch the sitename with a CLDAP query before doing the generic DC list lookup. This code is difficult to understand. I'll do some experiments and backtraces tomorrow to try and work out where to force a CLDAP site query first. Jeremy. (This used to be commit ab3f0c5b1e9c5fd192c5514cbe9451b938f9cd5d)
2007-10-10r17924: Get rid of warnings now that talloc is merged.Volker Lendecke2-7/+4
Destructors now take a pointer to the "real" destroyed object as an argument. Volker (This used to be commit 70edd716ef0ccb218fe18d1233bd30abe46b62bf)
2007-10-10r17923: turn on null_tracking with the first talloc_init() call,Stefan Metzmacher1-0/+3
(this needs to be moved to a samba3 specific place) I commit this because I habe no time to test smbcontrol .... pool-usage and don't want to break it. I'll try to find a better fix tomorrow. metze (This used to be commit ae313ab4caa5652199b9aaceb30b4d432ab4f393)
2007-10-10r17922: sync samba3's talloc with samba4's and move the samba3 specific ↵Stefan Metzmacher3-201/+206
stuff to tallocmsg.c metze (This used to be commit 7704e3e51dec1768772663024a0579cb4a271cc1)
2007-10-10r17906: Port the snprintf bugfix from 4. I wonder why we never hit this....Volker Lendecke1-2/+2
(This used to be commit b9227bde1328c09c61cc23fdbb4fa756e919c4a6)
2007-10-10r17869: More sensible fix for Stanford Checker null deref.Jeremy Allison1-4/+2
Jeremy. (This used to be commit 2a73e82f9663fc0e14b4c2af94de3b4216f1eece)