James Peach
b1ce226af8
r23510: Tidy calls to smb_panic by removing trailing newlines. Print the
...
failed expression in SMB_ASSERT.
(This used to be commit 171dc060e2
)
2007-10-10 12:23:23 -05:00
Volker Lendecke
2945490a0f
r23091: Add rpccli_netlogon_sam_network_logon_ex, fix its parsing. This does not
...
use the credential chain and only works over netlogon, but it would
allow multiple outstanding auth requests for a single workstation
account.
(This used to be commit 123290d094
)
2007-10-10 12:22:44 -05:00
Jeremy Allison
92999cee8d
r22676: Fix zero alloc with create_rpc_blob().
...
Jeremy.
(This used to be commit c73963a60a
)
2007-10-10 12:19:54 -05:00
Jeremy Allison
61f95f1f97
r22585: Get us into a consistent state with TALLOC_ZERO_ARRAY also.
...
Jeremy.
(This used to be commit c622fb8536
)
2007-10-10 12:19:47 -05:00
Jeremy Allison
12ba88574b
r22542: Move over to using the _strict varients of the talloc
...
calls. No functional changes. Looks bigger than it is :-).
Jeremy.
(This used to be commit f6fa3080fe
)
2007-10-10 12:19:44 -05:00
Jelmer Vernooij
7ba2554d88
r18802: Use the pidl-generated code for the srvsvc interface, both client and server code.
...
This has had some basic testing. I'll do more during the next couple of days and hopefully also
make RPC-SRVSVC from Samba4 pass against it.
(This used to be commit ef10672399
)
2007-10-10 12:00:59 -05:00
Jelmer Vernooij
4e7d11449a
r18654: Rename "struct uuid" => "struct GUID" for consistency.
...
(This used to be commit 5de76767e8
)
2007-10-10 11:52:19 -05:00
Volker Lendecke
b5fabe4cf8
r18598: Add marshalling support to smb_io_time.
...
Volker
(This used to be commit 2ab0ab3262
)
2007-10-10 11:51:59 -05:00
Gerald Carter
5e1146ab58
r18404: * swap from POLICY_HND to the struct policy_handle from ndr/misc.h
...
* move OUR_HANDLE macro to include/rpc_misc.h
(This used to be commit 2b37079af2
)
2007-10-10 11:51:22 -05:00
Jelmer Vernooij
995205fc60
r18188: merge 3.0-libndr branch
...
(This used to be commit 1115745cae
)
2007-10-10 11:43:56 -05:00
Volker Lendecke
e23781b3b3
r17316: More C++ warnings -- 456 left
...
(This used to be commit 1e4ee728df
)
2007-10-10 11:38:25 -05:00
Volker Lendecke
a70bbb921a
r16362: That's the best way to fix a Klocwork bug: Remove the (unused...;-) code
...
altogether. This was essentially a second implementation if string_to_sid.
Klocwork ID 1038
Volker
(This used to be commit e35f901067
)
2007-10-10 11:18:49 -05:00
Jeremy Allison
4ba1a36d4c
r16299: Fix another "dereferencing type-punned pointer will break
...
strict-aliasing rules" gcc4 warning.
Jeremy.
(This used to be commit ee77dde9b6
)
2007-10-10 11:17:32 -05:00
Jeremy Allison
621f91c693
r14770: Fix coverity bug #257 . Possible null deref.
...
Jeremy.
(This used to be commit 4c126ef65d
)
2007-10-10 11:15:47 -05:00
Jeremy Allison
e6676a9a69
r14387: Try and fix the coverity issues ( #53 , #54 ) with negative
...
sink by ensuring all uses of rpcstr_push are consistent
with a size_t dest size arg.
Jeremy.
(This used to be commit f65d7afe19
)
2007-10-10 11:15:27 -05:00
Jeremy Allison
e4c733f4ce
r14219: Fix coverity #135 . Don't deref a ptr if it can be NULL.
...
Jeremy.
(This used to be commit 666d427c6e
)
2007-10-10 11:15:17 -05:00
Jeremy Allison
d8ba987bfe
r14045: Coverity fix #14 . Ensure if len is set buf != NULL.
...
Jeremy.
(This used to be commit fb1a607332
)
2007-10-10 11:11:07 -05:00
Jeremy Allison
a7552e677e
r13802: I *knew* ASU on sparc had to be good for *something* ! :-).
...
Fix incorrect size understanding of sid name type (yes it's
already correct in the Samba4 IDL :-).
Jeremy.
(This used to be commit 305a774d28
)
2007-10-10 11:10:54 -05:00
Gerald Carter
fb5362c069
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
...
macro which sets the freed pointer to NULL.
(This used to be commit b65be8874a
)
2007-10-10 11:10:14 -05:00
Jeremy Allison
e22d38bdde
r13455: Prepare to add lookupnames2.
...
Jeremy.
(This used to be commit 2274709587
)
2007-10-10 11:10:04 -05:00
Jeremy Allison
e493d32912
r13439: Fix NET_SAM_LOGON_EX.
...
Jeremy.
(This used to be commit 9437ffc84f
)
2007-10-10 11:10:02 -05:00
Gerald Carter
0bf72b6e33
r10781: merging eventlog and svcctl code from trunk
...
(This used to be commit f10aa9fb84
)
2007-10-10 11:04:53 -05:00
Gerald Carter
54abd2aa66
r10656: BIG merge from trunk. Features not copied over
...
* \PIPE\unixinfo
* winbindd's {group,alias}membership new functions
* winbindd's lookupsids() functionality
* swat (trunk changes to be reverted as per discussion with Deryck)
(This used to be commit 939c3cb5d7
)
2007-10-10 11:04:48 -05:00
Jeremy Allison
be964085d2
r8553: Another compile warning fix from jason@ncac.gwu.edu.
...
Jeremy.
(This used to be commit 99937d99b6
)
2007-10-10 11:00:08 -05:00
Gerald Carter
d559edcce2
r7563: svcctl patches from Marcin; have cleaned up formating and am checking the code in to snapshot it before I start changing more things
...
(This used to be commit 560ce111ce
)
2007-10-10 10:57:14 -05:00
Gerald Carter
f0c650a382
r6942: * merging the registry changes back to the 3.0 tree
...
* removing the testprns tool
(This used to be commit 81ffb0dbbb
)
2007-10-10 10:56:57 -05:00
Gerald Carter
466a825ce7
r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CREATE_VALE -> REG_SET_VALUE
...
(This used to be commit 28d433351c
)
2007-10-10 10:56:30 -05:00
Gerald Carter
b137b7cc47
r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
...
Tested client and server code.
(This used to be commit efb3ac4c69
)
2007-10-10 10:56:30 -05:00
Gerald Carter
0aa89db947
r6071: * clean up UNISTR2_ARRAY ( really just an array of UNISTR4 + count )
...
* add some backwards compatibility to 'net rpc rights list'
* verify privilege name in 'net rpc rights privileges <name>' in order
to give back better error messages.
(This used to be commit 0e29dc8aa3
)
2007-10-10 10:56:20 -05:00
Gerald Carter
5d1cb8e79e
r6014: rather large change set....
...
pulling back all recent rpc changes from trunk into
3.0. I've tested a compile and so don't think I've missed
any files. But if so, just mail me and I'll clean backup
in a couple of hours.
Changes include \winreg, \eventlog, \svcctl, and
general parse_misc.c updates.
I am planning on bracketing the event code with an
#ifdef ENABLE_EVENTLOG until I finish merging Marcin's
changes (very soon).
(This used to be commit 4e0ac63c36
)
2007-10-10 10:56:15 -05:00
Gerald Carter
61dfab9f70
r5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
...
(This used to be commit 25121547ca
)
2007-10-10 10:56:01 -05:00
Gerald Carter
08a9d98cde
r4668: allow the caller to invoke init_unistr2() with a NULL buffer to match previous behavior; more checks to come tomorrow
...
(This used to be commit 9a29bef056
)
2007-10-10 10:53:51 -05:00
Jeremy Allison
07fdfa2ce9
r4601: Removed any use of the MAX_XXX_STR style definitions. A little larger
...
change than I'd hoped for due to formating changes to tidy up code.
Jeremy.
(This used to be commit a348f9221a
)
2007-10-10 10:53:49 -05:00
Günther Deschner
111f62c00c
r4287: Vampire SAM_DELTA_DOMAIN_INFO.
...
Based on samba4-idl. The decoding of account-lockout-string is somewhat
experimental though.
Guenther
(This used to be commit 721bf50d74
)
2007-10-10 10:53:41 -05:00
Jeremy Allison
acf9d61421
r4088: Get medieval on our ass about malloc.... :-). Take control of all our allocation
...
functions so we can funnel through some well known functions. Should help greatly with
malloc checking.
HEAD patch to follow.
Jeremy.
(This used to be commit 620f2e608f
)
2007-10-10 10:53:32 -05:00
Jeremy Allison
b9fcb5b961
r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.
...
Use correct enum type for comparisons.
Jeremy.
(This used to be commit b926480d05
)
2007-10-10 10:53:27 -05:00
Gerald Carter
8ad3d8c9b0
r196: merging struct uuid from trunk
...
(This used to be commit 911a28361b
)
2007-10-10 10:51:13 -05:00
Andrew Bartlett
d198c55877
Make more functions static, and remove duplication in the use of functions
...
in lib/smbpasswd.c that were exact duplicates of functions in passdb/passdb.c
(These should perhaps be pulled back out to smbpasswd.c, but that can occour
later).
Andrew Bartlett
(This used to be commit fcdc5efb1e
)
2004-02-08 08:38:42 +00:00
Gerald Carter
ae8d35b2a2
Fix UNISTR2 length bug in LsaQueryInfo(3) that cause SID resolution to fail on local files on on domain members; bug 875
...
(This used to be commit c6594e3557
)
2003-12-10 21:13:44 +00:00
Jeremy Allison
e0fd9d28e9
Fix from Andrew Bartlett to fix up the munged-dial problem.
...
Jeremy.
(This used to be commit 703b1b76e2
)
2003-11-17 22:07:47 +00:00
Gerald Carter
b64c6355b0
fix crash bug due to empyrt munged dial string; patch from metze
...
(This used to be commit ccd5665a65
)
2003-11-11 19:22:00 +00:00
Jeremy Allison
5cfe36d09d
Handle munged dial string. Patch from Aur?lien Degr?mont <adegremont@idealx.com>with memory leak fixes by me.
...
Jeremy.
(This used to be commit e591854eda
)
2003-11-07 18:32:23 +00:00
Jeremy Allison
d3b9384308
Fix for #480 . Change the interface for init_unistr2 to not take a length
...
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string.
This is not the case. Count it after conversion.
Jeremy.
(This used to be commit f82c273a42
)
2003-09-25 21:26:16 +00:00
John Terpstra
b311be4a01
Metze's patches:
...
here's a small patch which renames the symbol 'log' to some better names
to avoid compiler warnings about shodow global var 'log'
in proto.h
we now have a GLOBAL_SECTION_SNUM -1
so we should use it in swat too:-)
(This used to be commit a4733a0748
)
2003-05-26 16:54:39 +00:00
Andrew Bartlett
e88eab35bc
Merge from HEAD:
...
signed/unsigned (mostly i counters)
a little bit of const.
Andrew Bartlett
(This used to be commit 50f0ca752e
)
2003-03-17 23:04:03 +00:00
Jeremy Allison
734c6d8a51
Merging tridge's privillage client changes from HEAD.
...
Jeremy.
(This used to be commit 30a33920b4
)
2003-01-28 21:09:56 +00:00
Gerald Carter
4242eda183
merging some rpcclient and net functionality from HEAD
...
(This used to be commit 7a4c874842
)
2003-01-15 17:22:48 +00:00
Andrew Bartlett
634c54310c
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
(This used to be commit 3a7458f947
)
2003-01-03 08:28:12 +00:00
Jeremy Allison
ef8bd7c4f7
Forward port the change to talloc_init() to make all talloc contexts
...
named. Ensure we can query them.
Jeremy.
(This used to be commit 09a218a9f6
)
2002-12-20 20:21:31 +00:00
Jeremy Allison
2f194322d4
Removed global_myworkgroup, global_myname, global_myscope. Added liberal
...
dashes of const. This is a rather large check-in, some things may break.
It does compile though :-).
Jeremy.
(This used to be commit f755711df8
)
2002-11-12 23:20:50 +00:00