1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

19152 Commits

Author SHA1 Message Date
Volker Lendecke
db00570535 r14099: Fix Coverity # 113 2007-10-10 11:11:12 -05:00
Volker Lendecke
121a350b92 r14098: Fix Coverity # 112 2007-10-10 11:11:11 -05:00
Jeremy Allison
0026fb0b28 r14092: Fix coverity bug #22. Ensure no possible null
deref.
Jeremy.
2007-10-10 11:11:11 -05:00
Jeremy Allison
76c4d5212b r14090: Fix coverity bug #21, don't deref potential null.
Jeremy.
2007-10-10 11:11:11 -05:00
Jeremy Allison
7f3ace5481 r14088: Fix Coverity bug #20. Don't deref possible null.
Jeremy.
2007-10-10 11:11:11 -05:00
Jeremy Allison
88dd4ab481 r14087: Protect against domain being NULL. Finish Coverity #152.
Jeremy.
2007-10-10 11:11:11 -05:00
Jim McDonough
d8e69c18e0 r14085: Fix coverity bg #152, uninit'ed var. 2007-10-10 11:11:11 -05:00
Jeremy Allison
fc8e1e5c02 r14083: Fix coverity bug #19. Don't deref possible NULL.
Jeremy.
2007-10-10 11:11:11 -05:00
Jeremy Allison
617c5805e5 r14080: Fix Coverity bug #18. Ensure non-null before ref.
Jeremy.
2007-10-10 11:11:10 -05:00
Gerald Carter
a40a7f5ea1 r14077: fix build breakage 2007-10-10 11:11:10 -05:00
Günther Deschner
200d456661 r14076: When the backends trusted_domains call comes back with no trusts the
NTSTATUS code will be NT_STATUS_NO_MORE_ENTRIES. In that case store
NT_STATUS_OK in the centry so that the entry does not automatically
deleted upon startup or invalidated upon next query.

Guenther
2007-10-10 11:11:10 -05:00
Gerald Carter
71d960250d r14075: * add support for long variable names in smb.conf in the form of %(....)
* add support for %(DomainSID)
* replace standard_sub_XXX() functions with wrappers around their
  alloc_sub_XXX() counterparts
* add support for using SIDs in read list, et. al. (anything that
  is checked by nt_token_contains_name_in_list())
2007-10-10 11:11:09 -05:00
Günther Deschner
4a1a3c4808 r14074: Some cleanup; there is no point in declaring and mapping
KRB5KRB_ERR_RESPONSE_TOO_BIG when the krb5 library does not know about
this.

Guenther
2007-10-10 11:11:09 -05:00
Günther Deschner
0167b6cca8 r14062: Forgot those in the uint16/32 acb_info switch.
Guenther
2007-10-10 11:11:09 -05:00
Günther Deschner
7616317f9f r14061: Some debugging for the new LOGON/ACB-flags.
Guenther
2007-10-10 11:11:09 -05:00
Günther Deschner
d236caac21 r14060: Only set the last rebind timestamp when we did rebind after a non-read
LDAP operation. That way we avoid the replication sleep after a simple
redirected search operation

Guenther
2007-10-10 11:11:09 -05:00
Lars Müller
b974b1879c r14057: Remove generated script/gen-8bit-gap.sh while calling rule realclean.
Ignore script/gen-8bit-gap.sh in branches/SAMBA_3_0/source/script as we
already do in trunk.
2007-10-10 11:11:09 -05:00
Lars Müller
7773b8c9e0 r14056: Also install the mount.smbfs sym link to rootsbindir. Therfore we have
to substitute rootsbindir in {,un}installbin.sh.in.

Pass $prefix as third arg to installbin/ uninstallbin as rootsbindir by
default is $prefix/sbin.
2007-10-10 11:11:09 -05:00
Jim McDonough
2690f015be r14053: Implement Simo's suggestion: don't use /dev/null for a 'bad' path for
users/workstations
2007-10-10 11:11:08 -05:00
Lars Müller
730d5ec229 r14052: Remove BASEDIR use in the Makefile. BASEDIR=prefix=@prefix@ till now.
I suggest to stay with ^BASEDIR= @prefix@$ for at least the next release
to give external projects - like samba-vscan project - time to adopt
this change.

BASEDIR is non of the default autoconf variables.  prefix is.

Jerry1: If possible please announce this with the next release.  I'll
self reply to technical.

Jerry2: This does not break your makepkg stuff as you set BASEDIR
_not_ from the Makefile.
2007-10-10 11:11:08 -05:00
Günther Deschner
170038f4cd r14051: Add remaining (documented) userAccountControl bits, thanks to Luke
Howard for pointing this out.

Guenther
2007-10-10 11:11:08 -05:00
Günther Deschner
5fa3f26b4c r14050: Add the ACB_PWEXPIRED bit abartlet has found.
Guenther
2007-10-10 11:11:08 -05:00
Günther Deschner
0b00424e07 r14049: Found some more MSV1_0 bits and their behaviour;
just for documentation purpose.

Guenther
2007-10-10 11:11:08 -05:00
Jeremy Allison
fbf9db6624 r14047: Coverity fix #17. Ensure srv_name and info cannot
be zero before deref.
Jeremy.
2007-10-10 11:11:08 -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
f74993e65c r14043: After discussion with Jerry revert part of the
Coverity null-ref patch - put prs_rpcbuffer_p
back to the way it was (with an additional
coverity paranoia check) - move the real test
into rpcbuf_alloc_size instead.
Jeremy.
2007-10-10 11:11:07 -05:00
Gerald Carter
4e5df4cb64 r14042: check that create_local_nt_token() succeeds before dereferncing the NT_USER_TOKEN* 2007-10-10 11:11:07 -05:00
Volker Lendecke
c1ea48949d r14036: Ok, the last one generated a const warning. Also fix Coverity # 119.
net rpc vampire is ugly....

Volker
2007-10-10 11:11:07 -05:00
Volker Lendecke
9fe21fd032 r14035: Fix Coverity bug # 124 2007-10-10 11:11:07 -05:00
Volker Lendecke
e6e29937e8 r14034: Fix Coverity id # 125.
Jeremy, you might want to take a look here.

Volker
2007-10-10 11:11:07 -05:00
Volker Lendecke
bb6d678575 r14033: Fix Coverity bug # 126 2007-10-10 11:11:06 -05:00
Jeremy Allison
daa919a94b r14031: Coverity bug CID #110. Free all resources correctly
on pipe initialization failure.
Jeremy.
2007-10-10 11:11:06 -05:00
Jeremy Allison
b51edde4d6 r14030: Fix resource leak in error codepath. Coverity CID #64.
Jeremy.
2007-10-10 11:11:06 -05:00
Jeremy Allison
3a1c4cb93d r14026: Fix resource leak on error exit. Coverity CID #65.
Jeremy.
2007-10-10 11:11:06 -05:00
Volker Lendecke
29b4b986cc r14025: Remove unused code. When we want to export samsync, we better first port
pidl...

Fix Coverity # 15.

Volker
2007-10-10 11:11:06 -05:00
Jeremy Allison
9c55bf74ca r14023: My last bug fix still left a potential null deref.
C- "must try harder" :-).
Jeremy.
2007-10-10 11:11:06 -05:00
Volker Lendecke
b824245c4e r14022: Fix Coverity bug # 92 2007-10-10 11:11:06 -05:00
Jeremy Allison
b9980bddf5 r14020: Coverity bug CID #66. Missing free on error exit.
Jeremy.
2007-10-10 11:11:05 -05:00
Jeremy Allison
94e869d9c6 r14018: Coverity error CID #27. Missing return -1 on error condition.
Jeremy.
2007-10-10 11:11:05 -05:00
Volker Lendecke
4a75edf9de r14017: Okay, okay, I have turned a double-free into dead code :-)
Fix Coverity # 214.

Volker
2007-10-10 11:11:05 -05:00
Jeremy Allison
43a0e869f2 r14014: Coverity paranoia. Shut it up by making the guarentee
in the code explicit - but this was a false positive (CID #16).
Jeremy.
2007-10-10 11:11:05 -05:00
Jeremy Allison
af0ade470f r14009: Remove last const warning (have to use CONST_DISCARD).
Jeremy.
2007-10-10 11:11:05 -05:00
Jeremy Allison
ccb2a52e29 r14007: Coverity bug CID #197. Don't compare against 0, we
mean the ttl instead.
Jeremy.
2007-10-10 11:11:04 -05:00
Jeremy Allison
ead13ca522 r14006: Fix a couple of irritating warnings.
Jeremy.
2007-10-10 11:11:04 -05:00
Jeremy Allison
f9a75d7654 r14003: Clarify code that lead to Coverity report #13.
Not a bug, but better to remove false positives.
Jeremy.
2007-10-10 11:11:04 -05:00
Jeremy Allison
7c6e274cd5 r14002: Quick fix for Coverity CID #12.
Jeremy
2007-10-10 11:11:04 -05:00
Jeremy Allison
b9de6c9269 r13999: Quick fix for Coverity bug #11.
Jeremy.
2007-10-10 11:11:04 -05:00
Lars Müller
75c95d149a r13997: Prefix $prefix by default even to rootsbindir as we else run in trouble
if we use ./configure --prefix=dir && make install

Vendors might use ./configure --with-rootsbindir=/sbin && make
DESTDIR=/var/tmp/samba/ install if they use a buildroot.

Thanks to Björn Jacke for pointing me at the stderr output of the build
farm.
2007-10-10 11:11:04 -05:00
Jeremy Allison
d993797191 r13994: Belt and braces - ensure RPC_BUFFER is valid.
Jeremy.
2007-10-10 11:11:03 -05:00
Volker Lendecke
6dc79e6b12 r13991: Fix Coverity bug # 69 2007-10-10 11:11:03 -05:00