summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)AuthorFilesLines
2002-09-26Make functions return NTSTATUS instead of BOOLJelmer Vernooij1-14/+14
(This used to be commit 6347d40eff03ad780446bdae0f1dfe0bc9edf824)
2002-09-24- Don't put pointer to sam_domain_handle in sam_methods but single domainsid ↵Jelmer Vernooij1-61/+53
and domainname - Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend - Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're available in sam_methods as well (This used to be commit 50d2527eed0eb26c16f2f7e28badbf08d771380e)
2002-09-24Make sure that Alfred Perlstein's changes get into head as smbprint andRichard Sharpe2-27/+172
that the old one becomes smbprint.old. We still need to hack smbprint some more to make sure that we can pass the username and password in a file rather than on the command line where local hackers can see it. (This used to be commit ef970a764eb97893ff2090f7cbf2f2ec06911d0f)
2002-09-09Use SAM debug class in skeleton - patch from metzeJelmer Vernooij1-7/+8
Shouldn't we use dynamic debug classes here? (This used to be commit db0f742e0ea619e69457f15cdb3740ae7c85cebd)
2002-09-08change parametric option name to vfs_recycle_bin it is more sane and do not ↵Simo Sorce1-30/+41
pollute standard options namespace too much changed also the mode options to be indipendente boolean values, make it easier to understand how to configure them eg: vfs_recycle_bin:keeptree=yes vfs_recycle_bin:versions=yes (This used to be commit d904d50d3945f5f6a80b59850a82f3e37863c125)
2002-09-07recycle.c:Simo Sorce2-138/+454
merged in modifications made my differnt people, cleaned up things, yet some work todo the code works but there are still some cases to be handled properly Makefile.in: this one seem much simpler and effective than the previous hack with file inclusion it should also be more portable we still need to find a solution to support multiple platforms or go back to libtool (This used to be commit e9f4bc77f84eeece82dea25f9c693cfb1d0a8464)
2002-09-06the current block module is completely broken, jelmer will commit a new one ↵Simo Sorce4-479/+0
later. simo (This used to be commit 830f9910bb77562aa2dbef2f479c01493928692d)
2002-09-06move everything to flat VFS/ directorySimo Sorce4-29/+1
(This used to be commit d383c309d4a259fb28d7541777a8b3b53cca23bf)
2002-09-06Updates to sam_skel from metze, add sam/group.c and add a DEBUG() to theAndrew Bartlett1-25/+25
SAM_ASSERT if we are not going to crash. (This used to be commit f91fcb166107e45ffb3de95a3da65c79992341eb)
2002-08-29Adding makefile for sam_skel moduleJelmer Vernooij1-0/+28
(This used to be commit b91fd5a77c493d0c90b45de6a70fb84bbef3f9f1)
2002-08-29SAM_CONTEXT is constJelmer Vernooij1-5/+1
(This used to be commit 3b4cf8f67c2970e7b099ae2382bdd802b79d1dd2)
2002-08-29Example sam module (skeleton) from metzeJelmer Vernooij2-0/+290
(This used to be commit b2b2c8b9cb94ce84938422132279c26faa231bf7)
2002-08-28Removed C++ style comment.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 3803770edaf4212ceac826e039bb075f098a4fab)
2002-08-27patch from metzeSimo Sorce1-10/+15
(This used to be commit cc8e6ebc0ec840d882211c8327cafdcafbcafbd7)
2002-08-27add the netatalk moduleSimo Sorce4-7/+476
(This used to be commit 2a156995329699c776772fe01672cfe763b3f988)
2002-08-27avoid using libtool for VFS modulesSimo Sorce4-65/+47
change a name in block.c it was hiding a function name add a comment in configure (This used to be commit 05038f44717ff07ed7d4a3afbdd8f072a3c058cc)
2002-08-18Add entry about block.soJelmer Vernooij1-0/+7
(This used to be commit 6973344fb5207341e98576b1ddbe58a745225e10)
2002-08-17Better coding styleJelmer Vernooij2-40/+19
(This used to be commit 09cb706dd1347ff29893ef33214332990be86b43)
2002-08-17Better coding styleJelmer Vernooij2-18/+8
Move out last Makefile.pdb dependencies (This used to be commit 2dc8b48632b0f14834db79f851a06469d2c0c00b)
2002-08-10Adding pdb_xml and pdb_mysql passdb modules.Jelmer Vernooij11-4/+1784
Added some consts to pdb_test to follow pdb_methods struct more strictly (This used to be commit bb1c4501992650a5e26b4bc743aeae551852becc)
2002-07-31merge from SAMBA_2_2Gerald Carter1-0/+154
(This used to be commit 72d36c9b2596cda6c3c25c18ddb4c58d55519ff8)
2002-07-31forgot to change the makefile system, sorrySimo Sorce2-12/+10
(This used to be commit 3e6a11f56a3878e75c4354db214971208d911be3)
2002-07-30OK!Simo Sorce6-512/+276
Finally the cascaded VFS patch is in. Testing is very welcome, specially with layered multiple vfs modules. A big thank to Alexander Bokovoy for his work and patience :) Simo. (This used to be commit 56283601afe1836dafe0580532f014e29593c463)
2002-07-19merge from SAMBA_2_2 spotted by SimoGerald Carter1-2/+14
(This used to be commit 590c4ee076dcc14cb516c9ea04b47b1665c48ece)
2002-06-22Add module versioning to the passdb module systemAndrew Bartlett2-4/+45
All passdb modules need to include a 'magic' macro that creates simple 'return my version number' function. (from metze and jelmer) Also fix up the dir_drive autosubsitute code to correctly use lp_logon_drive(). (from metze) Andrew Bartlett (This used to be commit 4a57c445dd4354034fc41b132a484afe6ab66e16)
2002-06-15x source path so this thing compiles.John Terpstra1-1/+1
(This used to be commit fb89be135575561f759a299048ed1eb5363183c3)
2002-06-14Add some comments on writing new pdb modules. (from ctrlsoft)Andrew Bartlett1-0/+7
Andrew Bartlett (This used to be commit 0a64ff4c9984c751ed6bd9e9bc8d16c70abec02d)
2002-05-24Some of the updates from ctrlsoft's 'Various' patch:Andrew Bartlett1-17/+27
- convert net to popt - convert status to popt - adapt examples/pdb/ to multiple passdb system - add dynamic debug class example to examples/pdb/ and some reformatting to better match the samba coding style. Andrew Bartlett (This used to be commit 2498bc69d4e5c38ec385f640489daa94c508c726)
2002-05-11Fixes for recycle bin VFS for FreeBSD from "Scot W. Hetzel" ↵Jeremy Allison2-8/+15
<hetzels@westbend.net>. Jeremy (This used to be commit 68b83335de0215314c2234aa83069d8fb8265b80)
2002-05-08merging some changes from SAMBA_2_2Gerald Carter5-8/+183
(This used to be commit e8ede079b5af4187573f1b8ed0d94b6f03cbbd22)
2002-04-13This is the 'multiple pdb backends' patch from ctrlsoft, aka Jelmer VernooijAndrew Bartlett2-2/+8
<jelmer@nl.linux.org>. This patch also includes major rework of pdbedit to use popt, and the addition of -i paramter (allowing the user to specify which PDBs is being operated on) and -e to export a pdb - useful for backup and testing etc. Use of -i and -e gets us pdb2pdb functionality for transition between backends, much like the sam2sam in TNG. Andrew Bartlett (This used to be commit c10def37f506d3f2bab442418ac08fdb62659b02)
2002-03-23Set default recycle directory permissions as 0770. Unlink on renameJeremy Allison1-8/+11
fail. Jeremy. (This used to be commit 42981c819a07dd35296ecc1ee733ea587f69bcce)
2002-03-19Sync up the VFS changes from 2.2.x.Jeremy Allison5-294/+883
Jeremy. (This used to be commit e758bdc8a8f37e1d1e1fb0d1d27990dba2067920)
2002-02-22Also add the matching example pdb module.Andrew Bartlett3-0/+161
(This used to be commit fbfb7ee896469e79043fab02481bacd2621a302d)
2002-02-11merge from 2.2Gerald Carter1-2/+2
(This used to be commit bb574aab8f3f4ac2f7ae919790481a419f8173cb)
2002-02-11fixes from 2,2Gerald Carter1-27/+59
(This used to be commit 46bd77a02a47c26c4981472c8cea09e64c2ef4d2)
2002-02-06I added two lines of comments regarding the include= parameter. SomeoneChristopher R. Hertel1-1/+3
here at the UofM was burned today because they had left that line in its default location. (This used to be commit fd4d3496e142574e2bd25faab5c8f1534a21558f)
2002-02-04Add the new smbprint shell script, smbprint-new.sh that is supposed to fix ↵Richard Sharpe1-0/+145
some problems under *BSD and etc ... (This used to be commit 6bd91973bbacc718de5d32a6819cc7e6ae98dd6f)
2002-01-06 sync up comments with 2.2Gerald Carter1-1/+1
(This used to be commit 3d4adad1501fc02ee0c60c69c01a92bdb16a1711)
2002-01-04sync with 2.2Gerald Carter1-3/+3
(This used to be commit 9e3b432c57747e6fd876c53a576858ef1227ba8e)
2001-12-28merge from 2.2Gerald Carter1-0/+1
(This used to be commit 241b5218ea5ad83ecb02a0f838e84abee0672371)
2001-12-26sync with 2.2Gerald Carter8-0/+790
(This used to be commit aca58b0b72d2eb5024b4d5103fde5b281212d714)
2001-10-24Updated copyright notice.Tim Potter1-1/+1
(This used to be commit 86de168ea948b48c47d88b8f1928437de7c33873)
2001-10-24Renamed global_vfs_ops to default_vfs_ops and made static.Tim Potter1-12/+15
Make a copy of the default ops structure rather than following a pointer. This fixes the audit VFS example module! (This used to be commit 91ab6f75d9e6820a13fe3034a5f100ae170ad164)
2001-10-23Don't get stuck in an infinite loop in vfs_connect.Tim Potter1-1/+1
(This used to be commit 69275e4f0f502f07ceb37f274d01450d639ba23f)
2001-10-18Now compiles under head branch.Tim Potter1-89/+51
Funny, I don't remember using libtool in the original Makefile... (This used to be commit 5392b3fc1279cac64245e311bbc16175e6fd4a7b)
2001-06-30Make sure we compile with gcc by default.Richard Sharpe1-0/+1
(This used to be commit 93c45024cdbbf51322106e2a5961db8c09618833)
2001-06-30Add a static linking target to the examples Makefile so I can test out ↵Richard Sharpe1-1/+5
static linking ... (This used to be commit 9627bace72eb3be322f8895b055a31768e551136)
2001-05-17Adding an examples directory for libsmbclient to the head branch along withRichard Sharpe4-0/+1296
a simple Makefile and a small README ... (This used to be commit 950821d69cb6dcc723f8610584718c6217136d55)
2001-05-16Added example vfs block example from Ronald Kuetemeier <ronald@kuetemeier.com>.Jeremy Allison4-0/+602
Jeremy. (This used to be commit 0609cd3162173575d22fbd12c48e777a5b15553e)