summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed unused code check_dos_char_slowly.Jeremy Allison2011-02-251-17/+0
|
* Detect Mac OS X as a separate client type.Justin Maggard2011-02-251-0/+3
|
* s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher2011-02-221-2/+2
| | | | | | This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
* s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett2011-02-222-7/+7
| | | | | | | | | | | | | | | | | | | | | These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Protect tldap_errstr against a NULL ldVolker Lendecke2011-02-201-1/+3
|
* s3: Slightly simplify Get_Pwnam_allocVolker Lendecke2011-02-201-4/+1
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-201-3/+3
|
* lib/util/charset Add back setlocale(), but only when called from binariesAndrew Bartlett2011-02-182-2/+2
| | | | | | | | | | When called from a library, we don't want to call this, as we may overwrite some of our calling program's context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 18 09:29:35 CET 2011 on sn-devel-104
* lib/util/charcnv Move iconv handle setup in commonAndrew Bartlett2011-02-181-290/+12
| | | | | | | | We now use the struct smb_iconv_convenience at the core of all our iconv code, and use global_iconv_convenience for the callers that don't specify one. Andrew Bartlett
* s3-charcnv Don't genreate valid_table on the fly, rely on valid.datAndrew Bartlett2011-02-182-51/+8
| | | | | | | This file is always installed, and is only even required for the old, depricated mangle hash method. Andrew Bartlett
* lib/util/charset Use top level iconv.c in source3Andrew Bartlett2011-02-181-775/+0
| | | | | | | | | | | | The two files were very similar already, the only change required was to adopt the s3 module registration fucntion name. (NTSTATUS wasn't used as the charset code does not otherwise use that type). Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
* charset Remove use of {isupper,islower,toupper,tolower}_w functionsAndrew Bartlett2011-02-184-161/+18
| | | | | | | | | | | | | These now call the common _m functions that consider UTF16 code points. This removes the code which will make up a 'lame' table in memory, as this can just as correctly be handled by running the algorithm at runtime (which is to call toupper() and tolower() on characters < 128). When used, a top level waf build will always locate the correct table - in the build tree or outside - due to relinking the installed binary. Andrew Bartlett
* s3-cluster Always fill in the clustering vnn elementAndrew Bartlett2011-02-172-30/+0
| | | | | | This avoids this structure being partially uninitialised. Adnrew Bartlett
* nsswitch: make wb_reqtrans a common subsystem.Günther Deschner2011-02-172-507/+0
| | | | Guenther
* s3: move some defines to a better place.Günther Deschner2011-02-141-0/+11
| | | | Guenther
* s3: Use tlap_simple_recv in tldap_sasl_bind_recvVolker Lendecke2011-02-131-6/+3
|
* s3: Add error checking to asn1_read_OctetString_tallocVolker Lendecke2011-02-131-2/+15
|
* Fix typosVolker Lendecke2011-02-131-1/+1
|
* s3: Convert tldap_entry_values args to "array, count"Volker Lendecke2011-02-131-4/+4
|
* s3: Add an explicit counter to tldap_add_mod_[blobs|str]Volker Lendecke2011-02-131-8/+12
|
* s3: Convert tldap_make_mod_fmt args to "array, count"Volker Lendecke2011-02-131-1/+1
|
* s3: Convert tldap_make_mod_blob args to "array, count"Volker Lendecke2011-02-131-1/+1
|
* s3: Convert tldap_make_mod_blob_int args to "array, count"Volker Lendecke2011-02-131-3/+3
|
* s3: Convert tldap_add_blob_vals args to "array, count"Volker Lendecke2011-02-131-2/+2
|
* s3: Convert tldap_add_mod_blobs args to "array, count"Volker Lendecke2011-02-131-5/+6
|
* s3: Add more checks and better fallback to addrchangeVolker Lendecke2011-02-111-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
* s3: Align the args in tldap_modifyVolker Lendecke2011-02-101-3/+3
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Feb 10 23:20:05 CET 2011 on sn-devel-104
* s3: Align tldap_add and tldap_add_sendVolker Lendecke2011-02-101-1/+1
|
* s3-system: fix malloc/talloc mismatch in sys_popen().Günther Deschner2011-02-101-1/+1
| | | | Guenther
* s3-auth Rename cryptic 'ptok' to security_tokenAndrew Bartlett2011-02-101-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>
* Fix up some buildfarm warnings.Jeremy Allison2011-02-093-3/+3
|
* s3:popt: add POPT_COMMON_OPTION to provide only the "--option" featureMichael Adam2011-02-091-0/+5
|
* Add fdopendir().Jeremy Allison2011-02-081-0/+16
|
* s3: Fix some nonempty blank lines and some typosVolker Lendecke2011-02-092-4/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 9 00:01:45 CET 2011 on sn-devel-104
* pam: share pam errors in a common location.Günther Deschner2011-02-081-139/+0
| | | | Guenther
* libndr: share some uuid helpers.Günther Deschner2011-02-082-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
* s3:lib/addrchange: set ctx->sock to -1 after closeStefan Metzmacher2011-02-041-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
* s3:lib/addrchange: remove unused pointerStefan Metzmacher2011-02-041-1/+0
| | | | metze
* s3:lib/addrchange: let addrchange_done() retry and ignore unknown message typesStefan Metzmacher2011-02-041-5/+16
| | | | | | Messages like RTM_NEWLINK should be just ignored. metze
* s3:lib: allow_trailing_dollar should only allow '$'Stefan Metzmacher2011-02-031-12/+12
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 00:33:48 CET 2011 on sn-devel-104
* s3-libnetapi: prefer dcerpc_lsa_X functions.Günther Deschner2011-02-021-4/+7
| | | | Guenther
* s3: Remove superfluous ;Günther Deschner2011-02-022-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
* s3: Fix the build on sles8Volker Lendecke2011-02-011-0/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 1 18:34:33 CET 2011 on sn-devel-104
* s3: Add support for AF_NETLINK addr notificationsVolker Lendecke2011-02-012-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.
* s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/user.c.Günther Deschner2011-02-011-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
* s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/samr.c.Günther Deschner2011-02-011-14/+48
| | | | Guenther
* s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/localgroup.c.Günther Deschner2011-02-011-50/+151
| | | | Guenther
* s3-libnetapi: prefer dcerpc_samr_X functions in lib/netapi/group.c.Günther Deschner2011-02-011-120/+367
| | | | Guenther
* s3:lib/events: use DLIST_DEMOTE() for fd eventsStefan Metzmacher2011-01-311-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
* s3:lib/events: don't loop over fd events is select gave -1Stefan Metzmacher2011-01-311-1/+1
| | | | metze