summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2012-11-08s3fs-popt: Add function to burn the commandline password.Andreas Schneider1-0/+47
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed by: Jeremy Allison <jra@samba.org>
2012-11-02s3:ctdb library: fix the build against older ctdb versionsBjörn Baumbach1-0/+5
by checking if we have the ctdb_protocol.h and including ctdb_private.h otherwise. Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Michael Adam <obnox@samba.org>
2012-10-30s3: Use file_id_string in file_id_string_tosVolker Lendecke1-6/+1
Reviewed by Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Oct 30 00:05:34 CET 2012 on sn-devel-104
2012-10-29s3: Fix some nonempty line endingsVolker Lendecke1-5/+5
Reviewed by Jeremy Allison <jra@samba.org>
2012-10-19s3:lib: remove unused connections_fetch_entry*() and connections_init()Stefan Metzmacher2-68/+0
metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:lib/conn_tdb: implement connections_forall_read() based on ↵Gregor Beck2-38/+95
smbXsrv_*_global_traverse() Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:lib: remove function connections_forall()Gregor Beck2-61/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:lib: remove unused sessionid_*() functionsGregor Beck1-83/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:lib: implement sessionid_traverse_read with smb2srv_session_traverse_readGregor Beck1-25/+33
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:lib: remove unused function connections_traverse()Gregor Beck2-23/+0
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3:smbd: add exit_server to the smbd_shim hooksStefan Metzmacher2-0/+20
This is in preparation of moving sessionid_tdb and conn_tdb to smbd exclusively. metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-19s3: fix comment header description for smbd_shimMichael Adam2-2/+2
This was copy'n'pasted from "RPC pipe client"... Signed-off-by: Michael Adam <obnox@samba.org>
2012-10-11vfs: Remove irixacl module (all the fucntions in it are unimplemented)Andrew Bartlett1-37/+0
2012-10-11vfs: Fix alternative posix and no-op sys acl implementations to take a mem_ctxAndrew Bartlett1-22/+37
These were missed with the initial conversion to use a talloc context. Andrew Bartlett
2012-10-11smbd: Add mem_ctx to sys_acl_init() and all callersAndrew Bartlett1-6/+6
This changes from allocation on NULL to allocation on the supplied memory context. Currently that supplied context is talloc_tos() at the the final consumer of the ACL. Andrew Bartlett
2012-09-21s3:dbwrap_ctdb: set errno = ENOSYS if clustering is not supportedGregor Beck1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Sep 21 18:05:56 CEST 2012 on sn-devel-104
2012-09-19s3: Use SBVAL in put_long_date_timespecVolker Lendecke1-2/+1
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104
2012-09-18s3: Fix some nonempty line endingsVolker Lendecke1-12/+12
Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Tue Sep 18 22:39:07 CEST 2012 on sn-devel-104
2012-09-18quota: add supprt for gfs2Björn Jacke1-0/+2
gfs2 uses the same generic quota interface as xfs and it has the same base block/quota block size ratio and seems to work nice with the xfs quota module. (People using gfs should be aware that quota reporting is lagging quite a bit on gfs. If you copy a file on a gfs volume the quota values are being updated with a delay of 30s here with kernel 3.5. This reporting can lead to data corruption if a client thinks he can write but actually he suddently can't.)
2012-09-15quota: also log which fs type we foundBjörn Jacke1-1/+1
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Sep 15 02:18:16 CEST 2012 on sn-devel-104
2012-09-12smbd: Remove pre-allocation of ACL array in sys_acl_init()Andrew Bartlett1-12/+9
Instead, this is just handled with realloc in sys_acl_create_entry() This allows us to remove the size element from the SMB_ACL_T. Andrew Bartlett
2012-09-12smbd-posix_acls: Use a IDL union to store the ACL entryAndrew Bartlett1-9/+7
This is a clearer, long-term-stable structure we can hash without risking it changing. Andrew Bartlett
2012-09-09s3:quota-nfs: add RQ_PATHLEN define for systems that don't have itBjörn Jacke1-0/+4
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sun Sep 9 17:44:51 CEST 2012 on sn-devel-104
2012-09-09s3:quota-nfs: another build fix for the old Unix worldBjörn Jacke1-1/+1
2012-09-08s3:quota: don't add the string '"' into the argument listBjörn Jacke1-2/+2
this is not used to quote or anything else. This is mainly causing work for the script writer who has to remove the quote stings again :-) Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Sat Sep 8 03:13:13 CEST 2012 on sn-devel-104
2012-09-07s3:lib: use includes.h with cbuf and srprsGregor Beck3-12/+1
hopefully fixes build on hpux Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-09-07s3:sysquota_nfs: fix build on Tru64 et aliiBjörn Jacke1-23/+31
the old Unix world put the struct rquota directly into the getquota_rslt struct, the new Unix world puts a getquota_rslt_u union in between and they decided to rename the status struct member.
2012-09-07s3:quota: clean up and consolidate the xfs quota checks and definesBjörn Jacke2-7/+9
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Fri Sep 7 15:59:46 CEST 2012 on sn-devel-104
2012-09-07s3:sysquota_xfs: fix logic so that we actually use this module on LinuxBjörn Jacke2-8/+2
2012-09-07s3:sysquota_xfs: check and include the right fs header file for xfs quotasBjörn Jacke1-2/+3
2012-09-07s3-smbldap: make smbldap public library and maintain its ABIAlexander Bokovoy1-0/+28
Autobuild-User(master): Alexander Bokovoy <ab@samba.org> Autobuild-Date(master): Fri Sep 7 14:14:30 CEST 2012 on sn-devel-104
2012-09-07s3-smbldap: use smbldap_ prefix for all functionsAlexander Bokovoy1-7/+7
2012-09-06fileserver:sysquotas: remove wrong castBjörn Jacke1-1/+1
Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Sep 6 17:16:30 CEST 2012 on sn-devel-104
2012-09-06sysquota: we need to list nfs4 as a separate fs name for the ↵Björn Jacke1-0/+1
sys_get_nfs_quota backend at least the Linux kernel up to 3.5.0 lists NFSv4 aѕ nfs4 and not as nfs
2012-09-04s3: Fix a commentVolker Lendecke1-1/+1
Signed-off-by: Jeremy Allison <jra@samba.org>
2012-09-04s3: in sys_popen(), add a debug message for failed forkMichael Adam1-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
2012-09-04s3: in sys_popen(), add a debug message for failed extract_args()Michael Adam1-0/+1
2012-09-04s3: in sys_popen(), untangle function call from result checkMichael Adam1-1/+3
2012-09-04s3: in sys_popen(), untangle assigment from check and add a debug message in ↵Michael Adam1-1/+4
failure case
2012-09-04s3: in sys_popen(), improve call to pipe and report error to debugMichael Adam1-1/+5
2012-09-04s3: in sys_popen(), validate input before opening the pipe.Michael Adam1-5/+5
2012-09-04s3: in sys_popen(), fix a debug messageMichael Adam1-1/+1
2012-09-02s3: adopt the new sysquotas_4B support for BSDBjörn Jacke1-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.
2012-09-02s3: add sysquotas_4B supportBjörn Jacke2-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
2012-08-31Change the S3 fileserver over to se_file_access_check().Jeremy Allison1-1/+1
Don't set the priv_open_requested yet until the open-for-backup request is correctly passed in.
2012-08-31tdb: return unpack error on strdup failureDavid Disseldorp1-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
2012-08-31s3:dbwrap_ctdb: Add DB name and key to warning messageChristof Schmitt1-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>
2012-08-24s3:lib: make sure we don't try to send messages to server_id's marked as ↵Stefan Metzmacher1-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
2012-08-24s3:lib: remove unused processes_exist()Stefan Metzmacher1-70/+0
metze
2012-08-24s3:lib: readd the CTDB_CONTROL_CHECK_SRVIDS optimization to serverids_exist()Stefan Metzmacher1-0/+45
metze