summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* s3fs: Use xattr_tdb format for xattr storageAndrew Bartlett2012-04-183-12/+21
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
* s4-python: Add python wrapper for xattr_tdb format xattr storageAndrew Bartlett2012-04-184-34/+208
| | | | | | | This uses the format used by the vfs_xattr_tdb module. The s4 posix:eadb format is kept, just in a new file and module. Andrew Bartlett
* s3-xattr_tdb: Use talloc_stackframe() more to allow calling from common codeAndrew Bartlett2012-04-181-14/+31
|
* s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blobAndrew Bartlett2012-04-183-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
* s3-xattr_tdb: make xattr_tdb a private library, for use outside vfs_xattr_tdbAndrew Bartlett2012-04-186-428/+505
|
* s3-lib: Add file_id_string()Andrew Bartlett2012-04-182-3/+23
|
* s3-build: move file_id.c into samba3-util and create a private headerAndrew Bartlett2012-04-185-8/+34
|
* dbwrap: Add dbwrap_tdb to private dbwrap libraryAndrew Bartlett2012-04-181-3/+2
| | | | Andrew Bartlett
* s3-build: Add missing samba3-util dep to tdb-wrap3Andrew Bartlett2012-04-181-1/+1
|
* lib/util: Move map_nt_error_from_tdb to the top levelAndrew Bartlett2012-04-183-59/+70
| | | | | | This will help with making dbwrap available as a top level library. Andrew Bartlett
* s3-dbwrap: push lp_ctx up another layer in the stackAndrew Bartlett2012-04-184-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
* s3-dbwrap: Add talloc_stackframe() callsAndrew Bartlett2012-04-181-5/+21
| | | | | | | This is in preperation for calling dbwrap from common code, where we may not have a stackframe set up. Andrew Bartlett
* build: Remove more of the s3 special cases in waf: only pidfile.c needs ↵Andrew Bartlett2012-04-182-7/+7
| | | | -DCONFIGFILE
* s4:samdb:rootdse: implement the schemaUpgradeInProgress operation in ldap modifyMichael Adam2012-04-184-0/+37
| | | | | | | | | | | This is preliminary in that it is implemented as a no-op for a start just to be able to successfully answer the request, which seems to be sufficient in order to e.g. survive the exchange schema extensions. Signed-off-by: Matthieu Patou <mat@matws.net> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 18 02:48:28 CEST 2012 on sn-devel-104
* s4-schema: set subClassOf by default to top if not specifiedMatthieu Patou2012-04-181-0/+6
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4-schema: remove unused variableMatthieu Patou2012-04-181-4/+0
|
* s4-schema: Generate some schema related attribute as MS AD is doing if they ↵Matthieu Patou2012-04-181-0/+43
| | | | are not present in ldb requests
* s4-schema: rename dsdb_attribute_from_ldb to dsdb_set_attribute_from_ldb ↵Matthieu Patou2012-04-184-13/+34
| | | | and dsdb_class_from_ldb to dsdb_set_class_from_ldb
* s4: use enums instead of strings it's cheaperMatthieu Patou2012-04-171-14/+40
|
* Fix typoSimo Sorce2012-04-171-2/+2
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Apr 17 22:22:26 CEST 2012 on sn-devel-104
* waf: Use Logs.info() instead of print.Andreas Schneider2012-04-173-3/+9
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Apr 17 17:48:23 CEST 2012 on sn-devel-104
* waf: Add possibility to build with system libwbclient.Andreas Schneider2012-04-173-9/+29
|
* s3-waf: Add possibility to build with system libsmbclient.Andreas Schneider2012-04-173-34/+42
|
* s3-waf: Fix client/smbclient dependencies.Andreas Schneider2012-04-171-7/+7
|
* s3:libsmb/cliconnect: make use of ntlmssp_is_anonymous()Stefan Metzmacher2012-04-171-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 16:16:51 CEST 2012 on sn-devel-104
* s3:libsmb/ntlmssp: improve anonymous loginsStefan Metzmacher2012-04-171-2/+3
| | | | | | | smbtorture3 (and maybe others) use fstrings for 'user' and 'password', so we need to check for empty strings. metze
* s3:libsmb/ntlmssp: add ntlmssp_is_anonymous()Stefan Metzmacher2012-04-172-0/+16
| | | | metze
* s3:libsmb/ntlmssp: remove some indentation in ntlmssp_set_password()Stefan Metzmacher2012-04-171-18/+20
| | | | metze
* Revert "s3:libsmb/ntlmssp: an empty string should mean no password"Stefan Metzmacher2012-04-171-1/+1
| | | | This reverts commit 92483eee254ef6844fe88abe1e64f67033a1ea2d.
* tsocket: Fix a couple of typos and spellings in tsocket_guide.txtMichael Adam2012-04-171-26/+27
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Apr 17 14:41:53 CEST 2012 on sn-devel-104
* s3: Add smbstatus -N to output the notify dbVolker Lendecke2012-04-173-1/+42
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 17 11:54:35 CEST 2012 on sn-devel-104
* s3: Add "notify-cleanup" to smbcontrolVolker Lendecke2012-04-171-0/+13
| | | | This triggers a notify cleanup run which would normally only run periodically
* s3: New notify implementationVolker Lendecke2012-04-178-758/+1093
| | | | | | | | | | | | 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
* s3: Add two notify benchmark testsVolker Lendecke2012-04-175-0/+727
|
* s3: Make torture_nprocs globally availableVolker Lendecke2012-04-171-19/+19
|
* s3: Make ctdbd_messaging_send_blob available in non-clustered modeVolker Lendecke2012-04-171-1/+10
| | | | This will avoid the need for some #ifdefs
* s3: Make messaging_ctdbd_connection available in non-clustered modeVolker Lendecke2012-04-171-0/+9
| | | | This might make some #ifdef CLUSTER_SUPPORT unnecessary in the future
* s3: Implement tevent_barrierVolker Lendecke2012-04-173-0/+235
| | | | | | | | This will help notify torture tests: A tevent barrier can be waited on with tevent_barrier_wait_send/recv. The barrier is initialized with a number of requests that it will accept waiting. When that number is reached, all those requests will be released and their callback will be called. The barrier will be free for re-use again.
* s3: Start a list of ctdb srvid assigmentsVolker Lendecke2012-04-171-0/+40
|
* s3: Introduce ctdb_messaging_send_blobVolker Lendecke2012-04-172-20/+23
| | | | Send a raw blob without the messaging.idl wrap
* s3: Add msg_channelVolker Lendecke2012-04-177-0/+551
| | | | This is a tevent_based variant of messaging_register
* s3: Add messaging_tdb_event()Volker Lendecke2012-04-172-0/+13
| | | | | | | | This is a void* that represents a signal handler attached to some custom tevent_context. This is necessary to make the tdb based messaging infrastructure trigger its business when we are sitting in tevent_loop_once for an event context that is not the main one in the messaging context.
* s3: Add a second ctdb connect libraryVolker Lendecke2012-04-177-0/+931
| | | | The existing one is not async at all.
* s3: Add dbwrap_try_fetch_lockedVolker Lendecke2012-04-178-16/+97
| | | | | | | | | | This is designed to spread the load on individual ctdb records to allow upper layers to do backoff mechanisms. In the ctdb case, do not get the record if a local lock is already taken. If we are not dmaster, do at most one migrate attempt. For the tdb case, this is a nonblocking fetch_locked. If someone else has the lock, give up.
* s3: Add dbwrap_cacheVolker Lendecke2012-04-174-1/+244
| | | | | | This is a caching layer for the notify database and potentially for the brlock database. It caches the parse_record operation as long as the underlying seqnum does not change.
* s3: Open up 3 levels of dbwrap_lock_orderVolker Lendecke2012-04-172-5/+9
|
* s3: Increase debuglevel for unknown child msgsVolker Lendecke2012-04-171-1/+1
| | | | Now that we have forked background jobs, this spams log.smbd
* s3: Add infrastructure for background jobsVolker Lendecke2012-04-174-0/+274
|
* s3: Return CTDB_PATH from lp_ctdbd_socket()Volker Lendecke2012-04-174-13/+18
| | | | All callers had that fallback
* tdb-compat: Add tdb_chainlock_nonblockVolker Lendecke2012-04-172-0/+26
|