Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-20 | s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok... | Stefan Metzmacher | 1 | -0/+3 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3-g_lock: Use dbwrap_record_watch_send/recv | Volker Lendecke | 3 | -454/+172 | |
This simplifies the g_lock implementation. The new implementation tries to acquire a lock. If that fails due to a lock conflict, wait for the g_lock record to change. Upon change, just try again. The old logic had to cope with pending records and an ugly hack into ctdb itself. As a bonus, we now get a really clean async g_lock_lock_send/recv that can asynchronously wait for a global lock. This would have been almost impossible to do without the dbwrap_record_watch infrastructure. | |||||
2012-04-19 | s3-dbwrap: Add "listwatchers" to dbwrap_tool | Volker Lendecke | 1 | -9/+62 | |
2012-04-19 | s3-dbwrap: Add dbwrap_record_watch_send/recv | Volker Lendecke | 8 | -1/+633 | |
With this API you can asynchronously wait for a record to be modified | |||||
2012-04-20 | s3-dbwrap: Add dbwrap_set_stored_callback | Volker Lendecke | 6 | -2/+47 | |
This is a per-db function that is called whenever some record is modified | |||||
2012-04-20 | s3-dbwrap: Add "db_context" to "db_record" | Volker Lendecke | 4 | -0/+10 | |
2012-04-20 | s3-dbwrap: Add dbwrap_db_id | Volker Lendecke | 6 | -0/+50 | |
This returns a blob uniquely identifying the database | |||||
2012-04-20 | s3: Fix msg_channel in the cluster case | Volker Lendecke | 1 | -3/+6 | |
2012-04-20 | s3: Remove an unused variable | Volker Lendecke | 1 | -1/+0 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 12:44:20 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3: Fix Coverity ID 2682 -- NULL_RETURNS | Volker Lendecke | 1 | -3/+10 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 22:28:34 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3: Fix Coverity ID 2727 to 2740 -- UNINIT | Volker Lendecke | 2 | -9/+14 | |
2012-04-19 | s3: Fix Coverity ID 2686 -- RESOURCE_LEAK | Volker Lendecke | 1 | -0/+1 | |
2012-04-19 | s3: Fix the build on FreeBSD | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 19:13:45 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3: Fix Coverity ID 2682: NULL_RETURNS | Volker Lendecke | 1 | -0/+4 | |
2012-04-19 | s3: Fix Coverity ID 2743: CHECKED_RETURN | Volker Lendecke | 1 | -3/+6 | |
2012-04-19 | s3: Fix Coverity ID 2744: CHECKED_RETURN | Volker Lendecke | 1 | -1/+6 | |
2012-04-19 | s3: Fix Coverity ID 2745 and 2746: FORWARD_NULL | Volker Lendecke | 1 | -11/+15 | |
We can assume that the rbt dbs are around | |||||
2012-04-19 | s3: Fix Coverity ID 2747: FORWARD_NULL | Volker Lendecke | 1 | -1/+1 | |
For the notify cleanup process we have a notify context without a messaging entry. We will never call notify_add/remove for this, but the code should protect against this. | |||||
2012-04-19 | s3: Attempt to fix Coverity ID 2748: INTEGER_OVERFLOW | Volker Lendecke | 1 | -1/+1 | |
Not sure this will actually please Coverity, but it fixes a severe bug | |||||
2012-04-19 | s3: Fix Coverity ID 2749: REVERSE_INULL | Volker Lendecke | 1 | -1/+3 | |
2012-04-19 | s3-xattr_tdb: Remove dead code: talloc_stackframe() cannot fail | Andrew Bartlett | 2 | -20/+0 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3-dbwrap: Remove dead code: talloc_stackframe() cannot fail | Andrew Bartlett | 1 | -10/+1 | |
2012-04-19 | s3-passdb: Remove unused sampass->pass_must_change_time | Andrew Bartlett | 7 | -45/+3 | |
There is no need to call pdb_set_pass_must_change_time() because nothing ever consults that value. It is always calculated from the domain policy. Also, this means we no longer store the value in LDAP. The value would only ever be set when migrating from tdbsam or smbpasswd, not on password changes, so would become incorrect over time. Andrew Bartlett | |||||
2012-04-19 | s3: Fix a "ISO C90 forbids mixed declarations and code" | Volker Lendecke | 1 | -3/+7 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 10:32:27 CEST 2012 on sn-devel-104 | |||||
2012-04-18 | Ensure we have 12 bytes of data for a SMB_SET_CIFS_UNIX_INFO call. Add debug. | Jeremy Allison | 1 | -1/+4 | |
2012-04-18 | s3-dbwrap: Fix an unused var warning | Volker Lendecke | 1 | -0/+2 | |
2012-04-18 | libsmb: Actually use an introduced variable | Volker Lendecke | 1 | -2/+2 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed Apr 18 13:39:53 CEST 2012 on sn-devel-104 | |||||
2012-04-18 | s3-xattr_tdb: Use talloc_stackframe() more to allow calling from common code | Andrew Bartlett | 1 | -14/+31 | |
2012-04-18 | s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob | Andrew Bartlett | 3 | -11/+47 | |
In this case, the blob is already in memory, so it is easier to return the full blob to the caller, and let the caller decide if some interface restriction stops the full blob from being passed all the way up the stack. This allows us to quickly write a python wrapper for this xattr storage mechanism. Andrew Bartlett | |||||
2012-04-18 | s3-xattr_tdb: make xattr_tdb a private library, for use outside vfs_xattr_tdb | Andrew Bartlett | 6 | -428/+505 | |
2012-04-18 | s3-lib: Add file_id_string() | Andrew Bartlett | 2 | -3/+23 | |
2012-04-18 | s3-build: move file_id.c into samba3-util and create a private header | Andrew Bartlett | 5 | -8/+34 | |
2012-04-18 | dbwrap: Add dbwrap_tdb to private dbwrap library | Andrew Bartlett | 1 | -3/+2 | |
Andrew Bartlett | |||||
2012-04-18 | s3-build: Add missing samba3-util dep to tdb-wrap3 | Andrew Bartlett | 1 | -1/+1 | |
2012-04-18 | lib/util: Move map_nt_error_from_tdb to the top level | Andrew Bartlett | 1 | -58/+0 | |
This will help with making dbwrap available as a top level library. Andrew Bartlett | |||||
2012-04-18 | s3-dbwrap: push lp_ctx up another layer in the stack | Andrew Bartlett | 4 | -6/+10 | |
This will allow db_open_tdb() to be called from common code, which may already have a loadparm context loaded. It also slowly moves the lp_ctx up the stack, as required to remove the library loop between smbconf and the registry. Andrew Bartlett | |||||
2012-04-18 | s3-dbwrap: Add talloc_stackframe() calls | Andrew Bartlett | 1 | -5/+21 | |
This is in preperation for calling dbwrap from common code, where we may not have a stackframe set up. Andrew Bartlett | |||||
2012-04-18 | build: Remove more of the s3 special cases in waf: only pidfile.c needs ↵ | Andrew Bartlett | 1 | -1/+7 | |
-DCONFIGFILE | |||||
2012-04-17 | s3-waf: Add possibility to build with system libsmbclient. | Andreas Schneider | 2 | -34/+41 | |
2012-04-17 | s3-waf: Fix client/smbclient dependencies. | Andreas Schneider | 1 | -7/+7 | |
2012-04-17 | s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous() | Stefan Metzmacher | 1 | -1/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104 | |||||
2012-04-17 | s3:libsmb/ntlmssp: improve anonymous logins | Stefan Metzmacher | 1 | -2/+3 | |
smbtorture3 (and maybe others) use fstrings for 'user' and 'password', so we need to check for empty strings. metze | |||||
2012-04-17 | s3:libsmb/ntlmssp: add ntlmssp_is_anonymous() | Stefan Metzmacher | 2 | -0/+16 | |
metze | |||||
2012-04-17 | s3:libsmb/ntlmssp: remove some indentation in ntlmssp_set_password() | Stefan Metzmacher | 1 | -18/+20 | |
metze | |||||
2012-04-17 | Revert "s3:libsmb/ntlmssp: an empty string should mean no password" | Stefan Metzmacher | 1 | -1/+1 | |
This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d. | |||||
2012-04-17 | s3: Add smbstatus -N to output the notify db | Volker Lendecke | 3 | -1/+42 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 17 11:54:35 CEST 2012 on sn-devel-104 | |||||
2012-04-17 | s3: Add "notify-cleanup" to smbcontrol | Volker Lendecke | 1 | -0/+13 | |
This triggers a notify cleanup run which would normally only run periodically | |||||
2012-04-17 | s3: New notify implementation | Volker Lendecke | 7 | -758/+1080 | |
From notify_internal.c: /* * The notify database is split up into two databases: One * relatively static index db and the real notify db with the * volatile entries. */ This change is necessary to make notify scale better in a cluster | |||||
2012-04-17 | s3: Add two notify benchmark tests | Volker Lendecke | 5 | -0/+727 | |
2012-04-17 | s3: Make torture_nprocs globally available | Volker Lendecke | 1 | -19/+19 | |