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

211 Commits

Author SHA1 Message Date
Jelmer Vernooij
0721a07aad r26227: Make loadparm_context part of a server task, move loadparm_contexts further up the call stack. 2007-12-21 05:47:04 +01:00
Jelmer Vernooij
d74018d055 r26095: Add function for import a generic configuration file in a loadparm context. 2007-12-21 05:46:00 +01: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
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
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
Jelmer Vernooij
31993cf67b r24780: More work allowing libutil to be used by external users. 2007-10-10 15:03:10 -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
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
Stefan Metzmacher
f7e82a0c94 r20977: start the 'drepl' service, which currently does nothing by default,
but make it less verbose

metze
2007-10-10 14:44:16 -05:00
Stefan Metzmacher
a096a97415 r20806: make it possible to configure the secrets.ldb url
via "secrets database = my_secrets.ldb"

metze
2007-10-10 14:43:33 -05:00
Derrell Lipman
0201baef46 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
2007-10-10 14:30:39 -05:00
Andrew Bartlett
67d8365e83 r20149: Remove the smb.conf distinction between PDC and BDC. Now the correct
way to setup a Samba4 DC is to set 'server role = domain controller'.

We use the fSMORoleOwner attribute in the base DN to determine the PDC.

This patch is quite large, as I have corrected a number of places that
assumed taht we are always the PDC, or that used the smb.conf
lp_server_role() to determine that.

Also included is a warning fix in the SAMR code, where the IDL has
seperated a couple of types for group display enumeration.

We also now use the ldb database to determine if we should run the
global catalog service.

In the near future, I will complete the DRSUAPI
DsGetDomainControllerInfo server-side on the same basis.

Andrew Bartlett
2007-10-10 14:29:15 -05:00
Derrell Lipman
2406af1079 r19449: ldbbrowse: installation hopefully works now. "Developer" installations
('configure.developer' or 'configure --enable-developer') may still have
problems as I'm not sure I got all of the paths right for that.

With the changes Tridge has made to the Main Menu in swat, given a
non-developer installation, you should be able to get to ldbbrowse via:

  JSON/qooxdoo -> ldb browser

Derrell
2007-10-10 14:21:33 -05:00
Derrell Lipman
34bffbaebf r18880: JSON-RPC work in progress 2007-10-10 14:20:17 -05:00
Andrew Tridgell
75dab73ac6 r18579: fixed boolean parameters on big endian hosts which have
sizeof(BOOL) != sizeof(int)

this broke with the conversion to a real BOOL type
2007-10-10 14:18:50 -05:00
Stefan Metzmacher
ea44cdfc6f r18386: start the unixinfo pipe by default
metze
2007-10-10 14:18:22 -05:00
Jelmer Vernooij
f7afa1cb77 r17930: Merge noinclude branch:
* Move dlinklist.h, smb.h to subsystem-specific directories
 * Clean up ads.h and move what is left of it to dsdb/
   (only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
45baef570d r17777: these macros are unused...
metze
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
bec738c2a3 r17533: add missing include, so that "socket options = TCP_NODELY" as
default can work...

metze
2007-10-10 14:15:34 -05:00
Andrew Bartlett
23314c3953 r17379: Pre-generate DH parameters, to avoid doing this at runtime in our testsuite.
Andrew Bartlett
2007-10-10 14:15:20 -05:00