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

2576 Commits

Author SHA1 Message Date
Volker Lendecke
dd8f8c01b7 r19666: Talloc_guide text on multithreading by Remi Turboult
(This used to be commit 36a7bf738afd466e378fb2f09d1ce0b47ec924a4)
2007-10-10 12:15:45 -05:00
Jim McDonough
4fe70bcee2 r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op to
the vfs layer, since gpfs supports it.  Thanks to Volker, Christian,
Mathias, Chetan, and Peter.
(This used to be commit 0620658890fa9c68a9848538728023192319c81a)
2007-10-10 12:15:43 -05:00
James Peach
9a02736348 r19626: Coalesce usage of DUMP_CORE. Fix formatting on chdir error message
in core dump path.
(This used to be commit 9a51fba71c5fa7082c331e1a78a98638d9aa06cf)
2007-10-10 12:15:42 -05:00
Jeremy Allison
ea705fb345 r19601: Fix protection from invalid struct tm values.
Backport from Samba4.
Jeremy.
(This used to be commit 02a0ac0bacafe91e4fa3ca0cae2f05a25215efbc)
2007-10-10 12:15:42 -05:00
James Peach
3dcb61adcb r19576: Correct trivial typo.
(This used to be commit a0ada1aa342722fa7f90715a312b5d81f02f937b)
2007-10-10 12:15:42 -05:00
Jeremy Allison
27c4b072b0 r19533: Add a suffix to the program name if this is a process with a
non-default configuration file name.
Jeremy.
(This used to be commit e8bf421c018ed829b9dba7c0872693080b77d49d)
2007-10-10 12:15:41 -05:00
Simo Sorce
151237477b r19491: backport changes from samba4
(This used to be commit aa464c9fda978f615230241921f83884a60f4c6f)
2007-10-10 12:15:39 -05:00
Volker Lendecke
3a22bdf89e r19486: Probably Coverity is wrong here, but this fixes their ID 317. Not sure whether
to merge it to 4_0. I want it in 3_0 because it took a bit to persuade myself
that el can not be NULL here.

Volker
(This used to be commit c0c035b1c8b9d80cd205cde16ad3e838e2d44459)
2007-10-10 12:15:39 -05:00
Volker Lendecke
1fd4184da7 r19485: Fix Coverity # 319
(This used to be commit d9f1697c1f09e1f01c15d8fc210b7b5b7c7ec7bb)
2007-10-10 12:15:38 -05:00
Volker Lendecke
2a10d76865 r19448: Convert delete_share_security to struct share_params plus some cleanups
(This used to be commit c73d0815a3a1f58b951caa62fac601a8f4630894)
2007-10-10 12:15:36 -05:00
Andrew Tridgell
2729f448c0 r19431: merge recent talloc performance improvements from Samba4
(This used to be commit ced12bd6d8c95a103cb2c84166a64f9a21bd32ad)
2007-10-10 12:15:35 -05:00
Andrew Tridgell
7a390a0dab r19430: merge recent ldb changes from Samba4. This includes memory leak fixes
and significant speedups
(This used to be commit bb5c205fef90aa8b89ba400fb9f2f37a111676a8)
2007-10-10 12:15:35 -05:00
Andrew Tridgell
aa3ca346d8 r19429: moved tdb/common/tdbutil.c into lib/util_tdb.c
see discussion on samba-technical
(This used to be commit 1ad563286f00be0d72930b81b10cb74f13c5fbff)
2007-10-10 12:15:35 -05:00
Gerald Carter
2145eff91d r19419: BUG 4109: Patch from Timur Bakeyev. Fix bug causing smbd to turn off
winbindd and fail to disable the _NO_WINBIND environment.
(This used to be commit a6366b40b3967853c20ca5399021108f09ffd505)
2007-10-10 12:15:34 -05:00
Günther Deschner
1e86361080 r19415: oh la la, always compile before commit, I'm very sorry.
Guenther
(This used to be commit bdd2e0361ce53a4f10fca767f734991797e7f927)
2007-10-10 12:15:33 -05:00
Günther Deschner
9034063617 r19414: gencache is getting really important now, make sure that lp_lockdir
always exists so that the gencache.tdb can get created there.

Guenther
(This used to be commit e5ed286125d1f4b8b28bf143f987102071fd0de2)
2007-10-10 12:15:33 -05:00
James Peach
322863b392 r19385: These replaced symbols should have a rep_ prefix.
(This used to be commit decdb46a3f7445d589c23e0ad554453ae79cd292)
2007-10-10 12:15:32 -05:00
Stefan Metzmacher
f9f3a2d790 r19246: merge from samba4 rev 18207 and 18208:
readline fixes for mac os 10

metze
(This used to be commit 976b97ecbf9bde400a6f92cad9d9709d56e73058)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
51994b35f1 r19244: fix the build on systems with broken krb5
we need to make sure

HAVE_GSSAPI

HAVE_KRB5_H
HAVE_GSSAPI_H
HAVE_GSSAPI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H

are not in config.h

this adds 2 new macros to libreplace
AC_REMOVE_DEFINE(), AC_REMOVE_INCLUDE()

metze
(This used to be commit eb1f0b49cf0e84385a62f9dfcb2167fea2e8fd8b)
2007-10-10 12:15:25 -05:00
Stefan Metzmacher
1843884fbf r19241: compile xattr wrappers on mac os 10
patch from Bjoern Jacke and it fixes bug 3698

metze
(This used to be commit e54302b9163cfe726c30a8efdc779250e076d493)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
9830fc431b r19240: move the NO_CONFIG_H check to libreplace
this fixes the quota detection configure and maybe more
configure tests

metze
(This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
f455951e1e r19235: merge from samba4:
fix configure test for net/if.h on some platforms

AC_LANG_SOURCE() adds the content of confdefs.h in front
of the compiled file

metze
(This used to be commit 7cbdc06ad9b68544c8eeaa68fdd7b03f71c0b739)
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
2c2728b8a7 r19232: merge from samba4:
- machine/sys/getppdp.h workaround for HPUX 11.23
- more verbose check for net/if.h

metze
(This used to be commit 9b5c5bc3f3912776af6a8c9b13a9cb8dd2eff8f8)
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
442f5526a0 r19193: merge from samba4:
fixed another checker warning and a possible error on allocation
failure

metze
(This used to be commit d64583a763ffcff27f0bd6761196f7d554d44849)
2007-10-10 12:15:21 -05:00
Stefan Metzmacher
c9b797b3ba r19192: merge from samba4:
ensure that data values from ldap libs are null terminated, to allow
ldb_msg_find_attr_as_string() to work correctly.

Thanks to Jim Myers for spotting this!

metze
(This used to be commit a5ea82bb05fb9d5c1842f9a105f6a10e39141c89)
2007-10-10 12:15:21 -05:00
Stefan Metzmacher
85281ec526 r19191: merge from samba4:
fix checker warnings

metze
(This used to be commit 93a0fe093b4614a18e99d0c3a71c5c8af2e57e4f)
2007-10-10 12:15:21 -05:00
Stefan Metzmacher
25e233db57 r19190: merge from samba4:
remove wrong check and statement.
to manipulate rootDSE we use ldb_dn_new() as base and that has 0 elements.

metze
(This used to be commit b81cae4180452d2a14c445392fd828032e6eddec)
2007-10-10 12:15:21 -05:00
Stefan Metzmacher
ca79df9061 r19185: merge comment from samba4
metze
(This used to be commit 256b83820168d14df2b15a75d8681be5f418ddf8)
2007-10-10 12:15:20 -05:00
Stefan Metzmacher
d63a3e05a2 r19183: merge from samba4:
don't crash on invalid utf8 chars

metze
(This used to be commit 71e1f8550f96eaaae7e4fc4d02eb36f1d894abc8)
2007-10-10 12:15:20 -05:00
Stefan Metzmacher
617c39ab5f r19182: merge from samba4:
add ldb_set_create_perms() function to set the create_perms after
ldb_init() and before ldb_connect()

metze
(This used to be commit dd9d469eef337954b6aee4c86ac0691f52812456)
2007-10-10 12:15:20 -05:00
Stefan Metzmacher
354ddf6c57 r19179: remove difference with samba4
metze
(This used to be commit e97e1ffea8e124c8001cf33ecac7500ae875f42f)
2007-10-10 12:15:20 -05:00
Stefan Metzmacher
ebc2f440e7 r19177: merge from samba4:
fix the standalone build of socket_wrapper by not using
samba's DLIST_ macros

metze
(This used to be commit bc7b2e8db8fb34d6f321cd6b13b74e58945d7124)
2007-10-10 12:15:19 -05:00
Stefan Metzmacher
e4e3dc064d r19172: merge from samba4:
change the socket wrapper license to
what heimdal uses...

metze
(This used to be commit d19c19ae4be3f3ad349b72ba3181051bb4da335e)
2007-10-10 12:15:19 -05:00
Stefan Metzmacher
628fc4b53a r19163: pass always a mem_ctx to functions and a ldb_context where needed
It would be nice if someone can merge that to samba4,
otherwise I'll merge that to samba4 on monday

metze
(This used to be commit 6bc42f31ce294f2bd50ffbd536e1ee42607ef799)
2007-10-10 12:15:19 -05:00
Stefan Metzmacher
b61d1e665e r19145: talloc_reference() can fail!
metze
(This used to be commit e4f2183684da90a67bc6a635d008b72a6dd3d0dd)
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
a6e45f0da5 r19137: that looks nicer:-)
metze
(This used to be commit db40552d9471f4a8ce2c5c724319a4eb242ed24a)
2007-10-10 12:15:16 -05:00
Stefan Metzmacher
3652a2360f r19135: fix bugs...
- passing mem_ctx as ldb_context is a bad idea!
- naming a static function talloc_ is also bad and misleading

metze
(This used to be commit 0523ad249335c6094854bc9cefb46e2095f4c0ba)
2007-10-10 12:15:15 -05:00
Volker Lendecke
695c6fbe00 r19133: More C++ warnings -- Merge across?
(This used to be commit c879ed3d1edffeda629dc1e05031dca91c1a1e30)
2007-10-10 12:15:15 -05:00
Volker Lendecke
fd1cf23567 r19132: Fix some C++ warnings. Is there interest to have them in Samba4 as well?
I have some problems resolving the last 3 ones in attrib_handlers.c. In line
251 the function ldb_dn_explode_casefold is called with mem_ctx as the first
argument. Looking at ldb_dn_explode_casefold I see that the first argument it
expects is a struct ldb_context. I could certainly add a cast to (struct
ldb_context *) to that call, but I would assume that this is the wrong fix. Is
it possible that attrib_handlers.c:251 and :254 should have ldb and not
mem_ctx as the first argument?

Can anybody from Samba4 clarify this for me and apply the correct fix?

Thanks a lot.

Volker
(This used to be commit 26f2cb71ebf00b2c6f356da5f32384f7fa083521)
2007-10-10 12:15:15 -05:00
Stefan Metzmacher
d898cbce90 r19130: fix the logic for the AC_PROG_CC_C99 check
metze
(This used to be commit 21516dc5ac95e7e5d6a7d7f890d42742b36f2454)
2007-10-10 12:15:14 -05:00
Volker Lendecke
43141d64ca r19126: Fix some uninitialized variable warnings
(This used to be commit 90bfa3461038f5d179525dec0cf5b3f137e927e0)
2007-10-10 12:15:14 -05:00
Andrew Tridgell
803d33a326 r19125: merge from samba4
(This used to be commit 65e1500ae6b5ca6334a63f4a18272568202bc048)
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
a0a47d8149 r19124: merge from samba4:
pass LDFLAGS from configure to Makefile

metze
(This used to be commit 7ba9fddacb97153405bf0bec16b3a868e4e323e0)
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
1b80624c57 r19121: try to get rid of the difference between in system/iconv.h
between samba 3 and 4.

metze
(This used to be commit 04031a9fca037ad77cca0ba0da6801d5017521ba)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
b25c065786 r19102: fix typo, thanks derrell!
metze
(This used to be commit 0a516c3026114a32092f4a62fcbbfc4c410c0dea)
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
0a32e31cbe r19101: add sys_recv() wrapper
metze
(This used to be commit 2f146ec68344c4bc11e1a9d174bdf548e1a22d5a)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
f9449b752f r19099: merge socket wrapper changes from samba4
including SOCKET_WRAPPER_PCAP_FILE support

but I just noticed that samba don't use recv()/send()
on the socket, so the capture only contain connect()/close()

metze
(This used to be commit b894e33023738b5d6121c56e9c0b34b12f3e0005)
2007-10-10 12:15:12 -05:00
Stefan Metzmacher
5b77d0a856 r19085: merge from samba4:
- source and destination address handling
- tcp handling

metze
(This used to be commit 98154fd43350f3edae54423756620a48e089f96d)
2007-10-10 12:15:10 -05:00
Volker Lendecke
e28ae1f5fd r19080: Fix a potential NULL dereference
(This used to be commit 682b490c23bb88a1a570bd1fcb7d2b6aa778dd14)
2007-10-10 12:15:09 -05:00
Volker Lendecke
407873df53 r19079: talloc_array can fail
(This used to be commit 7b6738522a80740824f3b96e73e7c48a0623b1b1)
2007-10-10 12:15:09 -05:00