1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

20623 Commits

Author SHA1 Message Date
Günther Deschner
143a48927b r18924: Minor cleanup.
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
ecb632a153 r18923: Fix more memleaks.
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
d87994788b r18922: Apply some const.
Guenther
2007-10-10 12:14:47 -05:00
Günther Deschner
b1bc7fd347 r18921: Fix some c++ warnings.
Guenther
2007-10-10 12:14:46 -05:00
Stefan Metzmacher
b36d47c698 r18920: merge socket_wrapper changes from samba4
metze
2007-10-10 12:14:46 -05:00
Gerald Carter
cbfe1a4b49 r18919: * Get the new rpccli_winreg_XXXX() functions into the tree
There some broken functionality here that I'm still working on.
* remove unneeded parsing routines
2007-10-10 12:14:46 -05:00
Andrew Tridgell
7f1f5d6056 r18912: we don't need the special case for comments now in the
This also fixes comments in group mappings, as the code accidentially
put in "ntName" in the comment field :-)
2007-10-10 12:14:46 -05:00
Andrew Tridgell
9e66df05a4 r18910: Change ldb_msg_add_string() to not actually add an attribute if the
string is zero length. This allows callers to not have to worry about
creating an invalid ldap attribute.

See extensive discussion on samba-technical list :-)
2007-10-10 12:14:45 -05:00
Jeremy Allison
0c77046751 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.
2007-10-10 12:14:45 -05:00
Gerald Carter
9b43d7c63a r18906: Fix 'make clean' to deal with new lib/ldb/ directory structure. 2007-10-10 12:14:45 -05:00
Gerald Carter
8aa681df99 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.
2007-10-10 12:14:45 -05:00
Gerald Carter
7e908acdef 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).
2007-10-10 12:14:45 -05:00
Günther Deschner
e7cae9bbae r18902: Also dump mS-DS-CreatorSID.
Guenther
2007-10-10 12:14:44 -05:00
Stefan Metzmacher
63e5727471 r18901: try to fix the samba3 build without having ldap
vl: you were a few seconds faster than me...:-)

metze
2007-10-10 12:14:44 -05:00
Volker Lendecke
d0eef2f6e8 r18900: Next attempt to fix the Solaris build. Not sure about whether to merge this
one. Tridge? Metze?

Volker
2007-10-10 12:14:44 -05:00
Gerald Carter
da17fb41db r18899: remove check for root when running configure since it does not appear to be used anymore 2007-10-10 12:14:44 -05:00
Jeremy Allison
ceefb8dd3c 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.
2007-10-10 12:14:44 -05:00
Jeremy Allison
db458d3e8b r18897: Fix valgrind bug found by Volker.
Jeremy.
2007-10-10 12:14:43 -05:00
Gerald Carter
3c9632bedc r18896: * Fix out of tree builds after libreplace merge
* Remove unused -D define in Makefile
2007-10-10 12:14:43 -05:00
Stefan Metzmacher
9468dcc5d5 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
2007-10-10 12:14:43 -05:00
Volker Lendecke
db838f49a0 r18893: Attempt to fix the Solaris build 2007-10-10 12:14:43 -05:00
Volker Lendecke
6d7e3f3983 r18892: Copy over the Samba4 valgrind suppressions 2007-10-10 12:14:42 -05:00
Volker Lendecke
47c19811ae r18891: Fix "double const" warning from host opi 2007-10-10 12:14:42 -05:00
Volker Lendecke
fd020a1998 r18889: Add some const. What's the policy here? Should I do this in Samba4 as well?
Volker
2007-10-10 12:14:41 -05:00
Volker Lendecke
94b53f2f2a r18888: Fix a 64-bit warning 2007-10-10 12:14:41 -05:00
Volker Lendecke
bbd9f0bb6f 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
2007-10-10 12:14:41 -05:00
Günther Deschner
7df5808d8b r18879: Fix crash for "net ads gpo list".
Guenther
2007-10-10 12:14:41 -05:00
Volker Lendecke
58583aa943 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
2007-10-10 12:14:41 -05:00
Volker Lendecke
88a928a233 r18877: More WERROR/NTSTATUS bugs 2007-10-10 12:14:40 -05:00
Volker Lendecke
a03fb81a9d r18876: Fix smbclient -L 2007-10-10 12:14:40 -05:00
Volker Lendecke
6d5d7bf4bb r18875: The comment field can be empty 2007-10-10 12:14:40 -05:00
Volker Lendecke
ecac9b5959 r18874: Fix some NTSTATUS/WERROR mixups 2007-10-10 12:14:40 -05:00
Günther Deschner
2a605a0b17 r18871: Fix copy/paste mixup.
Guenther
2007-10-10 12:14:40 -05:00
Andrew Tridgell
a6c53e5861 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().
2007-10-10 12:14:40 -05:00
Andrew Tridgell
1cf17edc14 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
2007-10-10 12:14:39 -05:00
Andrew Tridgell
203fc0b03c 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?
2007-10-10 12:14:39 -05:00
Andrew Tridgell
4ad1436cea r18867: change the group mapping code to use ldb instead of tdb
See the discussion of this on the samba-technical list
2007-10-10 12:14:39 -05:00
Andrew Tridgell
bbedf2e343 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.
2007-10-10 12:14:36 -05:00
Andrew Tridgell
8438a6a7d4 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)
2007-10-10 12:01:06 -05:00
Andrew Tridgell
6d5f507136 r18864: merge lib/replace changes from samba4 2007-10-10 12:01:06 -05:00
Andrew Tridgell
46d8433a4f r18863: the test for immediate structures has moved to lib/replace/ 2007-10-10 12:01:06 -05:00
Andrew Tridgell
c8670b33b4 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.
2007-10-10 12:01:06 -05:00
Volker Lendecke
91955c1f26 r18857: Re-enable the CC checks from libreplace after Tridge's fix. Thanks for that!
Volker
2007-10-10 12:01:05 -05:00
Andrew Tridgell
21a458ab9d r18856: fixed HAVE_IMMEDIATE_STRUCTURES and thus checking of NTSTATUS/BOOL
mixups
2007-10-10 12:01:05 -05:00
Volker Lendecke
5cc4117692 r18855: Tell the diff between WERROR and NTSTATUS
Volker
2007-10-10 12:01:05 -05:00
Volker Lendecke
776bd5e36d 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
2007-10-10 12:01:04 -05:00
Günther Deschner
40a6169ace r18853: Fix remaining warnings. Volker, should be fine now.
Guenther
2007-10-10 12:01:04 -05:00
Günther Deschner
01a8562fe1 r18852: Fix compiler warning (thanks Volker).
Guenther
2007-10-10 12:01:04 -05:00
Jeremy Allison
fd97f48ba3 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.
2007-10-10 12:01:04 -05:00
Volker Lendecke
7c5d66c971 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
2007-10-10 12:01:04 -05:00