summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r25057: Add a schema file ready to be used in Fedora/RedHat Directory ServerSimo Sorce1-0/+156
(This used to be commit 501e8b6c79afdefb9955b92e5c25dbe1033ab518)
2007-10-10r24388: - ACL retrieval provided incomplete information because the buffer ↵Derrell Lipman1-4/+6
pointer was incremented too far in some circumstances. In these cases, only the first of multiple concatenated strings would be seen. - Working on bug 4649 pertaining to delete an ACL, this fixes the reported crash. It appears to have been an incomplete switchover from malloc to talloc, as the memory was still being freed with SAFE_FREE. Deleting ACLs still doesn't work. Although a valid request is sent to the server and a SUCCESS response is returned, the method that's used in libsmbclient for deleting ACLs seems to be incorrect. In looking at the samba4 torture tests, it appears that we should be turning on the INHERIT flag if we want to delete the ACL. (I could use some assistance on the proper flags to send, from anyone familiar with this stuff.) - Apply patch from SATOH Fumiyasu to fix bug 4750. smbc_telldir_ctx() was not returning a value useful to smbc_lseekdir_ctx(). Derrell (This used to be commit 2ac502e29bd8390252fe4ae8344faab49ca01ff5)
2007-10-10r24123: add file_id_create() to some vfs modulesStefan Metzmacher2-2/+17
metze (This used to be commit 0bc5a9cd0136f8512e963a30b6e7b009667fb0bf)
2007-10-10r23827: Fix schema dump.Günther Deschner1-5/+6
Guenther (This used to be commit e3d6dabcb9786ae81f2736815a3b576a962eef3b)
2007-10-10r23818: support LDAP_SERVER_SEARCH_OPTIONS_OID in adssearch.Günther Deschner1-0/+22
Guenther (This used to be commit 0f0200c43cdf3f7ced17e2dffdce7f4a4e8f533f)
2007-10-10r23817: Dump some more guids in adssearch.pl.Günther Deschner1-0/+2
Guenther (This used to be commit 3f0ac6a27f03c5115f51d1b0a740f5f8ee0fb793)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell52-108/+53
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING fileAndrew Tridgell1-289/+624
(This used to be commit e87bb12093dc78eb539fac0a171379a8cb5cd416)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell2-2/+2
(This used to be commit c14aba93c06348a1f84fc1dd9791ff1159d22c4b)
2007-10-10r23785: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell11-22/+11
(This used to be commit d0e89d246d8e5e64196d6c1d16d39a70579ca42f)
2007-10-10r23780: Find and fix more GPL2 -> GPL3.Jeremy Allison36-37/+37
Jeremy. (This used to be commit c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison28-28/+28
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r23767: Add GTYPE_SECURITY_UNIVERSAL_GROUP to adsearch.pl as well.Günther Deschner1-0/+1
Guenther (This used to be commit 9535866f6ffda866d644855f44f8b987378c4395)
2007-10-10r23714: but now:Michael Adam1-0/+167
This script allows for adding lists of users (or other objects) to lists of groups (or aliases). Useful for creating large test scenarios. Michael (This used to be commit b3e5082e105f6eaeed51e9a42d525d811e7155ee)
2007-10-10r23713: Oops accidentially checked in the wrong file - sorry!Michael Adam1-17/+0
Michael (This used to be commit ae23e6d04b8551e66b77995994a0c50cd880ea32)
2007-10-10r23712: This script allows for adding lists of users (or other objects)Michael Adam1-0/+17
to lists of groups (or aliases). Useful for creating large test scenarios. Michael (This used to be commit 0c03c78af8f62ece2965e0f5a16c001aad61c8fa)
2007-10-10r23711: Refactor the actual creation of object into its own small function.Michael Adam1-7/+10
Michael (This used to be commit 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e)
2007-10-10r23706: Add a script to create domainusers,-groups and -aliases.Michael Adam1-0/+155
This is done via rpc client. The main purpose is to be able to fill a domain controller with a large number of users / groups easily. A the object names are built as <prefix><num> where number ranges from a given start number counting up until a given number of objects has been created. In a next step, I will submit scripts to add (many) users to a group and to add a user to (many) groups. Michael (This used to be commit 8b81fbb7d998eda65978a772f2194b4a3de467f9)
2007-10-10r23704: Add pam_pwd_expire feature as discussed on samba-technical.Lars Müller1-0/+3
This is a slightly modified version to set warn_pwd_expire to the default value if 0, no, or a broken value is set. This version also has one if statement less in get_config_item_int(). Thanks a lot to Andreas 'GlaDiaC' Schneider for this feature! (This used to be commit d26914c978457ae0ec097cc40c8e33a7cee9ebcf)
2007-10-10r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison2-6/+6
return to correctly return NT_STATUS_INVALID_OWNER if it should be disallowed. Matches better what W2K3R3 does. NFSv4 ACL module owners, please examine these changes. Jeremy. (This used to be commit fc6899a5506b272f8cd5f5837ca13300b4e69a5f)
2007-10-10r23484: When chasing AD referrals make sure to honor the base returned from ↵Günther Deschner1-1/+2
the server. Guenther (This used to be commit 865bdcacae49299c19d7000242832fa41fdfa9d2)
2007-10-10r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison2-0/+12
Jeremy. (This used to be commit 932523cbb508db869b726768e86bfa8e248f768b)
2007-10-10r22914: - Fixes bug 4599. A missing <code>if</code> statement forced ↵Derrell Lipman2-0/+83
subseqeuent attempts to set attributes to fail. - I also noticed that missing attributes were setting an invalid return string by getxattr(), e.g. if there was not group, the return string had "GROUP:;" instead of excluding the GROUP attribute entirely as it should. The big problem with the way it was, is that the string could not then be passed to setxattr() and parsed. (This used to be commit 7213b5ebec8cd7f1955f5aa8ee4050c39cd11ed1)
2007-10-10r22805: Inform in examples/pdb about the location of the external support forLars Müller1-0/+4
the SQL backends. (This used to be commit 37f2191cd364dd6c2223b2e19072920ad2a257d6)
2007-10-10r22794: Add "debug_state" and "silent" to pam_winbind.conf template. Honor ↵Günther Deschner1-0/+6
the silent argument when parsing pam configuration file options. Guenther (This used to be commit 5b4a4df26f32fe1947a0c4fb741a4cb89e308f92)
2007-10-10r22591: Fix up the examples also.Jeremy Allison1-1/+5
Jeremy. (This used to be commit aa5a1591c626e2828244a78f237af8a59af57784)
2007-10-10r22341: Fix build of examples/VFS: adapt include for new place of tdb...Michael Adam1-1/+1
(This used to be commit e7110058286ed7e723c9a24e555b9c3b527c456e)
2007-10-10r22130: - Ensure that the libsmbclient example programs link with the ↵Derrell Lipman1-10/+11
libsmbclient library that's part of the current tree, not with whatever happens to have been previously installed. (This used to be commit c65621e0b7690b90beb420f829c769c7d28147f5)
2007-10-10r21762: Fix the build by enabling shared modules and adding the config.*James Peach6-10/+3106
files. Add norify_watch and chflags operations. Fix a bunch of warnings. (This used to be commit 1106db7ea148253e3b5f0806b2d5efcd094b202e)
2007-10-10r21714: Change the VFS interface to use struct timespecJeremy Allison2-6/+6
for utimes - change the call to ntimes. This preserves nsec timestamps we get from stat (if the system supports it) and only maps back down to usec or sec resolution on time set. Looks bigger than it is as I had to move lots of internal code from using time_t and struct utimebuf to struct timespec. Jeremy. (This used to be commit 8f3d530c5a748ea90f42ed8fbe68ae92178d4875)
2007-10-10r21345: Smaller fixes for adssearch:Günther Deschner1-49/+74
* get rid of horrible ads.h parsing * add LDAP_SERVER_SHUTDOWN_NOTIFY_OID * display hex bitmasks Guenther (This used to be commit 97ce4ccea215098f574a40a3192d37910f30c79a)
2007-10-10r21105: Quick fix for CLDAP reply without NetLogon attribute.Günther Deschner1-2/+27
Guenther (This used to be commit aa135c960e5d713daa4ee13a955dc502d12f4f87)
2007-10-10r20979: Fix description, thanks to Michael Adam <ma@sernet.de>Volker Lendecke1-1/+1
(This used to be commit 4610465d7f8b1d145b4923f03bd1559c79ad8e70)
2007-10-10r20884: patch from Michael Adam <ma@sernet.de> to add new ↵Gerald Carter1-0/+9
sambaTrustedDomainPassword object class (This used to be commit a209c3084913c69d1978cb31818f2db99e216c9a)
2007-10-10r20585: - allocate an OID range for LDB/LDAP extended operationsStefan Metzmacher1-0/+1
metze (This used to be commit 5373897ef54ba5d04d214cd7a32d2c971059314c)
2007-10-10r20578: - allocate an OID range for samba4 LDB/LDAP ControlsStefan Metzmacher1-0/+2
- allocate an OID range for conflicting attributes/classes metze (This used to be commit 6fedd69f5e9a647cd50b08dba517e1f27a06a802)
2007-10-10r19857: Make the perfcounter compile after tdb changesVolker Lendecke2-14/+7
(This used to be commit ab0a41c13ba3e76fea4368bc329641bbac8839b4)
2007-10-10r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.James Peach2-4/+17
(This used to be commit fa69031d00f914aa8d642a2731db8c81f74bc8d9)
2007-10-10r19745: For the fun of it, add an CLDAP client written in perl.Günther Deschner1-0/+466
Guenther (This used to be commit 8a2dded7fb6fff7080a77895803f28985bdf728b)
2007-10-10r19345: Allow better rootdse searches.Günther Deschner1-1/+1
Guenther (This used to be commit 27fbd85300c810cd06f4df514b6a762f8eac84d5)
2007-10-10r18697: Make sure that adssearch.pl does notGünther Deschner1-3/+3
* chase referrals * use paged search control when using the LDAP change notify control for monitoring changes. Guenther (This used to be commit d6849a83c01ee444931ffaa34c77b5fb7f4c8a5c)
2007-10-10r18012: Should fix bug 4018.Derrell Lipman1-0/+1
NetApp filers expect paths in Open AndX Request to have a leading slash. Windows clients send the leading slash, so we should too. (This used to be commit fc5b6e4bd8a67994b0c56d1223c74d064164420f)
2007-10-10r18011: Should fix bug 3835.Derrell Lipman1-10/+12
Jeremy: requires your eyes... If the remote connection timed out while cli_list() was retrieving its list of files, the error was not returned to the user, e.g. via smbc_opendir(), so the user didn't have a way to know to set the timeout longer and try again. This problem would occur when a very large directory is being read with a too-small timeout on the cli. Jeremy, although there were a couple of areas that needed to be handled, I needed to make one change that you should bless, in libsmb/clientgen.c. It was setting cli->smb_rw_error = smb_read_error; but smb_read_error is zero, so this had no effect. I'm now doing cli->smb_rw_error = READ_TIMEOUT; instead, and according to the OP, these (cumulative) changes (in a slightly different form) solve the problem. Please confirm this smb_rw_error change will have no other adverse effects that you can see. Derrell (This used to be commit fa664b24b829f973156486896575c1007b6d7b01)
2007-10-10r18009: Fixes bug 4026.Derrell Lipman1-2/+13
This completes the work Jeremy began last week, disambiguating the meaning of c_time. (In POSIX terminology, c_time means "status Change time", not "create time".) All uses of c_time, a_time and m_time have now been replaced with change_time, access_time, and write_time, and when creation time is intended, create_time is used. Additionally, the capability of setting and retrieving the create time have been added to the smbc_setxattr() and smbc_getxattr() functions. An example of setting all four times can be seen with the program examples/libsmbclient/testacl with the following command line similar to: testacl -f -S "system.*:CREATE_TIME:1000000000,ACCESS_TIME:1000000060,WRITE_TIME:1000000120,CHANGE_TIME:1000000180" 'smb://server/share/testfile.txt' The -f option turns on the new mode which uses full time names in the attribute specification (e.g. ACCESS_TIME vs A_TIME). (This used to be commit 8e119b64f1d92026dda855d904be09912a40601c)
2007-10-10r17487: Allocate some OID space for Samba4, so we don't trip on each other.Andrew Bartlett1-0/+5
Andrew Bartlett (This used to be commit 199a33ac80977782869b24ce86dcd51cb16d3851)
2007-10-10r17367: Reverting the ab code. Note I'm not saying thisJeremy Allison1-82/+0
code is wrong or bad or anything, just that it needs to be discussed & reviewed on the samba-technical list before we add a platform-specific NFSv4 mapping. That way lies a lot of future pain :-). Jeremy. (This used to be commit 330899ec30ffceb798e3a8362d20e103e20b2897)
2007-10-10r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific ↵Alexander Bokovoy1-0/+0
examples directory. (This used to be commit c085355c323c65ee782516859eed8a76b53e6035)
2007-10-10r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs.Alexander Bokovoy1-0/+82
(This used to be commit 72312cb2e255301f978455a559461ad83b13b6cb)