Jelmer Vernooij
4c70cda986
Fix a couple (well, little more than that..) of typos.
...
(This used to be commit a6b52119940a900fb0de3864b8bca94e2965cc24)
2008-05-18 23:02:47 +02:00
Jelmer Vernooij
4c8756f147
Create prototype headers from Makefile directory, without smb_build in the middle.
...
(This used to be commit f4a77b96f9c17d853348b70794026e5b9e384942)
2008-05-18 22:30:08 +02:00
Jelmer Vernooij
30ad1af106
Use variable for param src dir.
...
(This used to be commit f97bc5735803a73181030e6d7db2862ebc1b7f4b)
2008-05-18 19:37:24 +02:00
Jelmer Vernooij
778681e10a
Fix soversion for libtorture and libsamba-hostconfig.
...
(This used to be commit 1f698b96c7962a453f037815c9160cd8d7dde3f6)
2008-05-10 22:30:00 +02:00
Jelmer Vernooij
cc9c4aaa8d
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/Makefile
source/auth/config.mk
source/auth/gensec/config.mk
source/build/m4/public.m4
source/build/make/python.mk
source/build/make/rules.mk
source/build/smb_build/header.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/dsdb/samdb/ldb_modules/config.mk
source/kdc/config.mk
source/lib/events/config.mk
source/lib/events/events.c
source/lib/ldb/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/util/config.mk
source/libcli/smb2/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/nbt_server/config.mk
source/ntptr/ntptr_base.c
source/ntvfs/posix/config.mk
source/ntvfs/sysdep/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/rpc_server/service_rpc.c
source/scripting/ejs/config.mk
source/scripting/python/config.mk
source/smb_server/config.mk
source/smbd/server.c
source/torture/config.mk
source/torture/smb2/config.mk
source/wrepl_server/config.mk
(This used to be commit 13bbd420681519894a4036729c43273912c9b402)
2008-04-25 10:04:20 +01:00
Jelmer Vernooij
db30ff4bea
Load default smb.conf file if none was specified explicitly.
...
(This used to be commit 8fa23fac516dbf4c8245c1d009e81f02a6341775)
2008-04-21 17:59:08 +02:00
Jelmer Vernooij
21fc767378
Specify event_context to ldb_wrap_connect explicitly.
...
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
2008-04-17 12:23:44 +02:00
Jelmer Vernooij
08baea013b
Move SOVERSION, VERSION and PC_FILE out of smb_build but use make variables directly instead.
...
(This used to be commit 9d0ae012b0b463278cd054d06788aa998acc2da2)
2008-04-15 02:25:16 +02:00
Jelmer Vernooij
18f8f5d656
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake4
...
(This used to be commit 1ef3830bb0d6e91e3b00e880784ca0741d9b4d49)
2008-04-14 20:00:32 +02:00
Jelmer Vernooij
e9017ba418
Use _OBJ_FILES variables in a couple more places.
...
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-14 17:22:58 +02:00
Andrew Bartlett
0fa62eb275
Include the smbconf parameter to the provision
...
Otherwise this fails, if the targetdir is not specified
Andrew Bartlett
(This used to be commit cd2d3d1c7a0aad7beb167459276c012c7a6d2e88)
2008-04-14 16:01:15 +02:00
Jelmer Vernooij
f78bc8c489
Remove prototypes from build.h in preparation of removing build.h
...
altogether.
(This used to be commit dbeab2a9cdee4e5f69afeb2603ba29cbed56debd)
2008-04-14 11:54:50 +02:00
Andrew Bartlett
c82e9c9f6d
Don't specify the ntds_guid to the C -> python provision interface
...
This paramter was not used anyway.
Andrew Bartlett
(This used to be commit 6875e6823f7a1fe9066bff4dffcab658a17d3b8c)
2008-04-11 19:35:15 +10:00
Andrew Bartlett
ae977ef247
Fix merge errors on C provision interface after jelmer's good work.
...
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
Conflicts:
source/torture/local/torture.c
(This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-11 11:11:42 +10:00
Jelmer Vernooij
8ed6f6d5a8
Return SAM ldb context and loadparm context as part of C provision
...
result.
(This used to be commit a3e1b835656470f1a80f0fa69f53a9df849baee3)
2008-04-11 00:43:23 +02:00
Jelmer Vernooij
ad8e3e4192
Add infrastructure for returning ProvisionResult in C provision code.
...
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
2008-04-10 05:23:17 +02:00
Jelmer Vernooij
a45f33f277
Fix so version of hostconfig library.
...
(This used to be commit 62322f302fc92703cce1142bad17349987341cb6)
2008-04-09 17:14:01 +02:00
Andrew Bartlett
3f990fdf7c
Remove dns_name element
...
This is only used in the DEBUG() message, so let's remove it.
Andrew Bartlett
(This used to be commit 5ebb64bdad7e80ee81d6b9d84d77c03fb9237eee)
2008-04-09 14:55:01 +10:00
Jelmer Vernooij
82c7872639
Move provision C bindings to param/.
...
(This used to be commit 7d45ed0c3ebc57f7131603f768f8e022d7139530)
2008-04-09 03:23:13 +02:00
Jelmer Vernooij
b5d84a74d1
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/makefile.pm
source/heimdal_build/config.mk
source/lib/events/config.mk
source/lib/nss_wrapper/config.mk
source/lib/policy/config.mk
source/lib/registry/config.mk
source/lib/socket_wrapper/config.mk
source/lib/tdb/config.mk
source/lib/tls/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/libnet/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/scripting/ejs/config.mk
source/smbd/process_model.mk
(This used to be commit 760378e0294dd0cd4523a83448328478632d7e3d)
2008-04-08 03:45:06 +02:00
Jelmer Vernooij
afe3e8172d
Install public header files again and include required prototypes.
...
(This used to be commit 47ffbbf67435904754469544390b67d34c958343)
2008-04-02 04:53:27 +02:00
Jelmer Vernooij
696ab2662e
Install samba-hostconfig library.
...
(This used to be commit 4d1fb503de31c5c81eb22cdd0a61eae5e4813b40)
2008-04-01 16:05:54 +02:00
Jelmer Vernooij
39b2fc37f2
Add context pointer to secrets functions.
...
(This used to be commit 873941d8a8dca8e7ace83f9af9939e4264f78c96)
2008-04-01 15:26:00 +02:00
Jelmer Vernooij
f41b9a9dde
Rename libsamba-config to libsamba-hostconfig.
...
(This used to be commit c46b7e90e347da76156ddcae4866adb88e9fec21)
2008-04-01 15:08:30 +02:00
Jelmer Vernooij
0ef6489eb1
Add README file explaining param/.
...
(This used to be commit 03226035aaa8d4fc68996b08bc6beb43feabbd3a)
2008-04-01 15:03:24 +02:00
Jelmer Vernooij
14a54761d9
Move ini-like file parser to the utility library.
...
(This used to be commit 2dc2bb800dab3f7dbdba01f5ca5076edd1a2b0f3)
2008-04-01 14:51:06 +02:00
Jelmer Vernooij
90f76ae99b
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit 4e0b94d648e955b950c50d2ac19e17b06ee1f818)
2008-03-28 00:59:54 +01: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
91ae032c53
Actually call into lp_oplocks() in share_classic backend.
...
Andrew Bartlett
(This used to be commit 2c18482b1983b4e2764beccc20f08e9b3074816a)
2008-03-27 20:50:39 +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
Jelmer Vernooij
fb6fdfce37
Fix the build.
...
(This used to be commit f2e49744717eb46bbfafeea9e2eb412a38a142e7)
2008-03-08 17:02:40 +01:00
Jelmer Vernooij
2bf39edc9d
Push SOVERSION and VERSION out of perl code.
...
(This used to be commit 0ba8ac6a14c62ff9edfe9f0bf43b8a7406b85291)
2008-03-08 15:28:12 +01:00
Jelmer Vernooij
fc2cd5ed63
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
(This used to be commit e4da851bd7e7620bbf99efe20a496b1be78ba4e2)
2008-03-07 18:03:54 +01: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
2d1c06c578
Fix includes.
...
(This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c)
2008-03-04 00:43:24 +01:00
Jelmer Vernooij
b29d47edcf
Move object file lists to the Makefile.
...
(This used to be commit a7e6d2a1832db388fdafa1279f84c9a8bbfc87d6)
2008-03-03 18:25:28 +01:00
Jelmer Vernooij
489f66cd42
Change remaining prototype headers to be private.
...
(This used to be commit 2f7ff409e89c9682e681ddcf54439db9e3b6ccb4)
2008-02-29 14:36:51 +01:00
Jelmer Vernooij
1ada710840
Move public header accumulation out of the perl code.
...
Never install generated prototype files. It's easier to break the
API when using them and they're not easily readable for 3rd party users.
Conflicts:
source/auth/config.mk
source/auth/credentials/config.mk
source/auth/gensec/config.mk
source/build/smb_build/config_mk.pm
source/build/smb_build/main.pl
source/build/smb_build/makefile.pm
source/dsdb/config.mk
source/lib/charset/config.mk
source/lib/tdr/config.mk
source/lib/util/config.mk
source/libcli/config.mk
source/libcli/ldap/config.mk
source/librpc/config.mk
source/param/config.mk
source/rpc_server/config.mk
source/torture/config.mk
(This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-29 14:23:38 +01:00
Jelmer Vernooij
c8011b5d09
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3
...
Conflicts:
source/scripting/python/config.mk
(This used to be commit 0ac0ea660ab63eca764149f1d2828d0238a57289)
2008-02-29 12:45:46 +01:00
Jelmer Vernooij
2ba62662f8
Remove sDefault as static variable.
...
(This used to be commit 16f36ce499e93860dd535034a584ec2b93e7a172)
2008-02-28 20:04:58 +01:00
Jelmer Vernooij
80d1d2a4db
Clarify comments.
...
(This used to be commit 5193b383761129e59241cd2cc6000f0b038b49d4)
2008-02-27 19:37:13 +01:00
Jelmer Vernooij
c5d77a1c24
Move public header accumulation out of the perl code.
...
(This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
2008-02-26 17:17:52 +01:00
Jelmer Vernooij
f112578843
Remove public prototype headers. Generating both public and private prototype headers is tricky with gmake and it's easy to break backwards compatibility for the public API with them.
...
(This used to be commit dee1cb6b08aa0a3e24372e052729121c11280971)
2008-02-25 23:09:56 +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
Jelmer Vernooij
80cbff3d01
Fix build with partial linking.
...
(This used to be commit bfad9610c472e8d7e3656e19c8dbb6b85727dc13)
2008-02-18 16:02:33 +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
00cb710fbc
Add bindings for lp_load_default().
...
(This used to be commit ffd793bbde636366855462f980f1f7d0e25afaab)
2008-01-23 23:38:57 +01:00