summaryrefslogtreecommitdiffstats
path: root/source/libads
Commit message (Collapse)AuthorAgeFilesLines
* r6149: Fixes bugs #2498 and 2484.Derrell Lipman2007-10-104-8/+13
| | | | | | | | | | | | | | | | | | 1. using smbc_getxattr() et al, one may now request all access control entities in the ACL without getting all other NT attributes. 2. added the ability to exclude specified attributes from the result set provided by smbc_getxattr() et al, when requesting all attributes, all NT attributes, or all DOS attributes. 3. eliminated all compiler warnings, including when --enable-developer compiler flags are in use. removed -Wcast-qual flag from list, as that is specifically to force warnings in the case of casting away qualifiers. Note: In the process of eliminating compiler warnings, a few nasties were discovered. In the file libads/sasl.c, PRIVATE kerberos interfaces are being used; and in libsmb/clikrb5.c, both PRIAVE and DEPRECATED kerberos interfaces are being used. Someone who knows kerberos should look at these and determine if there is an alternate method of accomplishing the task.
* r6127: Eliminated all compiler warnings pertaining to mismatched ↵Derrell Lipman2007-10-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | "qualifiers". The whole of samba comiles warning-free with the default compiler flags. Temporarily defined -Wall to locate other potential problems. Found an unused static function (#ifdefed out rather than deleted, in case it's needed for something in progress). There are also a number of uses of undeclared functions, mostly krb5_*. Files with these problems need to have appropriate header files included, but they are not fixed in this update. oplock_linux.c.c has undefined functions capget() and capset(), which need to have "#undef _POSIX_SOURCE" specified before including <sys/capability.h>, but that could potentially have other side effects, so that remains uncorrected as well. The flag -Wall should be added permanently to CFLAGS, and all warnings then generated should be eliminated.
* r5956: more compile warngin fixes from the Mr. MaderGerald Carter2007-10-101-3/+3
|
* r5952: BUG 2469: patch from Jason Mader to cleanup compiler warning when not ↵Gerald Carter2007-10-101-0/+4
| | | | using krb5
* r5948: more compile cleanups from Jason MaderGerald Carter2007-10-101-6/+1
|
* r5762: Modified version of patch from Michael Brown ↵Jeremy Allison2007-10-101-65/+99
| | | | | | | | <mbrown@fensystems.co.uk> to case insentively search for a principal match on logon verification in the system keytab. UNTESTED (although it compiles). Please test. Jeremy.
* r5759: Patch from Doug VanLeuven <roamdad@sonic.net> to add more case/realm/nameJeremy Allison2007-10-101-2/+21
| | | | | permutations to the kerberos keytab. Jeremy.
* r5336: BUG 2329: fix to re-enable winbindd to locate DC's when 'disable ↵Gerald Carter2007-10-101-1/+1
| | | | netbios = yes'
* r5207: patches from Jay Fenlason @ RedHat (scooped from their Fedora packages)Gerald Carter2007-10-101-1/+1
|
* r4882: Fix for #2255. Debug should have been 10 not 0.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r4736: small set of merges from rtunk to minimize the diffsGerald Carter2007-10-101-1/+1
|
* r4665: Fix inspired by posting from Joe Meadows <jameadows@webopolis.com>.Jeremy Allison2007-10-101-10/+10
| | | | | Make all LDAP timeouts consistent. Jeremy.
* r4346: Fix cut-and-paste error - bugid #2189. Fixed by Buck Huppmann ↵Jeremy Allison2007-10-101-1/+1
| | | | | | <buckh@pobox.com> Jeremy.
* r4334: Fix for bugid #2186 - from Buck Huppmann <buckh@pobox.com>Jeremy Allison2007-10-101-1/+2
| | | | | to prevent uninitialized creds being freed. Jeremy.
* r4273: Same fix for r4272 in SAMBA_3_0 branch.Tim Potter2007-10-101-1/+1
|
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-109-69/+58
| | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy.
* r4023: Code tidyup to fix bug #2098.Jeremy Allison2007-10-101-2/+3
| | | | Jeremy.
* r3841: Time out in ads search queries. Even AD servers can hang.Volker Lendecke2007-10-101-7/+44
| | | | Volker
* r3796: Patch from Jay Fenlason <fenlason@redhat.com>. Don't free static buffers.Jeremy Allison2007-10-101-1/+0
| | | | Jeremy.
* r3764: Ensure on failure that *res is always NULL.Jeremy Allison2007-10-101-3/+8
| | | | | Check for malloc fail. Fixes for bug #2036. Jeremy.
* r3711: Fix KRB5_SETPW-defines, no change in behaviour.Günther Deschner2007-10-101-7/+5
| | | | | | | | | A value of '2' is due to an expired internet draft, while 0xff80 comes from RFC3244. See Bugzilla #1661 for details. Thanks to Luke Mewburn <lukem@NetBSD.org> for his research. Guenther
* r3569: Fix for bug #1651, added extra servicePrincipalNames for kerberos ↵Jeremy Allison2007-10-101-6/+44
| | | | | | | interop. Modified the redhat patch some... Jeremy.
* r3502: Tidy up debugging in kerberos_keytab code.Jeremy Allison2007-10-101-32/+48
| | | | Jeremy.
* r3495: Fix the build (recent kerberos-changes).Günther Deschner2007-10-102-3/+4
| | | | Guenther
* r3492: Fixes from testing kerberos salted principal fix.Jeremy Allison2007-10-102-24/+52
| | | | Jeremy.
* r3451: Finish off kerberos salting patch. Needs testing !Jeremy Allison2007-10-102-29/+34
| | | | Jeremy.
* r3439: Finally fix build for platforms without kerberos.Günther Deschner2007-10-101-2/+2
| | | | Guenther
* r3436: Fix build with recent heimdal-versions (0.6.3) as pointed out by LukeGünther Deschner2007-10-101-0/+2
| | | | | | | | | Mewburn <lukem@NetBSD.org> and close Bugzilla #1661. Leaving the old define for KRB5_KPASSWD_VERS_SETPW (added by Antti Andreimann) as fallback when the library does not provide one. Guenther
* r3381: More merging of the #1717 patch. Fixup some erroneous assumptions aboutJeremy Allison2007-10-102-62/+77
| | | | | | | memcpy's into fqdn names. I think the original intent was to create MYNAME.fqdn.tail.part. Will need testing to see I haven't broken keytab support. Jeremy.
* r3379: More merging of kerberos keytab and salting fixes from Nalin ↵Jeremy Allison2007-10-102-15/+89
| | | | | | | Dahyabhai <nalin@redhat.com> (bugid #1717). Jeremy.
* r3377: Merge in first part of modified patch from Nalin Dahyabhai ↵Jeremy Allison2007-10-102-8/+549
| | | | | | | | | <nalin@redhat.com> for bug #1717.The rest of the code needed to call this patch has not yet been checked in (that's my next task). This has not yet been tested - I'll do this once the rest of the patch is integrated. Jeremy.
* r3273: Ensure we're consistent in the use of strchr_m for '@'.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r2832: Readd WKGUID-binding to match the correct default-locations of newGünther Deschner2007-10-101-4/+73
| | | | | | | | | | | | | | | User-, Group- and Machine-Accounts in Active Directory (this got lost during the last trunk-merge). This way we match e.g. default containers moved by redircmp.exe and redirusr.exe in Windows 2003 and don't blindly default to cn=Users or cn=Computers. Further wkguids can be examied via "net ads search wellknownobjects=*". This should still keep a samba3-client joining a samba4 dc. Fixes Bugzilla #1343. Guenther
* r2569: Patch from Rob Foehl <rwf@loonybin.net>:Gerald Carter2007-10-101-1/+1
| | | | | | | | | | | | | | | | | - fix typo in libads/ldap_printer.c:39, ads_find_printer_on_server() (originally libads-typo.patch) - fix leak in printing/nt_printing.c, is_printer_published() (originally is_printer_published-leak.patch) - fix double print_backend_init() calls, now only called from main() - restructuring in printing/nt_printing.c - replaced (un)publish_it() with ads-specific functions - moved common code to nt_printer_publish() - improved error handling in several places - added check_published_printers() in printing/nt_printing.c, to verify that each published printer is actually in the directory at startup - changed calling semantics of mod_a_printer, dump_a_printer, and update_driver_init to be more consistent with the rest of the api and reduce some copying
* r2091: only use sAMAccountName and not userPrincipalName since the breaks ↵Gerald Carter2007-10-101-0/+6
| | | | winbindd (lookup_name() only works with the sAMAccountName) -- *please* test this change. My tests all pass but there is probably something I missed
* r1967: Fix a couple of krb5-DEBUG-messages.Günther Deschner2007-10-101-4/+6
| | | | Guenther
* r1789: compiler warnings from SuSEGerald Carter2007-10-101-0/+4
|
* r1381: fixing behavior found by gd@sernet.de; we must use the ↵Gerald Carter2007-10-101-4/+4
| | | | userPrincipalName value (host/hostname@REALM) and not the servicePrincipalName (host/fqdn@REALM) in the SASL binds
* r1378: Better debugging so I don't get confused what principal we mean.Jeremy Allison2007-10-101-2/+2
| | | | Jeremy.
* r1373: Fix from Guenther Deschner <gd@sernet.de> to ensure last error return ↵Jeremy Allison2007-10-101-1/+2
| | | | | | is not invalid. Jeremy.
* r1330: Fix the build for systems without ldap headersVolker Lendecke2007-10-101-1/+1
|
* r1317: Patch from Joe Meadows "Joe Meadows" <jameadows@webopolis.com> toJeremy Allison2007-10-101-1/+30
| | | | | | add a timeout to the ldap open calls. New parameter, ldap timeout added. Jeremy.
* r1285: Put variable definitions into a block before the statements...Volker Lendecke2007-10-101-1/+1
| | | | Volker
* r1282: gcc 3.2 on SuSE 8.2 does not like #ifdefs inside a macro argument ↵Volker Lendecke2007-10-101-3/+5
| | | | | | (DEBUG). Volker
* r1247: Final fix to make this compile on Heimdal.Jeremy Allison2007-10-101-0/+4
| | | | Jeremy.
* r1245: I think the parameter for "password" and "data" was reversed.Jeremy Allison2007-10-101-2/+2
| | | | | CHECK THIS ! Jeremy.
* r1244: More Heimdal compile fixes.Jeremy Allison2007-10-101-3/+9
| | | | Jeremy.
* r1243: Fix so this compiles with Heimdal (in Heimdal krb5_kt_cursor is a ↵Jeremy Allison2007-10-101-16/+34
| | | | | | struct not a pointer). Jeremy.
* r1236: Heimdal fixes from Guenther Deschner <gd@sernet.de>, more to come beforeJeremy Allison2007-10-102-9/+20
| | | | | it compiles with Heimdal. Jeremy.
* r1223: Fix valgrind error with realm manipulation.... Damn macros :-(.Jeremy Allison2007-10-101-2/+8
| | | | Jeremy.