1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
Commit Graph

587 Commits

Author SHA1 Message Date
Karolin Seeger
fe01e0e1a5 examples: Fix the build of the example VFS modules.
Karolin
2009-12-07 10:15:49 +01:00
Günther Deschner
a8d9c64e0f adssearch: dump some more nttime timestamps.
Guenther
2009-10-28 12:37:39 +01:00
Kai Blin
3703890596 AD-Bench: A first go at an Active Directory benchmark. 2009-10-07 15:45:46 +02:00
Günther Deschner
cd82d4ba56 s3: add perfcount idl and generated files.
Guenther
2009-10-01 12:19:43 +02:00
Jeremy Allison
8762254c7e Fix the opaque sample module for the new VFS interface.
Jeremy.
2009-09-25 22:19:27 -07:00
Jeremy Allison
2f1835eb8c Update the advice for the new VFS system.
Jeremy.
2009-09-25 22:02:18 -07:00
Jeremy Allison
2d13513796 Remove unused static fn.
Jeremy.
2009-09-25 21:43:13 -07:00
Jeremy Allison
a77b5d2a97 Rewrite vfs_transparent example for the new VFS changes.
Jeremy.
2009-09-25 21:39:52 -07:00
Jeremy Allison
0959ae9276 Fix vfs module sample for new interface.
Jeremy.
2009-09-25 20:51:50 -07:00
Michael Adam
d106e728fb examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema.
Michael
2009-09-14 14:51:21 +02:00
Björn Jacke
7748d3098a s3:examples:ldap: allow substing search on more attributes in nds schema file 2009-09-09 20:09:12 +02:00
Björn Jacke
adca9f681c s3:examples:ldap: fix some OIDs in various schema files 2009-09-09 19:14:28 +02:00
Günther Deschner
8a5cc1317a s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.
Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>.

Guenther
2009-08-06 17:19:44 +02:00
Jelmer Vernooij
27087e6a87 VFS examples: Update copy of config.{guess,sub}. 2009-07-18 20:04:11 +02:00
Günther Deschner
2260cdbb53 s3-ldapsam: bring Fedora DS LDAP schema in line with OpenLDAP schema.
Guenther
2009-07-16 03:05:45 +02:00
Tim Prouty
3cb0e521e1 s3: Plumb smb_filename through SMB_VFS_NTIMES 2009-07-06 15:38:42 -07:00
Tim Prouty
258952aa85 s3: Plumb smb_filename through SMB_VFS_UNLINK 2009-07-06 15:38:36 -07:00
Tim Prouty
5a09ba460c s3: Plumb smb_filename through SMB_VFS_RENAME 2009-07-06 15:38:29 -07:00
Günther Deschner
ebf0af0bc7 s3-examples: make get_next_oid exectuable.
Guenther
2009-06-25 11:04:05 +02:00
Tim Prouty
e129384d7c s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT
This patch introduces two new temporary helper functions
vfs_stat_smb_fname and vfs_lstat_smb_fname.  They basically allowed me
to call the new smb_filename version of stat, while avoiding plumbing
it through callers that are still too inconvenient.  As the conversion
moves along, I will be able to remove callers of this, with the goal
being to remove all callers.

There was also a bug in create_synthetic_smb_fname_split (also a
temporary utility function) that caused it to incorrectly handle
filenames with ':'s in them when in posix mode.  This is now fixed.
2009-06-24 21:15:25 -07:00
Andrew Tridgell
4c23a95565 added some basic documentation for the idmap script option 2009-06-19 13:58:28 +10:00
Andrew Tridgell
e5a15e6589 added a sample script for the "idmap script" option 2009-06-19 13:58:28 +10:00
Andrew Kroeger
71515ba190 s4: Call va_end() after all va_start()/va_copy() calls.
This corrects the issues reaised in bug #6129, and some others that were not
originally identified.  It also accounts for some code that was in the original
bug report but appears to have since been made common between S3 and S4.

Thanks to Erik Hovland <erik@hovland.org> for the original bug report.
2009-06-18 13:49:25 +10:00
Tim Prouty
4e3656b8d1 s3: Change SMB_VFS_OPEN to take an smb_filename struct
This was a little messy because of all of the vfs modules I had to
touch.  Most of them were pretty straight forward, but the streams
modules required a little attention to handle smb_filename.  Since the
use of smb_filename enables the vfs modules to access the raw,
over-the-wire stream, a little bit of the handling that was being done
by split_ntfs_stream_name has now been shifted into the individual
stream modules.  It may be a little more code, but overall it gives
more flexibility to the streams modules, while also allowing correct
stream handling.
2009-06-17 20:11:53 -07:00
Björn Jacke
9b5d905ebe examples:s2→s3-ldif-convert-script: fix objectclass recognition
objectclasses are case insensitive. we used to convert only LDAP objects with
the typical UpperLower case for sambaAccount and sambaGroupMapping and ignored
any other case writings
2009-06-12 18:46:46 +02:00
Günther Deschner
381f88f081 s3-examples: fix usage for eventlog example script.
Guenther
2009-06-08 19:56:50 +02:00
Günther Deschner
6fe012ff78 s3-examples: make sure to match correct key name in adssearch.
Guenther
2009-04-15 22:49:57 +02:00
Günther Deschner
2b1fe2c98f s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.
Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>.

Guenther
2009-04-06 12:47:41 +02:00
Derrell Lipman
21ad907aa0 Ensure parameter types match format string 2009-03-27 18:03:00 -04:00
Stefan Metzmacher
dc03a328d8 s3:example/VFS: fix the build
metze
2009-02-24 17:55:37 +01:00
Tim Prouty
6fbebb5369 s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat struct
Since file_id_create_dev is incompatible with the concept of file_ids,
it is now static and in the one file that needs it.
2009-02-19 20:58:01 -08:00
Derrell Lipman
352c97561e [Bug 6069] Add a fstatvfs function for libsmbclient
- Revert Tim's changes for the moment. I need to see what the issue is and
  arrange to use "struct statvfs" if at all possible.

Derrell
2009-02-14 09:44:36 -05:00
Tim Prouty
5e5d2b2cfa s3 libsmbclient: Fix fstatvfs to be more portable
The statvfs struct isn't guaranteed to be portable across operating
systems.  Since libsmbclient isn't actually calling statvfs and just
using the statvfs struct to store similar information, this patch adds
a new portable smbc_statvfs struct.  This fixes a few of the failures
in the build farm introduced by:
ae259575c4

Derrell, please check.
2009-02-13 12:59:30 -08:00
Derrell Lipman
ae259575c4 [Bug 6069] Add a fstatvfs function for libsmbclient
- port functionality from v3_3_test to master

Derrell
2009-02-12 10:39:48 -05:00
Stefan Metzmacher
71d2287ec7 examples/VFS: fix the configure and make with the new directory layout
metze
2009-02-05 17:28:48 +01:00
todd stecher
48b0016cff Extend NTIMES to allow setting create_time
1) Add in smb_file_time struct to clarify code and make room for createtime.
2) Get and set create time from SMB messages.
3) Fixup existing VFS modules + examples Some OS'es allow for the
setting of the birthtime through kernel interfaces. This value is
generically used for Windows createtime, but is not settable in the
code today.
2009-01-23 21:05:38 -08:00
Karolin Seeger
2e09746a4d examples: Avoid bashism in perfcount.init.
This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.

Karolin
2009-01-05 16:34:05 +01:00
Karolin Seeger
997f0fdadd Revert "examples: Avoid bashism in perfcount.init."
This reverts commit 73875cd344.
2009-01-05 16:34:05 +01:00
Karolin Seeger
73875cd344 examples: Avoid bashism in perfcount.init.
This fixes bug #6000.
Thanks to the Debian Samba package maintainers for providing the patch!
Remove trailing whitespaces.

Karolin
2009-01-05 14:54:28 +01:00
Günther Deschner
042df7f0b7 pam_winbind: re-add mkhomedir option.
Guenther
2008-10-10 15:42:56 +02:00
Jeremy Allison
ec5d09dbff Update vfs version as I've added a const to the security_descriptor paramter in fset_nt_acl().
Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules.
Jeremy.
2008-10-07 17:50:01 -07:00
Michael Adam
747f4b358c examples/libsmbclient: fix Makefile after merged build patch changes.
New variable FLAGS in source3/Makefile.in introduced recursive
variable FLAGS in Makefile.internal.

Michael
2008-09-17 17:50:18 +02:00
Michael Adam
4d12acf326 examples/libsmbclient: adapt to new samba3 source dir "source3/
Michael
2008-09-17 17:50:18 +02:00
Michael Adam
fb0b833001 libsmbclient examples: source/bin to the library search path for smbwrapper build
Michael
(This used to be commit fe62098666)
2008-08-21 12:16:05 +02:00
Michael Adam
f14e833c53 libsmbclient examples: add Makefile.internal.in for building from a samba source
Without needing to install libsmbclient to /usr/local/samba first.

Michael
(This used to be commit f0e47bce2e)
2008-08-21 12:16:05 +02:00
Michael Adam
f1a45e3b6b libsmbclient examples: fix prototype for readlink
Michael
(This used to be commit 28688cfd57)
2008-08-21 12:16:04 +02:00
Jeremy Allison
9253044276 Fix bug #5692 - Core dump in full_audit.so.
There were some function mismatches in the various GET_NT_ACL modules (some places the fsp parameter has not been removed).
Jeremy.
(This used to be commit 221cc5e21e)
2008-08-14 10:58:50 -07:00
Jeremy Allison
03991ab073 Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.
Here is a patch to allow many subsystems to be re-initialized. The only
functional change I made was to remove the null context tracking, as the memory
allocated here is designed to be left for the complete lifetime of the program.
Freeing this early (when all smb contexts are destroyed) could crash other
users of talloc.
Jeremy.
(This used to be commit 8c630efd25)
2008-08-12 13:35:15 -07:00
Andreas Schneider
ef0a7b0b94 Add krb5 support for the testbrowse example.
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com>
(This used to be commit 84b1ea39a4)
2008-06-23 15:36:37 -04:00
Karolin Seeger
f21058d61e man pages: Move 'smbsh' man page to the examples directory.
smbsh.c is located in the examples directory. It does not make sense
to install a man page without installing the tool itself.

This fixes bug #4724.

Karolin
(This used to be commit 797ed744b1)
2008-06-17 13:23:09 +02:00