summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
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)
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)