summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2011-03-02s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp1-2/+1
WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER, resulting in incorrect error messages on Windows clients. move_driver_to_download_area() returns the same error status values to the caller via the *perr argument as well as the return value. The create_directory() call is not checked for error.
2011-03-01s3-auth struct security_unix_token replaces UNIX_USER_TOKENAndrew Bartlett3-16/+9
2011-03-01lib/util: new merged debug systemAndrew Bartlett4-288/+2
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
2011-03-01s3-build __FUNCTION__ is always available, always use itAndrew Bartlett2-3/+3
This avoids duplication between FUNCTION_NAME and __FUNCTION__
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-94/+0
2011-02-28s3: Remove unused receive_packetStefan Metzmacher1-1/+0
2011-02-28s3: Add poll_intr_one_fdVolker Lendecke1-0/+1
2011-02-28s3: Eliminate select from packet_fd_read_syncVolker Lendecke1-2/+1
2011-02-28s3: Add poll_one_fd()Volker Lendecke1-0/+1
2011-02-28s3: Remove select-based s3 event backendVolker Lendecke1-5/+0
2011-02-28s3: Use poll for the event loopVolker Lendecke1-0/+5
2011-02-28s3: Add timeval_to_msecVolker Lendecke1-0/+1
2011-02-28s3: smbcontrol to notify smbd about idmap changesGregor Beck1-0/+4
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Feb 28 14:07:23 CET 2011 on sn-devel-104
2011-02-28s3: add functions to remove entries from idmap memcacheGregor Beck1-0/+3
2011-02-28s3: add functions to flush the idmap memcacheGregor Beck1-0/+2
2011-02-27s3: Make is_zero_addr take a sockaddr_storageVolker Lendecke1-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
2011-02-25Detect Mac OS X as a separate client type.Justin Maggard1-1/+1
2011-02-25s3-errormap: move (unused) map_nt_error_from_wbcErr out of errormap.Günther Deschner1-1/+0
Guenther
2011-02-25s3-printing: move more printing defines out of includes.hGünther Deschner2-30/+30
Guenther
2011-02-23Fix bug 7950 - Samba 3.5.x fails BASE-CREATEX_SHAREMODES_DIR smbtorture4 testJeremy Allison1-1/+2
We need to revalidate the pathname once re-constructed from a root fsp. Jeremy.
2011-02-23s3-proto: remove some prototypes of non-existing functions.Günther Deschner2-42/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
2011-02-22s3-includes: move some chgpasswd related defines to the locations where they ↵Günther Deschner1-12/+0
are used. Guenther
2011-02-22s3-printing: move more printing structs to printing.hGünther Deschner2-40/+40
Guenther
2011-02-22s3-printing: only include printing where really needed.Günther Deschner2-29/+23
Guenther
2011-02-22s3-printing: fix pcacp prototypes and includes.Günther Deschner1-8/+0
Guenther
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner1-63/+0
Guenther
2011-02-22s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher3-4/+4
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett3-17/+17
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>
2011-02-20s3: Convert init_system_info to NTSTATUSVolker Lendecke1-1/+1
2011-02-19s3: Add "len" to pdb_set_hoursVolker Lendecke1-1/+2
2011-02-18s3-charcnv Don't genreate valid_table on the fly, rely on valid.datAndrew Bartlett1-1/+0
This file is always installed, and is only even required for the old, depricated mangle hash method. Andrew Bartlett
2011-02-18lib/util/charset Use top level iconv.c in source3Andrew Bartlett1-1/+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>
2011-02-18charset Remove use of {isupper,islower,toupper,tolower}_w functionsAndrew Bartlett1-4/+0
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
2011-02-18s3-includes: force _SAMBA_BUILD_=3 in source3 includes.hAndrew Tridgell1-0/+5
this allows a common set of cflags for a top level combined build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-17s3-passdb: add PDB_CAP_TRUSTED_DOMAINS_EX.Günther Deschner1-2/+3
Guenther
2011-02-17s3-cluster remove more CLUSTER_SUPPORT #ifdef stuffAndrew Bartlett1-4/+0
2011-02-17s3: add server_id.idl and use only autogenerated code.Günther Deschner1-8/+1
Volker, Tridge and other clustering gurus, please check. It is ok to get rid of ifdef CLUSTER_SUPPORT here, right ? Why was unique_id not marshalled at all ? Guenther
2011-02-16s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).Günther Deschner2-4/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 16 15:20:14 CET 2011 on sn-devel-104
2011-02-16s3-lsa: Implement lsaRSetForestTrustInformationSumit Bose1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-ipasam: add IPA specific attributesSumit Bose1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-ipasam: add ipasam_get_trusted_domain_by_sid()Sumit Bose2-0/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-ipasam: implement {get,set,del}_trusted_domainSumit Bose1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: make priv2ld() publicSumit Bose1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: add {get,set,del,enum}_trusted_domain callsSumit Bose2-0/+33
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: Add minimal stub for IPA passdb backendSumit Bose2-0/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-15s3: Add "code_page" to struct samuVolker Lendecke2-0/+5
2011-02-15s3: Add "country_code" to struct samuVolker Lendecke2-0/+6
2011-02-15s3: no need to globally include intl.h.Günther Deschner1-1/+0
Guenther
2011-02-14s3-librpc: no need to globally include endpointmapper headers.Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Feb 14 12:31:56 CET 2011 on sn-devel-104
2011-02-14s3: move some defines to a better place.Günther Deschner1-17/+4
Guenther