summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2008-01-09Fix build warning for libsmbclient example.Günther Deschner1-0/+2
Guenther (This used to be commit 8f411753b2130e9c1f260a15d031f57ba07b62a1)
2008-01-08Fix returns in void functions.Michael Adam1-2/+2
Michael (This used to be commit ef7c9a765bcdb1c774ff4f6d14053c4aa3815f31)
2008-01-08Fix examples/VFS after VFS API changes.Michael Adam2-33/+33
Michael (This used to be commit c88555ce45aa2998037d316f3a8edccd04be04a4)
2008-01-07Remove redundant parameter fd from SMB_VFS_LOCK().Michael Adam2-4/+4
Michael (This used to be commit 4f3ab2c406072e0b43581057e7e785e8ad454cfa)
2008-01-07Remove redundant parameter fd from SMB_VFS_FTRUNCATE().Michael Adam2-4/+4
Michael (This used to be commit 2ad66050a0452b8e7e08b1e7a01efa00c72fd451)
2008-01-07Remove redundant parameter fd from SMB_VFS_FCHOWN().Michael Adam2-4/+4
Michael (This used to be commit fbb193db3e0dc51cb000ae406a68bc547f31d9ab)
2008-01-07Remove redundant parameter fd from SMB_VFS_FCHMOD().Michael Adam2-4/+4
Michael (This used to be commit a54d5604da556d1250ca9948d4acc4a187a9fede)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2-4/+4
Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
2008-01-07Remove redundant parameter fd from SMB_VFS_FSYNC().Michael Adam2-4/+4
Michael (This used to be commit 8f83c9a7b245dbfef28195f9a7f33047a8ba95a0)
2008-01-07Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2-4/+4
Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
2008-01-07Remove redundant parameter fd from SMB_VFS_PWRITE().Michael Adam2-4/+4
Michael (This used to be commit 8c4901a19ae2fd3ee085f9499f33aa7db016d182)
2008-01-07Adapt fset_nt_acl() and fget_nt_acl() in examples/VFS/ to vfs prototype change.Michael Adam2-7/+7
Michael (This used to be commit d9d6775878f8b3425665c6a45a5ef9cb92932cf8)
2008-01-07Remove unneeded parameter fd from SMB_VFS_PREAD().Michael Adam2-4/+4
Michael (This used to be commit 73e28806ce87d829ea7c38ed3440020845bb13bf)
2007-11-09Fix typoKarolin Seeger1-1/+1
(This used to be commit e811b9f3bbf614f76e628755dafd358769b8a58b)
2007-11-09The FSF has moved around a lot. This fixes their Mass Ave address.Michael Adam2-4/+2
This adapts r23801 / 87c91e4362c51819032bfbebbb273c52e203b227 to files just added by cherry-pick. Michael (This used to be commit a0d595c2277d2f754cdb0c85119fdc130d86f7ea)
2007-11-09Find and fix more GPL2 -> GPL3.Michael Adam2-2/+2
Jeremy. This adapts r23780 / c2f7ab1c175ecff0cf44d0bbc4763ba9f7d7803f for files added by cherry-pick. (This used to be commit 1b6cf93992fbe338dff83a9f904ec9dfc422e242)
2007-11-09r23714: This script allows for adding lists of users (or other objects)Michael Adam1-0/+167
to lists of groups (or aliases). Useful for creating large test scenarios. Michael (cherry picked from commit b3e5082e105f6eaeed51e9a42d525d811e7155ee) (This used to be commit 78a2344fe7ed53e9927e189fa4d465652731deab)
2007-11-09r23711: Refactor the actual creation of object into its own small function.Michael Adam1-7/+10
Michael (cherry picked from commit 26349c0b173e8baf6fa43deb39cb2bfdb31bf18e) (This used to be commit 852570059c974bc6c06f893e4bf5e76674e4ec00)
2007-11-09r23706: 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 (cherry picked from commit 8b81fbb7d998eda65978a772f2194b4a3de467f9) (This used to be commit 79414f8bfa9cce1b4543b3cf5d6ea65651fc0769)
2007-10-29Add in the recvfile entry to the VFS layer with a defaultJeremy Allison2-0/+25
implementation. Needed for the zero-copy write code. Jeremy. (This used to be commit bfbdb6324c5d13bfde8b742e9c5a0e0c9092bd86)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison3-9/+9
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10[GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.Gerald (Jerry) Carter40-5901/+0
(This used to be commit 5c6c8e1fe93f340005110a7833946191659d88ab)
2007-10-10r25127: Add ol-schema-migrate.pl to the repo.Simo Sorce2-8/+402
This script is useful for migrating OpenLDAP schema files to FDS/RHDS lidf schema files. License kindly updated to GPLv3+ at our request. Simo. (This used to be commit ab7770b34b3202a5836cfa098187eeed1bd16be3)
2007-10-10r25090: Fix a syntax error just introduced into the LDAP schema.Michael Adam1-2/+2
Michael (This used to be commit 7dc68ce0fb4490761326eaaca516fde3bf642ed5)
2007-10-10r25088: Change the objectclass sambaTrustedDomainPassword toMichael Adam1-1/+13
have the current and possibly the previous trust password stored as clear text passwords. (Previous use of NTPassword was a mistake - this is a hash value.) Michael (This used to be commit 0beae52ff469903adbfefdffd93a34bb7ad7d68d)
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)