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

173 Commits

Author SHA1 Message Date
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
Stefan Metzmacher
d1bae931b3 r13860: - add support for SMB2 ("SMB 2.001") negotiation in SMB negprot requests
- the default max protocol is still NT1

metze
2007-10-10 13:52:17 -05:00
Jelmer Vernooij
ba62880f5b r13658: More moving around of files:
- Collect the generic utility functions into a lib/util/ (a la GLib is
		for the GNOME folks)
 - Remove even more files from include/
2007-10-10 13:52:05 -05:00
Andrew Bartlett
8866aa06ff r13244: Allow control of the location of the Samba3-compatible winbindd pipe
in Samba4.  This allows us to start winbindd by default, including in
'make test'.

This is via a new 'winbindd socket directory' parameter for utilities
linked against loadparm, as well as a --with-winbindd-socket-dir
option to configure (setting the default and the value for simple
clients).

I hope to add basic winbindd tests, to ensure continued correct
operation, but at least now I don't have to manually change my 'server
services' line.

The other problem with the hard-coded /tmp/.winbind is that RedHat has
moved this in Fedora (to /var/run I think).  For this reason, this
functionality should probably be ported to Samba3 as well.

The default for Samba4 is PREFIX/var/run/winbind_pipe.

I have also re-added the paranoia checks from Samba3 for correct
permissions on the socket directory.

Andrew Bartlett
2007-10-10 13:51:37 -05:00
Andrew Bartlett
1ac7976ea6 r13206: This patch finally re-adds a -k option that works reasonably.
From here we can add tests to Samba for kerberos, forcing it on and
off.  In the process, I also remove the dependency of credentials on
GENSEC.

This also picks up on the idea of bringing 'set_boolean' into general
code from jpeach's cifsdd patch.

Andrew Bartlett
2007-10-10 13:51:33 -05:00
Jelmer Vernooij
c3bc39bd71 r13158: Fix setup and ejs paths 2007-10-10 13:51:30 -05:00
Stefan Metzmacher
d28c8ce66d r12898: prepare the 'wins hook' feature, but we only debug out a 'TODO: run script ...'
metze
2007-10-10 13:51:00 -05:00
Andrew Bartlett
be067e9a04 r12731: Simplify and re-implemenet support for --parameter-name=foo
--service-name=bar in testparm.

Andrew Bartlett
2007-10-10 13:49:46 -05:00
Andrew Bartlett
0f78bd743b r12730: Reimplement --parameter-name, and bring in common samba options.
This changes -s from meaning 'suppress prompt' to 'services file'.

Andrew Bartlett
2007-10-10 13:49:46 -05:00
Andrew Bartlett
3c49dd9219 r12729: Implement the --section-name option, for dumping only one section.
Andrew Bartlett
2007-10-10 13:49:46 -05:00
Jelmer Vernooij
c722f665c9 r12694: Move some headers to the directory of the subsystem they belong to. 2007-10-10 13:49:39 -05:00
Stefan Metzmacher
d430fc278b r12649: use the same default('yes') for 'dns proxy' as samba3
metze
2007-10-10 13:49:34 -05:00
Stefan Metzmacher
48842cd9ab r12644: prepare the dns proxy feature for the wins server
metze
2007-10-10 13:49:34 -05:00
Jelmer Vernooij
70e7449318 r12608: Remove some unused #include lines. 2007-10-10 13:49:03 -05:00
Stefan Metzmacher
5054890b68 r12442: only set the "wins server" parameter if it's not set
metze
2007-10-10 13:47:40 -05:00
Stefan Metzmacher
0ed07057d3 r12435: the max wins ttl is 6 days in windows and samba3
metze
2007-10-10 13:47:39 -05:00
Stefan Metzmacher
baa4a7a9d4 r12304: split out the wins partner configuration into a seperate ldb.
now $privatedir/wins_config.ldb contains the wins partners
and $lockdir/wins.ldb contains the name records

metze
2007-10-10 13:47:28 -05:00
Andrew Bartlett
ab5dbbe10a r11239: Use ${REALM} for the realm in rootdse.ldif
Add the kpasswd server to our KDC, implementing the 'original' and
Microsoft versions of the protocol.

This works with the Heimdal kpasswd client, but not with MIT, I think
due to ordering issues.  It may not be worth the pain to have this
code go via GENSEC, as it is very, very tied to krb5.

This gets us one step closer to joins from Apple, Samba3 and other
similar implementations.

Andrew Bartlett
2007-10-10 13:45:06 -05:00
Volker Lendecke
3821a17bdb r11181: Implement wbinfo -s and wbinfo --user-sids. The patch is so large because
--user-sids required the extension to trusted domains.

Implement "winbind sealed pipes" parameter for debugging purposes.

Volker
2007-10-10 13:44:57 -05:00
Stefan Metzmacher
d49a1d2b15 r11089: start the winsreplication task when we run with wins support = yes
metze
2007-10-10 13:44:46 -05:00
Jelmer Vernooij
d2f80c0457 r10588: Remove more unused files, macros 2007-10-10 13:39:08 -05:00
Jelmer Vernooij
a5b88bcd42 r10513: Reduce some use of pstring. The main reason some parts of the code still
use pstring is next_token() now.
2007-10-10 13:38:58 -05:00
Jelmer Vernooij
22f18a8424 r10366: More scons fixes. Building et, asn1, lex and yacc files sort-of works now 2007-10-10 13:38:32 -05:00
Jelmer Vernooij
0963ab9c14 r10316: More dynconfig fixes 2007-10-10 13:38:17 -05:00