summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2010-09-26s3: Remove talloc_autofree_context() from notify_internal_parent_init()Volker Lendecke1-1/+1
2010-09-26Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request.Jeremy Allison1-3/+3
Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid NetBIOS session request is received the code in name_len() in libsmb/nmblib.c can hit an assert. Re-write name_len() and name_extract() to use "buf/len" pairs and always limit reads. Jeremy.
2010-09-26s3: Remove talloc_autofree_context() from serverid_parent_init()Volker Lendecke1-1/+1
2010-09-26s3: Remove talloc_autofree_context() from messaging_tdb_parent_init()Volker Lendecke1-1/+1
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_fixed()Volker Lendecke1-1/+3
2010-09-26s3: Lift talloc_autofree_context() from make_auth_context_subsystem()Volker Lendecke1-1/+2
2010-09-23s3-dcerpc: remove auth_data_free_funcSimo Sorce1-2/+0
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce1-6/+1
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce1-7/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: add spnego server helpersSimo Sorce1-0/+10
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-21s3:registry: move regio.h from include/ to registry/Michael Adam1-226/+0
2010-09-21s3:registry: move the reg_db.h from include/ to registry/Michael Adam1-32/+0
2010-09-21s3:registry: move prototype from reg_init_smbconf.c to its own header.Michael Adam1-5/+0
2010-09-21s3:registry: move prototype from reg_init_full.c to its own header.Michael Adam1-4/+0
2010-09-21s3:registry: move prototypes from reg_init_basic.c to their own header.Michael Adam1-5/+0
2010-09-21s3:registry: move reg_api_regf prototypes to their own header file.Michael Adam1-5/+0
These two calls are currently only used in the WINREG rpc server. And this reqires linking in the regfio code.
2010-09-21s3:registry: move the reg_api prototypes to their own header.Michael Adam1-47/+0
2010-09-21s3:registry: regfio fix the buildMichael Adam1-0/+1
2010-09-21s3:services_db: remove unused legacy function svcctl_fetch_regvalues().Michael Adam1-1/+0
2010-09-21s3:services_db: publish svcctl_get_string_value()Michael Adam1-0/+3
2010-09-21s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdescMichael Adam1-1/+2
2010-09-20s3-lib/util Remove unused smb_uuid_unpack()Andrew Bartlett1-4/+0
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3-uuid Remove unused smb_uuid_pack()Andrew Bartlett1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3: Replace sid_binstring and sid_guidstring with PIDL-based alternativesAndrew Bartlett1-2/+0
This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-20s3-build: try to fix the non-ldap build.Günther Deschner1-4/+0
ldapsam_search_suffix_by_name is already prototyped in smbldap.h. Guenther
2010-09-20s3-nmbd: move SYNC_DNS to nmbd.hGünther Deschner1-4/+0
Guenther
2010-09-20s3-util: use shared dom_sid_dup.Günther Deschner1-1/+0
Guenther
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-3/+0
Guenther
2010-09-20s3-build: only include smbldap.h where needed.Günther Deschner3-41/+41
Guenther
2010-09-20s3-build: only include ctdbd_conn.h where needed.Günther Deschner1-1/+0
Guenther
2010-09-20s3-build: only include async headers where needed.Günther Deschner1-2/+0
Guenther
2010-09-20s3:registry: move prototypes of unused hilvl functions to ret_api_util.h and ↵Michael Adam1-7/+0
comment them out
2010-09-20s3:registry: move higher level function reg_open_path to new module reg_api_utilMichael Adam1-3/+0
The reg_api.c code should just export functions that direclty relate to winreg api calls.
2010-09-20s3-registry: move regf based reg_api calls into own file.Günther Deschner1-2/+5
Guenther
2010-09-18s3: Add a missing prototypeVolker Lendecke1-0/+1
2010-09-16ѕ3: remove smb_msleep prototype from hereBjörn Jacke1-1/+0
2010-09-16s3: remove TvalDiff macro, we can use the shared usec_time_diff functionBjörn Jacke1-9/+0
2010-09-16s3: remove TspecDiff macro, we can use the shared nsec_time_diff functionBjörn Jacke1-9/+0
2010-09-15s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce1-2/+6
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
2010-09-15s3-rpc_client: Added a tstream based transport.Simo Sorce1-0/+7
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make process_incoming_data() public.Simo Sorce1-0/+2
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-rpc_server: Make pipe destructor public.Simo Sorce1-0/+1
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-misc: Introduce lp_ncalrpc_dir() in S3, like we have in S4.Simo Sorce1-0/+1
2010-09-14Allows changing the maximum number of simultaneous clients in winbindd ↵Pierre Carrier2-3/+1
through an smb.conf option. Signed-off-by: Jeremy Allison <jra@samba.org>
2010-09-14s3/profile: remove the magical clock initialization from the profile codeBjörn Jacke1-8/+3
there's no point in not profiling times if no monotonic clock is found - monotonic and realtime clock are equally fast. Just use clock_gettime_mono instead.
2010-09-14s3/profiling: don't use CLOCK_PROCESS_CPUTIME_IDBjörn Jacke1-1/+0
that clock is a CPU burnometer but we need a chronometer for profiling.
2010-09-11s3-auth Fix typo in commentAndrew Bartlett1-1/+1
2010-09-11s3-util_sid Tidy up global struct security_tokenAndrew Bartlett1-1/+1
This no longer needs to be global, and should be const. We now also init it with the C99 style initialisers. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Add constAndrew Bartlett1-3/+3
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Remove unused functionAndrew Bartlett1-1/+0
Signed-off-by: Andrew Tridgell <tridge@samba.org>