summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix net rpc join (at least newstyle) after it was broken by changingJim McDonough2004-01-151-5/+5
| | | | | the parms to cli_lsa_query_info_policy without changing them here... (This used to be commit a885df7635a9230bc6cca88e7e8fb1420c74c7fb)
* * BUG 446Gerald Carter2004-01-153-2/+7
| | | | | | | | | | - setup_logging() in smbclient to be interactive (remove the timestamps) - Fix bad return value in pull_ucs2( needs more testing to make sure this didn't break something else) that caused clistr_pull() to always read the same string from the buffer (pull_usc2() could return -1 if the original source length was given as -1) - increment some debugging messages to avoid printing them out so often (This used to be commit 79fe75dcdf6cc38e18ca1231e4357893db4d4a08)
* BUG 958; don't use the -N option when invoking smbclient from the smbtar scriptGerald Carter2004-01-151-1/+1
| | | | (This used to be commit c51eaec4f09d9c191c6b24dadb1d12770b368da0)
* reply_spnego_kerberos did not set the domain of the user handed toVolker Lendecke2004-01-151-0/+7
| | | | | | | | | | | register_vuid correctly. We ended up with the local netbios name in substitutions for %D later. Volker P.S: Tridge, I can *really* see why you want to get rid of global variables :-) (This used to be commit 3d9931fe291559a907c3e172a66fbce1155497a3)
* Don't substitute stuff in lp_afs_username_map, this is explicitlyVolker Lendecke2004-01-151-1/+1
| | | | | | | done later. Volker (This used to be commit c4a6151f469764444f4dab8bcae04e1a2bdb0b64)
* And another memory corruption in winbind. Arg 3 of safe_strcpy does notVolker Lendecke2004-01-151-1/+1
| | | | | | | include the terminating 0. Volker (This used to be commit 945c7807641e82500c84e833f03f381497f0a2d0)
* Fix a segfault in winbindd. Calling getusersids with a SID that results in 0Volker Lendecke2004-01-151-1/+1
| | | | | | | groups winbind ended up freeing an uninitialised pointer. Volker (This used to be commit cd89288e21ba13a9e97c548eccc15cef21a98d07)
* * Fix sys_chown() when no chown() is presendStefan Metzmacher2004-01-152-0/+3
| | | | | metze (This used to be commit b0c0d736919079afc4f9bf5a406000048d26fe71)
* * Fix XFS quotas: XFS_USER_QUOTA -> USRQUOTAStefan Metzmacher2004-01-159-42/+199
| | | | | | | | | | XFS_GROUP_QUOTA -> GRPQUOTA * Fix disk_free calculation with group quotas. * Add debug class 'quota' and a lot of DEBUG()'s to the quota code. metze (This used to be commit e9e5e2036f13ff847aa3ef52e8be657bef7d5774)
* BUG 936: fix bind credentials for schannel binds in smbd (and add a comment ↵Gerald Carter2004-01-152-7/+12
| | | | | | to winbindd_cm about this (This used to be commit 5134c6bcbc5180431e95a30559c453f3744fd427)
* Fix for bug 905. Remove POBAD_CC as it doesn't seem to be applicableTim Potter2004-01-153-9/+0
| | | | | anymore. (This used to be commit 67d25f3de803f7e599c51cacd51367f124151d6b)
* BUG 972; check pointer in cli_ds_getprimarydominfo() before trying to copy a ↵Gerald Carter2004-01-151-1/+1
| | | | | | structure (This used to be commit 1c15bfacb45d42873f3d7e7cb55ba2cbbbe33d26)
* source/rpc_parse/parse_prs.c ZERO_STRUCTP(ps) not needed as it is doneHerb Lewis2004-01-142-3/+5
| | | | | | | | in prs_init now testsuite/printing/psec.c cannot do a prs_mem_free() when tdb_prs_fetch fails as the prs structure has not been initialized (This used to be commit a363e5d8c549861329506bd87c11d82ace5520e5)
* Fix initgroups() call nss_winbind on solaris; patch from John Klinger ↵Gerald Carter2004-01-141-0/+16
| | | | | | <john.klinger@lmco.com> (This used to be commit 40b7d863dc246ea23ff3d9cdc167f1fb96166e1d)
* bug 770; correct fix this time; Make sure that we send the SMBjobid for ↵Gerald Carter2004-01-142-10/+19
| | | | | | unix jobs back to the client. Allows windows client to remove print jobs submitted from lpr (This used to be commit 514561118860f982c458930c34763dac9ce0554e)
* bug 660; using byte order safe macros (or tdb_unpack) when reading 2 or 4 ↵Gerald Carter2004-01-141-16/+18
| | | | | | byte values from a tdb buffer (This used to be commit be9f25bea94415af6b631a9c6e7af28d9d6e6565)
* revert the cracklib changes until post 3.0.2Gerald Carter2004-01-144-134/+26
| | | | (This used to be commit 6202e0fa727a4307f51bf42f5ced401a7c7b8214)
* * Revert to using rpc for mixed mode AD domains.Gerald Carter2004-01-141-3/+9
| | | | | | | | | | | | | | | | | | | The reason for this are: (a) the set_dc_type_and_flags() cannot tell the different between connecting to an NT4 domain and an NT4 BDC of a mixed mode domain. (b) the connection management for the rpc backend only provides on named pipe per cli_state. So it is possible to connect to an NT4 BDC for netlogon and an AD mixed mode DC for lsarpc. RPC is the lowest common demonimator here. (c) Issue with the sequence number value between the highestCommittedUSN LDAP attribute and the seq_num returned via RPC. We will revisit this later, but the changes need to make this work right now are too broad and risky. (This used to be commit 1ed2e521536108229d153c2996f4757d89461166)
* Remove duplicate extern.Jeremy Allison2004-01-141-1/+0
| | | | | Jeremy. (This used to be commit fb088b5679f1def054d8b433c5e6c5b855411488)
* Remove references to 'jn' which gcc-3.4 with precompiled headersJeremy Allison2004-01-141-36/+36
| | | | | | doesn't like. Jeremy. (This used to be commit da51988cfac91e63f6e0213701aad652bc1bd55e)
* fix XFS quotas the macro changed from HAVE_XFS_QUOTA -> HAVE_XFS_QUOTASStefan Metzmacher2004-01-142-3/+3
| | | | | metze (This used to be commit c73e845055163c1d814710fe4d9960c7f3587f12)
* Remove duplicate comment.Andrew Bartlett2004-01-141-2/+0
| | | | | Andrew Bartlett (This used to be commit b0b2010461d8554334b033c4f07d78c308e73e7f)
* Finish adding cracklib support - this adds the configure test to enableAndrew Bartlett2004-01-142-0/+65
| | | | | | | | it, on machines that actually have a working cracklib, for which we have the correct path to the dictionary. Andrew Bartlett (This used to be commit 17518018c0264d2a8e4afbc712a22ef4a1a00003)
* * allow dns lookups to be disabled for DOMAIN#1c (and #1b)Gerald Carter2004-01-131-7/+26
| | | | | | names * fix some a mispelled variable name (This used to be commit bca702c97620ad8f66015d6e4b41abd4adf22076)
* On systems without a working cracklib, ensure we don't include the headerAndrew Bartlett2004-01-121-0/+2
| | | | | | | (the actual call to crack was already in this #ifdef) Andrew Bartlett (This used to be commit 4a01f3dbb4a2e744b48bdb86c4d91ee4692d38e5)
* fixing compile problems due to my recent ads.h changesGerald Carter2004-01-122-2/+2
| | | | (This used to be commit d7b6298b9e4e7f83deaa2c6f3d711c390ff9cefd)
* First stab at cracklib support (password quality checking) in Samba 3.0Andrew Bartlett2004-01-124-26/+79
| | | | | | | | | | This adds a configure test, that tries to find out if we have a working cracklib installation, and tries to pick up the debian hints on where the dictionary might be found. Default is per my Fedora Core 1 system - I'm not sure how much it changes. Andrew Bartlett (This used to be commit bc770edb788f0b6f719011cda683f045b76b7ba5)
* fix formattingGerald Carter2004-01-111-6/+5
| | | | (This used to be commit acc9022550b20b144f749411ecdadf18adb09350)
* update copyright to -2004Stefan Metzmacher2004-01-114-4/+4
| | | | | metze (This used to be commit 12d6bc3bd0684646e990c2fc6485fe1a92ac98fb)
* Fix swatdir location for --with-fhsJelmer Vernooij2004-01-102-3/+7
| | | | (This used to be commit d12b793d9ca10f966da3446982a5b1d987d51814)
* starting new version of release notes -- post 3.0.2pre1Gerald Carter2004-01-091-35/+73
| | | | (This used to be commit 83150b5733033aed4b3556ea94782a5b6c7b9aeb)
* fix some warnings from the Sun compilerGerald Carter2004-01-096-34/+34
| | | | (This used to be commit ebabf72a78f0165521268b73e0fcabe1ea7834fd)
* Romve debugging assertions (oops...)Andrew Bartlett2004-01-091-6/+0
| | | | | Andrew Bartlett (This used to be commit 7e75a6d681fc63cacc7e5caa7a04568c6019367f)
* Add a new type of name lookup 'ads'. This seperates this from normalAndrew Bartlett2004-01-091-33/+59
| | | | | | | | hostname lookups, and ensures that we don't lookup 'short' (ie NetBIOS) domain names in DNS. Andrew Bartlett (This used to be commit 35f6347a73ce7423adb78c7e95492bb6d98f4c40)
* Use StrCaseCmp, not strcasecmp. Should fix winbind build on IRIXJelmer Vernooij2004-01-081-2/+2
| | | | (This used to be commit 65b01f67d5725bc54e6bc19b6e84beef38e372f8)
* fix segfault when sid_ptr == 0 in DsEnumDomainTrusts() replyGerald Carter2004-01-082-6/+5
| | | | (This used to be commit ba9dc0d9fd3e30a7ddf97b6a4df753db7ba12cc1)
* fix a seg fault caused by abartlet's last checkin; there's no way this could ↵Gerald Carter2004-01-081-1/+1
| | | | | | have been tested against an NT4 DC (This used to be commit 8e8a351cabb502f1a93b219fec064fb4eb094856)
* We might not have the 'samba' directory in the samba_3_0 build.Andrew Bartlett2004-01-081-1/+1
| | | | | Andrew Bartlett (This used to be commit a5cf5701e25e93e4e837f7cdc30a8603d289e4a9)
* use SAFE_FREE(), not free().Andrew Bartlett2004-01-081-1/+1
| | | | | Andrew Bartlett (This used to be commit 595dee660742f8bd5770a5f7aaf3a5d1987dbcfa)
* This merges in my 'always use ADS' patch. Tested on a mix of NT and ADSAndrew Bartlett2004-01-0820-158/+298
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | domains, this patch ensures that we always use the ADS backend when security=ADS, and the remote server is capable. The routines used for this behaviour have been upgraded to modern Samba codeing standards. This is a change in behaviour for mixed mode domains, and if the trusted domain cannot be reached with our current krb5.conf file, we will show that domain as disconnected. This is in line with existing behaviour for native mode domains, and for our primary domain. As a consequence of testing this patch, I found that our kerberos error handling was well below par - we would often throw away useful error values. These changes move more routines to ADS_STATUS to return kerberos errors. Also found when valgrinding the setup, fix a few memory leaks. While sniffing the resultant connections, I noticed we would query our list of trusted domains twice - so I have reworked some of the code to avoid that. Andrew Bartlett (This used to be commit 7c34de8096b86d2869e7177420fe129bd0c7541d)
* In tdb_allocate(), we would create a new record by writing a local variableAndrew Bartlett2004-01-081-0/+2
| | | | | | | | | | | 'newrec' into the tdb. This was not initialised, so valgrind warned about it. (Note: valgrind only makes sense on tdbs with 'mmap = no' in your smb.conf) Andrew Bartlett (This used to be commit c9f9d6d3171d720b4ec0ba6af8c0c8ab178cd98b)
* Make it clearer that the domain here is the domain of the user forAndrew Bartlett2004-01-081-5/+5
| | | | | | | authentication. Andrew Bartlett (This used to be commit 7e6cc8f0037f9948230a1e1bd380f30cec5d511e)
* Move more of winbind to use 'find_our_domain()' rather than the dangerousAndrew Bartlett2004-01-085-48/+38
| | | | | | | | | find_domain_from_name(lp_workgroup()). (as find_domain_from_name() can change the data in lp_workgroup()) Andrew Bartlett (This used to be commit 2e6eaad9ce6a0ad6923b5952ef6cf1c3688b7cfa)
* The correct test for 'is our primary domain' is domain->primaryAndrew Bartlett2004-01-081-1/+1
| | | | (This used to be commit 703f101136b8e9bbc16f57a37cd9d9d739606a84)
* Machines are people too!Andrew Bartlett2004-01-075-36/+25
| | | | | | | | | | | | | | | | | | | While machine accounts cannot use an NTLM login (NT4 style), they are otherwise full and valid members of the domain, and expect to be able to use kerberos to connect to CIFS servers. This means that the LocalSystem account, used by various services, can perform things like backups, without the admin needing to enter further passwords. This particular issue (bug 722) has started to come up a lot on the lists. I have only enabled it for winbindd-based systems, as the macros use use to call the 'add user script' will strip the $ from the username for security reasons. Andrew Bartlett (This used to be commit 6a9bbd1da3bb961d24e74348fa0b68574022855f)
* Fix for bug #922. Fast path not called for strlower_m() and strupper_m().Jeremy Allison2004-01-071-2/+2
| | | | | | From ab@samba.org (Alexander Bokovoy). Jeremy. (This used to be commit fac9e6d7125fb9edfade3c92a3cd9e1f2c60cefd)
* Typo fix.Rafal Szczesniak2004-01-071-1/+1
| | | | | rafal (This used to be commit 5d7f81eea2f3d9ba59eb549a45de030b0a277263)
* Doxygen comment fix.Rafal Szczesniak2004-01-071-2/+5
| | | | | rafal (This used to be commit b5e492b8eaf7cefe185d44b6c708f96ff61bd27b)
* Fix from Justin Baugh <justin.baugh@request.com> for bugid #948 forJeremy Allison2004-01-071-1/+4
| | | | | | FreeBSD winbindd. Jeremy. (This used to be commit 7c4d52014e4432c9bd430a8885f0c314312002d5)
* commiting jra's fix for Exchange clear test authGerald Carter2004-01-071-1/+2
| | | | (This used to be commit 344e113368cb46fc4d26107d1cd276e4c76a6a9b)