1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-15 16:23:49 +03:00
Commit Graph

277 Commits

Author SHA1 Message Date
Jelmer Vernooij
f12f623da5 r25927: Move share tests to param directory. 2007-12-21 05:45:05 +01:00
Jelmer Vernooij
97a241692c r25547: Convert to standard bool type. 2007-10-10 15:07:52 -05:00
Jelmer Vernooij
3f98a97ac3 r25471: Use macros for loadparm field names, should make migration to offsets rather than pointers easier later on. 2007-10-10 15:07:43 -05:00
Jelmer Vernooij
ce4fbb4f44 r25463: revert accidently committed type changes for now, broke the build. 2007-10-10 15:07:41 -05:00
Jelmer Vernooij
12d7cccd7c r25462: Remove refernece to categories from js as well. 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
e15fd412f9 r25461: Remove section headers in loadparm - trying to keep data and metadata separate and this should help when refactoring loadparm later on. 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
01ce5448f4 r25460: use common structure in param/generic.c 2007-10-10 15:07:40 -05:00
Jelmer Vernooij
836431af83 r25456: Avoid externs for charsets for now - it breaks openchange. 2007-10-10 15:07:38 -05:00
Jelmer Vernooij
5f023ef7a4 r25449: Add convenience function for opening the default smb.conf for openchange. 2007-10-10 15:07:36 -05:00
Jelmer Vernooij
3468952e77 r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
fd697d77c9 r25430: Add the loadparm context to all parametric options. 2007-10-10 15:07:31 -05:00
Jelmer Vernooij
ad1513bc1b r25410: Use C99 struct initialization. 2007-10-10 15:07:29 -05:00
Jelmer Vernooij
3fcc960839 r25398: Parse loadparm context to all lp_*() functions. 2007-10-10 15:07:25 -05:00
Jelmer Vernooij
c62f51cc28 r25392: Add loadparm context as argument in a couple more places. 2007-10-10 15:07:24 -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
586246137c r25308: Remove use of pstring. 2007-10-10 15:07:12 -05:00
Andrew Bartlett
cda965e908 r25051: Move SWAT back to the old-style form-submit modal.
The Web 2.0, async client tools were really interesting, but without
developer backing they remain impossible to support into a release.

The most interesting app was the LDB browser, and I intend to replace
this with phpLdapAdmin, preconfigured for Apache during provision.

This also removes the need to 'compile' SWAT on SVN checkouts.

Andrew Bartlett
2007-10-10 15:05:50 -05:00
Jelmer Vernooij
69de86d2d2 r25047: Fix more warnings. 2007-10-10 15:05:49 -05:00
Jelmer Vernooij
256532ab4b r25042: Avoid direct references to global loadparm context. 2007-10-10 15:05:46 -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
8df36c1535 r25038: Pass context in more places. 2007-10-10 15:05:45 -05:00
Jelmer Vernooij
88c72ac75f r25037: Start passing the context around. 2007-10-10 15:05:44 -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
dde12060ea r25031: Use pointers to services rather than service numbers when possible. 2007-10-10 15:05:42 -05:00
Jelmer Vernooij
3aa7ee4a0d r25028: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
5085c53fcf r25027: Fix more warnings. 2007-10-10 15:05:41 -05:00
Jelmer Vernooij
abe8349f9b r25026: Move param/param.h out of includes.h 2007-10-10 15:05:38 -05:00
Jelmer Vernooij
a5e7631a36 r25016: Create context for loadparm variables. 2007-10-10 15:05:36 -05:00
Jelmer Vernooij
92b54faf99 r25015: Use talloc for all allocations in loadparm. 2007-10-10 15:05:36 -05:00
Jelmer Vernooij
43f0e2622e r25014: Use talloc for allocating values as well. 2007-10-10 15:05:35 -05:00
Jelmer Vernooij
b8fc4435f8 r25013: Use talloc to allocate services in loadparm, use pointer to indicate validity. 2007-10-10 15:05:34 -05:00
Jelmer Vernooij
66c53801dd r25012: Avoid use of pstring, fix coding style a bit. 2007-10-10 15:05:34 -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
Jelmer Vernooij
6890a01dbf r24816: Move the rest of the contents of core.h to more appropriate places.
include/ now only contains build system related headers, all other headers are
now near the source code they're related to.
2007-10-10 15:03:15 -05:00
Jelmer Vernooij
9647f860bd r24814: Fix headers, trim core.h even more. 2007-10-10 15:03:14 -05:00
Jelmer Vernooij
31993cf67b r24780: More work allowing libutil to be used by external users. 2007-10-10 15:03:10 -05:00
Jelmer Vernooij
1ce32673d9 r24712: No longer expose the 'BOOL' data type in any interfaces. 2007-10-10 15:02:54 -05:00
Kai Blin
c7a44fcdc8 r24363: Add template shell and template homedir settings to smb.conf 2007-10-10 15:01:43 -05:00
Andrew Bartlett
b5a9d507a3 r23848: Thanks to derrell for pointing out that I had not finished my patch to
split out the auth methods.

This caused all SWAT logins to fail, except when using local system
authentication.

Andrew Bartlett
2007-10-10 14:59:24 -05:00
Andrew Tridgell
5c9b19271e r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 14:59:18 -05:00
Andrew Tridgell
76c6bfdeb5 r23796: main COPYING file for samba4, plus some formatting varients 2007-10-10 14:59:14 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -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
Andrew Bartlett
b7e727186e r23680: Make it easier to setup a domain member server - the 'server role'
will now control the auth methods, but an override is still available,
ex:

auth methods:domain controller = <methods>

Andrew Bartlett
2007-10-10 14:59:00 -05:00
Andrew Tridgell
524ba04b1f r23532: added lp_parm_double() 2007-10-10 14:53:24 -05:00
Jelmer Vernooij
a90202abca r22762: Some ldb_map changes:
* Change license to LGPL, so it can be used by non-Samba users of
LDB (cleared with Martin as well).

* Include ldb_map in standalone build.

* Move ldb_map to its own directory
2007-10-10 14:52:15 -05:00
Stefan Metzmacher
e0fae01e4c r22546: use the same error codes in both share backends
metze
2007-10-10 14:51:41 -05:00
Stefan Metzmacher
7f07895cac r22406: this dependencies should also be private
metze
2007-10-10 14:51:15 -05:00