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

17666 Commits

Author SHA1 Message Date
Stefan Metzmacher
6aed2cd44e r18958: merge from samba4:
we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze
(This used to be commit d8275347606cd183caea69837fd765b96d4bab71)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
3da1690692 r18956: fix -pie and -fPIE together with configure -C
metze
(This used to be commit aafb86f6eb8661a1905a0ca4acda6673e9df51d5)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
d18ec9fac8 r18955: fix the build on solaris where unistd.h needs to be includes before
socket_wrapper defined ioctl swrap_ioctl

metze
(This used to be commit e43d1f6c17c8a44c989a57309b8378c1dd8f591c)
2007-10-10 12:14:50 -05:00
Gerald Carter
2279881bd4 r18954: Fix segv in QueryValue and Enumvalue. regedit.exe now
is happy again when creating keys and values
(This used to be commit 6e9e9f8facbdd694041709e1fc6a8f824ac8c119)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
cb99b612f8 r18953: sync socket_wrapper with samba4
metze
(This used to be commit 77b0af43f0f7e52b9040a1d3edfb556a232e64f1)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
cf5ab86a65 r18952: fix compiler warning (merge from samba4)
metze
(This used to be commit 4cd59d47c8d21685cfab45f4bcfc005c5d7cf79e)
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
dc030ce813 r18951: socket_wrapper has only 16 interfaces anymore...
metze
(This used to be commit a1966a9c073b597407ee925d1fda53dfa7453e98)
2007-10-10 12:14:49 -05:00
Stefan Metzmacher
93dc24eed9 r18950: I can't see where stropts.h and poll.h are needed
(I just removed the only reference to poll() in my last commit)

they were added in this commit, without make usage of them.

http://cvs.samba.org/cgi-bin/cvsweb/samba/source/configure.in.diff?r1=1.21&r2=1.22&f=h
http://cvs.samba.org/cgi-bin/cvsweb/samba/source/include/includes.h.diff?r1=1.105&r2=1.106&f=h

metze
(This used to be commit b852cf46c213b2e059a66cbe0d058ed063c37957)
2007-10-10 12:14:49 -05:00
Stefan Metzmacher
1888bb4fd9 r18949: use sys_usleep()
metze
(This used to be commit f9944941415b88559b67f6c7e780e364d5030240)
2007-10-10 12:14:49 -05:00
Günther Deschner
296b450f16 r18941: Minor cleanup in ads_parse_gpo().
Guenther
(This used to be commit 7579a91f81a43f570987fecca03c19f559887685)
2007-10-10 12:14:49 -05:00
Gerald Carter
d89a951517 r18940: Fix a few memory corruption bugs to make CreateKey() and DeleteKey() work
(This used to be commit e7e3e35c1def29430dc69d3311d5779575659ec5)
2007-10-10 12:14:49 -05:00
Andrew Tridgell
0cc2cee8d5 r18939: don't rely on the umask being right in ldb creation. Both Samba3 and
Samba4 smbd force the umask to 0, which meant we ended up with ldb
being world writable.

This isn't really an ideal fix, as it means ldb no longer honors umask
(as it should do, like all good libraries).

Unfortunately the 'proper' fix is too complex for now

this also merges a tiny code style fix from s4 to s3
(This used to be commit dd8ec8725f168f4286bbfc00d69cd56089ba3543)
2007-10-10 12:14:49 -05:00
Andrew Tridgell
afbc8a1faa r18938: fixed a group map bug reported by Jerry. The caller in mapping.c
relies on appending to this list. Unfortunately this can't be tested
using 'net groupmap'
(This used to be commit a8d398edf0ce08b2a53342e80c2017f1805908d5)
2007-10-10 12:14:48 -05:00
Gerald Carter
6a492e7122 r18937: Protect against segc in the idmap winbindd child process
(the domain is NULL here)
(This used to be commit a36de910d289363a5374fe063099311712d4e57a)
2007-10-10 12:14:48 -05:00
Günther Deschner
efffbc9036 r18935: Make "netshareenum" work again. There is most probably a better way to
do this... Any pointers?

Guenther
(This used to be commit 1f09e54fec9ac2e6173272d83d8c96d33636f1a0)
2007-10-10 12:14:48 -05:00
Gerald Carter
c67b555874 r18934: fix a segv in CreateKey()
(This used to be commit 92f22f67ede2ae8c23ee86021a5709d2e27d1dec)
2007-10-10 12:14:48 -05:00
Gerald Carter
855d12e567 r18932: In RegEnumvalue() and RegQueryValue(), the output buffer
size must match the real value of the data.
(This used to be commit e11108024a049f6a62d6c170296ee9877200a0c0)
2007-10-10 12:14:48 -05:00
Gerald Carter
49c73b5734 r18931: * Fix the IDL for QueryInfoKey. teh Classname in an
in,out ref pointer
* Clarify variable names in EnumValue IDL
* Fix server code for _winreg_EnumValue() and _winreg_QueryInfoKe()
(This used to be commit f520a9d0fba4cc3cfbda40dd68cb63c4c3c4ed30)
2007-10-10 12:14:48 -05:00
Gerald Carter
5935ea9da1 r18929: * Clarify QueryValue IDL and regenerate code
* Fix server _winreg_Query_Value() implementation so that
  usrmgr.exe starts now
(This used to be commit 435d7bfc37f430c462fcb53bf3a82fcddc809771)
2007-10-10 12:14:47 -05:00
Günther Deschner
16fecf7875 r18928: Some more const for iniparser.
Guenther
(This used to be commit ac3de529b311e818805b2f5a6ab652ab7fa3ee2d)
2007-10-10 12:14:47 -05:00
Gerald Carter
b0e29c79e7 r18927: Fix build. *please* compile the code at least once before checking it in.
(This used to be commit 4e464a2c35984752244f30ce9bb259eb16149e3f)
2007-10-10 12:14:47 -05:00
Günther Deschner
9d931a8421 r18926: Add some useful macros.
Guenther
(This used to be commit 9be5cb27e4da061ddf03ae6321c29890f6cf585b)
2007-10-10 12:14:47 -05:00
Günther Deschner
f1c2398723 r18924: Minor cleanup.
Guenther
(This used to be commit 143a48927b0e21d31a9f54cfc720b5d04a4b6751)
2007-10-10 12:14:47 -05:00
Günther Deschner
f7633eca18 r18923: Fix more memleaks.
Guenther
(This used to be commit ecb632a1534d5178602b9143bb17712559fe2e4f)
2007-10-10 12:14:47 -05:00
Günther Deschner
bf6962b5e8 r18922: Apply some const.
Guenther
(This used to be commit d87994788b2c91992d804d8c2465adefc83451b1)
2007-10-10 12:14:47 -05:00
Günther Deschner
bd2f02e696 r18921: Fix some c++ warnings.
Guenther
(This used to be commit b1bc7fd347978620eb8bc79dc253fab5b207a40b)
2007-10-10 12:14:46 -05:00
Stefan Metzmacher
52d45a51d3 r18920: merge socket_wrapper changes from samba4
metze
(This used to be commit b36d47c698b01a577af04205c9bdf0d588bd20e6)
2007-10-10 12:14:46 -05:00
Gerald Carter
bbaa0b178d 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
(This used to be commit cbfe1a4b498593a48fc34f584754ed4a9ef72cc5)
2007-10-10 12:14:46 -05:00
Andrew Tridgell
cda3a18f23 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 :-)
(This used to be commit 7f1f5d6056da8ac55a41db54b68bf25967f81aaf)
2007-10-10 12:14:46 -05:00
Andrew Tridgell
45c0a4874b 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 :-)
(This used to be commit 9e66df05a4df3d3c7b02048d80e2661103d1d40a)
2007-10-10 12:14:45 -05:00
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