summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r16998: patch from Paul Griffith <paulg@cs.yorku.ca> to fix compile of the ↵Gerald Carter1-12/+12
test.c pdb file (This used to be commit 34ad8e183cf882913c32b4d03c9ab5fc09181ad2)
2007-10-10r16948: Sync the exmaples code from trunk.Jeremy Allison2-200/+200
Jeremy. (This used to be commit 508ba05a8e4a7df8bf7f6ffe3d09a3c461026f78)
2007-10-10r16943: Add Jim's code.Jeremy Allison23-0/+2176
Jeremy. (This used to be commit f131bf8f16fd8b7c49e6065ecbf6f8686b2f4269)
2007-10-10r16752: remove the 'socket options' setting from the shipped default smb.confGerald Carter1-7/+0
(This used to be commit eac00a45efe96411ab8574b3a3d436a285b7e88a)
2007-10-10r16719: Automatically chase referrals, support LDAP fast bind exended operationGünther Deschner1-22/+122
and LDAP domain scope control. Guenther (This used to be commit 6df2a39110a3ae9d2729907472bad30f48896c86)
2007-10-10r16550: Fix bug 3866. Thanks for the report!Derrell Lipman1-2/+2
Although I've never met a computer or compiler that produced pointers to functions which are a different size than pointers to data, I suppose they probably exist. Assigning a pointer to a function is technically illegal in C anyway. Change casts of the option_value based on the option_name to use of variable argument lists. For binary compatibility, I've maintained but deprecated the old behavior of debug_stderr (which expected to be passed a NULL or non-NULL pointer) and added a new option debug_to_stderr which properly expects a boolean (int) parameter. Derrell (This used to be commit c1b4c510530ca3118d1eccb9615a8cad732c7373)
2007-10-10r16521: Fix different extended_dn handling for win2k/2k3 (thanks to FredericGünther Deschner1-8/+8
Brin at Novell). Guenther (This used to be commit f19f781e15da98cfaa94c71fc455fe095dac7b4d)
2007-10-10r15250: dump some more sids.Günther Deschner1-0/+2
Guenther (This used to be commit 2922c7f5704e3cfcc80dc648bb3d6d9aa80aaf37)
2007-10-10r15094: Replace ; by # where we have a comment and remove superfluous spaces atLars Müller1-15/+15
the end of lines. (This used to be commit 27044d23ffbb2de0405e85b8ae184d12aa1e1f32)
2007-10-10r15058: Add sample pam_winbind.conf file.Günther Deschner1-0/+26
Guenther (This used to be commit 01e46b8c6e386e5009288db488e908dc6e75c805)
2007-10-10r15018: Merge Volker's ipc/trans2/nttrans changes overJeremy Allison3-1/+13
into 3.0. Also merge the new POSIX lock code - this is not enabled unless -DDEVELOPER is defined. This doesn't yet map onto underlying system POSIX locks. Updates vfs to allow lock queries. Jeremy. (This used to be commit 08e52ead03304ff04229e1bfe544ff40e2564fc7)
2007-10-10r14825: add support for max connections parameterGerald Carter1-1/+2
(This used to be commit 63efbdf005f410c4a9843809207ea27f4c1ac756)
2007-10-10r14684: Remove obsolete file (belonged to pdb_xml)Jelmer Vernooij1-46/+0
(This used to be commit 15c36233fb2e5164ea0fbb2389a066e34838dd20)
2007-10-10r14664: r13868@cabra: derrell | 2006-03-22 17:04:30 -0500Derrell Lipman2-3/+49
Implement enhancement request 3505. Two additional features are added here. There is now a method of saving an opaque user data handle in the smbc_ context, and there is now a way to request that the context be passed to the authentication function. See examples/libsmbclient/testbrowse.c for an example of using these features. (This used to be commit 203b4911c16bd7e10198a6f0e63960f2813025ef)
2007-10-10r14451: In order to get pdb_ldap searching for SID_NAME_ALIASGerald Carter1-1/+1
groups in the ${MACHINESID} and S_1-5-32 domains correctly, I had to add a substr search on sambaSID. * add substr matching rule to OpenLDAP schema (we need to update the other schema as will since this is a pretty important change). Sites will need to - install the new schema - add 'indea sambaSID sub' to slapd.conf - run slapindex * remove uses of SID_NAME_WKN_GRP in pdb_ldap.c (This used to be commit 2c0a46d73122e9000a900f7e16f9b010ad4b78e3)
2007-10-10r13711: * Correctly handle acb_info/acct_flags as uint32 not as uint16.Günther Deschner2-2/+2
* Fix a couple of related parsing issues. * in the info3 reply in a samlogon, return the ACB-flags (instead of returning zero) Guenther (This used to be commit 5b89e8bc24f0fdc8b52d5c9e849aba723df34ea7)
2007-10-10r13677: patch from Max N. Boyarov <m.boyarov@sam-solutions.net>Gerald Carter1-1/+1
Prevent div/0 when sysconf(_SC_NPROCESSORS_ONLN) fails. (This used to be commit 9a335255529d0e93dabbb6b0910f10fa162f9d4a)
2007-10-10r13410: Dump a netbootGUID as a GUID.Günther Deschner1-0/+1
Guenther (This used to be commit 9b19a68456c7b576750aaf64c178ba5323d9a95e)
2007-10-10r13366: Add popt to the include path for examples/VFS. The modules ↵Volker Lendecke1-1/+1
themselves don't use that, but includes.h fails in environments where there's no system popt around. As the modules don't need that anyway, porting the check whether to use the system one or our own seems a bit overkill. Thanks to Michael Adam <ma@SerNet.DE>. Volker (This used to be commit 04cbde59566f814cfba5a008e12496795544ad05)
2007-10-10r13343: More sql cleanupVolker Lendecke2-48/+0
(This used to be commit bd1be2388ebdc332c00289f10f0af17e6cd8b44a)
2007-10-10r13290: Adding Account Policy LDAP attributes for eDirectory schema.Günther Deschner1-1/+52
Guenther (This used to be commit de012e33a75e0aa72fbfe2cf1258689e0d7680e2)
2007-10-10r13187: IBM Tivoli Directory Server schema updates from John JanosikJim McDonough2-1/+22
<jpjanosi@us.ibm.com> (This used to be commit d45cc5e4f38bd1aa69d5c3ae8d19e2ea98976fac)
2007-10-10r12852: r12150@cabra: derrell | 2006-01-11 13:21:14 -0500Derrell Lipman1-30/+15
Although RTLD_NEXT was not working properly a number of years ago, it seems to be now. Replace dlopen(/lib/libc...) with direct use of RTLD_NEXT (This used to be commit 2b4866500640891fcb1ca7b24997df17f1b077cc)
2007-10-10r12839: - apply changes from svn r4963 also for VFS configure - KRB5_CONFIG ↵Volker Lendecke1-4/+4
should not be used - rename it to KRB5CONFIG Thanks to Björn Jacke <bj@sernet.de> Volker (This used to be commit 9c44fef5bec76d383d25b73ecc01dc1fc25b3f20)
2007-10-10r12759: r12128@cabra: derrell | 2006-01-07 15:34:01 -0500Derrell Lipman10-287/+479
Incorporate a number of changes suggested by David Collier-Brown Thanks, David! (This used to be commit 0ae65b9af566e02eece9bb7865047c037468d470)
2007-10-10r12757: r12126@cabra: derrell | 2006-01-03 15:21:36 -0500Derrell Lipman1-2/+11
added flag to not request authentication information (This used to be commit 8396c4b26c9911887ed1c1ce17c31af462ee6883)
2007-10-10r12579: r12122@cabra: derrell | 2005-12-29 12:03:00 -0500Derrell Lipman1-1/+1
allow for arbitrary option value types (This used to be commit 64c8e32b6382e48bce5c1f18179e66ca765a70af)
2007-10-10r12576: r12115@cabra: derrell | 2005-12-29 11:16:03 -0500Derrell Lipman1-12/+34
bug (enhancement) #2651: add option to log debug messages to stderr instead of stdout (This used to be commit 4182eb99af5b343291a661a87d08edd91fd09a7a)
2007-10-10r12497: add a simplex optionSimo Sorce1-8/+17
better usage message (This used to be commit c007f20c955f224c6a8deeb0b1f82e8432f1b9ab)
2007-10-10r12495: Crackcheck utility enhancement based on patch sent by Tom GeisslerSimo Sorce1-2/+71
(This used to be commit aa34304f61bd10cb1f80b4c0c27dd3834dc47fa3)
2007-10-10r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500Derrell Lipman1-0/+72
actually add the new test program (This used to be commit e3bab0cc437f3c51c74e438d8d76ffd8afe8644c)
2007-10-10r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500Derrell Lipman2-1/+6
add another libsmbclient test program (This used to be commit 133cd3952b7f5fc9e9ca8d82a33ed1272067a6c8)
2007-10-10r12452: Fix Bug #3053 to allow esp. older eDirectory releases to load our LDAPGünther Deschner4-4/+4
schema. Maybe "Base64 encoded user parameter string" is not much clearer then "munged dial" - anyone got a better description ? Guenther (This used to be commit 02ccde5f4792e34ad88b7adb5ebaf1747cb8151f)
2007-10-10r12336: A couple of fixes and enhancements for adssearch.pl (espc. to debugGünther Deschner1-76/+293
GPOs). sid2string fix from Michael James <michael@james.st>. Guenther (This used to be commit 9424b65c70bd24ba8f5b6c729dc1440a4dbf5647)
2007-10-10r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500Derrell Lipman1-1/+1
1. Fix a crash bug which should have reared its ugly head ages ago, but for some reason, remained dormant until recently. The bug pertained to libsmbclient doing a structure assignment of a cli after having opened a pipe. The pipe open code makes a copy of the cli pointer that was passed to it. If the cli is later copied (and that cli pointer that was saved is no longer valid), the pipe code will cause a crash during shutdown or when the copied cli is closed. 2. The 'type' field in enumerated shares was not being set correctly with the new RPC-based mechanism for enumerating shares. (This used to be commit 62a02b8f2a1fcb66881a9c9636e0b27e3049c5a1)
2007-10-10r12098: r10797@cabra: derrell | 2005-12-06 12:09:00 -0500Derrell Lipman2-0/+219
fixed another memory leak and reverted an (incorrect) fix from yesterday (This used to be commit 8a86d7bddc291da094d060fbe185f071ffdbddd8)
2007-10-10r12080: r10673@cabra: derrell | 2005-12-05 13:22:34 -0500Derrell Lipman1-75/+163
Correct some memory and file descriptor leaks. This should fix bugs 3257, 3267 and 3273. (This used to be commit c5781c9cf5f1f8297e084fbe2c4a22257420a447)
2007-10-10r11942: patch from Marcin to fix the mkdir() in perfcount daemonGerald Carter1-3/+3
(This used to be commit 3e05e88bb6c0618ecc460045b72d86e82929af01)
2007-10-10r11784: Fix minor glitch found by Rainer Weikusat ↵Volker Lendecke1-1/+1
<rainer.weikusat@sncag.com> -- Thanks (This used to be commit 1128d054dd8d387e529bf92dad3a3db5e251d61d)
2007-10-10r11645: mklogon updates from Ricky NanceGerald Carter2-57/+68
(This used to be commit 5bfa88225c085238954909fb9aedb34b1b760977)
2007-10-10r11579: syncing up perf counter code cfrom trunkGerald Carter9-0/+1384
(This used to be commit 59c00924b67aa3d37a933731a56d03963ec7f1b5)
2007-10-10r11577: adding perl interpreter she-bang to top of parselog.pl scriptGerald Carter1-1/+2
(This used to be commit db4eb72142a23224ea93d2a2519b6d8cd7dc8643)