summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett3-8/+1
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett3-7/+1
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett3-10/+0
2012-04-05build: Remove unused GLIBC_HACK_FCNTL64Andrew Bartlett1-13/+0
This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
2012-04-05build: Remove SMB_F* locking definesAndrew Bartlett1-16/+0
2012-04-05build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett1-4/+0
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett3-26/+18
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett2-10/+2
2012-04-05build: Remove sys_rewinddir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_telldir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_seekdir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_opendir wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_fopen wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_open wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_creat wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_ftell wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_lseek wrapperAndrew Bartlett1-1/+0
2012-04-05build: Remove sys_ftruncate wrapperAndrew Bartlett1-1/+0
2012-04-05build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett2-16/+0
2012-04-05build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any moreAndrew Bartlett2-51/+4
2012-04-03s3-krb5: Remove unused smb_krb5_get_keyinfo_from_ap_req()Andrew Bartlett1-4/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused unwrap_pac()Andrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: remove unused get_auth_data_from_tktAndrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_authtime_from_tktAndrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused krb5_rd_req_return_keyblock_from_keytabAndrew Bartlett1-8/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-krb5: Remove unused get_principal_from_tktAndrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-04-03s3-libsmb: Remove unused spnego_parse_krb5_wrap()Andrew Bartlett1-1/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-03-26s3: Pass filters explicitly through vfs notify watchVolker Lendecke2-6/+8
This removes a dependency on "struct notify_entry" and makes the nature of the API more explicit. We depend upon the VFS module to mask out elements from e->filter and e->subdir_filter that it took over to handle. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Mon Mar 26 17:45:44 CEST 2012 on sn-devel-104
2012-03-24use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij1-1/+0
usleep moving to libreplace.
2012-03-24lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij1-2/+2
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104
2012-03-24adt_tree: Avoid WERROR.Jelmer Vernooij1-1/+1
2012-03-24lib/util: Move calloc_array and memalign_array to top-level libutil.Jelmer Vernooij1-2/+0
2012-03-22s3: Add FILE_NOTIFY_CHANGE_ALL #defineVolker Lendecke1-0/+8
2012-03-21s3: Move the notify_ctx to the smbd_server_connectionVolker Lendecke1-1/+0
We only need one notify_ctx per smbd. The notify_array can become quite large. It's based on absolute paths, so there's no point in having a copy of the complete array in memory multiple times. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Mar 21 14:26:07 CET 2012 on sn-devel-104
2012-03-21s3: Remove "conn" from sys_notify_contextVolker Lendecke1-1/+0
2012-03-21s3: Pass "path" through vfs_notify_watchVolker Lendecke2-4/+6
2012-03-15s3:smbd: let smbd/nmbd/winbindd child processes terminate if the parent ↵Michael Adam1-0/+1
process died. This applies to all child processes making use of reinit_after_fork(). It is implemented by establishing a pipe between parent and child. The child watches for EOF on the read end of the pipe, indidcating an exited parent. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-03-14s3-printing: Make printer a const char *.Andreas Schneider1-1/+3
2012-03-13s3-rpc: Decrypt with the proper session key in CreateTrustedDomainEx2.Alexander Bokovoy1-0/+6
On LSA and SAMR pipes session_key is truncated to 16 byte when doing encryption/decryption. However, this was not done for trusted domain-related modifying operations. As result, Samba 4 client libraries do not work against Samba 3 while working against Windows 2008 r2. Solved this by introducing "session_extract_session_key()" function that allows to specify intent of use of the key. Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Mar 13 12:23:44 CET 2012 on sn-devel-104
2012-03-10s3: Add smb_request_doneVolker Lendecke1-0/+5
This is used to enable async chained command sequences. A synchronous reply_xxx command does not need to take are anymore about and_x chaining. The async commands (pipe r/w at this moment) must do so however. When finished, they must inform the main chain engine that they are finished with a smb_request_done call. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 10 17:14:05 CET 2012 on sn-devel-104
2012-03-10s3: Remove unused smb_request->doneVolker Lendecke1-2/+0
2012-03-10s3: Remove unused smb_request->chain_outbufVolker Lendecke1-5/+0
2012-03-09s3:smb2_server increase defaults for read/write/trans sizes to 1MBChristian Ambach1-3/+3
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-03-08s3-auth: Remove single-implementation plugin layerAndrew Bartlett1-6/+0
The ->get_ntlm_challenge and ->check_ntlm_password elements of struct auth_context were only ever initialised to a single value. Make it easier to follow by just calling the function directly. Andrew Bartlett
2012-03-05dbwrap_ctdb: only fetch a read-only copy if we had a record already.Rusty Russell1-1/+2
Because revoking read-only copies of records is expensive, we only want ctdbd to do it for high-turnover records. A basic heuristic is that if we don't find a local copy of the record, don't ask for a read-only copy. The fetch itself will cause ctdbd to migrate the record, so eventually we will have a local copy. Next time it gets migrated away, we'll call ctdbd_fetch() with local_copy = true. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-03-01Trivial Comment fix: Supply a missing word in a commentRichard Sharpe1-1/+1
Autobuild-User: Richard Sharpe <sharpe@samba.org> Autobuild-Date: Thu Mar 1 06:55:44 CET 2012 on sn-devel-104
2012-02-29Add the implementation of check_reduced_name_with_privilege(). Now to plumb intoJeremy Allison1-0/+16
SMB1 requests.
2012-02-27s3-param: Align lp_{max,min}protocol with lib/param namesAndrew Bartlett1-2/+2
This adds an alisas to ensure that both our loadparm systems know all the names. I would like to move to the 'server ..' name as canonical, and this will be raised on the list. Andrew Bartlett