summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2012-09-12Avoid overriding default ccache for ads operations.Simo Sorce1-1/+1
Avoid overriding default ccache for ads operations. Nowadays various samba components may need to use GSSAPI and a default cred cache to perform their tasks. This code was completely overriding the whole process default ccache name, thus altering the current credentials and sometimes hijacking them (or getting preemptively hijaked). By using gss_krb5_import_cred we can instead use a private ccache (necessary sometimes to use a different set of credentials fromt he default cifs/fqdn@realm one, for example when contacting foreign DCs using trust credentials) that does not affect the rest of the process. For the kerberos versions which don't have gss_krb5_import_cred we fallback to temp override of KRB5CCNAME and gss_acquire_cred. Signed-off-by: Alexander Bokovoy <ab@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Wed Sep 12 21:18:09 CEST 2012 on sn-devel-104
2012-09-08s3: introduce a new share config option "durable handles" defaulting to "yes"Michael Adam1-0/+1
This is in order to be able to turn durable handles off and on on a per share basis. Note: This is only used in combination with: kernel share modes = no kernel oplocks = no posix locking = no Which means CIFS/SMB2 only access. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-08s3: add an option "kernel share modes" to be able to switch off using kernel ↵Michael Adam1-0/+1
flocks Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-22Remove align_string(). No longer used.Jeremy Allison1-1/+0
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Aug 22 20:38:50 CEST 2012 on sn-devel-104
2012-08-17s3:lib: implement serverid_equal() as macro of server_id_equal()Stefan Metzmacher1-1/+1
metze
2012-08-09Fix strlower_m() to return an error indication.Jeremy Allison1-1/+1
2012-08-09Check error returns on strnorm().Jeremy Allison1-1/+1
2012-08-09Change strupper_m() to return a value.Jeremy Allison1-1/+1
2012-08-07source3/loadparm.c: Move string_set/string_free inside.Rusty Russell1-2/+0
The only user, so make them static inside loadparm.c Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2012-07-27lib/param: Rename "socket address" to "nbt client socket address" to clarify ↵Andrew Bartlett1-1/+1
role This parameter is only used in our NBT client code and in nmbd as a fallback when we fail to select a better interface from "interfaces" to use directly. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Jul 27 12:16:25 CEST 2012 on sn-devel-104
2012-07-24lib/param: Merge handling of security/domain master/domain logons/server roleAndrew Bartlett1-0/+4
This ensures that the same input parameters always gives the same output values in both loadparm systems. Andrew Bartlett
2012-07-24param: Make the 'unicode' parameter commonAndrew Bartlett1-0/+1
This parameter is most useful for interop testing, rather than production use. Andrew Bartlett
2012-07-23s3-winbind: Fix bug #9052 resolving our own "Domain Local" groups.Andreas Schneider1-2/+1
We don't resolve our own "Domain Local" groups since bug #7843 has been fixed. So we need to add the add resource groups to the sid list too. Before bug #7843 the "Domain Local" groups were added with a lookupuseraliases call, but this isn't done anymore for our domain so we need to resolve resource groups here. When to use Resource Groups: http://technet.microsoft.com/en-us/library/cc753670%28v=WS.10%29.aspx Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Mon Jul 23 22:12:30 CEST 2012 on sn-devel-104
2012-07-20Remove source3/lib/pidfile.cJeremy Allison1-6/+0
Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Jul 20 03:57:20 CEST 2012 on sn-devel-104
2012-07-19Make the s3 pidfile use the common code inside lib/util/pidfile.cJeremy Allison1-1/+1
2012-07-19Move source4/smbd/pidfile into lib/util in preparation for making it in common.Jeremy Allison1-3/+3
2012-07-19lib/param: bring lp_smb_ports() into common by making it a list everywhereAndrew Bartlett1-1/+1
2012-07-19s3-param: Make lp_name_resolve_order() return a listAndrew Bartlett1-3/+2
This allows this parameter, one of the few with differing declarations between the loadparm systems, to be brought into common. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2012-07-18s3-aio: Remove unused VFS functions and moreVolker Lendecke1-14/+0
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-07-18loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell1-81/+81
They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2012-07-11Move set_thread_credentials_permanently() to set_thread_credentials()Jeremy Allison1-4/+4
as we need to keep the saved set uid/gid otherwise there is an interaction with open[at]() and NO_ATIME returning EPERM. As this is meant for threaded code inside the process we don't need to do an irreverisble change anyway. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Jul 11 03:54:00 CEST 2012 on sn-devel-104
2012-07-09Make check_same_stat() and check_same_dev_ino() common functions.Jeremy Allison1-0/+4
2012-07-03Move copy_unix_token() from locking/locking.c to lib/util.c.Jeremy Allison1-0/+1
Make public.
2012-07-03Add function set_thread_credentials_permanently(). Panic if fail.Jeremy Allison1-0/+4
Not yet used.
2012-07-03s3-smbd: Remove deprecated 'share modes' option.Andreas Schneider1-1/+0
2012-07-03s3-printing: Remove deprecated lp_printer_admin().Andreas Schneider1-1/+0
2012-06-27s3-param: Rename loadparm_s3_context -> loadparm_s3_helpersAndrew Bartlett1-1/+1
This helps clarify the role of this structure and wrapper function. The purpose here is to provide helper functions to the lib/param loadparm_context that point back at the s3 lp_ functions. This allows a struct loadparm_context to be passed to any point in the code, and always refer to the correct loadparm system. If this has not been set, the variables loaded in the lib/param code will be returned. As requested by Michael Adam. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Jun 27 17:11:16 CEST 2012 on sn-devel-104
2012-06-21s3:util: rename procid_equal() to serverid_equal()Michael Adam1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-21s3:util: remove (now) unused cluster_id_equal()Michael Adam1-2/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-19Revert "s3-lib Remove unused sys_fcntl_long()"Stefan Metzmacher1-0/+1
This reverts commit 846a697e20478798288afb43cdb7a9f389a15c69. This is still used in source3/smbd/oplock_irix.c metze
2012-06-15s3:lib: add a utility function "fsp_fnum_dbg" for logging the fnum of an fspMichael Adam1-0/+1
This is to unify logging of an files_struct. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-12S3: Add ntlmssp_set_password_hashVolker Lendecke1-0/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-06-06s3:include: move sys_acl prototypes to smb_acls.hStefan Metzmacher1-30/+0
metze
2012-06-05s3:lib: split things into a conn_tdb.hStefan Metzmacher1-19/+0
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jun 5 19:28:35 CEST 2012 on sn-devel-104
2012-05-30s3-param: Use same function name for "max xmit" as lib/paramAndrew Bartlett1-1/+1
Again, this helps with merging the FN_ list. Andrew Bartlett
2012-05-30s3-param: Rename lp_dns_proxy() -> lp_wins_dns_proxy() for clarityAndrew Bartlett1-1/+1
This avoids some confusion now we have a DNS server as well. Andrew Bartlett
2012-05-22Added torture test for bug #8910. Test remove_duplicate_addrs2().Jeremy Allison1-0/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue May 22 01:31:17 CEST 2012 on sn-devel-104
2012-05-14lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.cStefan Metzmacher1-3/+0
metze
2012-05-09s3-lib: Add const to sys_acl_to_textAndrew Bartlett1-1/+1
2012-05-01s3:util add sid_check_is_wellknown_builtin()Christian Ambach1-0/+1
2012-04-30s3-lib Add a way to allocate the task_id value in server_idAndrew Bartlett1-0/+1
This safely allocates the task_id so that when we have multiple event contexts, they can each have their own messaging context, particularly for the imessaging subsystem under source4. Andrew Bartlett
2012-04-18s3-build: move file_id.c into samba3-util and create a private headerAndrew Bartlett1-5/+0
2012-04-17s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher1-0/+1
metze
2012-04-17s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke1-0/+1
All callers had that fallback
2012-04-16param: Change from _lp to lp__ as the prefix for internal parameter wrappersAndrew Bartlett1-1/+1
This will make a merge with the lib/param param code easier, as we can then paste lp_ to the front of all parameters unconditionally. Andrew Bartlett
2012-04-16make _lp_readraw() and _lp_writeraw() staticAndrew Bartlett1-2/+0
2012-04-11s3:param convert kernel oplocks to share parameterChristian Ambach1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett1-10/+10
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett1-1/+0
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett1-1/+0
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett