1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-17 02:05:21 +03:00

17636 Commits

Author SHA1 Message Date
Jeremy Allison
28800c54dc r18907: W00t. My original fix was correct after all :-).
Re-checking it in.
Fix bug #4095 - username composed into domain\user
twice in spnego path.
Jeremy.
(This used to be commit 0c770467519e73897462e730c3226e65668d3890)
2007-10-10 12:14:45 -05:00
Gerald Carter
2a04cff7a9 r18906: Fix 'make clean' to deal with new lib/ldb/ directory structure.
(This used to be commit 9b43d7c63ad9f420188ba92c4a8f679757a9c9da)
2007-10-10 12:14:45 -05:00
Gerald Carter
1254bdc86d r18905: I'm not really proud of this but I don't want to maintain
2 separate CPPFLAGS variables.  So just cleanup the SAMBA_CPPFLAGS
for out of tree builds.  This has been tested locally and works.
Maybe metze can find a better way tomorrow.
(This used to be commit 8aa681df992b8f856f454673f95d4266aba4671c)
2007-10-10 12:14:45 -05:00
Gerald Carter
e2a5072b96 r18904: * Revert previous fix for building out of tree and
add a better one which fixes the network interface detection
  breakage (caused by the previous commit).
(This used to be commit 7e908acdefe4728fc6ad04770915466ac9556a33)
2007-10-10 12:14:45 -05:00
Günther Deschner
dd992469dd r18902: Also dump mS-DS-CreatorSID.
Guenther
(This used to be commit e7cae9bbae2848ca1088a822883563062dd3f612)
2007-10-10 12:14:44 -05:00
Stefan Metzmacher
ed724f9047 r18901: try to fix the samba3 build without having ldap
vl: you were a few seconds faster than me...:-)

metze
(This used to be commit 63e5727471bdf686f292a36aa43267213fb6e2f3)
2007-10-10 12:14:44 -05:00
Volker Lendecke
b70ee55a7c r18900: Next attempt to fix the Solaris build. Not sure about whether to merge this
one. Tridge? Metze?

Volker
(This used to be commit d0eef2f6e870031538959f2308a3414fc68ef18c)
2007-10-10 12:14:44 -05:00
Gerald Carter
22a21fdf04 r18899: remove check for root when running configure since it does not appear to be used anymore
(This used to be commit da17fb41dbf69cafaceb96674fa41744deb487f7)
2007-10-10 12:14:44 -05:00
Jeremy Allison
fec9850644 r18898: Fix for bug #4100 from Udo Eberhardt <udo.eberhardt@thesycon.de>.
Ensure we initialize values for smb_io_notify_info_data_strings to
fix crash.
Jeremy.
(This used to be commit ceefb8dd3ca67449d5afbf556e9879abb37830ac)
2007-10-10 12:14:44 -05:00
Jeremy Allison
f1964048a5 r18897: Fix valgrind bug found by Volker.
Jeremy.
(This used to be commit db458d3e8bdd11812cea34128df6a3c29baa59c3)
2007-10-10 12:14:43 -05:00
Gerald Carter
2cb15a9516 r18896: * Fix out of tree builds after libreplace merge
* Remove unused -D define in Makefile
(This used to be commit 3c9632bedca5ff3816f5f7b8b5f47b29c4e7fa02)
2007-10-10 12:14:43 -05:00
Stefan Metzmacher
75064ae95e r18895: AIX need to call pidl with --uint-enums as the compiler doesn't
like negative values in the generated code.

I'm not sure how we can solve that in samba3 as the generated code is commited

Maybe we need to alsways pass --uint-enums

metze
(This used to be commit 9468dcc5d564d7242d527eb770717e2b4480cf1c)
2007-10-10 12:14:43 -05:00
Volker Lendecke
868daf42b2 r18893: Attempt to fix the Solaris build
(This used to be commit db838f49a0e9de6881b36b10fe2c3862862b1908)
2007-10-10 12:14:43 -05:00
Volker Lendecke
22a23881c7 r18892: Copy over the Samba4 valgrind suppressions
(This used to be commit 6d7e3f39832535ece5b367ad0ec2c59e5ab656d8)
2007-10-10 12:14:42 -05:00
Volker Lendecke
147fc86a94 r18891: Fix "double const" warning from host opi
(This used to be commit 47c19811ae2282259f523a0d41a08d84de74cbda)
2007-10-10 12:14:42 -05:00
Volker Lendecke
ba68916c9a r18889: Add some const. What's the policy here? Should I do this in Samba4 as well?
Volker
(This used to be commit fd020a1998db7660ab093c136207df4fb09720cb)
2007-10-10 12:14:41 -05:00
Volker Lendecke
10a8d62e96 r18888: Fix a 64-bit warning
(This used to be commit 94b53f2f2abf7be003aebdb586b154dfda56d120)
2007-10-10 12:14:41 -05:00
Volker Lendecke
170ee35a66 r18886: First, RPC_SRVSVC is called RPC-SRVSVC and second, we're so far off on that
one that there's no point yet to run this in the build farm.

Volker
(This used to be commit bbd9f0bb6f58cda0ed4f18a3c19221cacfef1c0f)
2007-10-10 12:14:41 -05:00
Günther Deschner
82bf0da9d3 r18879: Fix crash for "net ads gpo list".
Guenther
(This used to be commit 7df5808d8b1d9458dbd47b92750c0b128325335c)
2007-10-10 12:14:41 -05:00
Volker Lendecke
611b5d29fc r18878: With the recent checkins for me Samba3 compiles again with the NTSTATUS/WERROR
checks enabled. I'll look at the build farm in a couple of hours and fix it if
not.

Volker
(This used to be commit 58583aa9431034be0ea03f0bc3c69463fb9c8c22)
2007-10-10 12:14:41 -05:00
Volker Lendecke
e1fa2ea721 r18877: More WERROR/NTSTATUS bugs
(This used to be commit 88a928a2332b96124935c547cf5ee16163865d84)
2007-10-10 12:14:40 -05:00
Volker Lendecke
2c94123e86 r18876: Fix smbclient -L
(This used to be commit a03fb81a9d16c9db787c539d63c13ecaf6d6f80d)
2007-10-10 12:14:40 -05:00
Volker Lendecke
6f3c6a46f9 r18875: The comment field can be empty
(This used to be commit 6d5d7bf4bbcfee77853776af59e00d006fd86dc9)
2007-10-10 12:14:40 -05:00
Volker Lendecke
323b724ce9 r18874: Fix some NTSTATUS/WERROR mixups
(This used to be commit ecac9b59594ef14a65091591c258b000036575fc)
2007-10-10 12:14:40 -05:00
Günther Deschner
35b1d063e1 r18871: Fix copy/paste mixup.
Guenther
(This used to be commit 2a605a0b175dc0ccc65ee2dc68e394bef7c954d1)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
7c5f1f28db r18870: - enable the ldb ldap backend properly based on configure tests for
ldap

- use ldb_global_init() instead of the backend specific
  ldb_tdb_init().
(This used to be commit a6c53e58616d7731a1df9af33f78ccf0c774296e)
2007-10-10 12:14:40 -05:00
Andrew Tridgell
78f2900a16 r18869: two build fixes for systems without ldap
the first is to not enable the ldap ldb backend just yet. This will
need configure tests to conditionally include. We should be able to
use the m4 files from lib/ldb/

The 2nd is to fix libads/gpo.o not to publicly prototype a function
that needs ldap.h
(This used to be commit 1cf17edc14ebd379b982b589a66e86316ef7087b)
2007-10-10 12:14:39 -05:00
Andrew Tridgell
3cf367f0e7 r18868: just in case there is a disaster (with our code? never ...) use a
rename to group_mapping.tdb.upgraded rather than an unlink when
upgrading. So if we absolutely have to go back to the tdb, we can
change mapping_ldb.o to mapping_tdb.o in Makefile.in and recover
peoples group mappings.

We could go one step futher and make the backend configurable. Any
opinions on that?
(This used to be commit 203fc0b03c7397f7339a917456cb1701ed592f32)
2007-10-10 12:14:39 -05:00
Andrew Tridgell
8761f5dcc4 r18867: change the group mapping code to use ldb instead of tdb
See the discussion of this on the samba-technical list
(This used to be commit 4ad1436ceae0128e187222fce0fc79adb3049d3f)
2007-10-10 12:14:39 -05:00
Andrew Tridgell
3e2c696e45 r18866: Jeremy and Volker have given the go-ahead on the group mapping ldb
code. Yay!

This first commit copies lib/ldb/ from Samba4. A huge congratulations
should go to Simo on this - he has put an enormous amount of work into
ldb, and it's great to see it go into the Samba3 tree.
(This used to be commit bbedf2e34315f5c420a3a05dfe22b1d5cf79f042)
2007-10-10 12:14:36 -05:00
Andrew Tridgell
0c3194816b r18865: fixed some of the most obvious NTSTATUS/WERROR mixups in Samba3. It
still doesn't compile with immediate structures and the
NTSTATUS/WERROR separation, as there are still several places where
the two error types are mixed up. I haven't fixed those as they
require decisions about the rpcclient code that I really don't want to
get into (the error handling there is a mess)

So samba3 compiles now, but only becaise HAVE_IMMEDIATE_STRUCTURES is
not used (look for HAVE_IMMEDIATE_STRUCTURES_XX_DISABLED)
(This used to be commit 8438a6a7d4506d395c8b4bd0e99f9c100e5e3c4e)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
64d4ff5dcc r18864: merge lib/replace changes from samba4
(This used to be commit 6d5f507136be327558e98214b64eca225ca23d66)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
af4f43db8d r18863: the test for immediate structures has moved to lib/replace/
(This used to be commit 46d8433a4f8918b5e21def2dc55a62adfde234b1)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
96f2a97e01 r18858: arrgh! - since HAVE_IMMEDIATE_STRUCTURES were last enabled the code
can no longer handle it (at least with gcc 4.1.2). Disable it until
investigated and fixed properly.
(This used to be commit c8670b33b490daeaff987c21fcb0ec601a91d54e)
2007-10-10 12:01:06 -05:00
Volker Lendecke
cf3efb2f08 r18857: Re-enable the CC checks from libreplace after Tridge's fix. Thanks for that!
Volker
(This used to be commit 91955c1f266e8f8ee9d4775dffdcc59b44280060)
2007-10-10 12:01:05 -05:00
Andrew Tridgell
fcd7a45e44 r18856: fixed HAVE_IMMEDIATE_STRUCTURES and thus checking of NTSTATUS/BOOL
mixups
(This used to be commit 21a458ab9d132e09b9b00e4dbb32af4275b7c2fb)
2007-10-10 12:01:05 -05:00
Volker Lendecke
fe5123c2ec r18855: Tell the diff between WERROR and NTSTATUS
Volker
(This used to be commit 5cc4117692572f086b44324949546463681b837e)
2007-10-10 12:01:05 -05:00
Volker Lendecke
1b8125265c r18854: Disable the AC_LIBREPLACE_CC_CHECKS, this breaks the HAVE_IMMEDIATE_STRUCTURES
test with gcc 4.1.0. As the build farm is not in the best state right now,
this should not matter.

Stefan, is there any chance we get the IMMEDIATE_STRUCTURES back and have
libreplace at the same time?

Volker
(This used to be commit 776bd5e36d439a59e2c557e9405a30eeedd78fd2)
2007-10-10 12:01:04 -05:00
Günther Deschner
846aa881cd r18853: Fix remaining warnings. Volker, should be fine now.
Guenther
(This used to be commit 40a6169aceb51dc7f73ae72ebac2e55c6b1edc3f)
2007-10-10 12:01:04 -05:00
Günther Deschner
848d934281 r18852: Fix compiler warning (thanks Volker).
Guenther
(This used to be commit 01a8562fe164453af4c5946710f9e58f917df2ce)
2007-10-10 12:01:04 -05:00
Jeremy Allison
b9b964a360 r18846: Fix the same bug Volker noticed when marshalling/unmarshalling
SEC_ACE. "type" is also an enum that may be any size. Treat as
a uint8.
Jeremy.
(This used to be commit fd97f48ba38cb6a737302dac5cf23239ce7059cc)
2007-10-10 12:01:04 -05:00
Volker Lendecke
35a8521501 r18845: Fix a type-punned warning that turned out to be a real bug: The secdesc
revision is now an enum that might be represented as anything, in particular
as an int. It's definitely not a uint16 :-)

Volker
(This used to be commit 7c5d66c97111389b679aadb7b8b6721f07496bda)
2007-10-10 12:01:04 -05:00
Günther Deschner
61761288e9 r18842: Protect against "winbind cache time = 0" on two other occasions.
Guenther
(This used to be commit b1cd9d45e9581bec56bfdc21d2a8afb7f094be22)
2007-10-10 12:01:04 -05:00
Günther Deschner
ee139b6f12 r18841: Protect against potential event loop when someone is using "winbind
cache time = 0".

Guenther
(This used to be commit 9ac6016e32d236e7470919c075df551d1d73498c)
2007-10-10 12:01:04 -05:00
Jelmer Vernooij
387bfebfcf r18823: Fix some errors in the srsvc handling code and start running the RPC-SRVSVC
test against samba3.
(This used to be commit f0508ecb44f13e9e9e521e2534889e98a31d2372)
2007-10-10 12:01:03 -05:00
Günther Deschner
7fdd258c39 r18820: Comment out some unused functions.
Guenther
(This used to be commit cdc81927dbbc542500211ad8e6815815d7764731)
2007-10-10 12:01:03 -05:00
Günther Deschner
a6bb76765a r18819: Fix build without LDAP.
Guenther
(This used to be commit a0aedee1c90af163210dd459603dd5dffb73e132)
2007-10-10 12:01:03 -05:00
Günther Deschner
ed5f7cce2a r18818: Forgot header file.
Guenther
(This used to be commit 9da91022f9fa0e6610a235ddd2130c8b01d6f1c5)
2007-10-10 12:01:03 -05:00
Günther Deschner
0d12a35e6b r18817: Enable the build of the gpo tool but do not make it available yet.
Guenther
(This used to be commit 927cda5d31e9cb02105df3cfc06f5cb273233747)
2007-10-10 12:01:03 -05:00
Günther Deschner
314d563b12 r18816: Fix some build warnings.
Guenther
(This used to be commit b70ed9e48394ddeaf0102e017cf706ff083e065b)
2007-10-10 12:01:03 -05:00