1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

370 Commits

Author SHA1 Message Date
Jelmer Vernooij
28d374ec15 Use environment variable rather than loadparm parameter when testing
nonblocking sockets.
2008-11-02 17:21:46 +01:00
Jelmer Vernooij
62c57cb400 Remove use of global_loadparm when comparing nt status error - use
global variable instead.
2008-11-02 17:11:20 +01:00
Jelmer Vernooij
ef915eff16 Move check of SMB_CONF_PATH to loadparm code. 2008-11-02 16:46:32 +01:00
Jelmer Vernooij
c537f7a914 Fix the build. 2008-11-02 05:49:36 +01:00
Jelmer Vernooij
b034c519f5 Add gensec_settings structure. This wraps loadparm_context for now, but
should in the future only contain some settings required for gensec.
2008-11-02 02:05:48 +01:00
Jelmer Vernooij
9265cb02d0 Use a separate global for nonblocking socket testing rather than global_loadparm. 2008-11-02 01:15:42 +01:00
Jelmer Vernooij
75819db083 Rename param_opt.flags to priority. 2008-11-01 15:09:26 +01:00
Jelmer Vernooij
069a6f0e4b Disable lanman authentication by default in Samba 4. 2008-10-31 15:07:34 +01:00
Jelmer Vernooij
61013deff8 Remove dependency of charset code on loadparm. 2008-10-24 14:45:31 +02:00
Jelmer Vernooij
2d46992337 Remove const so return value can be freed. 2008-10-24 04:38:31 +02:00
Jelmer Vernooij
f18296151d Merge branch 'master' of ssh://git.samba.org/data/git/samba 2008-10-23 21:59:15 +02:00
Jelmer Vernooij
9d2d666109 Make lp_tls_* return absolute paths. 2008-10-23 21:49:40 +02:00
Jelmer Vernooij
09065795d6 Remove unused constants from local.h. 2008-10-23 18:13:25 +02:00
Jelmer Vernooij
218f482fbf Use common strlist implementation in Samba 3 and Samba 4. 2008-10-12 00:56:56 +02:00
Jelmer Vernooij
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Jelmer Vernooij
c8a19f0b83 Pass options struct into session initialization functions rather than
using global_loadparm.
2008-09-30 01:29:53 +02:00
Jelmer Vernooij
1ba033a070 Remove jsdir. 2008-09-18 16:57:44 +02:00
Andrew Bartlett
234413fbd9 Use a configure-specified directory for the winbind priv pipe
This makes it easier for RPMs to specify an group for access to that
directory.

Andrew Bartlett
(This used to be commit fa361354433fb9a5c09c84997a7c51f3052c294e)
2008-06-28 22:02:19 +10:00
Andrew Bartlett
b9213316c7 Allow the ntp_signd socket to be set from configure.
This will allow distributions to hard-code this path, particularly for
selinux, and matches how we handle the winbind socket dir.

Andrew Bartlett
(This used to be commit c8b441650400ed1b24c89991f5752dad3c87795f)
2008-05-29 15:20:58 +10:00
Andrew Bartlett
baa2dffdf3 Bring up the ntp signing deamon
This starts ntp_signd at startup, and fixes some build issues.

Andrew Bartlett
(This used to be commit cb0dcd5c3dfe2a46755270a4594b7289f555d814)
2008-05-28 13:21:26 +10:00
Jelmer Vernooij
936b973acb Use new dynconfig.h location.
(This used to be commit c3f556915f09d078253e4c5539910a1cf420eeca)
2008-05-27 14:36:28 +02:00
Andrew Bartlett
b422a78df2 Fix 'oplocks' in loadparm.
I forgot one more place where I must specify the new config option.  I
wish this was more templated...

Andrew Bartlett
(This used to be commit 5a740f4daa79cf1b5fc9f24e424ae50e10932f4b)
2008-03-28 10:18:06 +11:00
Andrew Bartlett
d554590d33 Fix how we initialise the oplocks parameter.
Andrew Bartlett
(This used to be commit 08ec91958d5d773dfc805869685094da749470e8)
2008-03-27 21:00:04 +11:00
Andrew Bartlett
4fc27c9969 Make oplocks a per-share option.
This even goes via the share options system (a very odd layer of indirection).

Andrew Bartlett
(This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
2008-03-27 20:32:02 +11:00
Andrew Bartlett
14c5f968e1 Rework provision scripts for more testing
This fixes up some issues with testdir (was not honoured) and
increases test coverage.

We now check all the major provision modes.  In doing so, to make it
possible to call from the multiple layers of 'sh', I have allowed 'dc'
to alias 'domain controller' and 'member' to alias 'member server'.
Fighting shell quoting in the test system was just too hard...

Also fix upgrade.py

Andrew Bartlett
(This used to be commit 0923de12282b0e063dd73bc3e056dd5c3663c190)
2008-03-07 10:57:52 +11:00
Stefan Metzmacher
3cbe47b2ae libcli/raw: make it possible to not send CAP_LEVEL_II_OPLOCKS
But the keep the default to always send it
when the server supports it too.

metze
(This used to be commit 33caaef2e46557525a8ffb79d6dd0db46a079529)
2008-03-06 16:31:25 +01:00
Jelmer Vernooij
2ba62662f8 Remove sDefault as static variable.
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-02-28 20:04:58 +01:00
Kai Blin
2ca1aeb59b loadparm: Add configuration settings for idmap.
Default behaviour for "idmap trusted only" is "False", meaning idmap creates
ID mappings for all SIDs.

If set to "True", idmap will create SID mappings for trusted users only.

"idmap database" allows to set the database idmap uses, defaulting to
idmap,ldb
(This used to be commit ed8178b110abcde95e5b18cfb22957c53fd3febd)
2008-02-21 11:21:54 +01:00
Kai Blin
c10e0dee34 loadparm: Clean up trailing whitespace
No code change. Couldn't resist.
(This used to be commit abc816b3884838441ab379c9e31e16937caa4734)
2008-02-14 12:32:29 +01:00
Andrew Bartlett
b3c5fbec47 Remaining changes to implement the prefork process model
To use, run 'smbd -M prefork'

By default, only the smb service is preforked.  4 children are
created, and all listen for new connections.  The Linux Kernel 'wake
one' behaviour should ensure that only one is given the oportunity to
accept.  We need to look into the ideal number of worker children, as
well as load balancing behaviours.

To change, set:

prefork children : smb = 6

valid service names (smb in this example) match those in 'server services'.

Andrew Bartlett and David Disseldorp
(This used to be commit 35313c0aa3fbfdd943edfb7bafd7645b1a0c54e9)
2008-02-04 17:59:16 +11:00
Jelmer Vernooij
dcc282590b r26654: libcli/smb_composite: Rather than specifying each of the gazillion options for SMB individually, just specify the smbcli_options struct.
(This used to be commit 8a97886e24a4b969aa91409c06f423b71a45f6eb)
2008-01-03 12:33:36 -06:00
Jelmer Vernooij
ac65321a46 r26627: param: Provide a call for loading the system smb.conf.
(This used to be commit 2596b479abc8e0d1c064e1d191f2d1c894252f3d)
2007-12-29 12:21:04 -06:00
Jelmer Vernooij
32f439bfa4 r26503: Change order of arguments in param interface so it's easier to make the
section name optional. Fix several smaller bits and pieces in the Python code.
(This used to be commit 1b89311e5fa4fcde060df50e580dc221205cc8ca)
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
01b96e47cd r26498: Fix memory leak in iconv code.
(This used to be commit 8795697db56e4ca6715950d68f5ec370604fcc76)
2007-12-21 05:50:54 +01:00
Jelmer Vernooij
1bc38f9fb3 r26464: Tighten dependencies.
(This used to be commit 2b7cfa5d9ab94e1ff2d60719cd3749810463ab15)
2007-12-21 05:50:29 +01:00
Jelmer Vernooij
1167c9d9c6 r26436: Remove default of 0 for integer parameters when a lp_ctx of NULL is specified
(This used to be commit f3395db91a4dd3a89be55684f12313159d1acdd4)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
2bf0cdd01c r26434: Remove display charset from iconv convenience context.
(This used to be commit a76625994abf9906d54ae11f9c171f89063cf508)
2007-12-21 05:50:04 +01:00
Jelmer Vernooij
83f9ee5860 r26433: Don't crash when a NULL lp_ctx is specified to a lp_parm_* function.
(This used to be commit 7f28b53b579182500c57c4ac0c3d7591f5ddb214)
2007-12-21 05:50:03 +01:00
Jelmer Vernooij
d891c0c74a r26429: Avoid use of global_smb_iconv_convenience.
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21 05:49:56 +01:00
Stefan Metzmacher
45d349eb80 r26425: fix crash bug, sorry I should have tested that...
metze
(This used to be commit 61d2f1a03b374404fd0f3e6191cda82ff0295834)
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
21b024aa82 r26423: try to fix the build on solaris
metze
(This used to be commit 5b62180946a7cb9f3981ce740cfe830f6f0a00ff)
2007-12-21 05:49:51 +01:00
Stefan Metzmacher
6a56c111d7 r26391: samba4 doesn't support 'lmhosts' as resolve module
metze
(This used to be commit cdb64b41018928122898257f65d2573109b473cc)
2007-12-21 05:49:21 +01:00
Jelmer Vernooij
dd7e5ed88c r26352: Don't make lp_load create a new context.
(This used to be commit d0d5c1a823a6601292c061dba2b6f4bde2b9e3dd)
2007-12-21 05:48:56 +01:00
Jelmer Vernooij
75ac6cd318 r26351: Fix handling of flags when there are multiple loadparm contexts around.
(This used to be commit c6da76b6142015588854b7a04becbc56679fa51d)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5c6eacdb04 r26350: More tests.
(This used to be commit 87799f55d5d85bf9a15a9637143faa32183b181b)
2007-12-21 05:48:55 +01:00
Jelmer Vernooij
5991108c81 r26349: More tests.
(This used to be commit c440b130a9d57c1928fb5aef34fa4c00c7e46cff)
2007-12-21 05:48:54 +01:00
Jelmer Vernooij
fd88c3ca24 r26348: Avoid use of autofree context.
(This used to be commit eebcf7e1b06ca48cc53bdd12efa01fcf0cff8aa3)
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
5f9aeca0d6 r26347: More tests.
(This used to be commit 5d927b5ca792c2c9da4a1c4f5c3ae880637895e3)
2007-12-21 05:48:53 +01:00
Jelmer Vernooij
fe77606ecc r26345: Fix dumping an individual parameter.
(This used to be commit e8065a7f8f9156708b76720de50af29eb0092d59)
2007-12-21 05:48:52 +01:00
Jelmer Vernooij
b0eec88131 r26344: Fix memory access.
(This used to be commit 966248108f97d237b41ff2d14ec1e592d61d8db3)
2007-12-21 05:48:51 +01:00