summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2009-09-25Remove unused static fn.Jeremy Allison1-5/+0
Jeremy.
2009-09-25Rewrite vfs_transparent example for the new VFS changes.Jeremy Allison1-131/+291
Jeremy.
2009-09-25Fix vfs module sample for new interface.Jeremy Allison1-6/+5
Jeremy.
2009-09-14examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema.Michael Adam2-6/+0
Michael
2009-09-09s3:examples:ldap: allow substing search on more attributes in nds schema fileBjörn Jacke1-2/+2
2009-09-09s3:examples:ldap: fix some OIDs in various schema filesBjörn Jacke4-13/+13
2009-08-06s3-ldap: Fix Bug #5879. Update LDAP schema for Netscape DS 5.Günther Deschner1-1/+6
Patch from TAKEDA Yasuma <yasuma@osstech.co.jp>. Guenther
2009-07-18VFS examples: Update copy of config.{guess,sub}.Jelmer Vernooij2-75/+282
2009-07-16s3-ldapsam: bring Fedora DS LDAP schema in line with OpenLDAP schema.Günther Deschner1-0/+8
Guenther
2009-07-06s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty2-4/+8
2009-07-06s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty2-4/+6
2009-07-06s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty2-4/+8
2009-06-25s3-examples: make get_next_oid exectuable.Günther Deschner1-0/+0
Guenther
2009-06-24s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTATTim Prouty2-8/+8
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-19added some basic documentation for the idmap script optionAndrew Tridgell1-0/+168
2009-06-19added a sample script for the "idmap script" optionAndrew Tridgell1-0/+119
2009-06-18s4: Call va_end() after all va_start()/va_copy() calls.Andrew Kroeger1-5/+9
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-17s3: Change SMB_VFS_OPEN to take an smb_filename structTim Prouty2-4/+6
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-12examples:s2→s3-ldif-convert-script: fix objectclass recognitionBjörn Jacke1-2/+2
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-08s3-examples: fix usage for eventlog example script.Günther Deschner1-1/+1
Guenther
2009-04-15s3-examples: make sure to match correct key name in adssearch.Günther Deschner1-1/+1
Guenther
2009-04-06s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner1-1/+1
Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther
2009-03-27Ensure parameter types match format stringDerrell Lipman4-18/+38
2009-02-24s3:example/VFS: fix the buildStefan Metzmacher2-4/+8
metze
2009-02-19s3: Modify SMB_VFS_FILE_ID_CREATE to take a stat structTim Prouty2-3/+3
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-14[Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman2-2/+4
- 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-13s3 libsmbclient: Fix fstatvfs to be more portableTim Prouty2-4/+2
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: ae259575c447e61665c8e7070c476914161b953f Derrell, please check.
2009-02-12[Bug 6069] Add a fstatvfs function for libsmbclientDerrell Lipman3-0/+228
- port functionality from v3_3_test to master Derrell
2009-02-05examples/VFS: fix the configure and make with the new directory layoutStefan Metzmacher4-15/+17
metze
2009-01-23Extend NTIMES to allow setting create_timetodd stecher2-4/+4
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-05examples: Avoid bashism in perfcount.init.Karolin Seeger1-3/+3
This fixes bug #6000. Thanks to the Debian Samba package maintainers for providing the patch! Remove trailing whitespaces. Karolin
2009-01-05Revert "examples: Avoid bashism in perfcount.init."Karolin Seeger1-1/+1
This reverts commit 73875cd344608b591fa884ab99b5f3a10550c149.
2009-01-05examples: Avoid bashism in perfcount.init.Karolin Seeger1-3/+3
This fixes bug #6000. Thanks to the Debian Samba package maintainers for providing the patch! Remove trailing whitespaces. Karolin
2008-10-10pam_winbind: re-add mkhomedir option.Günther Deschner1-0/+3
Guenther
2008-10-07Update vfs version as I've added a const to the security_descriptor paramter ↵Jeremy Allison2-2/+2
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-09-17examples/libsmbclient: fix Makefile after merged build patch changes.Michael Adam1-18/+18
New variable FLAGS in source3/Makefile.in introduced recursive variable FLAGS in Makefile.internal. Michael
2008-09-17examples/libsmbclient: adapt to new samba3 source dir "source3/Michael Adam2-3/+3
Michael
2008-08-21libsmbclient examples: source/bin to the library search path for smbwrapper ↵Michael Adam1-1/+1
build Michael (This used to be commit fe62098666a16b31b025867f273d407e77152c4c)
2008-08-21libsmbclient examples: add Makefile.internal.in for building from a samba sourceMichael Adam1-0/+138
Without needing to install libsmbclient to /usr/local/samba first. Michael (This used to be commit f0e47bce2e98131812e96fb88cc3d1fe939e8d6c)
2008-08-21libsmbclient examples: fix prototype for readlinkMichael Adam1-1/+1
Michael (This used to be commit 28688cfd57c322937f2c63087380c377bd961018)
2008-08-14Fix bug #5692 - Core dump in full_audit.so.Jeremy Allison1-1/+1
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 221cc5e21eb27cdad51f34ec6832467a7bd89213)
2008-08-12Fix bug 5686 - libsmbclient segfaults with more than one SMBCCTX.Jeremy Allison2-0/+21
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 8c630efd25cf17aff59448ca05c1b44a41964b16)
2008-06-23Add krb5 support for the testbrowse example.Andreas Schneider2-1/+15
Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> (This used to be commit 84b1ea39a4f27ebcf06a2bafed78396c7353df0e)
2008-06-17man pages: Move 'smbsh' man page to the examples directory.Karolin Seeger3-0/+475
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 797ed744b15c94fa4831d9796b40bb0ab5df55b7)
2008-06-02Fix location of smbldap-toolsVolker Lendecke1-1/+1
Thanks to Miguel Medalha <miguelmedalha@sapo.pt> for pointing this out (This used to be commit 359b8d53d839bbf503915004c52bce9f09e6d785)
2008-05-30Working on bug #5475Derrell Lipman1-14/+34
- Add code to test whether smbc_stat() munges future smbc_getxattr() results. Derrell (This used to be commit 5f6b301f92e9e9d5ee1dab9ef8eca2cc77e12941)
2008-05-30Update libsmbclient examples to match new librariesDerrell Lipman2-2/+2
- talloc and tdb have been moved to separate libraries. Link with those. Derrell (This used to be commit e4060ad864ec9d4e9092a832c3c664ee31b6125a)
2008-05-08Yay ! Remove a VFS entry. Removed the set_nt_acl() call,Jeremy Allison2-15/+0
this can only be done via fset_nt_acl() using an open file/directory handle. I'd like to do the same with get_nt_acl() but am concerned about efficiency problems with "hide unreadable/hide unwritable" when doing a directory listing (this would mean opening every file in the dir on list). Moving closer to rationalizing the ACL model and maybe moving the POSIX calls into a posix_acl VFS module rather than having them as first class citizens of the VFS. Jeremy. (This used to be commit f487f742cb903a06fbf2be006ddc9ce9063339ed)
2008-04-21Remove redundant parameter fd from SMB_VFS_CLOSE().Michael Adam2-4/+4
Now all those redundant fd's have vanished from the VFS API. Michael (This used to be commit 14294535512a7f191c5008e622b6708e417854ae)
2008-03-03Missed a few 'deprecated' markersDerrell Lipman1-1/+1
(This used to be commit 76ba37ac46b4a77fe228ca90635fa19140541ccd)