1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

10066 Commits

Author SHA1 Message Date
Volker Lendecke
7917a26fab r17848: Ok, this did not do it. Still got the same problem.
(This used to be commit bb39360370)
2007-10-10 14:16:48 -05:00
Volker Lendecke
9ba16109e5 r17846: Ok, this is a patch that needs further discussion. On Solaris, snprintf seems
to be broken. The %lu modifies apparently can not cope with the high
bit==1. In dom_sid_string I added some printfs and got:

auth: 21
auth: 2666793276
auth: 679821296
auth: 2310223117
auth: 1206
sid=S-1-5-21-8446744072081377596-679821296-8446744071724807437-1206

The "auth:" values are direct printfs, the sid= is the resulting code from
dom_sid_string.

I could not reproduce it with a simple test program, and #ifdef'ing out
HAVE_SNPRINTF in config.h manually does not help either, probably because the
dynamic linker overwrites the symbol in lib/replace.

Checking it in because it fixes the RPC-SAMBA3-SHARESEC test directly on host
"sunx", I would like to see whether it also fixes IRIX and AIX.

Volker
(This used to be commit 1a9401738f)
2007-10-10 14:16:48 -05:00
Volker Lendecke
03dd0d5fc8 r17844: The AIX compiler thinks { } is a syntax error
(This used to be commit 4189736e09)
2007-10-10 14:16:48 -05:00
Volker Lendecke
6e9097045f r17842: After talking to Simo, apply the next attempt to resolve the strnlen
problem. Timegm is the same. Simo says this is just a workaround, but it helps
for now. Feel free to revert.

Volker
(This used to be commit fd166ca0c0)
2007-10-10 14:16:47 -05:00
Volker Lendecke
a0d6264b90 r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise
(This used to be commit 1de3459082)
2007-10-10 14:16:47 -05:00
Volker Lendecke
d3c55f028e r17840: A step towards building on Solaris which appears not to have strnlen.
Volker
(This used to be commit ebf75c6196)
2007-10-10 14:16:47 -05:00
Simo Sorce
25ba47eaf8 r17839: do not reference possibleInferiors we have not extracted
trim duplicate may attributes
(This used to be commit 4975659fd7)
2007-10-10 14:16:47 -05:00
Stefan Metzmacher
a9ac74a98b r17838: revert rev 17754
readd --always-create option to mkproto.pl

metze
(This used to be commit 1686c69d0e)
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 0caf6a44e0)
2007-10-10 14:16:46 -05:00
Simo Sorce
fd4e294c41 r17829: Fix the order of the bytes
(This used to be commit 9910c01a3a)
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 946901e5dd)
2007-10-10 14:16:46 -05:00
Volker Lendecke
2e771a7e1b r17827: Fix an error message
(This used to be commit 4242309d54)
2007-10-10 14:16:46 -05:00
Volker Lendecke
545a588536 r17826: Add line numbers to the d_printfs
(This used to be commit 8df16dce4d)
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 4ec4f91a43)
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 09007b0907)
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 a5ea749f0a)
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 c670837cc0)
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 5d1b66b68f)
2007-10-10 14:16:44 -05:00
Andrew Tridgell
6a4794452f r17820: simplify the code flow a little
(This used to be commit 221272e393)
2007-10-10 14:16:44 -05:00
Jelmer Vernooij
50f5c65f78 r17811: Add .bzrignore file
(This used to be commit 10419a9fba)
2007-10-10 14:16:44 -05:00
Stefan Metzmacher
7f38e8644b r17794: ifdef out unused macros
metze
(This used to be commit 6968136621)
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 40fb476a9c)
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 fdef17f81e)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
2fe8a02f98 r17791: get rid of another compiler warning
metze
(This used to be commit ba866665f5)
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 560a3058e5)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
168e9ec231 r17789: remove compiler warnings
metze
(This used to be commit dec228be4d)
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
6268e2f148 r17788: fix compiler warnings
metze
(This used to be commit 00fcc4f16a)
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 dd0f692d19)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
5645acdb67 r17786: remove unused macros, fix compiler warnings
metze
(This used to be commit 7670e224d4)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
46cdf9250b r17785: fix compiler warnings
metze
(This used to be commit 256fc452a4)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
b58f4364ae r17784: fix compiler warnings
metze
(This used to be commit 8b806c4c5e)
2007-10-10 14:16:42 -05:00
Stefan Metzmacher
a485fa050c r17783: fix compiler warnings
metze
(This used to be commit c999dd0210)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
9fd23a6e91 r17782: fix compiler warning
metze
(This used to be commit 97f6980372)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
39b2377f90 r17781: fix compiler warning
metze
(This used to be commit bbe641f236)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
e996cd5571 r17780: better fix this one correctly
metze
(This used to be commit fbdc5c6356)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
bca791da85 r17779: this macro is unused
metze
(This used to be commit 5389ba19c8)
2007-10-10 14:16:41 -05:00
Stefan Metzmacher
eb6f27eccc r17778: fix compiler warnings
metze
(This used to be commit 4f753f9ebc)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
12e2e43ca3 r17777: these macros are unused...
metze
(This used to be commit 45baef570d)
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 58e7fa0375)
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 c66cf31afd)
2007-10-10 14:16:40 -05:00
Stefan Metzmacher
845e288ea4 r17774: this macro is unused
metze
(This used to be commit 2f4aa95f8d)
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 3953d3566e)
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 a6f22cd924)
2007-10-10 14:16:39 -05:00
Andrew Tridgell
66337169f1 r17771: add a comment explaing the odd cast
(This used to be commit 47e695ed88)
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 348aff8c83)
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 0b254f3bde)
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 7232da0436)
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 f41d3ed4b3)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
18f93fce20 r17764: more portable setenv() replacement
(This used to be commit 5c00b6d083)
2007-10-10 14:16:38 -05:00
Andrew Tridgell
fe791078b7 r17763: moved setenv to ldb/replace/
(This used to be commit ed2dbc4dfe)
2007-10-10 14:16:38 -05:00