summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r17867: Fix null deref in error code path. Found by theJeremy Allison1-0/+1
Stanford checker. Jeremy. (This used to be commit 09652dc71ce13bd305e653557e43731378398dd6)
2007-10-10r17866: Fix possible null deref - found by Stanford checker.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 84e8cc0593c20b1262965a320d89b72a3dc9b402)
2007-10-10r17865: Fix what the Stanford checker reported as a possibleJeremy Allison1-1/+3
deref. I think this is a false positive, but it's an easy extra check to add here. Jeremy. (This used to be commit 7d3b11ab18e2c793d43b6eed1803f2183b7b2daa)
2007-10-10r17864: Fix possible null deref if client doesn't give usJeremy Allison1-1/+9
an answer record. Found by the Stanford checker. Jeremy. (This used to be commit 1ec77c50118de808f710b17f878b1e80d4e351d5)
2007-10-10r17863: Fix unneeded NULL check on pointer parameters causing theJeremy Allison1-7/+2
Stanford checker to flag null deref. Jeremy. (This used to be commit b7fc023e9025127855fab71002d556e5f84e00b4)
2007-10-10r17862: Fix possible NULL deref (like rev 17861) found by theJeremy Allison1-1/+3
Stanford group. Jeremy. (This used to be commit cfd39c2804df3f67637adf223542daa208c893c7)
2007-10-10r17861: Fix inconsistency found in checking for NULL in DLIST_REMOVEJeremy Allison1-1/+1
macro. Don't check for NULL if we would have already derefed. Jeremy. (This used to be commit 1cb379315a45a0c47feab0df1f07ec5d808a4259)
2007-10-10r17855: Fix the build on systems without LDAPVolker Lendecke1-0/+2
(This used to be commit 2e9f5c520a843ad22088388d155a172a63c140d5)
2007-10-10r17854: Steal the LDAP in NTSTATUS trick from Samba4Volker Lendecke4-16/+39
Thanks to Michael Adam <ma@sernet.de> Volker (This used to be commit 91878f9b6fbe5187fb7d0464008ea0abe7f11a73)
2007-10-10r17853: Fix an uninitialized variable (m_time2). Jeremy, please check.Volker Lendecke1-2/+3
Thanks, Volker (This used to be commit 389910b2d376bc5795b0afacb86e45d7a6987491)
2007-10-10r17852: Remove a pointless NULL assignmentVolker Lendecke1-1/+0
(This used to be commit 9f27824257924485a39bb60f00c9de02f869c4ff)
2007-10-10r17851: Fix a warning & attempt to fix the Tru64 buildVolker Lendecke2-1/+25
(This used to be commit b05cac3cb5b35fa305f3d881012cc8e7eca87bd8)
2007-10-10r17850: Another dummy checkin for the build farm to retryVolker Lendecke1-1/+1
(This used to be commit ac7087a6516fa7e0d10523a892acae852a80e29e)
2007-10-10r17847: Dummy commitVolker Lendecke1-1/+1
(This used to be commit cdcea36095a50a92ec1311979b8b2c572b971eaf)
2007-10-10r17845: Remove a Solaris warningVolker Lendecke1-1/+1
(This used to be commit ec42ec31c05afb785adbe3c14f903889178df184)
2007-10-10r17837: Split out the storing of memory cached credentialsJeremy Allison4-201/+422
from the krb5 ticket renewal code. This allows cached credentials to be stored for single sign-on via ntlm_auth for machines in a domain still using NTLM. Also (hopefully) fixes the reference counting problem with pam_logon/logoff so multiple logons/logoffs won't lose cached credentials. This compiles, but I'm intending to test it over the weekend so don't complain too much :-). I also want it in the tree so Coverity can scan it for errors. Guenther, check this over please - I ran through the architecture with Jerry and he's ok with it, but this is modifying your code a lot. Jeremy. (This used to be commit 679eeeb91155dad3942efde6ae9f8d81faf18c5b)
2007-10-10r17836: Don't create zombies in the children, thanks to Jeremy!Volker Lendecke1-0/+4
Volker (This used to be commit c0767c08d01a429e1abf7205c14acec5e103ca91)
2007-10-10r17835: Fix Coverity bugs 306, 309, 310.Volker Lendecke3-7/+2
Jeremy, you might want to look at the trans2 one. Volker (This used to be commit d727fc681c073a1b09accd31a07341b58e10eebb)
2007-10-10r17834: Another bug found by Volker's tests in the build farm !Jeremy Allison1-7/+1
Correctly map large nt timevals to TIME_T_MAX. Jeremy. (This used to be commit 63b13d28795bbce6d9fe9e0aa4f518ef94c44f18)
2007-10-10r17833: Next step to fix the build farm.Volker Lendecke1-0/+1
Jerry, why don't you include "includes.h"? Thanks, Volker (This used to be commit c02970c27251d7cd1f5a14a8ac7671d8e4325f5d)
2007-10-10r17832: Fix bug 4050Volker Lendecke1-3/+4
(This used to be commit 0504cf6d13c81d90a2457a01a78630d105af0ebc)
2007-10-10r17831: Attempt to fix the build farm: 0x7fffffffffffffff needs special ↵Volker Lendecke2-1/+7
casing too I think. This broke 'make test' because the newly created user was set to be kicked off Mi, 22 Jan 1975 23:55:33 CET (unix time 159663333) with the setuserinfo21 call. I'm not 100% sure that 0x7ff... means max time as I do it here, I vaguely remember it to mean "don't touch". Does anybody know that for sure? Jeremy, please check this. Thanks, Volker (This used to be commit 872d1299ebffb7b7d696013fc676820f1fa1777c)
2007-10-10r17818: Fixup uint64 time calc. NT time is a 64 bit number,Jeremy Allison1-3/+3
not high value seconds, low value 100ns units. Jeremy. (This used to be commit ead75870d5d3c690fabd131a9dd8776e854638dc)
2007-10-10r17817: Disable compilation of LIBNDR (it uses uint64_t).Jelmer Vernooij1-2/+2
(This used to be commit 4928d560b0fbad31e0245178ce8f6fed36a488ca)
2007-10-10r17816: Merge my cupsprot branch. It is now possible to (optionally) specify ↵Jelmer Vernooij1-31/+37
:port in the "cups server" smb.conf parameter. (This used to be commit 3f665f4ec4cda80cc20e050458e150c086dc1412)
2007-10-10r17815: Revert Volker's change in 16014. I really do not believeGerald Carter1-1/+0
the this should be necessary. If there is still a bug, I believe that setting thr group RID from the passdb is masking it. Not fixing it. It is very likely that the change was necessary before but is no longer with the recent changes. But I'm not taking the chance of merging it to 3.0.23c. :-) (This used to be commit 1a5b90f3c1aa5dcaa29a9d62288d9e4dbc596f96)
2007-10-10r17813: Remove another instance of manually setting the group SID.Gerald Carter1-1/+7
The would have been primaryly used when adding a user to an smbpasswd file, but could have been introduce to other backends by using pdbedit -i -e. The symptom was [2006/08/09 13:07:43, 0] rpc_parse/parse_samr.c:init_sam_user_info21A(6276) init_sam_user_info_21A: User nobody has Primary Group SID S-1-22-2-99, which conflicts with the domain sid S-1-5-21-1825997848-4107600307-1754506280. Failing operation. (This used to be commit 0a3aa8b43ace8c635423c2df10827e81d145b58f)
2007-10-10r17812: Fix bad unsigned comparisons with TIME_T_MIN/TIME_T_MAX.Jeremy Allison1-3/+3
Jeremy. (This used to be commit bd1fbdfb824883060b02be969a10f999d387973f)
2007-10-10r17810: Use datarootdir variable generated by newer autoconf versions. ↵Jelmer Vernooij1-0/+1
(fixes warning) (This used to be commit 836f04134f95d8452cee58a72438b4387103ce11)
2007-10-10r17809: Add in 64-bit integer time calculations (taken fromJeremy Allison1-41/+160
Samba4) for machines that have 64-bit integers. Leave the (double) code for machines that don't. Needs testing.... :-). Jeremy. (This used to be commit 9e65c175b0794bea3082785b5da6f5b281887ce7)
2007-10-10r17807: Fix a file descriptor leak pointed out by John Malmberg. Thanks!Volker Lendecke1-0/+1
Volker (This used to be commit fac007ccbec75f5ee9ff2769d8add4d27e62167d)
2007-10-10r17806: Make NTTIME a UINT64_S rather than a separate structure consisting ofJelmer Vernooij2-8/+6
two uint32s. (This used to be commit 3556a9c26cf7728e2435bb28e69958751e883ab9)
2007-10-10r17805: Sorry Jerry, I could not stand the warnings... :-)Volker Lendecke10-62/+67
(This used to be commit f5fcafd77e8a749659ef90296402c5130f45419b)
2007-10-10r17804: Fix a enum/int mixup found by the IRIX compiler.Volker Lendecke2-1/+2
Volker (This used to be commit 3a1cf623765cd8b6615ad317d25cebc379c762a2)
2007-10-10r17803: finally get the new libaddns code to build on Solaris 9Gerald Carter2-1/+6
(This used to be commit 6a4f4ce016dc47ff4b433208266c4616be7e2770)
2007-10-10r17802: trying to fix more build farm hostsGerald Carter4-21/+51
(This used to be commit d16fea385aba11b6dad141298694320c803bf3eb)
2007-10-10r17801: bad merge ? No sure how the second half of the LIBNDR_OBJ value got ↵Gerald Carter1-1/+3
cut... (This used to be commit 3662f86f41b83a5c944294ca02b6e216ee87f88c)
2007-10-10r17800: Start using struct timespec internally for file timesJeremy Allison14-239/+378
on the wire. This allows us to go to nsec resolution for systems that support it. It should also now be easy to add a correct "create time" (birth time) for systems that support it (*BSD). I'll be watching the build farm closely after this one for breakage :-). Jeremy. (This used to be commit 425280a1d23f97ef0b0be77462386d619f47b21d)
2007-10-10r17799: Start fixing the building carnage. Only include calls toGerald Carter1-0/+2
uuid lib fucntions when WITH_DNS_UPDATES is defined. (This used to be commit 3c547202856378cb1b6895b8c5dd0c9e43c66a1f)
2007-10-10r17798: Beginnings of a standalone libaddns library released underGerald Carter18-15/+6110
the LGPL. Original code by Krishna Ganugapati <krishnag@centeris.com>. Additional work by me. It's still got some warts, but non-secure updates do currently work. There are at least four things left to really clean up. 1. Change the memory management to use talloc() rather than malloc() and cleanup the leaks. 2. Fix the error code reporting (see initial changes to dnserr.h) 3. Fix the secure updates 4. Define a public interface in addns.h 5. Move the code in libads/dns.c into the libaddns/ directory (and under the LGPL). A few notes: * Enable the new code by compiling with --with-dnsupdate * Also adds the command 'net ads dns register' * Requires -luuid (included in the e2fsprogs-devel package). * Has only been tested on Linux platforms so there may be portability issues. (This used to be commit 36f04674aeefd93c5a0408b8967dcd48b86fdbc1)
2007-10-10r17797: Just say "ok" when trying to rename a local group to its same name.Gerald Carter1-4/+11
(This used to be commit e6e54125003373f83e6900668ceb9981e8620776)
2007-10-10r17795: Finally track down the "ads_connect: Interrupted system call"Gerald Carter3-18/+70
error. Fix our DNS SRV lookup code to deal with multi-homed hosts. We were noly remembering one IP address per host from the Additional records section in the SRV response which could have been an unreachable address. (This used to be commit 899179d2b9fba13cc6f4dab6efc3c22e44e062bc)
2007-10-10r17767: Argggg. Broke the build. Need to fix callers of put_long_date()Jeremy Allison1-68/+29
and interpret_long_date() first. Reverting... Jeremy. (This used to be commit 5d9c308e7b780c956f9810c9f345d1ef32d0f528)
2007-10-10r17766: Getting ready to properly expose 100ns times onJeremy Allison1-29/+68
the wire. Move the internals of nt_time functions to use struct timespecs. Jeremy. (This used to be commit 4ece92f7ef070c86ee7c6f523a207cfaccf84478)
2007-10-10r17761: Handle times consistently across all client utils.Jeremy Allison4-47/+34
Fixes bugs reported in libsmbclient. Jeremy. (This used to be commit 42a417fb75313b093948602c3be8e2f386048b5f)
2007-10-10r17760: The DNS SRV lookup already sorts by priority and weight so don'tGerald Carter1-3/+9
use the generic IP list sort in get_sorted_dc_list(). (This used to be commit 03a767539d5b09ebd6564c0c9157de2a6e0e6b89)
2007-10-10r17736: Apply the Unix group patch when creating the token for aGerald Carter1-1/+28
username map. (This used to be commit 0298a3466bc6c5e322db7dac386e4e5eef0e2702)
2007-10-10r17723: * BUG 3969: Fix unsigned time comparison with expiration policy from ↵Gerald Carter5-47/+35
AD DC * Merge patches from SLES10 to make sure we talk to the correct winbindd process when performing pam_auth (and pull the password policy info). (This used to be commit 43bd8c00abb38eb23a1497a255d194fb1bbffffb)
2007-10-10r17710: Thanks to Thomas Bork for testing and continued feedback on this.Gerald Carter1-2/+25
Comments from the patch: /* Add the "Unix Group" SID for each gid to catch mapped groups and their Unix equivalent. This is to solve the backwards compatibility problem of 'valid users = +ntadmin' where ntadmin has been paired with "Domain Admins" in the group mapping table. Otherwise smb.conf would need to be changed to 'valid user = "Domain Admins"'. --jerry */ (This used to be commit 3848199287c5829aef66d0dee38a79056fe1ff5c)
2007-10-10r17709: Fix cut-n-paste error with the name of gid_to_unix_group_sid().Gerald Carter2-2/+2
(This used to be commit dda0b8bce6b7e0146badd8aeb52b5cce6289de21)