summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-02-17nsswitch: make wb_reqtrans a common subsystem.Günther Deschner2-507/+0
Guenther
2011-02-14s3: move some defines to a better place.Günther Deschner1-0/+11
Guenther
2011-02-13s3: Use tlap_simple_recv in tldap_sasl_bind_recvVolker Lendecke1-6/+3
2011-02-13s3: Add error checking to asn1_read_OctetString_tallocVolker Lendecke1-2/+15
2011-02-13Fix typosVolker Lendecke1-1/+1
2011-02-13s3: Convert tldap_entry_values args to "array, count"Volker Lendecke1-4/+4
2011-02-13s3: Add an explicit counter to tldap_add_mod_[blobs|str]Volker Lendecke1-8/+12
2011-02-13s3: Convert tldap_make_mod_fmt args to "array, count"Volker Lendecke1-1/+1
2011-02-13s3: Convert tldap_make_mod_blob args to "array, count"Volker Lendecke1-1/+1
2011-02-13s3: Convert tldap_make_mod_blob_int args to "array, count"Volker Lendecke1-3/+3
2011-02-13s3: Convert tldap_add_blob_vals args to "array, count"Volker Lendecke1-2/+2
2011-02-13s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke1-5/+6
2011-02-11s3: Add more checks and better fallback to addrchangeVolker Lendecke1-16/+29
From http://netsplit.com/2011/02/09/the-proc-connector-and-socket-filters/ I learned a bit more about netlink... Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Feb 11 10:47:09 CET 2011 on sn-devel-104
2011-02-10s3: Align the args in tldap_modifyVolker Lendecke1-3/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
2011-02-10s3: Align tldap_add and tldap_add_sendVolker Lendecke1-1/+1
2011-02-10s3-system: fix malloc/talloc mismatch in sys_popen().Günther Deschner1-1/+1
Guenther
2011-02-10s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett1-1/+1
This will allow the auth_serversupplied_info struct to be migrated to auth_session_info easier. Adnrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-02-09Fix up some buildfarm warnings.Jeremy Allison3-3/+3
2011-02-09s3:popt: add POPT_COMMON_OPTION to provide only the "--option" featureMichael Adam1-0/+5
2011-02-08Add fdopendir().Jeremy Allison1-0/+16
2011-02-09s3: Fix some nonempty blank lines and some typosVolker Lendecke2-4/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
2011-02-08pam: share pam errors in a common location.Günther Deschner1-139/+0
Guenther
2011-02-08libndr: share some uuid helpers.Günther Deschner2-20/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 8 09:52:56 CET 2011 on sn-devel-104
2011-02-04s3:lib/addrchange: set ctx->sock to -1 after closeStefan Metzmacher1-1/+1
The makes the code more consistent with similar destructors. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 4 15:52:55 CET 2011 on sn-devel-104
2011-02-04s3:lib/addrchange: remove unused pointerStefan Metzmacher1-1/+0
metze
2011-02-04s3:lib/addrchange: let addrchange_done() retry and ignore unknown message typesStefan Metzmacher1-5/+16
Messages like RTM_NEWLINK should be just ignored. metze
2011-02-03s3:lib: allow_trailing_dollar should only allow '$'Stefan Metzmacher1-12/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 00:33:48 CET 2011 on sn-devel-104
2011-02-02s3-libnetapi: prefer dcerpc_lsa_X functions.Günther Deschner1-4/+7
Guenther
2011-02-02s3: Remove superfluous ;Günther Deschner2-5/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 2 15:44:21 CET 2011 on sn-devel-104
2011-02-01s3: Fix the build on sles8Volker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
2011-02-01s3: Add support for AF_NETLINK addr notificationsVolker Lendecke2-0/+316
Via an AF_NETLINK socket, the Linux kernel can inform us when IP addresses are added or dropped. This will first be used in winbind, it was triggered by clustering with ctdb. When winbind is connected to a domain controller and ctdb decides to move away the IP address that winbind used locally for the connection to the DC, the next request will run into a timeout. winbind sends out its request, but the response will never arrive: The IP is gone. It will also be interesting for more reliable online/offline detection, but this is something for future winbind refactoring.
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.Günther Deschner1-130/+377
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 1 13:41:42 CET 2011 on sn-devel-104
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.Günther Deschner1-14/+48
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.Günther Deschner1-50/+151
Guenther
2011-02-01s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.Günther Deschner1-120/+367
Guenther
2011-01-31s3:lib/events: use DLIST_DEMOTE() for fd eventsStefan Metzmacher1-0/+1
This makes sure that fd events doesn't dry out, because a fd with a lower number is busy. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 31 16:59:44 CET 2011 on sn-devel-104
2011-01-31s3:lib/events: don't loop over fd events is select gave -1Stefan Metzmacher1-1/+1
metze
2011-01-31Revert "s3:events: Call all ready fd event handlers on each iteration of the ↵Stefan Metzmacher1-15/+7
main loop" This reverts commit 455fccf86b6544cd17a2571c63a88f8aebff3f74. I'll add a more generic fix for this problem. metze
2011-01-28s3-rpc_client: remove some more obsolete cli_X.h header files.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104
2011-01-26s3-lib: Fixed a missing return value in tldap.Andreas Schneider1-0/+1
s3-lib: Fixed a missing return value in tldap.
2011-01-26errormap: Add unix_to_werror() functionKai Blin1-0/+6
While this function technically is closest to the map_nt_status_from_unix() function, I think it is better to keep the new function in line with our usual fooerror_to_barerror() naming scheme. Signed-off-by: Kai Blin <kai@samba.org> Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Wed Jan 26 23:07:24 CET 2011 on sn-devel-104
2011-01-24libcli/ldap: use lib/ldb_compat.h for the s3 buildStefan Metzmacher1-0/+13
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jan 24 14:55:50 CET 2011 on sn-devel-104
2011-01-24Revert "s3: Fix an infinite loop"Volker Lendecke1-4/+0
This reverts commit 61f7d7cdeccb1f733590e8bdb8229b32363a815e. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jan 24 10:10:43 CET 2011 on sn-devel-104
2011-01-23s3: Fix an infinite loopVolker Lendecke1-0/+4
If select returns EBADF (which should NEVER happen), then we loop infinitely because the select masks seem all active. I've been given an strace where smbd floods syslog with inotify-related error messages. The strace shows that select returns EBADF, and we're calling the inotify event callback. It then complains there's no data on the inotify fd. Metze, please check! We might need to fix this in 3.4 and 3.5 as well. And we need to find the deeper reason where we close a file descriptor and don't tell the events system about it. Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jan 23 10:05:39 CET 2011 on sn-devel-104
2011-01-21s3: Fix the code to immediately disconnect from a non-working ctdbdVolker Lendecke1-0/+1
2011-01-13s3-libnetapi: prefer dcerpc_srvsvc_X functions.Günther Deschner3-15/+86
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-13s3-libnetapi: prefer dcerpc_netr_X functions.Günther Deschner2-13/+32
Guenther Signed-off-by: Andreas Schneider <asn@samba.org>
2011-01-12s3-libnetapi: add missing error check after switchting to dcerpc_wkssvc_X ↵Günther Deschner1-0/+4
functions. Guenther
2011-01-11s3-initshutdown: prefer dcerpc_initshutdown_X functions.Günther Deschner1-3/+9
Guenther
2011-01-11s3-wkssvc: prefer dcerpc_wkssvc_X functions.Günther Deschner1-6/+21
Guenther