1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-18 17:57:55 +03:00

13806 Commits

Author SHA1 Message Date
Andrew Tridgell
7c6aee526a fixed smbtorture LOCK1 test to know about the correct multiplier for
timed blocking locks
(This used to be commit 24feb1afa621c4f93135f36e635af08abe8e7c24)
2003-06-10 14:01:57 +00:00
Andrew Tridgell
0d556758de use lp_realm() to find the default realm for 'net ads password'
(This used to be commit 21d92802781ac224f569a990df3ec1070f0da434)
2003-06-10 04:15:55 +00:00
Andrew Tridgell
057ec70b53 - fixed the bug that forced us not to use the winbindd cache when we
have a primary ADS domain and a secondary (trusted) NT4 domain. This
  caused winbindd to be *really* slow for that setup.

- fixed winbindd_getgrgid(), which was calling uid_to_sid instead of
  gid_to_sid(). When you make changes to winbind *PLEASE* test using
  nsstest.
(This used to be commit cdd9b60a078b63e22f543d4c8d0956ff536f4d89)
2003-06-10 03:50:38 +00:00
Andrew Tridgell
1d008cd2cb use ZERO_STRUCT() instead of memset
(This used to be commit 082084042307f5f7d532b28debdeac11753a05f9)
2003-06-10 03:48:09 +00:00
Andrew Tridgell
2cfc19f899 added an auth flag that indicates if we should be allowed to fallback
to NTLMSSP for SASL if krb5 fails. This is important as otherwise the
admin may think that a join has succeeeded when kerberos is actually
broken.
(This used to be commit 23a6ea385c4aea208adf36f039244bee14f56a33)
2003-06-10 03:47:42 +00:00
Andrew Tridgell
524da855ff don't call a function error_message() as that conflicts with a
kerberos name
(This used to be commit 8fa737f2235abfdc6c78b0af707aea2c67243597)
2003-06-10 03:46:11 +00:00
Andrew Tridgell
093116c49f when creating aliased parameters in loadparm.c you *must* place the
alias directly after the main entry, otherwise it isn't treated as an
alias.
(This used to be commit 0f3d44858f49c3f9f191b2a3b47d58882e899421)
2003-06-10 02:13:09 +00:00
Jeremy Allison
eaf0decab8 More instrumentation for winbindd.
Jeremy.
(This used to be commit 4161a122b74b75b0ed1758e3491e69bb9f1e8390)
2003-06-10 00:55:37 +00:00
Jeremy Allison
2783e6f4f4 Instrument cache with debug statements so I can have a clue as to what
is going on in remote large sites.
Jeremy.
(This used to be commit 5987dad1f1049f08bf4a94929f70b5eac96c7007)
2003-06-10 00:49:43 +00:00
Jeremy Allison
966578c615 Add some basic DEBUG statements at level 10 so we can see what is being
called. This is *essential* (and should be done on all the other cli_XX
rpc calls) to help debug winbindd problems remotely.
Jeremy.
(This used to be commit bc215612cb7c1abc7fb78eda4016ba9e64cdc785)
2003-06-09 23:15:34 +00:00
Jeremy Allison
98e1dfd3d9 Fix for crash bug noticed by Luke Howard | PADL Software Pty Ltd | www.padl.com.
Jeremy.
(This used to be commit 6a07d19b6342e28a4827c16fcc379952bb1808b4)
2003-06-09 17:28:42 +00:00
Alexander Bokovoy
6acf2ef6af Update WHATSNEW.txt with information from release branch
(This used to be commit dac4300c27d38d000b02ca0726141a4ab61d3de4)
2003-06-09 13:49:20 +00:00
Andrew Tridgell
7309f50062 applied patch from bug#140
this fixes a timestamp problem with 64 bit machines
(This used to be commit 0ce6eddad8e148bc6d195ddefb773326339d06e6)
2003-06-09 02:54:07 +00:00
Eloy Paris
e81fcebb2e Debian updates.
(This used to be commit da96b96a1b683bd534bd1e4ff57898bb2cbe8b77)
2003-06-08 19:50:13 +00:00
Andrew Bartlett
46d106f2eb Fix some memory leaks and extra cache startups/shutdowns from the trusted
domains lookup code.

Andrew Bartlett
(This used to be commit 0ec1b1207041a3b6050046ba6d7b466dd4fcf341)
2003-06-08 12:51:31 +00:00
Andrew Bartlett
e4bc8f08c3 Enforce 'client plaintext auth', 'client lanman auth' and 'client ntlmv2 auth'.
(this now causes things like the LANMAN protocol and contacting servers with 'encrypt passwords = no' set to fail, if configured)

'client ntlmv2 auth' (a BOOL) forces both plaintext and lanman off, and is the
most secure setting for compatible hosts.

Perhaps we should change this to 'client minimum auth'?

Andrew Bartlett
(This used to be commit e1fb681e4c921456fde154b87687722a18ed4aac)
2003-06-08 12:49:31 +00:00
Andrew Bartlett
850554084c Make sure that we use schannel (if configured) when checking for a valid
join to the DC.

Andrew Bartlett
(This used to be commit af526fa9b39ab1f8483d5cee66321bc12f78ac05)
2003-06-08 11:39:28 +00:00
Andrew Bartlett
54f7cde1eb Rework our smb signing code again, this factors out some of the common
MAC calcuation code, and now supports multiple outstanding packets.

Fixes bug #40

Andrew Bartlett
(This used to be commit dd33212f1ec08f46223d6de8e5ff3140ce367a9a)
2003-06-08 03:49:35 +00:00
Gerald Carter
dd87bcb699 bumping cvs version number to distinguish between SAMBA_3_0 cvs tree
and 3.0.0beta1 release
(This used to be commit 2619cc5d44f0162d829f5e18163df1b23b4ef5f5)
2003-06-07 18:07:30 +00:00
Gerald Carter
6a945d3354 add back the winbind uid/gid parameter but mark them as deprecated
(This used to be commit 61215c68493c200c22ea64edb299d69f46c6ab0a)
2003-06-07 13:51:13 +00:00
Andrew Bartlett
ed9c090737 Try to fix memory leaks found by valgrind in pdb_ldap code.
Andrew Bartlett
(This used to be commit decadfcc8205ed5611d74141e301569ef8b1d9f4)
2003-06-07 03:22:37 +00:00
Andrew Bartlett
1079bd40c5 Don't assume that the SAM knows the unix home directory - look it up by
getpwnam() if need be.

Fixes bug #130

Andrew Bartlett
(This used to be commit a4bc789a3993be4b25955c729b533b86dba666f4)
2003-06-07 03:20:09 +00:00
Herb Lewis
d64341bf80 fix up a couple paths
(This used to be commit dab21ae3b1a9c31cf07dd65225eb6db3854b846e)
2003-06-07 00:46:04 +00:00
Andrew Tridgell
9501ddeb10 changed 'winbind uid' to 'idmap uid' in build farm tests
(This used to be commit 4a2a54cd68faf6c86994679a8f5d309f55d29544)
2003-06-07 00:27:15 +00:00
Herb Lewis
9960487103 get rid of IRIX o32 builds - some libraries (kerberos and ldap) are only
n32 so smbwrapper fails to link.
(This used to be commit 392f207a353c3c154ea04a284c4e54864a927e95)
2003-06-06 23:55:24 +00:00
Herb Lewis
6ae4c3c966 remove o32 targets for IRIX. kerberos and ldap libraries are n32 only so
linking smbwrappers will fail.
(This used to be commit f95f306729d95c5205ed541289673e579abc0769)
2003-06-06 23:35:22 +00:00
Gerald Carter
babab82d9a applying David Lee's climessage patch to make sending messages more extendable
(This used to be commit a5240adc4944342529702542e080c378d3883a09)
2003-06-06 23:09:39 +00:00
Gerald Carter
11c0ac6566 pMandrake/samba2.spec.tmplackaging updates (Buchan)
(This used to be commit 73aca1443a0cc6affbe24f869309b119b9556785)
2003-06-06 22:56:03 +00:00
Herb Lewis
93867b7773 make this work for older version of perl
(This used to be commit ed4a12a812ed154f747dac6d1a9601df1ee5298f)
2003-06-06 22:51:28 +00:00
Gerald Carter
e485bc7e3e support LDAP_EXOP_MODIFY_PASSWORD (not experiemental in OpenLDAP 2.1)
(This used to be commit 50fdc938222112b5470d05d8cd15386bd0a112df)
2003-06-06 22:50:54 +00:00
Gerald Carter
71298881c4 * add in David Lee's utmp patch (defaults to on if available)
* one more try at fixing builds when --with-ldap=no
(This used to be commit b516ab7bdef6b6b2b7f0df8966dbd4c329f46a92)
2003-06-06 22:33:43 +00:00
Herb Lewis
40eacb1648 get rid of warning about malformed if in Makefile
(This used to be commit 1e1e56efd86e7a1ed6415145ebd22d91612104de)
2003-06-06 22:24:36 +00:00
Gerald Carter
acb882e4fb remove yet aother RCS tag
(This used to be commit 48c8243ef325234c2fefbf273b2ab57df334de0a)
2003-06-06 21:14:37 +00:00
Gerald Carter
70da79f8a8 fix build on systems w/o LDAP libs
(This used to be commit f33aeaa039d49b4eef884b27dc81d3418a051f1a)
2003-06-06 20:31:19 +00:00
Eloy Paris
c2547dcc48 Fixing Debian-specific patches so they apply cleanly.
(This used to be commit da0f18cb7be8aa9a9f990507b107e10ce3fadebb)
2003-06-06 20:31:18 +00:00
Herb Lewis
f5c21fc365 delete extra PASSDBLIB at beginning
(This used to be commit 1c82a3aa91804eb80c59c0e6e6abddbabd8857f9)
2003-06-06 20:11:23 +00:00
Gerald Carter
41fb1d9269 updates for RedHat packaging
(This used to be commit 53001b8db3492608095988b0fc3d6155a0e52822)
2003-06-06 20:08:29 +00:00
Jelmer Vernooij
f7e07eafc8 - Regenerate docs
- Fix db2latex (it depended on the $Id$ tags)
- Fix CUPS-Printing syntax
- Update instructions in docbook.txt
(This used to be commit 8d7c96a4e267c5546518d097edbe03e27b1ad073)
2003-06-06 20:07:16 +00:00
Herb Lewis
bea0cf2c79 pdbedit needs PASSDBLIBS
(This used to be commit 0e91aca22c72f15ed62f9c9f8318b5ffada36956)
2003-06-06 19:44:32 +00:00
Gerald Carter
0fb5750634 compile error
(This used to be commit 8804b059a4f453b29c8b0da975f5d6d8501f4b11)
2003-06-06 18:19:02 +00:00
Gerald Carter
b3984d69c3 syncing RCS tag removal from 3.0 release tree
(This used to be commit 1038879c9422bda4cd3be5a403ea9a22a552312b)
2003-06-06 17:49:01 +00:00
Gerald Carter
ad24f7fa62 removing RCS tags
(This used to be commit 77c6c419b8a2225bb62eec335a40694dbd009383)
2003-06-06 15:47:33 +00:00
Gerald Carter
0d55e9c536 merge from APP_HEAD. Push negative connection cache
into rpc_find_dc().  Should probably be extended some more
in 3.0 but this is what we have for the moment.
(This used to be commit 0e23abf95cf7ba2d0a314a34bddb4d46de2a3cd1)
2003-06-06 14:11:14 +00:00
Gerald Carter
711f8d0a13 * break out more common code used between pdb_ldap and idmap_ldap
* remove 'winbind uid' and 'winbind gid' parameters (replaced
  by current idmap parameter)
* create the sambaUnixIdPool entries automatically in the 'ldap
  idmap suffix'
* add new 'ldap idmap suffix' and 'ldap group suffix' parametrer
* "idmap backend = ldap" now accepts 'ldap:ldap://server/' format
  (parameters are passed to idmap init() function
(This used to be commit 1665926281ed2be3c5affca551c9d458d013fc7f)
2003-06-06 13:48:39 +00:00
Andrew Tridgell
53f8d3f01a SMBlockingX timeouts are in units of 2 milliseconds, not 1
(This used to be commit 999cde3227210c90132ade3812e964087f04e541)
2003-06-06 10:42:16 +00:00
Andrew Bartlett
adb710d028 No matter how special this session key is, it's not worth a level 0.
Hide it behind a level 10, with #ifdef DEBUG_PASSWORD instead.

Andrew Bartlett
(This used to be commit 9d4e327850fb00083241f3e68f866590c44e1823)
2003-06-06 10:22:48 +00:00
Jeremy Allison
0bbbe382a5 Fix for valgrind - when doing a srvstr_push we must zero fill
any extra bytes, not clobber region them - otherwise valgrind
thinks they are invalid on send() or write().
Jeremy.
(This used to be commit 8aa5f7a65c71fb89ed05e71a2465e61385e80c2b)
2003-06-06 07:56:23 +00:00
Jeremy Allison
de3f1c7767 Make skeleton VFSs compile with new EA modules.
Jeremy
(This used to be commit 7c4cc2086d59e163ab89366c24ba399994a49462)
2003-06-06 07:09:30 +00:00
Jeremy Allison
dff2bf904e Fixup of typos.
Jeremy.
(This used to be commit 99589b8a8f7081ced792e085ef448d9ebee135d3)
2003-06-06 07:08:21 +00:00
Jelmer Vernooij
bed2de0ff2 Use filedes as first argument to fsetxattr, not the undefined variable 'path' :-)
(This used to be commit d3c02b40c48921f842c92fa1beed1924897ce160)
2003-06-06 07:06:30 +00:00