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

10059 Commits

Author SHA1 Message Date
Stefan Metzmacher
a9ac74a98b r17838: revert rev 17754
readd --always-create option to mkproto.pl

metze
(This used to be commit 1686c69d0e784220aba053e3dd21f6d14cc86929)
2007-10-10 14:16:46 -05:00
Simo Sorce
88b04ab6e6 r17830: Set the default_basedn (hey, it comes from the "default" naming contex :-)
once at connection time, after modules have been loaded.

Introduce a function to retrieve the value where needed.
(This used to be commit 0caf6a44e03393c645030a9288e7dfd31e97c98b)
2007-10-10 14:16:46 -05:00
Simo Sorce
fd4e294c41 r17829: Fix the order of the bytes
(This used to be commit 9910c01a3a5dd417c47e83b9c9b6df8f4547e816)
2007-10-10 14:16:46 -05:00
Andrew Tridgell
60898ca0b7 r17828: set the auto_baseDN opaque even on failure to fetch rootDSE. That
ensures we never try twice
(This used to be commit 946901e5dde9d31727448070a06e56da38d4a59e)
2007-10-10 14:16:46 -05:00
Volker Lendecke
2e771a7e1b r17827: Fix an error message
(This used to be commit 4242309d54d201b35e9cc96c0359ded64cf7485a)
2007-10-10 14:16:46 -05:00
Volker Lendecke
545a588536 r17826: Add line numbers to the d_printfs
(This used to be commit 8df16dce4d67c17a24aba934f0d656aa5670e539)
2007-10-10 14:16:45 -05:00
Andrew Tridgell
e031bfc41c r17825: I broken cracknames in my last patch - fix it up
(This used to be commit 4ec4f91a437bdfab7b8e0fd1e43c0b8b1927e461)
2007-10-10 14:16:45 -05:00
Andrew Tridgell
b21b119cbc r17824: add a wrapper for the common partitions_basedn calculation
(This used to be commit 09007b0907662a0d147e8eb21d5bdfc90dbffefc)
2007-10-10 14:16:45 -05:00
Andrew Tridgell
0fd9807942 r17823: get rid of most of the samdb_base_dn() calls, as they are no longer
needed in searches
(This used to be commit a5ea749f0ac63bf495a55ee8d9d002208ab93572)
2007-10-10 14:16:45 -05:00
Andrew Tridgell
fb36e279e7 r17822: the ildap ldb backend doesn't need the auto rootDSE logic any more
(This used to be commit c670837cc0dd04834a283bde0471c702a34c66c9)
2007-10-10 14:16:45 -05:00
Andrew Tridgell
a2ca0b5e3c r17821: changed ldb_search() and the ldbsearch command line utility to
automatically work out the basedn when basedn==NULL. The basedn is
fetched from the rootDSE defaultNamingContext value (if there is one)

This means we don't have to have the defaultNamingContext logic in
lots of places. It makes a lot of sense to me to have basedn==NULL
mean "use the default, as given by the database"

Note that explicitly specifing a basedn of '' is not the same thing,
and will not trigger this code

The baseDN is cached in a ldb opaque, so we only have to fetch it once
(This used to be commit 5d1b66b68fc517ce684f75e466ed5f25e46857d5)
2007-10-10 14:16:44 -05:00
Andrew Tridgell
6a4794452f r17820: simplify the code flow a little
(This used to be commit 221272e3930e1fbf30df1ad19713935d38cde46c)
2007-10-10 14:16:44 -05:00
Jelmer Vernooij
50f5c65f78 r17811: Add .bzrignore file
(This used to be commit 10419a9fba0e56dbad9abe9e0e7b9c22caf02b3f)
2007-10-10 14:16:44 -05:00
Stefan Metzmacher
7f38e8644b r17794: ifdef out unused macros
metze
(This used to be commit 6968136621dc75532a19c910bf559aa37b7e41bd)
2007-10-10 14:16:44 -05:00
Stefan Metzmacher
fef30c770a r17793: add -Wmissing-prototypes, -Wmissing-declarations, -Wmissing-field-initializers
gcc options, but don't enable them yet.

we should step by step try to enable them, after removing the flood of warnings
they would generate.

metze
(This used to be commit 40fb476a9cc53c757dcf07e879107c4572b8a1ee)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
1713b43c1a r17792: io.out.winsserver is a const char *,
and iname->winserver = talloc_steal(iname, io.out.winsserver)
generated a warning, so I changed iname->winsserver to also
be a const char *.

then a talloc_free(iname->winsserver) would generate a warning,
but we can steal it into the tmp_ctx without a warning
and that gets free'ed a few lines later.

metze
(This used to be commit fdef17f81e5fc48cca3dd7611d6d5007147473b1)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
2fe8a02f98 r17791: get rid of another compiler warning
metze
(This used to be commit ba866665f5baffc1dc703d60114b9f1856c4b886)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
1d8fa3ccac r17790: replace uses -ldl and should directly depend on it
metze
(This used to be commit 560a3058e53479133015d1b0a7cd149393c45438)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
168e9ec231 r17789: remove compiler warnings
metze
(This used to be commit dec228be4d4a68e2a6794ad4e7a9224e040fa7f2)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
6268e2f148 r17788: fix compiler warnings
metze
(This used to be commit 00fcc4f16a01a0c6a70f86c8bd9d1f9801dfd9df)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
403530d0ec r17787: ifdef out unused macros and generate a smb_panic()
when the wrong macro is used on a field.

metze
(This used to be commit dd0f692d19416c82f237661710b814ba20163605)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
5645acdb67 r17786: remove unused macros, fix compiler warnings
metze
(This used to be commit 7670e224d4be7035bb07fdaa0d156c5f109f20cc)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
46cdf9250b r17785: fix compiler warnings
metze
(This used to be commit 256fc452a46dfe7449c6ebddb75e0801ceae5dc4)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
b58f4364ae r17784: fix compiler warnings
metze
(This used to be commit 8b806c4c5e4f25e011b545d742097b3b307e5af8)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
a485fa050c r17783: fix compiler warnings
metze
(This used to be commit c999dd02100e59bfd34585850c354ac2e9708cbb)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
9fd23a6e91 r17782: fix compiler warning
metze
(This used to be commit 97f6980372e2d06bdae461c737f9e0279f30b9b9)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
39b2377f90 r17781: fix compiler warning
metze
(This used to be commit bbe641f23676961972ac337304ece1116b0219b6)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
e996cd5571 r17780: better fix this one correctly
metze
(This used to be commit fbdc5c635606490618ecd54f1b49db70e680cf05)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
bca791da85 r17779: this macro is unused
metze
(This used to be commit 5389ba19c8ce4cc8f5992b2f9b4fc451df8ee3f2)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
eb6f27eccc r17778: fix compiler warnings
metze
(This used to be commit 4f753f9ebc8ea9e37f1fee5fa84e020885b196a8)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
12e2e43ca3 r17777: these macros are unused...
metze
(This used to be commit 45baef570de751412116bf59ae5c91a57635349f)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
5987aace3b r17776: these macros are also defined in libcli/raw/trans2.h
metze
(This used to be commit 58e7fa037571a3a9fab46945e6158687fff54a17)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
47479df22e r17775: use an enum to get rid of compiler warnings
metze
(This used to be commit c66cf31afd99d537b1f4dfc8ff1502dfa6accfd3)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
845e288ea4 r17774: this macro is unused
metze
(This used to be commit 2f4aa95f8d414262eb4d78060ee3a97a85ec5182)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
b49f18f0e5 r17773: this macros are unsed, with compiler warnings
metze
(This used to be commit 3953d3566e41d0a189be38aee3d99805dd71961a)
2007-10-10 14:16:39 -05:00
Stefan Metzmacher
1ec1c32ea1 r17772: warn about unused macros
(only when defined in the .c file not in headers)

metze
(This used to be commit a6f22cd924ce040d6b3c31c9c483f1c256015f8d)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
66337169f1 r17771: add a comment explaing the odd cast
(This used to be commit 47e695ed88d364a7d423e804fe5340006ebf7c18)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
a524e8cdde r17770: don't force -L/usr/lib, it breaks us4
(This used to be commit 348aff8c8372b235d42ede35c18f83fd53db99f9)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
2d4ecdb3e1 r17769: only look for dlopen in -ldl if not found in libc. Needed for us4
(This used to be commit 0b254f3bde8827312c6fcb93ccd7a0c489ed5e20)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
e5f7da55ef r17768: This merges in the current version of Brad Henry's windows testing
framework patch. There are some issues with the patch that I will
discuss in a separate email to the list, but given the low (zero?)
impact of the patch as it is, I think its better to integrate it now,
then let Brad send some minor update patches later
(This used to be commit 7232da0436ff1d84e419d268fee31a095bbb88b7)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
b075bb842d r17765: fix handling of old solaris /bin/sh in ldb build/test
(This used to be commit f41d3ed4b3d76c37c9c5bfd15e9e4e27179450f0)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
18f93fce20 r17764: more portable setenv() replacement
(This used to be commit 5c00b6d08324b46cd7025264c0320352d2842ead)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
fe791078b7 r17763: moved setenv to ldb/replace/
(This used to be commit ed2dbc4dfe4556831c809dab24e3833cd2018138)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
47fb506da2 r17762: HPUX needs setenv
(This used to be commit 535c96f1e7639071d34ea47a88181d861c3a3038)
2007-10-10 14:16:38 -05:00
Stefan Metzmacher
48c7cfcb74 r17756: I don't know why but this only works with the standalone
ldb build...I'll test more tomorrow.

metze
(This used to be commit aeee1b4655620154a8fefe471ac6327c5ccb8798)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
fba1659720 r17755: fix the build...
I hope we can find a more clean approach to import lib/replace/ into ldb.

metze
(This used to be commit f9fc3f08258d36b6008aac207471f1e193065321)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
f592640d92 r17754: remove the --always-create option from mkproto.pl
and make this behavior the default.

as with make 3.81 and autodependencies this way is much
faster as make can use faster codepathes internally.

(without this make needed more and more startup time after using
 autodependencies for a few weeks)

metze
(This used to be commit e85d7eeb0a233ffb88bec1bc88b697c18bba1ed4)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
ec626a732c r17753: fix compiler warnings and make the code simpler
metze
(This used to be commit eda302ffa5458a34f78d733cd0a46e79a74e81d7)
2007-10-10 14:16:37 -05:00
Stefan Metzmacher
312ded39cc r17752: using -1 in a uint16_t value causes compiler warnings,
use UINT16_MAX as invalid search handle

metze
(This used to be commit a4e19d6cc4cce611241c502de485dbd2496be0d3)
2007-10-10 14:16:37 -05:00
Andrew Tridgell
09129c73d7 r17750: these have moved to ldb/replace/ now
(This used to be commit ac178b52935d7629f8583092e833b74093ca70e1)
2007-10-10 14:16:36 -05:00