1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00
Commit Graph

94 Commits

Author SHA1 Message Date
Stefan Metzmacher
9db9b6d85d opendb: pass down a pointer to the fd in odb_open_file()
This prepares kernel oplock support.

metze
2008-03-12 17:35:04 +01:00
Stefan Metzmacher
db0853ae4f opendb: force odb_can_open() before odb_open_file()
Now there's only odb_can_open() which handles the
share_access rules.

And odb_open_file() only adds the new opendb_entry into the
database and calculates the granted oplock level.

metze
2008-03-07 19:35:12 +01:00
Stefan Metzmacher
146f1fe0b6 opendb: add allow_level_II_oplock parameter to odb_open_file()
Not all clients support a fallback to level II oplocks.

metze
2008-03-06 17:19:12 +01:00
Stefan Metzmacher
02071f151a opendb: add odb_get_path()
metze
2008-02-29 15:17:52 +01:00
Stefan Metzmacher
e699633db2 opendb: only return delete_on_close on odb_get_delete_on_close()
metze
2008-02-28 08:11:04 +01:00
Stefan Metzmacher
fc27730bad opendb: return the path that should be deleted in odb_close_file()
That means the last close returns the path name if the
delete_on_close flag is set.

metze
2008-02-28 08:10:50 +01:00
Stefan Metzmacher
e6b708a52b opendb: unify the parameters of odb_open_file() and odb_can_open()
metze
2008-02-26 09:32:56 +01:00
Stefan Metzmacher
aaaa26ae5e opendb: pass down open_disposition and break_to_none to odb_open_file()
metze
2008-02-26 09:32:55 +01:00
Stefan Metzmacher
bd3654500b opendb: add odb_break_oplocks() function
This send breaks to none to all level2 holders

metze
2008-02-26 09:29:40 +01:00
Stefan Metzmacher
df576d69c6 opendb: add odb_update_oplock() call
metze
2008-02-25 11:51:17 +01:00
Stefan Metzmacher
11f35a2a4d opendb: add odb_get_key() function to get the key back from a struct odb_lock
metze
2008-02-25 11:50:30 +01:00
Jelmer Vernooij
0e1d0a874a Rename include to mkinclude to emphasize it is different from make's include. 2008-02-18 20:04:18 +01:00
Andrew Bartlett
c3387545c5 Fix a few more breakages from our recent changes to the server_id
structure.  The BASE-TORTURE test found this problem - caused because
the messaging path was not unique.

If we didn't use a macro for cluster_id_equal(), we could make it
opaque, and avoid this...

Andrew Bartlett
2008-02-04 23:04:35 +11:00
Andrew Bartlett
931994a7f1 Rework cluster_id() to take an additional argument, as we need
<node>.<pid>.<fd> to be unique in a prefork process environment.

Andrew Bartlett and David Disseldorp
2008-02-04 17:51:38 +11:00
Jelmer Vernooij
65fbb4700d r26653: Janitorial: Remove global_loadparm use in two more places. 2008-01-03 12:33:36 -06:00
Jelmer Vernooij
a2bc97e8b0 r26645: Janitorial: Fix a couple of warnings. 2008-01-02 12:48:03 -06:00
Jelmer Vernooij
c863f4ebde r26640: Janitorial: Remove some more uses of global_loadparm. 2008-01-01 19:57:01 -06:00
Jelmer Vernooij
2f29f80e07 r26639: librpc: Pass iconv convenience on from RPC connection to NDR library, so it can be overridden by OpenChange. 2008-01-01 16:12:15 -06:00
Jelmer Vernooij
61ad78ac98 r26638: libndr: Require explicitly specifying iconv_convenience for ndr_struct_push_blob(). 2008-01-01 16:12:11 -06:00
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Jelmer Vernooij
7352206f44 r26431: Require ndr_push creators to specify a iconv_convenience context. 2007-12-21 05:50:00 +01:00
Jelmer Vernooij
b6f66eb5e0 r26379: Remove more global_loadparm instances. 2007-12-21 05:49:13 +01:00
Jelmer Vernooij
3809113d86 r26274: Some syntax fixes, remove more global_loadparm instances. 2007-12-21 05:47:58 +01:00
Jelmer Vernooij
e52710d679 r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess(). 2007-12-21 05:47:50 +01:00
Jelmer Vernooij
1cb849dfba r26269: Fix a couple more references to global_loadparm. 2007-12-21 05:47:49 +01:00
Jelmer Vernooij
bc615162fc r26101: remove some unused includes 2007-12-21 05:46:03 +01:00
Stefan Metzmacher
29b6a8739a r26015: fix dependecies
metze
2007-12-21 05:45:42 +01:00
Jelmer Vernooij
56dfcb4f2f r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies. 2007-12-21 05:45:40 +01:00
Stefan Metzmacher
6223c7fddc r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
2007-12-21 05:45:02 +01:00
Jelmer Vernooij
b7371f1a19 r25553: Convert to standard bool type. 2007-10-10 15:07:54 -05:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
37425495f3 r25301: Merge my includes.h cleanups. 2007-10-10 15:07:09 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
5085c53fcf r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
08bb1ef643 r25000: Fix some more C++ compatibility warnings. 2007-10-10 15:05:27 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Andrew Tridgell
1aa4628f16 r24644: add a ctdb_fetch() function to the ctdb client code 2007-10-10 15:02:30 -05:00
Andrew Tridgell
5705ee0449 r24643: add a ctdb_fetch() function to the ctdb client code 2007-10-10 15:02:29 -05:00
Andrew Tridgell
b04bcf46e1 r24275: - setup the connection to the ctdb daemon
- disable the brlock ctdb backend for now
2007-10-10 15:01:34 -05:00
Andrew Tridgell
be85c48f8d r24274: - merge from ctdb bzr tree
- use ctdb_attach() instead of ctdb_db_handle()

- make ctdb_attach() return an existing db handle if it exists
2007-10-10 15:01:33 -05:00
Andrew Tridgell
b196077cbb r23806: update Samba4 with the latest ctdb code.
This doesn't get the ctdb code fully working in Samba4, it just gets
it building and not breaking non-clustered use of Samba. It will take
a bit longer to update some of the calling ctdb_cluster.c code to make
it work correctly in Samba4.

Note also that Samba4 now only links to the client portion of
ctdb. For the moment I am leaving the ctdbd as a separate daemon,
which you install separately from http://ctdb.samba.org/.
2007-10-10 14:59:20 -05:00
Andrew Tridgell
3121f91493 r23805: this directory is not used any more 2007-10-10 14:59:19 -05:00
Andrew Tridgell
5c9b19271e r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
Andrew Tridgell
db92b76a00 r23799: updated old Franklin Street FSF addresses to new URL 2007-10-10 14:59:16 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00