summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2009-03-08Revert accidental reintroduction of void ** bug.Jelmer Vernooij2-5/+7
2009-03-05Merge branch 'master' of ssh://git.samba.org/data/git/samba into master-develAndrew Bartlett2-28/+4
2009-03-05Update talloc version so we don't fail on system talloc 1.2.0Andrew Bartlett1-1/+1
The problem is that talloc in the Samba tree now includes talloc_get_type_abort(), which is not present on Fedora 10 or ubuntu's talloc 1.2.0. Andrew Bartlett
2009-03-04s3:smbconf: move smbconf_share_exists checks into backendMichael Adam1-24/+0
Michael
2009-03-04socket wrapper: Fix 'might be used uninitialized' warningTim Prouty1-4/+4
2009-03-04socket_wrapper: add multiple interface support for ipv6Stefan Metzmacher1-10/+39
We use FD00::5357:5FXX in the same way we use 127.0.0.XX metze
2009-03-04socket_wrapper: add ipv6 pcap supportStefan Metzmacher1-3/+87
metze
2009-03-04socket_wrapper: pass down sockaddr instead of sockaddr_in to prepare pcap ↵Stefan Metzmacher1-78/+100
support for ipv6 metze
2009-03-04socket_wrapper: prepare pcap support for ipv6 trafficStefan Metzmacher1-148/+170
metze
2009-03-04socket_wrapper: don't crash if we get EAGAIN from real_recv()Stefan Metzmacher1-1/+1
This fixes a crash in the ldaps tests with socket wrapper pcap support. metze
2009-03-03lib/util: remove samba specific talloc_get_type_abort()Stefan Metzmacher2-22/+0
metze
2009-03-03talloc: add talloc_get_type_abort()Stefan Metzmacher2-0/+26
metze
2009-03-02Make struct tevent_req opaqueSimo Sorce4-120/+157
Move struct tevent_req in tevent_internal, and ad getters and setters for private data and the callback function. This patch also renames 'private_state' into 'data'. What is held in this pointer is in fact data and not a state like enum tevent_req_state. Calling it 'state' is confusing. The functions addedd are: tevent_req_set_callback() - sets req->async.fn and req->async.private_data tevent_req_set_print_fn() - sets req->private_print tevent_req_callback_data() - gets req->async.private_data tevent_req_data() - gets rea->data This way it is much simpler to keep API/ABI compatibility in the future.
2009-03-02Import ISO-8859-1, 646 from Samba 3 iconv.Jelmer Vernooij1-0/+29
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij3-38/+122
2009-03-01s4: Use same function signature for convert_* as s3.Jelmer Vernooij4-46/+77
2009-03-01Merge branch 'master' of git://git.samba.org/samba into convenienceJelmer Vernooij3-2/+117
2009-03-01Merge branch 'master' of git://git.samba.org/samba into teventfixJelmer Vernooij23-576/+1022
Conflicts: lib/tevent/pytevent.c
2009-03-01Avoid using tevent_util.h, which won't be available if we use the systemJelmer Vernooij1-2/+2
tevent.
2009-03-01Move next_token_talloc to util.c, as util_str.c is only compiled inside samba 4.Jelmer Vernooij2-100/+100
2009-03-01Move next_token_talloc() to top-level.Jelmer Vernooij2-0/+115
2009-03-01Sync smb_iconv_t type, convert_string return type with Samba 3 equivalents.Jelmer Vernooij2-2/+3
2009-03-01Add allow_badcharcnv argument to all conversion function, forJelmer Vernooij4-23/+31
consistency with Samba 3.
2009-02-28Simplify async_connect_send slightlyVolker Lendecke1-9/+6
2009-02-26lib/torture: fix depency to map_nt_error_from_unix()Stefan Metzmacher1-1/+3
This should fix the build on Mac OS 10 metze
2009-02-26tevent: add tevent_queue infrastructureStefan Metzmacher3-1/+221
metze
2009-02-26Add tevent_ntstatusVolker Lendecke2-0/+83
2009-02-26s3:libsmbconf: add transactions to the libsmbconf apiMichael Adam4-0/+39
This is useful for wrapping higher level aggregate operations in transactions. The text backend implementations just return WERR_OK, the registry backend implementatoins use the regdb_transaction_start|commit|cancel routines just added. Michael
2009-02-26Speed up "net conf list"Volker Lendecke1-4/+0
With 1000 shares in the registry, this changed the time of "net conf list" from 1.1 seconds to .6 seconds. Signed-off-by: Michael Adam <obnox@samba.org>
2009-02-26libreplace: make it possible to disable socket_wrapper via ↵Stefan Metzmacher1-2/+4
-DSOCKET_WRAPPER_DISABLE=1 metze
2009-02-25lib/tdb: if we know pwrite and pread are thread/fork safe tdb_reopen_all() ↵Stefan Metzmacher1-0/+5
should be a noop The reason for tdb_reopen_all() is that the seek pointer on fds are shared between parent and child. metze
2009-02-25tevent: add private_print function feature to tevent_reqStefan Metzmacher2-3/+35
metze
2009-02-25tevent: add tevent_req_poll() functionStefan Metzmacher2-0/+18
metze
2009-02-25Remove async_req based async_sendVolker Lendecke2-240/+0
2009-02-25Remove async_req based async_recvVolker Lendecke2-71/+0
2009-02-25Attempt to fix the OpenChange build -- sorry for the breakVolker Lendecke1-1/+1
2009-02-24Add more conventional async_recvVolker Lendecke2-0/+72
2009-02-24Add more conventional async_sendVolker Lendecke2-0/+73
2009-02-24Remove unused param_connect structVolker Lendecke1-11/+0
2009-02-24Remove unused recvallVolker Lendecke2-115/+0
2009-02-24Add async read_packetVolker Lendecke2-0/+128
2009-02-24Fix async writevVolker Lendecke1-1/+1
2009-02-24Remove async sendallVolker Lendecke2-116/+0
2009-02-24Add async writevVolker Lendecke2-0/+109
2009-02-24Convert async_connect to tevent_reqVolker Lendecke2-32/+33
2009-02-24tevent.h requires bool and uint[16|32|64]_tVolker Lendecke1-0/+1
2009-02-24Add tevent_req_is_unix_errorVolker Lendecke2-0/+73
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman3-3/+42
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2009-02-23More warning fixes for Solaris.Jeremy Allison1-9/+0
Jeremy.
2009-02-23all BSDs use this evironment variableBjörn Jacke1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>