1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
Commit Graph

26090 Commits

Author SHA1 Message Date
Günther Deschner
a3a1edab0d Revert "what a wurst."
That commit message was just too silly, this happens to me during interactive
rebase all the time...

This reverts commit ab687104c1.
2008-02-29 18:19:06 +01:00
Günther Deschner
ab687104c1 what a wurst. 2008-02-29 17:45:25 +01:00
Günther Deschner
4e93301ca4 Add "registry" Group Policy extension.
Guenther
2008-02-29 17:25:28 +01:00
Günther Deschner
6d543b1a1a Add Group Policy extension infrastructure.
Guenther
2008-02-29 17:07:57 +01:00
Jeremy Allison
e7406822d3 Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test 2008-02-29 06:56:06 -08:00
Jeremy Allison
fa12667ec2 Patch to fix the "Invalid read of size 4" errors. Bug #3617.
Jeremy.
2008-02-29 06:55:33 -08:00
Günther Deschner
f673bbd300 Add infrastructure for reading/storing Group Policy state and control data in the registry.
Guenther
2008-02-29 15:48:14 +01:00
Volker Lendecke
9a966e5593 Fix warnings 2008-02-29 15:17:38 +01:00
Günther Deschner
d7346e9360 Pure cosmetics, trying to get my group policy diff smaller.
Gunther
2008-02-29 14:53:13 +01:00
Jeremy Allison
d954a4954b Fix part of bug #3617 from valgrind trace.
"Invalid read of size 1" errors.
Jeremy.
2008-02-29 05:51:09 -08:00
Michael Adam
ee4810099c Eliminate tons of build warnings on non-IPV6 system.
Michael
2008-02-29 13:35:16 +01:00
Michael Adam
1fb69ad1f5 Revert "make idl: Only compile idl files newer than the output to be generated."
This reverts commit 79c199d16e.

Revert this until pidl is capable of doing decent dependency tracking
itself (importing types from imported idls).

Michael
2008-02-29 13:17:28 +01:00
Michael Adam
2967b29f23 Revert "Add libnet_join.idl to the IDL files to be processed by "make idl"."
This reverts commit 9b47a73290.

libnet_join.idl should not be processed along with the other idl files
since it should not produce server and client code, just the header.

Michael
2008-02-29 13:17:28 +01:00
Andreas Schneider
eff3d3bad5 Rename the 'hidden' variable to 'administrative share'. 2008-02-29 13:08:04 +01:00
Michael Adam
78bc496ecf Fix linking of smbget when there is no shared library support.
smbget needs libwbclient.

Michael
2008-02-29 12:38:29 +01:00
Günther Deschner
55e85ccd3e Fill in WHATSNEW.txt.
Guenther
2008-02-29 11:43:54 +01:00
Volker Lendecke
364d87a5e4 Attempt to fix the build 2008-02-29 10:17:35 +01:00
Stefan Metzmacher
5fb7533e37 configure: only build vfs_syncops if dirfd() is available
This hopefully fixes the build on HP-UX.

metze
2008-02-29 09:58:37 +01:00
Stefan Metzmacher
c9b60b75b4 configure: Remove lib/repdir.c and related stuff
It was only used in configure, but lib/replace already
has a much better version of it.

metze
2008-02-29 09:48:24 +01:00
Volker Lendecke
b0e52cecf2 Add vfs_aio_fork
This is used for two purposes:

First, I'm using it to test the async I/O code. In the forked process it is
pretty easy to delay a reply for a random amount of time. See the
BUILD_FARM_HACKS snippet.

Second, there are systems around that claim to have Posix AIO but which is
broken. This might be some help for those systems.

Also add tests how to pass file descriptors
2008-02-29 09:47:53 +01:00
Michael Adam
7cf645cdae Fix creation of replacetort.
Forgot to git add Makefile.in before doing git commit --amend
in previous commit...

Michael
2008-02-29 09:40:09 +01:00
Michael Adam
77b7d7c041 libreplace: add snprintf.c to test code for getifaddrs - needed on some systems.
Michael
(cherry picked from commit 0aff54a12e)
2008-02-29 09:32:11 +01:00
Michael Adam
1ff0b616a9 libreplace: ifdef out ip6 code if unsupported.
Michael
(cherry picked from commit 54cc0df4db)
2008-02-29 09:32:05 +01:00
Michael Adam
34d906ef44 libreplace: fix rep_freeifaddrs to not segfault on NULL input.
Michael
(cherry picked from commit 0cbb87453b)
2008-02-29 09:31:57 +01:00
Michael Adam
0906120a6e libreplace: fix silly crashbug in getifaddrs_test().
Michael
(cherry picked from commit 523626908d)
2008-02-29 09:31:50 +01:00
Michael Adam
3c1843f931 libreplace: add missing newline in output of getifaddrs test.
Michael
(cherry picked from commit f8243cfc47)
2008-02-29 09:31:39 +01:00
Michael Adam
1d906d346e libreplace: add missing semicolon to getifaddrs.
Michael
(cherry picked from commit 29818a07de)
2008-02-29 09:31:29 +01:00
Michael Adam
650cc1da4b libreplace: try and fix rep_getifaddrs() for Tru64.
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.

Michael
(cherry picked from commit ee170c85e0)
2008-02-29 09:31:19 +01:00
Michael Adam
c5932414fd libreplace: use the new getifaddrs test also for autoconf.
Michael
(cherry picked from commit a2a506ff0e)
2008-02-29 09:31:02 +01:00
Michael Adam
52d79ad487 libreplace: add extended getifaddrs test that prints out the interfaces.
Michael

cherry-picked from libreplace-part of 9d2bab09aa
and adapted replacetort creation
2008-02-29 09:30:40 +01:00
Günther Deschner
405ef74d7e Trying to fix libnetapi examples Makefile.in.
Guenther
2008-02-29 02:49:27 +01:00
Günther Deschner
bc2d3d5144 libnetjoin: add fallback to level 24 samr setinfo so that libnet can join NT4.
Guenther
2008-02-29 01:27:52 +01:00
Günther Deschner
63894e5c93 libnetjoin: Trying to avoid confusion between acct_flags, acb_info and
access_desired.

Guenther
2008-02-29 01:25:45 +01:00
Günther Deschner
dcffb885bc Fix samr querydispinfo w.r.t. lsa_AsciiStringLarge.
Thanks metze for the fix.

Guenther
2008-02-28 23:37:47 +01:00
Günther Deschner
7d88cb2e8d Re-run make idl.
Guenther
2008-02-28 23:37:18 +01:00
Stefan Metzmacher
490d0c52bb samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfo
Tested with nt4 and w2k3.

metze
2008-02-28 23:31:22 +01:00
Stefan Metzmacher
c445a17a91 lsa.idl: strlen_m*() also for the lsa_AsciiString* versions
We already did this before b994f899b4.

This is needed to handle NULL strings, where strlen() would crash...

Maybe we should add a strlen_a() and strlen_a_term() later...

metze
2008-02-28 23:30:22 +01:00
Stefan Metzmacher
d98ac73122 lsa.idl: use strlen_m_term() in lsa_StringLarge to support NULL strings
metze
2008-02-28 23:30:07 +01:00
Stefan Metzmacher
bf5da9ea08 lsa.idl: add lsa_AsciiStringLarge
metze
2008-02-28 23:29:46 +01:00
Stefan Metzmacher
1937d19623 lsa.idl: don't use ascstr_noterm anymore
metze
2008-02-28 23:29:35 +01:00
Günther Deschner
0a012c12d6 Remove DomainControllerAddressType which we now have in IDL.
Guenther
2008-02-28 23:15:30 +01:00
Günther Deschner
b736c77dc6 Fix memleak in netsamlogon_cache_get().
Guenther
2008-02-28 23:15:11 +01:00
Stefan Metzmacher
1b8ed6c0ff winbind: use a struct element for WBFLAG_PAM_UNIX_NAME
To not conflict with WBFLAG_PAM_INFO3_TEXT.

This should fix pam_winbind.

metze
2008-02-28 23:00:42 +01:00
Günther Deschner
53121e62ea While we are at it: add _wkssvc_NetrUnjoinDomain2 implementation.
This can be tested with e.g. "netdom remove SAMBAHOST" from windows.

Guenther
2008-02-28 22:07:30 +01:00
Günther Deschner
3bcaa3582a Re-enable _wkssvc_NetrJoinDomain2 remote join implementation now that we are ready for it.
"netdom join SAMBAHOST" from a windows workstation nicely demonstrates it.

Guenther
2008-02-28 20:06:09 +01:00
Günther Deschner
a5c6347644 Remove original copy of now redundant join code.
Jerry, I checked this very carefully that nothing got lost. The only thing I need to
re-add still is the normalized DN handling for account precreation in "net ads join".

Guenther
2008-02-28 19:54:35 +01:00
Günther Deschner
09e6010159 libnetjoin: Merge in comments, debugs and missing code from original join code.
Guenther
2008-02-28 19:49:07 +01:00
Gerald W. Carter
37c87acc9d Fix macro name (no 's' in ifr_addr).
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
2008-02-28 11:58:05 -06:00
Günther Deschner
3ace1601ac Only set DEBUGLEVEL to 0 in libnetapi when not set already.
Guenther
2008-02-28 17:25:33 +01:00
Günther Deschner
892b2bc0cf Add some more error handling in libnetjoin.
Guenther
2008-02-28 17:05:38 +01:00