1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-05 04:23:51 +03:00
Commit Graph

196 Commits

Author SHA1 Message Date
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
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
Stefan Metzmacher
ea88c8c99e r16923: remove unused substitude code
metze
2007-10-10 14:10:01 -05:00
Stefan Metzmacher
6164d1e22e r16464: split client and server min/max protocol settings
metze
2007-10-10 14:09:29 -05:00
Andrew Tridgell
e12ae809ea r15851: the conversion of loadparm to BOOL broke all big-endian platforms as
the service and global declarations were left as int. I tried to fix
this initially by fixing the service declarations, but it didn't
work. While I investigate why, this patch at least gets the use of int
right, and should give big-endian platforms a chance
2007-10-10 14:08:32 -05:00
Stefan Metzmacher
9c4c40772b r15769: this functions belong to params/ so move it.
metze
2007-10-10 14:08:16 -05:00
Jelmer Vernooij
aa6d66fda6 r15573: Fix build of systems that have iconv headers in non-standard locations
Split of system/locale.h header from system/iconv.h

Previously, iconv wasn't being used on these systems
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
72237344cf r15302: Remove strangely named function "StrnCpy" - strlcpy is available as a
replacement.
2007-10-10 14:05:08 -05:00
James Peach
1b8891a2f3 r15187: Introduce new param type P_BYTES. This lets config options which specify
byte counts be given in convenient units.
2007-10-10 14:04:14 -05:00
Jelmer Vernooij
eaa68826d3 r14909: Add lp_modulesdir() smb.conf option 2007-10-10 14:00:14 -05:00
Jelmer Vernooij
1557e1ba6f r14850: Don't assume that sizeof(BOOL) == sizeof(int) 2007-10-10 13:59:42 -05:00
Jelmer Vernooij
f97df7d90a r14575: Move some path-related functions to libsamba-config so libsamba-util
doesn't have to depend on the lp_* functions.
2007-10-10 13:58:52 -05:00
Jelmer Vernooij
3dd477ca51 r14464: Don't include ndr_BASENAME.h files unless strictly required, instead
try to include just the BASENAME.h files (containing only structs)
2007-10-10 13:57:27 -05:00
Andrew Tridgell
749a93c7c0 r14420: arrgh, make sure I test compile even little patches .... 2007-10-10 13:57:21 -05:00
Andrew Tridgell
b4172b53f3 r14415: remove an unusued var 2007-10-10 13:57:21 -05:00
Stefan Metzmacher
2db081fd70 r13964: make lp_* functions public
metze
2007-10-10 13:52:32 -05:00