1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

835 Commits

Author SHA1 Message Date
Jelmer Vernooij
3b281c3081 r26222: Avoid global_loadparm in a couple more places.
(This used to be commit 5bd053a570ec0a783b4dcd943698263925f819f9)
2007-12-21 05:46:58 +01:00
Jelmer Vernooij
181aab56d5 r26221: Add loadparm_context parameter to auth_context_create.
(This used to be commit a9a9634df8f3137ecb308adb90a755f12af94972)
2007-12-21 05:46:58 +01:00
Jelmer Vernooij
991ee1aff0 r26205: Pass loadparm_context to secrets_db_connect() rather than using global context.
(This used to be commit 5718b6cfee86ddfc9cf405c98c68ba848df4d9d7)
2007-12-21 05:46:51 +01:00
Jelmer Vernooij
0e191fa26a r26204: Binsings for some more functions.
(This used to be commit ab6be3086f7ad8c22e6f4805bccad5a04c0325f2)
2007-12-21 05:46:50 +01:00
Jelmer Vernooij
cef98aaf27 r26203: Avoid using ldb_wrap for secrets database.
(This used to be commit b45093f01fc71714e14422a80a81cf1cc25df3e2)
2007-12-21 05:46:49 +01:00
Jelmer Vernooij
e22c7f1fe3 r26189: Add really trivial testsuite for the auth module.
(This used to be commit f0fcad0a75998bc45e3073927c0021fa67136d22)
2007-12-21 05:46:41 +01:00
Jelmer Vernooij
0ac6bffdf4 r26136: Attempt to fix dependencies for auth.
(This used to be commit abf2600a044cdbab6c5d7880d18217bff3d15c39)
2007-12-21 05:46:18 +01:00
Jelmer Vernooij
55f333ae2d r26134: Avoid using samdb-dependent functions in auth_system_session.
(This used to be commit 29c1c96fe0f8cd90ef936fcccef0adf8c09f9b46)
2007-12-21 05:46:16 +01:00
Jelmer Vernooij
4340fc2d9e r26127: Move session code out of auth_util.c. No longer making it part of auth but making it usable independently will be the next step.
(This used to be commit b3fcb8e8103304fede865b02ca5169d5793a571d)
2007-12-21 05:46:14 +01:00
Jelmer Vernooij
3950e76a2f r26099: Don't depend on nonexistant auth_util.h header.
(This used to be commit a827460d29ac00459f34457fdd361a026b6a5031)
2007-12-21 05:46:02 +01:00
Jelmer Vernooij
d1d958caa1 r26078: Import Python bindings for system_session functions (still needs tests).
(This used to be commit f1f7d2f98acfb586815a34ee7d38edcf41a0197d)
2007-12-21 05:45:55 +01:00
Jelmer Vernooij
f6322e4b96 r26069: Import python bindings for credentials.
(This used to be commit 97bb235cc8c2855a0903bbd9dee53f0e03c4adc0)
2007-12-21 05:45:52 +01:00
Stefan Metzmacher
fdf30f9e96 r26016: remove unneeded include
metze
(This used to be commit 330b8dce85ebc6c7acf101638a66547962b22794)
2007-12-21 05:45:42 +01:00
Jelmer Vernooij
dc2273ba37 r26006: Improve some dependencies.
(This used to be commit 28f05bb5ef9e727298f4b61e71c42a8703374b96)
2007-12-21 05:45:41 +01:00
Jelmer Vernooij
afafeca814 r26004: Add some simple credentials tests.
(This used to be commit e96c722cbfe30a4f9c1f843b48e8cf5b78aa13e7)
2007-12-21 05:45:40 +01:00
Jelmer Vernooij
ca0b72a1fd r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21 05:45:40 +01:00
Stefan Metzmacher
529763a9aa r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)
lib/messaging/
lib/registry/
lib/ldb-samba/
librpc/rpc/
auth/auth_winbind.c
auth/gensec/
auth/kerberos/
dsdb/repl/
dsdb/samdb/
dsdb/schema/
torture/
cluster/ctdb/
kdc/
ntvfs/ipc/
torture/rap/
ntvfs/
utils/getntacl.c
ntptr/
smb_server/
libcli/wrepl/
wrepl_server/
libcli/cldap/
libcli/dgram/
libcli/ldap/
libcli/raw/
libcli/nbt/
libnet/
winbind/
rpc_server/

metze
(This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21 05:45:02 +01:00
Stefan Metzmacher
6ce86941de r25839: use nss_wrapper code in samba4 if
--enable-nss-wrapper or --enable-developer is given

metze
(This used to be commit f8bc6b9ad0eec60bff7fdc5653397efd9a044a29)
2007-12-21 05:44:20 +01:00
Andrew Bartlett
e85370e703 r25703: Use less entropy by using the pointer value as a process-unique token.
Andrew Bartlett
(This used to be commit 3480dc71a9f969909b984855d546a1974593368f)
2007-12-21 05:43:21 +01:00
Andrew Bartlett
6554433fc2 r25660: Add a new interface 'generate_secret_buffer()', to be used when we
require top-quality entropy.  We don't want to waste system enropy
generating challenges (which simply need to be unpredictable, not
secret) or when generating UUIDs.

Rework generate_random_buffer() to use /dev/urandom less often, only
to seed the existing RC4 based PRNG.  (With an exception to ensure we
don't waste this setup cost for very small entropy requests).

Perhaps we should be using heimdal's code for this instead?

This should drasticly reduce our entropy use, particularly in the
build farm (automated Samba build on hosts without much other source
of entropy).

Andrew Bartlett
(This used to be commit 6a5630d37191542022f02fae519227b7829ef620)
2007-12-21 05:43:03 +01:00
Jelmer Vernooij
b09047b78e r25624: Remove ipv4_addr hack. Only causes 4 extra includes of system/network.h because we stripped down includes.
(This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-12-21 05:43:00 +01:00
Stefan Metzmacher
b3393247a2 r25576: BOOL -> bool
metze
(This used to be commit 9fd96e1989e348f87355ed120786399493a9e447)
2007-10-10 15:07:58 -05:00
Jelmer Vernooij
0df01cee47 r25562: Use standard bool types in cyrus sasl code - patch by Julien.
(This used to be commit 4f664939af0d6ac389efebc51f2f31e9acee80b4)
2007-10-10 15:07:56 -05:00
Jelmer Vernooij
3642f3b40d r25552: Convert to standard bool type.
(This used to be commit b8d6b82f1248d36a0aa91a1c58d06b4f7c66d245)
2007-10-10 15:07:54 -05:00
Jelmer Vernooij
e511090a43 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
(This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
2f3551ca7c r25446: Merge some changes I made on the way home from SFO:
2007-09-29 More higher-level passing around of lp_ctx.
2007-09-29 Fix warning.
2007-09-29 Pass loadparm contexts on a higher level.
2007-09-29 Avoid using global loadparm context.
(This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10 15:07:34 -05:00
Jelmer Vernooij
60a1046c5c r25430: Add the loadparm context to all parametric options.
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10 15:07:31 -05:00
Stefan Metzmacher
98038f71a7 r25428: forward declarations of enums are not portable,
so pass struct cli_credentials *cred instead of
enum credentials_use_kerberos use_kerberos.

metze
(This used to be commit b945aaa9dadc4c0595340d35725b49bac8e5778e)
2007-10-10 15:07:31 -05:00
Stefan Metzmacher
2b771cc5a6 r25404: fix the build
metze
(This used to be commit 7d58d0c0c11005ffb6c03d98d53fea7f1ccbcd07)
2007-10-10 15:07:27 -05:00
Jelmer Vernooij
37d53832a4 r25398: Parse loadparm context to all lp_*() functions.
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10 15:07:25 -05:00
Jelmer Vernooij
ffbb7e4060 r25193: Update headers to easy use by external apps.
(This used to be commit 20b70fbb7af6b6759c3b8c8aa56e10944b32bfdf)
2007-10-10 15:06:50 -05:00
Stefan Metzmacher
540caf7ea6 r25181: sync winbind client code with samba3
NOTE: wbinfo.c isn't fully merged here

metze
(This used to be commit eee5327dc2f79c052c2db0ca89f23cc9d2ce355d)
2007-10-10 15:06:46 -05:00
Jelmer Vernooij
7e297ecfa4 r25047: Fix more warnings.
(This used to be commit 69de86d2d2e49439760fbc61901eb87fb7fc5d55)
2007-10-10 15:05:49 -05:00
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10 15:05:43 -05:00
Jelmer Vernooij
dccf3f99e4 r25027: Fix more warnings.
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10 15:05:41 -05:00
Jelmer Vernooij
ffeee68e4b r25026: Move param/param.h out of includes.h
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10 15:05:38 -05:00
Jelmer Vernooij
4a05c3406b r25005: Avoid pstring.
(This used to be commit 777959f862e6428d0bfa4a15a0f45a9bfde64821)
2007-10-10 15:05:31 -05:00
Jelmer Vernooij
959915a8cb r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
(This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10 15:05:28 -05:00
Jelmer Vernooij
cd962355ab r25000: Fix some more C++ compatibility warnings.
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10 15:05:27 -05:00
Jelmer Vernooij
6cf69fee18 r24994: Fix some C++ warnings.
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10 15:05:26 -05:00
Jelmer Vernooij
82037a75ea r24814: Fix headers, trim core.h even more.
(This used to be commit 9647f860bdd5c0a74583e886182bd041a45e7655)
2007-10-10 15:03:14 -05:00
Jelmer Vernooij
0b91f39164 r24780: More work allowing libutil to be used by external users.
(This used to be commit 31993cf67b816a184a4a4e92ef8ca2532c797190)
2007-10-10 15:03:10 -05:00
Andrew Bartlett
362ff06690 r24730: Allow secrets entries to be for service principals.
Andrew Bartlett
(This used to be commit 7865d10a299a84ed42de4435b7e6400d56161ac5)
2007-10-10 15:02:59 -05:00
Jelmer Vernooij
61ffa08f4c r24712: No longer expose the 'BOOL' data type in any interfaces.
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10 15:02:54 -05:00
Andrew Bartlett
85555742b1 r24504: Try to return more useful error information on why a bind failed.
Note that the correct return for a failed alter_context is a fault,
not a bind_nak.

Andrew Bartlett
(This used to be commit 52cce94532edf1dd7f26e39bf3377f0077ea6792)
2007-10-10 15:02:03 -05:00
Andrew Bartlett
233e4f72d6 r24282: Try to fix the occasional Samba4 crash in BASE-BENCH-READWRITE, as
seen in particular on opi.

This looked like a Heimdal problem, but I think it was simply that we
didn't do a talloc_reference() to keep tabs on the memory we were
using, and in between obtaining the pointer and using it, it was
assigned to unrelated memory.

Andrew Bartlett
(This used to be commit a650ad8b37d58ba64458a33313714d1abfc4850b)
2007-10-10 15:01:35 -05:00
Andrew Bartlett
649d4bf8aa r24074: Test both permitted logon hours and permitted workstations in the
RPC-SAMLOGON test.

This showed that, as noted by bug #4823, we didn't test for invalid
workstations.  In fact, the code had been ported across, but because
untested code is broken code, it never worked...

Andrew Bartlett
(This used to be commit 5e07417ada56d189a911ef888b0c87adebe60763)
2007-10-10 15:01:21 -05:00
Andrew Bartlett
06a6194ead r24061: Anther part of bug #4823, which is that until now Samba4 didn't parse
the logon hours, even if set.

This code happily stolen from the great work in Samba3 :-)

Andrew Bartlett
(This used to be commit a4939ab629e0af0615bcecf63c7cd55e6e833505)
2007-10-10 15:01:21 -05:00
Andrew Bartlett
a87dea2a08 r23810: Make things static, and remove unsued code.
This includes some of the original ildap ldap client API.  ldb
provides a much easier abstraction on this to use, and doesn't use
these functions.

Andrew Bartlett
(This used to be commit dc27a7e41c297472675e8c251bb14327a1af3902)
2007-10-10 14:59:21 -05:00
Andrew Tridgell
cd1217ff5f r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
(This used to be commit 5c9b19271e0e3ad897499707003ce4703ffa4870)
2007-10-10 14:59:18 -05:00