summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
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 Metzmacher1-2/+2
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 Bartlett1-13/+13
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-16s3-build: move priv2ld proto to smbldap.h (in order to fix non-ldap builds).Günther Deschner1-3/+0
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-ipasam: add ipasam_get_trusted_domain_by_sid()Sumit Bose1-0/+2
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 Bose1-0/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-16s3-passdb: Add minimal stub for IPA passdb backendSumit Bose1-0/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-15s3: Add "code_page" to struct samuVolker Lendecke1-0/+3
2011-02-15s3: Add "country_code" to struct samuVolker Lendecke1-0/+3
2011-02-14s3-proto: remove prototype for non-existing functions.Günther Deschner1-4/+0
Guenther
2011-02-14s3-librpc: remove duplicate prototypes.Günther Deschner1-18/+0
Guenther
2011-02-10s3: give ../librpc/ndr/util.c its own header.Günther Deschner1-7/+0
Guenther
2011-02-10Put OpenDir() back the way it was - don't overload with an fsp arg. Create ↵Jeremy Allison1-1/+0
OpenDir_fsp for new usage. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Feb 10 02:43:31 CET 2011 on sn-devel-104
2011-02-09Allow SMB2_FIND to actually use the open fd handle if we support fdopendir. ↵Jeremy Allison1-1/+3
Fallback to pathname opendir if not.
2011-02-09s3:rpc_client: make rpccli_bh_create() non-static for nowStefan Metzmacher1-0/+1
metze
2011-02-08Pass fsp to dptr_CloseDir(). Cope with setting the fd if we're closing an fd ↵Jeremy Allison1-1/+1
that opendir knows about.
2011-02-08Add fdopendir().Jeremy Allison1-0/+1
2011-02-08pam: share pam errors in a common location.Günther Deschner1-7/+0
Guenther
2011-02-08libndr: share some uuid helpers.Günther Deschner1-3/+0
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-08ndr: merge ndr_map_error2string and ndr_errstr.Günther Deschner1-1/+0
Guenther
2011-02-08ndr: move null_ndr_syntax_id to the common libndr location.Günther Deschner1-1/+0
Guenther
2011-02-07s3-rpc_server: Added a svcctl shutdown function.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-07s3-services: Migrated svcctl registry functions to winreg.Andreas Schneider1-12/+0
This is a bigger commit. It moves the relevant function to svc_winreg_glue. We need to use them in the same commit else we have problems with prototypes in proto.h. Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-05Fix try_chown code. Use new vfs_chown_fsp() which always trys fd first.Jeremy Allison1-2/+2
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 5 03:33:59 CET 2011 on sn-devel-104
2011-01-25Fix bug #7863 - Unlink may unlink wrong file when hardlinks are involved.Jeremy Allison1-2/+6
Do this by keeping a linked list of delete on close tokens, one for each filename that identifies a path to the dev/inode. Use the jenkins hash of the pathname to identify the correct token.
2011-01-25Add uint32_t name_hash argument (currently unused) to get_file_infos().Jeremy Allison1-0/+1
Will be used when we store more than one delete on close token.
2011-01-25Add name_hash into the share mode entry struct (as yet only use for renames ↵Jeremy Allison1-0/+2
to identify a specific path).
2011-01-25Add name_hash to files_struct. Set within fsp_set_smb_fname().Jeremy Allison1-0/+2
2011-01-25idl: add file_id idl.Günther Deschner1-3/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 25 12:27:00 CET 2011 on sn-devel-104
2011-01-25libndr: move ndr_print_bool to ndr_basic.cGünther Deschner1-1/+0
Guenther
2011-01-21s3:winbind: Fork multiple children per domainVolker Lendecke1-0/+1
This makes us scale better with many simultaneous winbind requests, some of which might be slow. This implementation breaks offline logons, as the cached credentials are maintained in a child (this needs fixing). So, if the offline logons are active, only allow one DC connection. Probably the offline logon and the scalable file server cases are separate enough so that this patch is useful even with the restriction.
2011-01-17s3: Remove some unused codeVolker Lendecke1-2/+0
2011-01-17s3: Remove unused cli_send_keepaliveVolker Lendecke1-1/+0
2011-01-17s3: Remove unused cli_send/receive_transVolker Lendecke1-9/+0
2011-01-17s3: Make cli_setpathinfo_basic use cli_setpathinfoVolker Lendecke1-6/+6
2011-01-17s3: Add cli_setpathinfoVolker Lendecke1-0/+5
2011-01-17s3: Rename cli_setpathinfo->cli_setpathinfo_basicVolker Lendecke1-6/+6
2011-01-17s3: Remove unused cli_send/receive_nt_transVolker Lendecke1-9/+0
2011-01-17s3: Move dump_ntquota* to smbcquotas.cVolker Lendecke1-2/+0
2011-01-17s3: Convert cli_set_fs_quota_info to cli_transVolker Lendecke1-1/+2
2011-01-17s3: Convert cli_get_fs_quota_info to cli_transVolker Lendecke1-1/+2
2011-01-17s3: Convert cli_list_user_quota to cli_transVolker Lendecke1-1/+2
2011-01-17s3: Convert cli_set_user_quota to cli_transVolker Lendecke1-1/+2
2011-01-17s3: Convert cli_get_user_quota to cli_transVolker Lendecke1-1/+2