summaryrefslogtreecommitdiff
path: root/source4/param/share_classic.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-17Specify event_context to ldb_wrap_connect explicitly.Jelmer Vernooij1-0/+1
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-03-27Actually call into lp_oplocks() in share_classic backend.Andrew Bartlett1-0/+4
Andrew Bartlett (This used to be commit 2c18482b1983b4e2764beccc20f08e9b3074816a)
2008-02-28Remove sDefault as static variable.Jelmer Vernooij1-24/+24
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-02-27Clarify comments.Jelmer Vernooij1-1/+1
(This used to be commit 5193b383761129e59241cd2cc6000f0b038b49d4)
2007-12-21r26440: Remove more uses of global_loadparm.Jelmer Vernooij1-1/+2
(This used to be commit 8858cf39722f192865e531164c72039fd18d7a8d)
2007-12-21r26355: Eliminate global_loadparm in more places.Jelmer Vernooij1-4/+12
(This used to be commit 5d589a0d94bd76a9b4c9fc748854e8098ea43c4d)
2007-12-21r26348: Avoid use of autofree context.Jelmer Vernooij1-1/+1
(This used to be commit eebcf7e1b06ca48cc53bdd12efa01fcf0cff8aa3)
2007-12-21r26272: Remove global_loadparm in some more places.Jelmer Vernooij1-2/+6
(This used to be commit 1ab76ecc5311fa863e5d04899b6f110899818f55)
2007-12-21r26250: Avoid global_loadparm in a couple more places.Jelmer Vernooij1-4/+4
(This used to be commit 2c6b755309fdf685cd0b0564272bf83038574a43)
2007-10-10r25547: Convert to standard bool type.Jelmer Vernooij1-2/+2
(This used to be commit 97a241692c4b8dc45e086aa9b959f2cd30b8d6c9)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-4/+4
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25379: Use loadparm context parameter in a lot more places.Jelmer Vernooij1-3/+3
(This used to be commit 091961b13be665061c7e88ab4e2808c015bc403e)
2007-10-10r25041: Use context in more places, fix warnings.Jelmer Vernooij1-11/+11
(This used to be commit 9bb8738945b80d308e592bbecd44fe4e4f048ad8)
2007-10-10r25039: Rename service -> loadparm_service, use context more.Jelmer Vernooij1-9/+9
(This used to be commit ab417cb32bd348c05b20707e73297df05c920079)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij1-67/+53
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij1-0/+1
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r24915: Try to quiet down this warning - the 'classic' share code doesn'tAndrew Bartlett1-0/+4
support passwords for share-mode security (we don't even support share mode security, and are unlikely ever to). Andrew Bartlett (This used to be commit 0d56ab59c571fd38c3071660ed7db6264300df50)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23696: added the create mask and related share permissions options to Samba4,Andrew Tridgell1-8/+31
using the new share_int_option() code from Simo speaking of which, this is the first time I've looked closely at the share_classic.c code. It is absolutely and completely braindead and broken. Whatever drugs Simo was on at the time, he better not try to cross a border with them on him! Problems with it: - if you actually set a value, it gets ignored, and the defvalue gets used instead ('ret' is never returned). If you don't set a value, then defvalue gets returned too. Sound useful? - it means we now have to list parameters in source/param/ in lots and lots of places, all of which have to match exactly. code like this is supposed to reduce the likelyhood of errors, not increase it! - code which has a long line of if() statements with strcmp() should cause your fingers to burn on the keyboard when you type it in. That's what structure lists are for. Strangely enough, we have all the info in loadparm.c in a structure list, but instead it gets replicated in share_classic.c in this strange if() strcmp() form expect some changes to this code shortly. I'll need a calming cup of tea first though :-) (This used to be commit 19a9fc2f444efc0894b06a249daf73ed555b61e2)
2007-10-10r18558: Fix ShareCheck which was assuming all paths are "C:\"Simo Sorce1-0/+3
Also cope with the fact that we define the FSTYPE as NTFS by default. We never use this anywhere else, so we may just change it, but just detect the fact and return DISK in share_classic for now. (This used to be commit 4daf5f7764ce69c14066f7320961c90141f0863a)
2007-10-10r18542: Some late nite work.Simo Sorce1-10/+10
Now we can add and remove a share from the "Computer Management" console (not yet modify!) usinf share backend = ldb (This used to be commit ae2f6d4a5a372a37b9783a02bb8e7f16588b21f0)
2007-10-10r17210: I wonder how I missed this, build farm caught it.Simo Sorce1-1/+1
(This used to be commit e0af5cf51dbedccfe47cfd6ec5232847f586ece8)
2007-10-10r17206: Add a modular API for share configuration.Simo Sorce1-0/+328
Commit the classic backwards compatible module which is the default one (This used to be commit a89cc346b9296cb49929898d257a064a6c2bae86)