summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* s3: Fix a commentVolker Lendecke2012-09-041-1/+1
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: in sys_popen(), add a debug message for failed forkMichael Adam2012-09-041-0/+1
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 4 22:17:30 CEST 2012 on sn-devel-104
* s3: in sys_popen(), add a debug message for failed extract_args()Michael Adam2012-09-041-0/+1
|
* s3: in sys_popen(), untangle function call from result checkMichael Adam2012-09-041-1/+3
|
* s3: in sys_popen(), untangle assigment from check and add a debug message in ↵Michael Adam2012-09-041-1/+4
| | | | failure case
* s3: in sys_popen(), improve call to pipe and report error to debugMichael Adam2012-09-041-1/+5
|
* s3: in sys_popen(), validate input before opening the pipe.Michael Adam2012-09-041-5/+5
|
* s3: in sys_popen(), fix a debug messageMichael Adam2012-09-041-1/+1
|
* s3: adopt the new sysquotas_4B support for BSDBjörn Jacke2012-09-021-3/+19
| | | | | most BSD systems have ufs/ufs/quota.h and they count the quota in blocks, not bytes and have slightly different dqblk struct members.
* s3: add sysquotas_4B supportBjörn Jacke2012-09-022-2/+222
| | | | | | | | this is from James Peach's darwin patch, that exists since a couple of years already. Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 2 01:00:41 CEST 2012 on sn-devel-104
* Change the S3 fileserver over to se_file_access_check().Jeremy Allison2012-08-311-1/+1
| | | | | Don't set the priv_open_requested yet until the open-for-backup request is correctly passed in.
* tdb: return unpack error on strdup failureDavid Disseldorp2012-08-311-0/+3
| | | | | | | Signed-off-by: Lars Müller <lars@samba.org> Autobuild-User(master): David Disseldorp <ddiss@samba.org> Autobuild-Date(master): Fri Aug 31 21:05:21 CEST 2012 on sn-devel-104
* s3:dbwrap_ctdb: Add DB name and key to warning messageChristof Schmitt2012-08-311-1/+8
| | | | | | | When a operation takes too long, it is useful for debugging to know the DB and the key. Signed-off-by: Christian Ambach <ambi@samba.org>
* s3:lib: make sure we don't try to send messages to server_id's marked as ↵Stefan Metzmacher2012-08-241-0/+4
| | | | | | | | | disconnected metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 24 15:54:48 CEST 2012 on sn-devel-104
* s3:lib: remove unused processes_exist()Stefan Metzmacher2012-08-241-70/+0
| | | | metze
* s3:lib: readd the CTDB_CONTROL_CHECK_SRVIDS optimization to serverids_exist()Stefan Metzmacher2012-08-241-0/+45
| | | | metze
* s3:lib: only loop over the server_ids we need to verify in serverids_exist()Stefan Metzmacher2012-08-241-11/+23
| | | | metze
* s3:lib: use server_id_is_disconnected() in serverids_exist()Stefan Metzmacher2012-08-241-0/+4
| | | | metze
* s3:lib: inline processes_exist() into serverids_exist()Stefan Metzmacher2012-08-241-14/+99
| | | | metze
* s3:lib: SERVERID_UNIQUE_ID_NOT_TO_VERIFY only means not to verify the ↵Stefan Metzmacher2012-08-241-3/+4
| | | | | | | | 'unique_id' part It doesn't mean the the server_id is always valid. metze
* s3:lib: implement process_exists() as wrapper of serverid_exists()Stefan Metzmacher2012-08-241-14/+2
| | | | | | | The changes the behavior of process_exists() it checks the pid.unique_id now, if it's not SERVERID_UNIQUE_ID_NOT_TO_VERIFY. metze
* s3:g_lock: use serverid_exists() with SERVERID_UNIQUE_ID_NOT_TO_VERIFYStefan Metzmacher2012-08-241-1/+10
| | | | metze
* s3:lib: implement serverid_exists() as wrapper of serverids_exist()Stefan Metzmacher2012-08-241-30/+5
| | | | metze
* s3:lib: remove CTDB_CONTROL_CHECK_SRVIDS optimization in serverids_exist() ↵Stefan Metzmacher2012-08-241-6/+0
| | | | | | | | for now This will be readded... metze
* Remove align_string(). No longer used.Jeremy Allison2012-08-221-11/+0
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Aug 22 20:38:50 CEST 2012 on sn-devel-104
* s3: add a debug message for failed execv in sys_popen()Michael Adam2012-08-171-1/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:lib: implement interpret_pid() as wrapper of server_id_from_string()Stefan Metzmacher2012-08-171-30/+1
| | | | metze
* s3:lib: implement serverid_equal() as macro of server_id_equal()Stefan Metzmacher2012-08-171-21/+0
| | | | metze
* s3-g_lock: Make g_lock_lock more robustVolker Lendecke2012-08-161-0/+24
| | | | | | | | | | | | If for some reason the cleanup of dbwrap_watch_send does not work properly, we might starve indefinitely. Make the lock routine more robust by retrying every 5-10 seconds. g_lock_trylock will clean up orphaned entries. Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Aug 16 19:44:00 CEST 2012 on sn-devel-104
* s3-msg: For msg_channel, correct the talloc hierarchyVolker Lendecke2012-08-161-1/+1
| | | | | | | talloc_free() of a channel must free all immediate requests that have piled up Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-msg: Rename msg_channel_init_destructorVolker Lendecke2012-08-161-3/+3
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-g_lock: Properly free "rec" on retry to avoid deadlockVolker Lendecke2012-08-161-0/+1
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-sysacls: Remove sys_acl_free_qualifier() as it is a no-opAndrew Bartlett2012-08-151-5/+0
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Wed Aug 15 05:23:18 CEST 2012 on sn-devel-104
* s3-sysacls: Remove sys_acl_free_acl() and replace with TALLOC_FREE()Andrew Bartlett2012-08-151-6/+0
|
* s3-smbd: Change allocation of smb_acl_t to talloc()Andrew Bartlett2012-08-151-10/+9
| | | | | | | | | The acl element is changed to be a talloc child, and is no longer one element longer than requested by virtue of the acl[1] base pointer. This also avoids one of the few remaining cases of over-allocation of a structure. Andrew Bartlett
* Remove smb_panic() from unix_strlower(). Just rely on error code return.Jeremy Allison2012-08-091-2/+0
| | | | | Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 9 23:52:53 CEST 2012 on sn-devel-104
* Correctly check for errors in strlower_m() returns.Jeremy Allison2012-08-095-12/+37
|
* Fix strlower_m() to return an error indication.Jeremy Allison2012-08-091-4/+8
|
* Check error returns on strnorm().Jeremy Allison2012-08-091-2/+3
|
* Check error returns from strupper_m() (in all reasonable places).Jeremy Allison2012-08-094-8/+19
|
* Change strupper_m() to return a value.Jeremy Allison2012-08-091-4/+8
|
* Fix bad return in unix_strupper.Jeremy Allison2012-08-091-1/+1
|
* Prepare to remove smb_panic() from unix_strlower().Jeremy Allison2012-08-091-0/+2
|
* Fix bad return values in unix_strlower/unix_strupper.Jeremy Allison2012-08-091-2/+2
|
* s3-events: Do not vasprintf() the tevent debug messages that will not be shownAndrew Bartlett2012-08-091-4/+6
| | | | | | | This malloc() and free() actually shows up quite high on a call profile of provision of the AD DC (and this is the matching patch for source3). Andrew Bartlett
* source3/loadparm.c: Move string_set/string_free inside.Rusty Russell2012-08-071-77/+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>
* s3-ctdb: return proper exit codeChristian Ambach2012-08-031-1/+1
| | | | | | | do not loose the result from ctdbd_messaging_send_blob() Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Aug 3 14:49:01 CEST 2012 on sn-devel-104
* s3-ctdb: adjust a loglevelChristian Ambach2012-08-031-2/+2
|
* s3-ctdb: Fix ctdb_serverids_exist for target nodes that diedVolker Lendecke2012-08-031-4/+20
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-ctdb: Add debugs to ctdb_serverids_existVolker Lendecke2012-08-031-10/+20
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>