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