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
Jeremy Allison
9108f68df3
Being tpot's janitor again.... checking in things only checked into HEAD.
...
We are meant to be keeping 3.0 up to date...
Jeremy.
(This used to be commit a4c8c8f3b7
)
2002-11-07 07:08:04 +00:00
Gerald Carter
a834a73e34
sync'ing up for 3.0alpha20 release
...
(This used to be commit 65e7b5273b
)
2002-09-25 15:19:00 +00:00
Andrew Tridgell
e90b652848
updated the 3.0 branch from the head branch - ready for alpha18
...
(This used to be commit 03ac082dcb
)
2002-07-15 10:35:28 +00:00
Andrew Bartlett
f4f43fc940
more const
...
(This used to be commit f0b16b7b51
)
2002-03-02 09:15:56 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06
)
2002-01-30 06:08:46 +00:00
Andrew Bartlett
85c5b3c315
Give the main loop talloc context a name (using mbp's new talloc naming
...
system).
Andrew Bartlett
(This used to be commit f0c301a12e
)
2001-12-31 12:41:24 +00:00
Andrew Bartlett
d67041a532
Const religion for some of the RPC code.
...
(This used to be commit 64bf8f81c4
)
2001-12-05 00:22:24 +00:00
Jean-François Micouleau
b03e162127
samr_querydom_info level 1: found the meaning of the unknow fields. And
...
discovered that our reply is short by 4 bytes since day 1 of this code.
Added a decode function to rpcclient too.
splitted the STRING2 fields filling while trying to understand the win9x
userlist bug. (didn't fix the bug, but the reply looks closer to NT).
J.F.
(This used to be commit bfbe7f377e
)
2001-11-21 23:25:30 +00:00
Jeremy Allison
cb4b13a82b
Fixed the bug with member servers in a Samba PDC hosted domain not allowing
...
other access. Problem was max time was being set to 0xffffffff, instead of
0x7fffffff.
Jeremy.
(This used to be commit 94403d8417
)
2001-10-02 06:57:18 +00:00
Tim Potter
dc1fc3ee8e
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
...
(This used to be commit 2d0922b0ea
)
2001-10-02 04:29:50 +00:00