summaryrefslogtreecommitdiff
path: root/source4/param/share_classic.c
AgeCommit message (Collapse)AuthorFilesLines
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)