1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

19 Commits

Author SHA1 Message Date
Jelmer Vernooij
8858cf3972 r26440: Remove more uses of global_loadparm. 2007-12-21 05:50:08 +01:00
Jelmer Vernooij
5d589a0d94 r26355: Eliminate global_loadparm in more places. 2007-12-21 05:49:01 +01:00
Jelmer Vernooij
eebcf7e1b0 r26348: Avoid use of autofree context. 2007-12-21 05:48:53 +01:00
Jelmer Vernooij
1ab76ecc53 r26272: Remove global_loadparm in some more places. 2007-12-21 05:47:55 +01:00
Jelmer Vernooij
2c6b755309 r26250: Avoid global_loadparm in a couple more places. 2007-12-21 05:47:28 +01:00
Jelmer Vernooij
97a241692c r25547: Convert to standard bool type. 2007-10-10 15:07:52 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
091961b13b r25379: Use loadparm context parameter in a lot more places. 2007-10-10 15:07:22 -05:00
Jelmer Vernooij
9bb8738945 r25041: Use context in more places, fix warnings. 2007-10-10 15:05:46 -05:00
Jelmer Vernooij
ab417cb32b r25039: Rename service -> loadparm_service, use context more. 2007-10-10 15:05:45 -05:00
Jelmer Vernooij
df9cebcb97 r25035: Fix some more warnings, use service pointer rather than service number in more places. 2007-10-10 15:05:43 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Andrew Bartlett
0d56ab59c5 r24915: Try to quiet down this warning - the 'classic' share code doesn't
support passwords for share-mode security (we don't even support share
mode security, and are unlikely ever to).

Andrew Bartlett
2007-10-10 15:03:38 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Tridgell
19a9fc2f44 r23696: added the create mask and related share permissions options to Samba4,
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 :-)
2007-10-10 14:59:03 -05:00
Simo Sorce
4daf5f7764 r18558: Fix ShareCheck which was assuming all paths are "C:\"
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.
2007-10-10 14:18:46 -05:00
Simo Sorce
ae2f6d4a5a r18542: Some late nite work.
Now we can add and remove a share from the "Computer Management"
console (not yet modify!) usinf share backend = ldb
2007-10-10 14:18:44 -05:00
Simo Sorce
e0af5cf51d r17210: I wonder how I missed this, build farm caught it. 2007-10-10 14:10:19 -05:00
Simo Sorce
a89cc346b9 r17206: Add a modular API for share configuration.
Commit the classic backwards compatible module which is the default one
2007-10-10 14:10:18 -05:00