Volker Lendecke
e35f901067
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
2007-10-10 11:18:49 -05:00
Jeremy Allison
ee77dde9b6
r16299: Fix another "dereferencing type-punned pointer will break
...
strict-aliasing rules" gcc4 warning.
Jeremy.
2007-10-10 11:17:32 -05:00
Jeremy Allison
4c126ef65d
r14770: Fix coverity bug #257 . Possible null deref.
...
Jeremy.
2007-10-10 11:15:47 -05:00
Jeremy Allison
f65d7afe19
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.
2007-10-10 11:15:27 -05:00
Jeremy Allison
666d427c6e
r14219: Fix coverity #135 . Don't deref a ptr if it can be NULL.
...
Jeremy.
2007-10-10 11:15:17 -05:00
Jeremy Allison
fb1a607332
r14045: Coverity fix #14 . Ensure if len is set buf != NULL.
...
Jeremy.
2007-10-10 11:11:07 -05:00
Jeremy Allison
305a774d28
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.
2007-10-10 11:10:54 -05:00
Gerald Carter
b65be8874a
r13571: Replace all calls to talloc_free() with thye TALLOC_FREE()
...
macro which sets the freed pointer to NULL.
2007-10-10 11:10:14 -05:00
Jeremy Allison
2274709587
r13455: Prepare to add lookupnames2.
...
Jeremy.
2007-10-10 11:10:04 -05:00
Jeremy Allison
9437ffc84f
r13439: Fix NET_SAM_LOGON_EX.
...
Jeremy.
2007-10-10 11:10:02 -05:00
Gerald Carter
f10aa9fb84
r10781: merging eventlog and svcctl code from trunk
2007-10-10 11:04:53 -05:00
Gerald Carter
939c3cb5d7
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)
2007-10-10 11:04:48 -05:00
Jeremy Allison
99937d99b6
r8553: Another compile warning fix from jason@ncac.gwu.edu.
...
Jeremy.
2007-10-10 11:00:08 -05:00
Gerald Carter
560ce111ce
r7563: svcctl patches from Marcin; have cleaned up formating and am checking the code in to snapshot it before I start changing more things
2007-10-10 10:57:14 -05:00
Gerald Carter
81ffb0dbbb
r6942: * merging the registry changes back to the 3.0 tree
...
* removing the testprns tool
2007-10-10 10:56:57 -05:00
Gerald Carter
28d433351c
r6232: more cleanups; remove BUFFER3; rename BUFFER4 -> RPC_DATA_BLOB; rename REG_CREATE_VALE -> REG_SET_VALUE
2007-10-10 10:56:30 -05:00
Gerald Carter
efb3ac4c69
r6228: remove BUFHDR2 and clean up LsaEnumTrustedDomains()
...
Tested client and server code.
2007-10-10 10:56:30 -05:00
Gerald Carter
0e29dc8aa3
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.
2007-10-10 10:56:20 -05:00
Gerald Carter
4e0ac63c36
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).
2007-10-10 10:56:15 -05:00
Gerald Carter
25121547ca
r5805: merging spoolss parsing changes from trunk and cleaning up resulting segvs
2007-10-10 10:56:01 -05:00
Gerald Carter
9a29bef056
r4668: allow the caller to invoke init_unistr2() with a NULL buffer to match previous behavior; more checks to come tomorrow
2007-10-10 10:53:51 -05:00
Jeremy Allison
a348f9221a
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.
2007-10-10 10:53:49 -05:00
Günther Deschner
721bf50d74
r4287: Vampire SAM_DELTA_DOMAIN_INFO.
...
Based on samba4-idl. The decoding of account-lockout-string is somewhat
experimental though.
Guenther
2007-10-10 10:53:41 -05:00
Jeremy Allison
620f2e608f
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.
2007-10-10 10:53:32 -05:00
Jeremy Allison
b926480d05
r4005: Fix for bug #2071 reported by Jason Mader <jason@ncac.gwu.edu>.
...
Use correct enum type for comparisons.
Jeremy.
2007-10-10 10:53:27 -05:00
Gerald Carter
911a28361b
r196: merging struct uuid from trunk
2007-10-10 10:51:13 -05:00
Andrew Bartlett
fcdc5efb1e
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
-
Gerald Carter
c6594e3557
Fix UNISTR2 length bug in LsaQueryInfo(3) that cause SID resolution to fail on local files on on domain members; bug 875
-
Jeremy Allison
703b1b76e2
Fix from Andrew Bartlett to fix up the munged-dial problem.
...
Jeremy.
-
Gerald Carter
ccd5665a65
fix crash bug due to empyrt munged dial string; patch from metze
-
Jeremy Allison
e591854eda
Handle munged dial string. Patch from Aur?lien Degr?mont <adegremont@idealx.com>with memory leak fixes by me.
...
Jeremy.
-
Jeremy Allison
f82c273a42
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.
-
John Terpstra
a4733a0748
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:-)
-
Andrew Bartlett
50f0ca752e
Merge from HEAD:
...
signed/unsigned (mostly i counters)
a little bit of const.
Andrew Bartlett
-
Jeremy Allison
30a33920b4
Merging tridge's privillage client changes from HEAD.
...
Jeremy.
-
Gerald Carter
7a4c874842
merging some rpcclient and net functionality from HEAD
-
Andrew Bartlett
3a7458f947
Merge from HEAD - make Samba compile with -Wwrite-strings without additional
...
warnings. (Adds a lot of const).
Andrew Bartlett
-
Jeremy Allison
09a218a9f6
Forward port the change to talloc_init() to make all talloc contexts
...
named. Ensure we can query them.
Jeremy.
-
Jeremy Allison
f755711df8
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.
-
Jeremy Allison
a4c8c8f3b7
Being tpot's janitor again.... checking in things only checked into HEAD.
...
We are meant to be keeping 3.0 up to date...
Jeremy.
-
Gerald Carter
65e7b5273b
sync'ing up for 3.0alpha20 release
-
Andrew Tridgell
03ac082dcb
updated the 3.0 branch from the head branch - ready for alpha18
-
Andrew Bartlett
f0b16b7b51
more const
-
Tim Potter
6a58c9bd06
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
-
Andrew Bartlett
f0c301a12e
Give the main loop talloc context a name (using mbp's new talloc naming
...
system).
Andrew Bartlett
-
Andrew Bartlett
64bf8f81c4
Const religion for some of the RPC code.
-
Jean-François Micouleau
bfbe7f377e
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.
-
Jeremy Allison
94403d8417
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.
-
Tim Potter
2d0922b0ea
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
-
Andrew Bartlett
af53e774d7
Fix up some compile issues. We can't have C99 comments and add a smattering
...
of const.
-