summaryrefslogtreecommitdiff
path: root/source4/lib
AgeCommit message (Collapse)AuthorFilesLines
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-09Move PC_FILE out of the perl code.Jelmer Vernooij2-2/+4
(This used to be commit ca8d4260ada9f74ebc406714ca70d20be09b194b)
2008-03-08Push SOVERSION and VERSION out of perl code.Jelmer Vernooij3-6/+6
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-07Merge branch 'v4-0-test' into v4-0-gmake3Jelmer Vernooij1-15/+16
(This used to be commit 2bf43c7932d886b0db3e1c2f5a4b8697435b0c5c)
2008-03-07Rerun SWIG.Jelmer Vernooij1-15/+16
(This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
2008-03-07Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij2-2/+2
(This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
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-04Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij1-1/+10
Conflicts: source/build/smb_build/makefile.pm (This used to be commit 391fea450b2e6664fcd4e4419858997c6094cf3e)
2008-03-04Fix syntax.Jelmer Vernooij1-2/+2
(This used to be commit 9bc22a4cd39a96d757be844d0f32a8042d233612)
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-04Deal with subsystems with no settings, several other minor fixes.Jelmer Vernooij1-1/+1
(This used to be commit 10cf48591e8d6bfb750a6ff187f04ea24a1f8cd7)
2008-03-04Fix some paths.Jelmer Vernooij2-2/+2
(This used to be commit bb16e51e60df296fa7b89eeeba6b80908099dda6)
2008-03-04Fix includes.Jelmer Vernooij4-0/+7
(This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c)
2008-03-03Move object file lists to the Makefile.Jelmer Vernooij25-200/+162
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-03-03Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij7-208/+349
Conflicts: source/Makefile source/build/smb_build/makefile.pm source/librpc/config.mk (This used to be commit 3e02fcfd3fb6683f51417ba39f4ec177494eff3e)
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)