summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* s3: Use dom_sid_string_buf in sid_to_fstringVolker Lendecke2011-03-031-3/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 3 22:56:57 CET 2011 on sn-devel-104
* s3-libds: use already existing ../libds/common/flag_mapping.h header.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* s3:idmap_cache: remove an leftover wip commentMichael Adam2011-03-021-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 2 14:55:20 CET 2011 on sn-devel-104
* s3: adjust loglevel for idmap_cacheGregor Beck2011-03-021-10/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-sessionid: avoid global include of sessionid.hGünther Deschner2011-03-021-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 2 12:58:12 CET 2011 on sn-devel-104
* s3-server_id: only include server_id where needed.Günther Deschner2011-03-021-0/+1
| | | | Guenther
* lib/util: new merged debug systemAndrew Bartlett2011-03-011-1118/+0
| | | | | | | | | | | | This is the s3 debug system, with a number of changes to tidy it up for common use. The debug class system is simplified by the removal of the ISSET table, the system no longer attempts to cope with assignment of DEBUGLEVEL, and the full class table is always available (rather than just DEBUGLEVEL_CLASS[DBCG_ALL]) from startup. It is also no longer confusingly described as a hack, but as the initial table. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 04:32:12 CET 2011 on sn-devel-104
* s3-debug Always use C99 true/false rather than True and FalseAndrew Bartlett2011-03-011-29/+29
| | | | | | | This will help with the merge into the common code. Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Mar 1 02:58:55 CET 2011 on sn-devel-104
* lib/util/time: Merge time functions from source3/lib/time.cAndrew Bartlett2011-03-011-63/+0
|
* s3-rpc_client: Move client pipe functions to own header.Andreas Schneider2011-02-282-0/+2
|
* s3: Eliminate sys_select_intr from read_fd_with_timeoutVolker Lendecke2011-02-281-12/+7
|
* s3: Add poll_intr_one_fdVolker Lendecke2011-02-281-0/+17
|
* s3: Eliminate sys_select from g_lock_lockVolker Lendecke2011-02-281-11/+31
|
* s3: Eliminate select from packet_fd_read_syncVolker Lendecke2011-02-282-17/+15
|
* s3: Add poll_one_fd()Volker Lendecke2011-02-281-0/+27
|
* s3: Remove select-based s3 event backendVolker Lendecke2011-02-281-114/+0
|
* s3: Use poll for the event loopVolker Lendecke2011-02-281-13/+267
|
* s3: Add timeval_to_msecVolker Lendecke2011-02-281-0/+5
|
* s3: add functions to remove entries from idmap cacheGregor Beck2011-02-282-0/+120
|
* s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke2011-02-271-1/+1
| | | | | | | All callers had to cast this anyway Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
* dirfd doesn't exist in some platforms.Jeremy Allison2011-02-261-2/+4
| | | | | | | | | | | | | | | Hack that should get the buildfarm back to green. Ensure dirfd() needs to be defined before we properly return fdopendir. This will do until we get a proper dirfd() defined in libreplace. From http://www.gnu.org/software/hello/manual/gnulib/dirfd.html This function is missing on some platforms: AIX 7.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 26 04:19:55 CET 2011 on sn-devel-104
* 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