1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

15520 Commits

Author SHA1 Message Date
Stefan Metzmacher
77054b42bd selftest: we pass the BASE-DEFER_OPEN test
We just need to pass the same sharedelay time
to smbtorture as we use for smbd.

metze
(This used to be commit 3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3)
2008-02-25 07:42:38 +01:00
Stefan Metzmacher
a622f80c65 BASE-DEFER_OPEN: add torture:sharedelays option to run this test faster
metze
(This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)
2008-02-25 07:39:23 +01:00
Volker Lendecke
bd95d6d5db Respect the return value of asprintf
This removes tons of warnings

warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result

for me. Lots of that kind left though :-)
(This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)
2008-02-23 10:26:52 +01:00
Michael Adam
e9b0056586 libreplace: don't use socketwrapper for getifaddrs() implementations.
Michael
(cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
(This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22 14:33:51 +01:00
Stefan Metzmacher
3fa76092e6 Happy New Year 2008! :-)
metze
(This used to be commit a601ecff4e8cbf71de9f140ee2faa0b75d695559)
2008-02-22 14:08:13 +01:00
Michael Adam
bf7d3b6ef4 libreplace: Fix comment originating from old samba source.
Michael
(This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
2008-02-22 10:42:22 +01:00
Michael Adam
88c919c14a libreplace: fix creation of conftest files for getifaddrs tests.
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.

Michael
(cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
(This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
2008-02-22 00:41:02 +01:00
Michael Adam
c2f92013c3 Fix linked list of ifaddrs in implementations of rep_getifaddrs.
Produce proper list instead of one-node-loop.

Michael
(cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
(This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22 00:40:53 +01:00
Michael Adam
f86ee1f3c6 Add missing initalizations of lastif in rep_getifaddr implementations.
Michael
(cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0)
(This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-22 00:40:33 +01:00
Jelmer Vernooij
4590432d62 Remove another global_loadparm instance.
(This used to be commit ccb29c0b463f5ccb53553f0a1c411ad77a84482a)
2008-02-21 18:43:02 +01:00
Michael Adam
c513546cda libreplace: fix compile errors in getifaddrs.c
Michael
(cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
(This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2008-02-21 18:30:22 +01:00
Jelmer Vernooij
e11c61bc5c Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used by
all EJS code.
(This used to be commit 184988866fe8e740f58e3683eefcaa70f8b51d11)
2008-02-21 18:21:44 +01:00
Michael Adam
840933cd4e Try and fix getifaddrs check on irix: dont't try to include config.h
The missing header file is judged "catastrophic" on irix.

Michael
(cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051)
(This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
2008-02-21 18:18:11 +01:00
Jelmer Vernooij
3c20b3eeba Fix the build.
(This used to be commit f4b31ad76771d674ec85cd155b023eed377e6eb4)
2008-02-21 18:11:44 +01:00
Jelmer Vernooij
299265d47b Remove yet more global_loadparm instances.
(This used to be commit 5de88728ac5c567d3711d1ac6862bbdaced84b75)
2008-02-21 18:09:47 +01:00
Jelmer Vernooij
10169a2030 Remove more global_loadparm instance.s
(This used to be commit a1280252ce924df69d911e597b7f65d8038abef9)
2008-02-21 17:54:24 +01:00
Jelmer Vernooij
c38c2765d1 Remove yet more uses of global_loadparm.
(This used to be commit e01c1e87c0fe9709df7eb5b863f7ce85564174cd)
2008-02-21 17:17:37 +01:00
Jelmer Vernooij
d63321a41e Cache iconv_convenience.
(This used to be commit efd577cb5035f1b83bb8cd8958dcecb0ac0d055b)
2008-02-21 16:41:38 +01:00
Jelmer Vernooij
024f723ec4 torture/t_strcmp.c: Remove obsolete file - proper testing is now done in the libutil testsuite.
(This used to be commit 639afe3a21ee71f6786fc559b99d9e21a9839ce2)
2008-02-21 16:23:52 +01:00
Jelmer Vernooij
9e3e0f9d39 More share_init to more apprioriate place.
(This used to be commit b84f19f6783cbeaa8d04848fdc0b6f21b5e379a3)
2008-02-21 16:21:32 +01:00
Jelmer Vernooij
5f9abf527a Remove more global_loadparm uses.
(This used to be commit 4d6fd9381f7fe4c823b47ebc43d7b272a92edffd)
2008-02-21 16:18:23 +01:00
Jelmer Vernooij
0ab3df9c58 Clarify comments.
(This used to be commit 705d5c3282399a2c531aefecff6ca1df405476b6)
2008-02-21 16:18:01 +01:00
Jelmer Vernooij
10e7f9f02d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)
2008-02-21 16:11:13 +01:00
Jelmer Vernooij
426e7fef1f Remove extra whitespace, use public variable in IDL.
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)
2008-02-21 16:10:07 +01:00
Jelmer Vernooij
48307b54f9 Remove more uses of global_loadparm.
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-02-21 16:01:19 +01:00
Stefan Metzmacher
141f4b8f83 selftest: fix --socket-wrapper-pcap
metze
(This used to be commit f5ff4a571cdf7d00d065f4a4996880020f1f459f)
2008-02-21 15:55:06 +01:00
Stefan Metzmacher
e36b159e8c ldb_sqlite: fix the build
metze
(This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
2008-02-21 15:52:32 +01:00
Jelmer Vernooij
263a77c561 Remove more uses of global_loadparm.
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
2008-02-21 15:45:32 +01:00
Jelmer Vernooij
ede79ae482 Remove more uses of global_loadparm.
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-21 15:38:35 +01:00
Jelmer Vernooij
d9f8232c34 Remove more uses of global_loadparm.
(This used to be commit 230355d2e6e27918dff40823eb238904c7a1870e)
2008-02-21 15:21:45 +01:00
Jelmer Vernooij
921b176484 Remove more uses of global_loadparm.
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
2008-02-21 14:50:57 +01:00
Jelmer Vernooij
37deca2d41 Avoid use of global_loadparm.
(This used to be commit c5a95bbe0ce55c29e135a9c6058bf192ec3bb546)
2008-02-21 14:16:02 +01:00
Stefan Metzmacher
9f4f496831 srvsvc.idl: don't use STR_LEN4 anymore
metze
(This used to be commit 8c7509bd684ccdabcdb9ad9f75f3dd693ee9c416)
2008-02-21 12:41:55 +01:00
Stefan Metzmacher
52623b627d samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
Tested with nt4 and w2k3.

metze
(This used to be commit 24ec069751ef8db1211c50e7ca1e527adaa6432c)
2008-02-21 12:34:22 +01:00
Kai Blin
99b311449f idmap: Handle SID->gid
(This used to be commit 78d22a28eca4dd89f629dbe75287e9ac3940606b)
2008-02-21 11:22:15 +01:00
Kai Blin
705abe2cb3 idmap: Handle SID->uid
(This used to be commit 4037ca6b9cf14219b4a4475399a51db01c655da6)
2008-02-21 11:22:10 +01:00
Kai Blin
9c7f714962 idmap: Handle gid->SID mapping
(This used to be commit 6f2d95030cd7b4b22d1b75d15b76881449eda697)
2008-02-21 11:22:06 +01:00
Kai Blin
895874d966 idmap: Handle uid->SID mapping
(This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)
2008-02-21 11:21:59 +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
ee6f838d3a Make setup/provision the name of the python provision script now that that is the default.
(This used to be commit a0a05c5a3d614d0f2936ecfcab5273a2ef7d61a8)
2008-02-21 01:22:20 +01:00
Jelmer Vernooij
14a2c4c84b Remove kinit with pkinit failure from known failures list again.
(This used to be commit 157deac27d01dc61952601ffd2655c8161418ac7)
2008-02-21 01:20:12 +01:00
Jelmer Vernooij
40992617d1 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 1bb673ce4e84088bc77d490101e8904cf9a467a2)
2008-02-21 01:07:06 +01:00
Jelmer Vernooij
c9290a86dd Never assume -fvisibility=hidden for modules unless explicitly specified (consistent with what we do for other subsystems/libraries).
(This used to be commit e8751e513d5f9b30e518104bbc23bcbd203818a6)
2008-02-21 01:04:18 +01:00
Andrew Bartlett
0b1a24681e Be consistant about --ldap-backend-type
Make the EJS provision and the selftest scripts both use the new
syntax for speicifying the ldap backend type.

Andrew Bartlett
(This used to be commit b1d2584277304be3f2a640465cbf6b2a3ec571cc)
2008-02-21 10:43:13 +11:00
Andrew Bartlett
774fa12ac1 Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit 5cd3310b78a85243eb436d05db3228c3495f9162)
2008-02-21 09:55:13 +11:00
Andrew Bartlett
49b3a48293 Until the new ldb changes land, make ldb_wait set the error string.
This makes it easier to track down which module only returned and
error code, but not the error string.

Andrew Bartlett
(This used to be commit c4d502f68fbd5d5bc2ac5bb6369950379c9176fc)
2008-02-21 09:53:11 +11:00
Jelmer Vernooij
910a1cafdf Support dlopen(NULL, ...) on HPUX.
(This used to be commit 53c70b5f77a3b9abaab783590e66278129173d5f)
2008-02-20 20:05:51 +01:00
Jelmer Vernooij
19bb90a034 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
(This used to be commit 54ebd4e353038e86470ad036aa038e18a4296b4b)
2008-02-20 19:41:52 +01:00
Jelmer Vernooij
39a6495c86 Make more module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
(This used to be commit da1a9438bd89569077ef1eaa9dc977b5f9d62836)
2008-02-20 19:40:20 +01:00
Jelmer Vernooij
5e0f8cabee Make all auth module init functions public, since they are compiled with -fvisibility=hidden. Not doing this causes failures on Mac OS X.
(This used to be commit 675bab738085cb5a9f17c1f159fbd97c4daafed2)
2008-02-20 19:34:45 +01:00