summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
2008-04-02Install public header files again and include required prototypes.Jelmer Vernooij12-21/+121
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-01Add warning to public headers.Jelmer Vernooij1-0/+4
(This used to be commit 7bfe359c73aac96f8e983e8d5e9621235cf79a3a)
2008-04-01Add userdata argument to reseed callback function.Jelmer Vernooij3-6/+8
(This used to be commit d4272bc6bcfcd71fa93edb25bb33d6458e8b33cd)
2008-04-01Rename libsamba-config to libsamba-hostconfig.Jelmer Vernooij3-7/+7
(This used to be commit c46b7e90e347da76156ddcae4866adb88e9fec21)
2008-04-01Move ini-like file parser to the utility library.Jelmer Vernooij2-1/+10
(This used to be commit 2dc2bb800dab3f7dbdba01f5ca5076edd1a2b0f3)
2008-03-28Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-localAndrew Bartlett1-1/+1
(This used to be commit 764b7879d23bfa413a6747226f377ce2eaeaea26)
2008-03-28Fix and test python scripts and kerberosAndrew Bartlett1-1/+1
This fixes up the python credentials interface in a number of areas, with the aim of supporting '-k yes' as a command line option. (This enables the use of kerberos). As such, I've had to change the get_credentials call to take a loadparm context, so that the credentials can be initialised correctly. The test_kinit script has been modified to prove that this continues to work, as well as to provide greater code coverage of the kerberos paths. Andrew Bartlett (This used to be commit 727ef40c2b56910028ef3c1092b8eab1bfa6ce63)
2008-03-28libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for nowStefan Metzmacher1-1/+1
This should fix the build on solaris. Later this needs better fixing... metze (This used to be commit 89b7955733c34e9699a3b43ee54de92cb9469b90)
2008-03-28Convert some more files to GPLv3.Andrew Kroeger13-13/+13
(This used to be commit ebe5e8399422eb7e2ff4deb546338823e2718907)
2008-03-27libreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.cMichael Adam1-1/+8
This is not a proper bug but the code is clearer now and we are tracking failure of open separate from that of close. Michael (This used to be commit 4ae4692bc6c6da15483a6f4a3363cdc23121efc7)
2008-03-26Clean up the ldb python bindings to be 64 bit safe.Andrew Bartlett2-35/+55
Thanks in particular to arkanes and KirkMcDonald on #python for their assistance, suggesting breaking the DN check. I eventually found it while trying to cut down on the number of gcc warnings, which is why we also add printf annotations. Andrew Bartlett (This used to be commit ba30e82d4efcba23c49622de43d3d6fc9c800e35)
2008-03-19More safety around ldb_dn C functions in python bindings.Andrew Bartlett1-2/+6
Ensure that the ldb python binding 'TypeError dn not set' errors are not in the SWIG wrapper's use of ldb functions, put some more error checks in. Andrew Bartlett (This used to be commit 8d4c831184cff8bca85daf6cc711b189b5cf3a47)
2008-03-18lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymoreStefan Metzmacher1-1/+1
metze (This used to be commit b7dad8674a3aaa27bc1103a83be75434d413239b)
2008-03-18socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL ↵Stefan Metzmacher1-1/+1
doesn't exist anymore metze (This used to be commit 1dd8e3775686badfd35dca23d291af93d8cf5695)
2008-03-18libreplace: replace.c does not need system/network.h anymore.Michael Adam1-1/+0
Michael (This used to be commit 2d3c2f34f33338ff422047dae9cc262522689328)
2008-03-18libreplace: move rep_socketpair() to its own module.Michael Adam6-24/+55
Prototype is now in system/network.h, implementation in socketpair.c, and check in socketpair.m4. Now the last networking function has vanished from replace.c. Michael (This used to be commit 94ac8a25be15b55f66eff96fdddc2fdc71a43b1e)
2008-03-18ldb: not every shell supports '==' so use '='Stefan Metzmacher1-1/+1
metze (This used to be commit b5eeaf9b27e0116e57825b664642d2b5cfd895f0)
2008-03-18Fix macro name (no 's' in ifr_addr).Gerald W. Carter1-1/+1
Interface detection on Solaris still failing due to items pointed out here: http://lists.samba.org/archive/samba-technical/2007-November/056701.html (cherry picked from commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff) (This used to be commit 5757d8dfe9e6cf7b662acdf5c3d825f0021822c0)
2008-03-18Fix Coverity ID 554Volker Lendecke1-0/+3
(cherry picked from commit 471b1b0c58bc2def5d2fe9d98401def34724d447) (This used to be commit effda48a2670325fed56e158539417c6f95381b8)
2008-03-18Check the return value of fgetsVolker Lendecke1-1/+4
(cherry picked from commit b8aaa9a69fd6217ce0387ef8e84f316706186d70) (This used to be commit 8f58d39c0c621e9da85308d721a146352cc4939e)
2008-03-18libreplace: remove duplicate entry of inet_ntoa from README.Michael Adam1-1/+0
Michael (This used to be commit 98ee8c84300757d778733a458c6ca3e6022b40ea)
2008-03-18libreplace: remove trailing white spaces.Michael Adam2-2/+2
Michael (This used to be commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)
2008-03-18libreplace: replace inet_ntoa() when it is missingMichael Adam6-34/+61
...not only replace it when it is broken. This moves the defintion of rep_inet_ntoa from replace.c to inet_ntoa.c and adds configure checks for existence of inet_ntoa(). Checks are moved to an include file of its own. NOTE: The original rep_inet_ntoa in replace.c was wrapped into a "#ifndef WITH_PTHREADS" but the prototype in replace.h and the define in system/network.h were not. I removed that ifndef since the inet_ntoa() function is usually not thread safe anyways, since it returns a pointer to a static buffer. So whoever calls inet_ntoa() should be aware that it is not thread safe anyways. Michael (This used to be commit 974c0c45ad42644348e0b55454715b12158f1028)
2008-03-18libreplace: put inet_aton.c under LGPL instead of GPL.Michael Adam1-9/+13
Michael (This used to be commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)
2008-03-18libreplace: remove unused SOCKET_LIBS and NSL_LIBSStefan Metzmacher1-3/+0
metze (This used to be commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
2008-03-18lib/socket: use LIBREPLACE_NETWORK instead of EXT_SOCKET and EXT_NSLStefan Metzmacher2-47/+3
The configure checks are also in libreplace now. metze (This used to be commit 07e931a77f21e025281b6285f4ce7aebf1106b86)
2008-03-18libreplace: for samba4 create LIBREPLACE_NETWORK as EXT_LIBStefan Metzmacher1-0/+3
metze (This used to be commit 79037c31334e271a718fcac234148038814b591e)
2008-03-18libreplace: use LIBREPLACE_NETWORK_LIBS within some configure checksStefan Metzmacher2-3/+3
...instead of using SOCKET_LIBS and NSL_LIBS. metze (This used to be commit cef2e8d748756f61c248ad6660e85dd1ac36308a)
2008-03-18libreplace: combine SOCKET_LIBS and NSL_LIBS to LIBREPLACE_NETWORK_LIBSStefan Metzmacher1-7/+9
But keep the old ones untill the callers are fixed. metze (This used to be commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)
2008-03-18ldb: remove configure with 'make realdistclean'Stefan Metzmacher1-1/+1
configure.in doesn't exist at all... metze (This used to be commit ca414d4e9e96b90100c46b006825bc8e935ba0b4)
2008-03-18ldb: nothing uses "system/network.h" so don't include itStefan Metzmacher1-1/+0
metze (This used to be commit 087667e0cd66ea615b5aa43538192fe1d7de87ae)
2008-03-18ldb: fix the standalone buildStefan Metzmacher6-13/+13
metze (This used to be commit 91b49365abed6f67e2b3c18b0090b4e6ff1df935)
2008-03-18Allocate one 0-byte in asprintf replacement when len==0Volker Lendecke1-1/+1
Some S3 code depends on this. (cherry picked from commit dc3d5e16452bf30055638ba3cfe99097fb557156) (This used to be commit 842d144b4fb0981250157f72956e732709663107)
2008-03-17socket_wrapper: make pcap code more portableStefan Metzmacher1-39/+40
Now the pcap support works on x86_64. metze (This used to be commit 61a87bed61ef661d98131239976be95c6a8b4d96)
2008-03-15messaging: fix a valgrind warning on 64bit hosts zero out paddingStefan Metzmacher1-0/+2
metze (This used to be commit f555b8e4c35f69fdc1fb34427d882580eecad284)
2008-03-14swig: regenerate _wrap.c filesStefan Metzmacher1-13/+13
metze (This used to be commit 08b41e10699c7bb8058ab0ab61f17a1bbfcc1ce4)
2008-03-14libreplace: fix samba4 build (by not setting global LIBS).Michael Adam2-3/+3
This corrects the earlier fix of the standalone build, by setting LIBS to the desired value only in configure.ac but not in getifaddrs.m4. Not that this changes the standalone build in that it adds these libs undconditionally and not only if they are needed by the getifaddrs replacement functions. Michael (This used to be commit ff3af1703ddc9e5383f32156bc5be8351f795e76)
2008-03-14libreplace: add -I$libreplacedir to CPPFLAGS for getifaddrs tests.Michael Adam1-0/+4
This is needed, otherwise $libreplacedir/system/network.h does not find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.). Michael (This used to be commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)
2008-03-14libreplace: add an inet_aton() function that calls inet_pton().Michael Adam6-0/+42
inet_aton() is even needed inside libreplace, in the implementation of rep_getaddrinfo(). Michael (This used to be commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
2008-03-11events_signal: pass down the correct siginfo_t struct to the event handlerStefan Metzmacher1-1/+1
metze (This used to be commit 4b071236867ca5c2c0451ad3acc8a9debb0549e4)
2008-03-11Make error handling in ldb more consistant.Andrew Bartlett1-1/+4
This change ensures we give an immidiate error if the DN won't parse. Also clean up strcmp use to be more standard. Andrew Bartlett (This used to be commit 1b15f374a89b99f3c43d9c2ce06dde9c67383e66)
2008-03-07Rerun SWIG.Jelmer Vernooij1-15/+16
(This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
2008-03-07accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger1-1/+1
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
2008-03-06ldb_wrap: Debug at derived samba_level, not the level of the ldb debug enum.Andrew Kroeger1-1/+1
(This used to be commit eb9a7c3b3a7f113ff58e2ebea9886f997da4e085)
2008-03-04Try to return sane ldb error stringsAndrew Bartlett1-1/+10
We don't just want to return just strerror(ret) when things go wrong. Andrew Bartlett (This used to be commit 7f0341dd589150ab01563957460cdcf42515cadc)
2008-03-03Merge branch 'v4-0-test' into id10ts-registryJelmer Vernooij37-322/+399
(This used to be commit f98b59021a5ea39c7970ebc5520d17775e500b8c)
2008-03-02Some cleanups for the ldb doxygen docs.Brad Hards1-10/+12
(This used to be commit 5972308add8b1078e190beab204c1ba4b3a25747)
2008-03-01Remove unused variable, fix (80, 'Other error') exceptions from ldb python ↵Jelmer Vernooij2-4/+4
bindings (This used to be commit 2303063cbd2e65580618124ef8ecf42867d2b952)
2008-03-01Fix error handling in ldb.add().Jelmer Vernooij2-161/+81
(This used to be commit a7f89b5bb28601597a4a0f75ec2b97bac02370d9)
2008-02-29Change remaining prototype headers to be private.Jelmer Vernooij1-3/+3
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)