summaryrefslogtreecommitdiffstats
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* s3-examples: Fix Bug #6205. Correct sample smb.conf share configuration.Günther Deschner2009-07-301-1/+1
| | | | | | | | Thanks to Jeffrey Riaboy <dakusan@castledragmire.com>. Guenther (cherry picked from commit 2b1fe2c98f4e0013dee4cbae62dc36cdd4085c7d) (cherry picked from commit cb29ca98bb1c166ecd806e82c9d13865ae502a65)
* examples: Avoid bashism in perfcount.init.Karolin Seeger2009-01-121-3/+3
| | | | | | | | | | | | This fixes bug #6000. Thanks to the Debian Samba package maintainers for providing the patch! Remove trailing whitespaces. Karolin (cherry picked from commit 2e09746a4db4186c9d648370b9004971bc18e5c9) (cherry picked from commit 9b17f7907bca32282d6e56fa28ca62ef84bf7afc) (cherry picked from commit de41f0e9a08b796873bdd319fe784b6c90e28b23) (cherry picked from commit e5e8a4a6fa866a23377d0a92eff433b59abfcebe)
* Revert "examples: Avoid bashism in perfcount.init."Karolin Seeger2009-01-121-3/+3
| | | | | This reverts commit 744c7007b4b798699613e06933f92fdf5261b222. (cherry picked from commit 26080fd575df450166e13836ea227a6d191e86c4)
* examples: Avoid bashism in perfcount.init.Karolin Seeger2009-01-121-3/+3
| | | | | | | | | | | | | This fixes bug #6000. Thanks to the Debian Samba package maintainers for providing the patch! Remove trailing whitespaces. Karolin (cherry picked from commit 73875cd344608b591fa884ab99b5f3a10550c149) (cherry picked from commit e273c07e94ee607bbf05b6fa66cf3cea13fe4502) (cherry picked from commit a1bf1f1819ab184682327583d05b0258db8856ef) (cherry picked from commit b4ffffc5c03b69ac2f8e0ed74fd7788549f7e822) (cherry picked from commit 744c7007b4b798699613e06933f92fdf5261b222)
* man pages: Move 'smbsh' man page to the examples directory.Karolin Seeger2008-06-173-0/+475
| | | | | | | | | | | smbsh.c is located in the examples directory. It does not make sense to install a man page without installing the tool itself. This fixes bug #4724. Karolin (cherry picked from commit 797ed744b15c94fa4831d9796b40bb0ab5df55b7) (cherry picked from commit 23981be7a009dc9e056ba2e12c5df6e3a13ab193)
* Fix location of smbldap-toolsVolker Lendecke2008-06-021-1/+1
| | | | Thanks to Miguel Medalha <miguelmedalha@sapo.pt> for pointing this out
* Fix bug #5171 (perl syntax error) found by Jason Filley <jason@snakelegs.org>.Michael Adam2008-01-141-1/+1
| | | | Michael
* [GLUE] Rsync SAMBA_3_0 SVN r25598 in order to create the v3-0-test branch.samba-misc-tags/initial-v3-0-testGerald (Jerry) Carter2007-10-1012-384/+31
|
* r23767: Add GTYPE_SECURITY_UNIVERSAL_GROUP to adsearch.pl as well.Günther Deschner2007-10-101-0/+1
| | | | Guenther
* r23714: but now:Michael Adam2007-10-101-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
* r23713: Oops accidentially checked in the wrong file - sorry!Michael Adam2007-10-101-17/+0
| | | | Michael
* r23712: This script allows for adding lists of users (or other objects)Michael Adam2007-10-101-0/+17
| | | | | | | to lists of groups (or aliases). Useful for creating large test scenarios. Michael
* r23711: Refactor the actual creation of object into its own small function.Michael Adam2007-10-101-7/+10
| | | | Michael
* r23706: Add a script to create domainusers,-groups and -aliases.Michael Adam2007-10-101-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
* r23704: Add pam_pwd_expire feature as discussed on samba-technical.Lars Müller2007-10-101-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!
* r23620: Convert set_nt_acl to return NTSTATUS. Also fix the chownJeremy Allison2007-10-102-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.
* r23484: When chasing AD referrals make sure to honor the base returned from ↵Günther Deschner2007-10-101-1/+2
| | | | | | the server. Guenther
* r23105: Add lchown to the vfs layer. We need this in the POSIX code.Jeremy Allison2007-10-102-0/+12
| | | | Jeremy.
* r22914: - Fixes bug 4599. A missing <code>if</code> statement forced ↵Derrell Lipman2007-10-102-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.
* r22805: Inform in examples/pdb about the location of the external support forLars Müller2007-10-101-0/+4
| | | | the SQL backends.
* r22794: Add "debug_state" and "silent" to pam_winbind.conf template. Honor ↵Günther Deschner2007-10-101-0/+6
| | | | | | | | the silent argument when parsing pam configuration file options. Guenther
* r22591: Fix up the examples also.Jeremy Allison2007-10-101-1/+5
| | | | Jeremy.
* r22341: Fix build of examples/VFS: adapt include for new place of tdb...Michael Adam2007-10-101-1/+1
|
* r22130: - Ensure that the libsmbclient example programs link with the ↵Derrell Lipman2007-10-101-10/+11
| | | | | | | libsmbclient library that's part of the current tree, not with whatever happens to have been previously installed.
* r21762: Fix the build by enabling shared modules and adding the config.*James Peach2007-10-106-10/+3106
| | | | | files. Add norify_watch and chflags operations. Fix a bunch of warnings.
* r21714: Change the VFS interface to use struct timespecJeremy Allison2007-10-102-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.
* r21345: Smaller fixes for adssearch:Günther Deschner2007-10-101-49/+74
| | | | | | | | * get rid of horrible ads.h parsing * add LDAP_SERVER_SHUTDOWN_NOTIFY_OID * display hex bitmasks Guenther
* r21105: Quick fix for CLDAP reply without NetLogon attribute.Günther Deschner2007-10-101-2/+27
| | | | Guenther
* r20979: Fix description, thanks to Michael Adam <ma@sernet.de>Volker Lendecke2007-10-101-1/+1
|
* r20884: patch from Michael Adam <ma@sernet.de> to add new ↵Gerald Carter2007-10-101-0/+9
| | | | sambaTrustedDomainPassword object class
* r20585: - allocate an OID range for LDB/LDAP extended operationsStefan Metzmacher2007-10-101-0/+1
| | | | metze
* r20578: - allocate an OID range for samba4 LDB/LDAP ControlsStefan Metzmacher2007-10-101-0/+2
| | | | | | - allocate an OID range for conflicting attributes/classes metze
* r19857: Make the perfcounter compile after tdb changesVolker Lendecke2007-10-102-14/+7
|
* r19852: Fix the build for the VFS examples. Fixes bugzilla #3931.James Peach2007-10-102-4/+17
|
* r19745: For the fun of it, add an CLDAP client written in perl.Günther Deschner2007-10-101-0/+466
| | | | Guenther
* r19345: Allow better rootdse searches.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r18697: Make sure that adssearch.pl does notGünther Deschner2007-10-101-3/+3
| | | | | | | | | * chase referrals * use paged search control when using the LDAP change notify control for monitoring changes. Guenther
* r18012: Should fix bug 4018.Derrell Lipman2007-10-101-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.
* r18011: Should fix bug 3835.Derrell Lipman2007-10-101-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
* r18009: Fixes bug 4026.Derrell Lipman2007-10-101-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).
* r17487: Allocate some OID space for Samba4, so we don't trip on each other.Andrew Bartlett2007-10-101-0/+5
| | | | Andrew Bartlett
* r17367: Reverting the ab code. Note I'm not saying thisJeremy Allison2007-10-101-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.
* r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific ↵Alexander Bokovoy2007-10-101-0/+0
| | | | examples directory.
* r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs.Alexander Bokovoy2007-10-101-0/+82
|
* r16998: patch from Paul Griffith <paulg@cs.yorku.ca> to fix compile of the ↵Gerald Carter2007-10-101-12/+12
| | | | test.c pdb file
* r16948: Sync the exmaples code from trunk.Jeremy Allison2007-10-102-200/+200
| | | | Jeremy.
* r16943: Add Jim's code.Jeremy Allison2007-10-1023-0/+2176
| | | | Jeremy.
* r16752: remove the 'socket options' setting from the shipped default smb.confGerald Carter2007-10-101-7/+0
|
* r16719: Automatically chase referrals, support LDAP fast bind exended operationGünther Deschner2007-10-101-22/+122
| | | | | | and LDAP domain scope control. Guenther
* r16550: Fix bug 3866. Thanks for the report!Derrell Lipman2007-10-101-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