summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix some warningsVolker Lendecke2008-02-255-35/+36
| | | | | warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result (This used to be commit ad37b7b0aee265a3e4d8b7552610f4b9a105434d)
* Check return value of pipe(2)Volker Lendecke2008-02-231-1/+2
| | | | (This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
* Check return value of dup(2)Volker Lendecke2008-02-231-2/+6
| | | | (This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
* Check the return value of fgetsVolker Lendecke2008-02-231-1/+4
| | | | (This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
* libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam2008-02-221-0/+2
| | | | | Michael (This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
* libreplace: Fix comment originating from old samba source.Michael Adam2008-02-221-1/+1
| | | | | | Michael (cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96) (This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
* Not all implementations of struct ifaddrs define ifa_broadaddr.Michael Adam2008-02-221-13/+3
| | | | | | | E.g. the definition of libreplace doesn't. :-o Michael (This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
* Remove the implementations of _get_interfaces and autoconf test in interfaces.cMichael Adam2008-02-221-386/+0
| | | | | | | getifaddrs() is now provided by libreplace. Michael (This used to be commit 7970901223464745f99cea883b180316189e4b2c)
* libreplace: fix creation of conftest files for getifaddrs tests.Michael Adam2008-02-221-4/+11
| | | | | | | Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE. Michael (This used to be commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
* Fix linked list of ifaddrs in implementations of rep_getifaddrs.Michael Adam2008-02-221-3/+3
| | | | | | | Produce proper list instead of one-node-loop. Michael (This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
* Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam2008-02-221-3/+6
| | | | | Michael (This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
* libreplace: fix compile errors in getifaddrs.cMichael Adam2008-02-211-6/+3
| | | | | Michael (This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
* Try and fix getifaddrs check on irix: dont't try to include config.hMichael Adam2008-02-211-0/+3
| | | | | | | The missing header file is judged "catastrophic" on irix. Michael (This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
* Fix possible close of invalid fd if call to socket() returns -1.Tim Potter2008-02-201-1/+2
| | | | (This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)
* Support dlopen(NULL, ...) on HPUX.Jelmer Vernooij2008-02-201-0/+2
| | | | | (cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f) (This used to be commit 8883ee2418152d58e2ce609e02105e009f8ca4e8)
* libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.Michael Adam2008-02-201-36/+36
| | | | | | Michael (cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec) (This used to be commit 12ec7dfb109bedd7b086702394a7094a4853cf1f)
* libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.Michael Adam2008-02-201-8/+8
| | | | | | Michael (cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc) (This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)
* libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.Michael Adam2008-02-201-6/+6
| | | | | | Michael (cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb) (This used to be commit d6719f1c2f349c34d7a14e8e0e264db8dbe48598)
* libreplace: change samba_cv_ to libreplace_cv_ in getifaddrs.m4Michael Adam2008-02-201-15/+15
| | | | | | Michael (cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac) (This used to be commit f790cb4aedee58abe6324c47912b58a808bfca51)
* libreplace: Remove double item in case statement.Michael Adam2008-02-191-4/+0
| | | | | | | | | This was by accident introduced in cherry-pick commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28: This tiny portion had already been ported in 64ff1dad8664f14030c7d78c252d946216798a88. MIchael (This used to be commit 69b2ebc797fa986bf395f4d045ea663240e9ec2c)
* Remove relict SAMBA_CONFIGURE_CPPFLAGS from lib/replace.Michael Adam2008-02-191-3/+0
| | | | | | Michael (cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8) (This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)
* r26554: Fix test for getifaddr on FreeBSD. Patch by Timur Bakeyev.Jelmer Vernooij2008-02-191-1/+1
| | | | | (cherry picked from commit 37c7b65546190bdce40cb48435cc4fd51d89a124) (This used to be commit bc523382aef16b1260799000650bbebe132799eb)
* r26551: Make sure NULL is defined before using it to test for getifaddrs().James Peach2008-02-191-0/+4
| | | | | | Patch from Timur I. Bakeyev <timur@com.bat.ru>. (cherry picked from commit 188156228b53c4bbc9c18c6ff1a0d3c6d0ba5fcb) (This used to be commit b4a2ec01fc3c8174cba2a7bda876270fcce90491)
* r26507: Fix function signature for freeifaddrs.Jelmer Vernooij2008-02-191-1/+1
| | | | | (cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c) (This used to be commit ccfb04d18516e0aca88ea0a96afe119175bddba7)
* r26497: Fix return type for freeifaddrs().Jelmer Vernooij2008-02-192-7/+7
| | | | | (cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1) (This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)
* r26495: Add defines for getifaddrs/freeifaddrs.Jelmer Vernooij2008-02-191-0/+10
| | | | | (cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f) (This used to be commit f2f552106820d1a8f07bccc1a3ad9b45582c8b30)
* r26492: Some hosts have a define called ifa_dstaddr.Jelmer Vernooij2008-02-191-0/+1
| | | | | (cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd) (This used to be commit 839d128a42aa624e3cd978700059f947022ee733)
* r26491: Fix syntax.Jelmer Vernooij2008-02-191-1/+1
| | | | | (cherry picked from commit 2513230e286179747bb84e4e87121b80bea8f3f0) (This used to be commit d9c3b27c3fafb3adb7bc6521f5be97aec7fe8bfc)
* r26487: Cope with systems that don't have struct sockaddr.sa_len.Jelmer Vernooij2008-02-192-2/+15
| | | | | (cherry picked from commit 56080469ab28ae5a2f456cced34814d9c33480c6) (This used to be commit ce222d07ba73b34894454e4fcb43046f0f22c0e7)
* r26470: Update README.Jelmer Vernooij2008-02-191-0/+2
| | | | | (cherry picked from commit 51a78cfc3e72d6b32ef6c7a6079165a36863b908) (This used to be commit 556b6b9a2fe5dd9da85b1605d91a7216a6c6d308)
* r26469: Fix paths, only include IPv4 addresses for now.Jelmer Vernooij2008-02-193-17/+19
| | | | | (cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf) (This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
* r26468: Match getifaddrs more closely, add trivial test.Jelmer Vernooij2008-02-192-22/+31
| | | | | (cherry picked from commit 92898c043b5a2649a2e423d02bcdaea78ae55737) (This used to be commit 3f9c0c210022905c7811b2e07b3b655929daf930)
* r26467: Use getifaddrs() for interface enumeration and provide replacements ↵Jelmer Vernooij2008-02-194-0/+511
| | | | | | | for platforms that don't have it in lib/replace. (lib/replace part of 9b4924fbd8619033c55b4c6e2589da247332e7db - Michael) (This used to be commit 789bf2d36bd728cc68b58cfb1e9570b90ca09af7)
* Use netr_SamInfo3 in sid_array_from_info3.Günther Deschner2008-02-171-15/+15
| | | | | Guenther (This used to be commit 06095e8c705fc292323fa8d0110ae3aaeccab949)
* Use the proper boolean constants.Michael Adam2008-02-141-3/+3
| | | | | Michael (This used to be commit 1c215325d1fb90f92fbe85011ab822892d5c994b)
* Use pidl for _lsa_AddPrivilegesToAccount and _lsa_RemovePrivilegesFromAccount.Günther Deschner2008-02-141-2/+2
| | | | | Guenther (This used to be commit 0c9904864b5c3b893f99abdebb18d9624aa0f560)
* nsswitch: convert winbind_env_set(), winbind_on() and winbind_off() into macrosStefan Metzmacher2008-02-131-2/+2
| | | | | metze (This used to be commit 5f623f54a919cc687d0ff16c16038c05a501008d)
* Merge data_blob_talloc_zero() from samba4.Günther Deschner2008-02-131-0/+12
| | | | | Guenther (This used to be commit 9fca3ca37eaf10c24f852e854dd28b7155c3e536)
* Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.Michael Adam2008-02-132-2/+2
| | | | | | Michael (cherry picked from commit 38855a9f145b54d05f4a508562fc1a6595e0d895) (This used to be commit 303a3eb128b410be0f4ebb936cd3b983e639c07f)
* Make sure talloc.so is build before installing.Jelmer Vernooij2008-02-131-2/+2
| | | | | (cherry picked from commit 51769f5cfc0f3a9f85ea533598a1f769e108d075) (This used to be commit da98f4d223997709b42b4f05ab94d564261f5aee)
* Fix out of tree builds.Jelmer Vernooij2008-02-131-2/+2
| | | | | | | (cherry picked from parts of commit 35c8ebdca2612b52cd3eb2aafd35041d17173722) Michael (This used to be commit a780c0594aeea3705d601a327aa04d9182060cbd)
* Split actual content out of talloc Makefile into talloc.mk.Jelmer Vernooij2008-02-132-37/+42
| | | | | (cherry picked from commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b) (This used to be commit 7710d3dea350a85348d46747e4f4cde2b20741de)
* Split rules.mk out of Makefile.Jelmer Vernooij2008-02-132-27/+31
| | | | | (cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e) (This used to be commit 6f8165e4b064f37335e2b0b185ae6433c06a061a)
* Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.Michael Adam2008-02-131-1/+1
| | | | | | | | | Not sure if we can produce one from the other, so I manually made them equal for now. Michael (cherry picked from commit 1c14c457bea75fb3055712547cca501e8ef3fc20) (This used to be commit 0d9ae82f51302c9755b6e50f1df88eb2a079f12a)
* build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij2008-02-132-2/+0
| | | | | | | (cherry picked from parts of commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20) Michael (This used to be commit 4b03f88c1ed8c1a2c1e5e7d461ca2d64a8d6a054)
* talloc/tdb: Use manually written pc file.Jelmer Vernooij2008-02-132-0/+2
| | | | | | | (cherry picked from parts of c8947fda23eb874a7694bdee1b4de605744c2769) Michael (This used to be commit 77664bc482071798571096a299e7d8b190f53797)
* r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij2008-02-131-1/+1
| | | | | | | | | | | | bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (cherry picked from talloc part of commit c550c03372cb260b78f6a6c132e70571bc4cb852) Michael (This used to be commit a146145c28cc355fed47b8a1f322311ffc1a51ab)
* r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij2008-02-131-0/+7
| | | | | | | (cherry picked from talloc parts of commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75) Michael (This used to be commit f4c59316b9251477556dd22cdd246607f4dfa845)
* r26292: Make sure swig directory exists.Jelmer Vernooij2008-02-131-0/+1
| | | | | (cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a) (This used to be commit d6198f2bd7d13b5f30bcc46e12026a00f52d9adc)
* r26280: Fix installation if swig is not available.Jelmer Vernooij2008-02-131-1/+1
| | | | | (cherry picked from commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c) (This used to be commit f1267f74a91374692c3564d783c527f94035b323)