1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

10669 Commits

Author SHA1 Message Date
Andrew Bartlett
99f9caebe4 One more fix for the difference between FILE and X_FILE.
(This used to be commit 7e56014b2877cde489913310edbfd16c267d9859)
2003-02-08 01:00:55 +00:00
Andrew Bartlett
315e4f513b Ensure we don't get problems between FILE and X_FILE buffers - always use the
x_ varient of the command.

Andrew Bartlett
(This used to be commit 6a028507f0d5eadd2ec0a5b45c35e3a019a56f0b)
2003-02-07 23:39:47 +00:00
Jeremy Allison
5bc835c188 Samba janitors: applying mbp's redundant umask fix.
Jeremy.
(This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
2003-02-07 22:52:35 +00:00
Jeremy Allison
5bff9ad142 Samba janitor: adding mbp's umask patch :-).
Jeremy.
(This used to be commit babbbd9c651e044832a78aa0fbcee5afd73770e2)
2003-02-07 21:59:42 +00:00
Gerald Carter
36657d41ce check pointer before dereferencing it
(This used to be commit 786d91d75c909f6d407b8466c89181f26e62e68f)
2003-02-07 16:20:58 +00:00
Volker Lendecke
6b703fc40a Revert Flag testing upon abartlet's request ;-)
Volker
(This used to be commit e8f751fe84cbd20934116d5213f9bb1850aa9dfa)
2003-02-07 08:02:18 +00:00
John Terpstra
5eac9f60cc Added extended audit module that logs to smbd log as well as syslog.
(This used to be commit d2fe7e38b287b87d6c76a9b73724118928941e93)
2003-02-07 05:00:34 +00:00
Andrew Tridgell
4dc434c804 make sure we don't run over the end of 'name' in unix_convert()
Thanks to Andrew Bartlett for spotting this.
(This used to be commit b4c210ccb05e71a8ddf1c25d028452dd5cd93c72)
2003-02-07 04:01:36 +00:00
Volker Lendecke
0326e054c3 Make account flags editable with pdbedit.
Volker
(This used to be commit 597c50550955c5bdc0c646d5b751d377b40f3485)
2003-02-06 16:53:58 +00:00
Andrew Tridgell
81356b6269 ignore config.h.in in cvs as generated by autoheader
(This used to be commit 830423abd843dd20535755f910bc1e9563a0774f)
2003-02-06 09:55:21 +00:00
Andrew Tridgell
a74bdcbee0 ignore configure in cvs
(This used to be commit 0a5ed634d8d8999cc957d4917563ec3c174c311d)
2003-02-06 09:54:51 +00:00
Andrew Bartlett
d13a3ce9f0 Remove configure and config.h.in from CVS.
configure and config.h.in is now regenerated by the 'autogen.sh' script.

However, samba.org will run autoconf and autoheader to keep the anonyomous
rsync 'unpacked' areas intact (helping the build farm), and released will ship
with the genereated files.

Andrew Bartlett
(This used to be commit 15bba73dea51a6394294fc627933d026d6002091)
2003-02-06 09:20:32 +00:00
Andrew Tridgell
b4776d89ea added the LSA privileges server backend stubs. Right now they just log
what was requested.
(This used to be commit 64ac6c2bcb729c4658de48e929cc792681903ecc)
2003-02-06 05:42:19 +00:00
Jeremy Allison
68fdf96637 Collapse duplicate messages before sending.
Jeremy.
(This used to be commit 203959f1c2389fa95736af09fee5b07e7ae8b659)
2003-02-05 23:03:47 +00:00
Jeremy Allison
56060dcf9e Fixed type.
Jeremy.
(This used to be commit ae635bb6ec05ded8a36d7876be8f3e1b8475e35b)
2003-02-05 22:09:32 +00:00
Jeremy Allison
15fda89ab6 Check for too many processes *before* the fork.
Jeremy.
(This used to be commit dfb596b01288b7035c4448fd395e160a54144732)
2003-02-05 21:17:12 +00:00
Gerald Carter
9a42f660fb CUPS patch to log client name
(This used to be commit 364a4de6dfb93353fe0742c259c810ffc7e1eab6)
2003-02-05 06:37:54 +00:00
Jeremy Allison
d62f32ceeb Hold the lock for a much shorter time when allocating a new jobid.
Jeremy.
(This used to be commit 0b5a0fec826475c6282177bae88dcdad23c2825d)
2003-02-04 23:52:46 +00:00
Jeremy Allison
0701e642f2 Mem alloc failure checks.
Jeremy.
(This used to be commit 4e33e3f37fd548b9b1ed3c84f673a853b0dc4818)
2003-02-04 23:44:05 +00:00
Jeremy Allison
bfcdd6eed3 Up the hash table size for printing tdb.c
Jeremy.
(This used to be commit 5f13d6b4a009a02c5d5ef9f806f0eb4b52cfe70c)
2003-02-04 23:43:21 +00:00
Jeremy Allison
0716caac8b Ensure we overwrite a tdb if the hash size changes.
Jeremy.
(This used to be commit 3497330ff53a264e433090066b7318c31d833411)
2003-02-04 23:40:17 +00:00
Andrew Bartlett
22e2340155 Add autogen.sh from distcc via mbp.
This to allow us to remove configure from CVS.
(This used to be commit 9e8e352e102b75489b4540d701ce2c67c0f3cf31)
2003-02-04 10:54:01 +00:00
Andrew Bartlett
3354f25489 Actually checking both the account and password tests would be a good idea...
Andrew Bartlett
(This used to be commit 49640635b15f53be6bb28d3d79255abe10c207dd)
2003-02-04 10:02:43 +00:00
Andrew Bartlett
89152846b7 Patch from Edmund Lam <epl@unimelb.edu.au> to fix braindead Tru64 behaviour:
Apparently acl_type is #defined to acl_common.entry_type in their acl.h....

Andrew Bartlett
(This used to be commit 3dfdaa0208ee538631378aa921300d95c596b70c)
2003-02-04 08:26:04 +00:00
Jeremy Allison
349c83f243 Ensure we only ever set fsp->conn in one place.
Jeremy.
(This used to be commit 2110901b381f2a749605c8e8b262fa5ceba11169)
2003-02-04 01:43:11 +00:00
Jim McDonough
d74edbb483 Try to allow old and new heimdal installs
(This used to be commit 29d25382ac394707da372d4af2b828bfcd0d6874)
2003-02-04 01:39:06 +00:00
Jeremy Allison
3e822dd2c6 Ensure Samba passes the open attribute truncate tests in smbtorture.
Jeremy.
(This used to be commit 651db9f242bb649f5efa4f4e59fe1ac0afe82981)
2003-02-04 01:11:33 +00:00
Herb Lewis
24eb0531b5 fix packaging
(This used to be commit 591e4ac108116fee1ad0a8bf7cb8498ee76a953d)
2003-02-04 00:19:10 +00:00
Jeremy Allison
9c1c11dada Got complete (I hope) coverage of the OPEN TRUNCATE ATTRIBUTES test.
Now to make Samba pass it :-).
Jeremy.
(This used to be commit 510cd30a6ec72544d24b79c13fc8a7d1c9415757)
2003-02-03 23:17:24 +00:00
Jeremy Allison
ce36f03701 Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit 77737b498d0c1c3efb23891465623f44c03d1801)
2003-02-03 20:37:16 +00:00
Jim McDonough
f589ec26d2 Try to get build working on systems with krb runtime but not devel libs.
Let's not assume that because one dir exists the whole shebang is there...
(This used to be commit 44fd5c827537bd14c2220f62f5e44190247ae556)
2003-02-03 18:10:27 +00:00
Tim Potter
11245e0fc3 smb signing compile fix
(This used to be commit 22d7aa0e673baa1c26205d1c659ba71ad2f94609)
2003-02-02 22:49:28 +00:00
Simo Sorce
a3a1ce50e0 untest fix for wide links parameter bug.
it work properly on 2.2 and the patch apply so I think it should be ok.
(This used to be commit 36b2f6c9320fe46a1b5d2c4e90117b7839c35f21)
2003-02-02 18:08:43 +00:00
Andrew Bartlett
809bb276ad Add some return values, and don't attempt signing for NTLMSSP yet (it uses a
different algorithm).

Andrew Bartlett
(This used to be commit e6f87c7ee5c61f03f81159a8017d31f439c4454a)
2003-02-02 11:11:24 +00:00
Andrew Bartlett
28e3e48431 Send the user's session key in the SAMLOGON reply, so that a member server can
use smb signing.

Andrew Bartlett
(This used to be commit 574e8a8ab7c94ecd9113df42e395e83632980675)
2003-02-02 05:10:26 +00:00
Andrew Bartlett
ac2eeb7a8f More signing updates - start checking that the server isn't being spoofed.
Andrew Bartlett
(This used to be commit b1c722e306533babeffeba9d8c7dcfa00e019423)
2003-02-02 00:11:12 +00:00
Jelmer Vernooij
bdeb0de487 Remove textfile from CVS - it's available in SGML now
(This used to be commit 50a49e0babc67ca20435577d7336ec36e7487b67)
2003-02-01 19:32:42 +00:00
Jelmer Vernooij
b6f1cfdffb Convert Anthony's RPC doc to SGML/XML
(This used to be commit 5a6f79b4a0d72371957b6bbb9dcfeaeb8779af70)
2003-02-01 19:30:03 +00:00
Jelmer Vernooij
229e456032 First attempt to convert John's GroupProfiles stuff to SGML/XML
(This used to be commit 02aafdaa5a786f8e0c11114437e50164b126d032)
2003-02-01 19:25:09 +00:00
Jelmer Vernooij
24f3a3ca56 First attempt to migrate the GroupProfiles stuff by John to SGML/XML
(This used to be commit b174fb761e48d0ee366b04698b076278be2b82c2)
2003-02-01 19:22:26 +00:00
Andrew Bartlett
2f5d3e7a64 We now have client-side SMB signing support!
This checking allows us to connect to Microsoft servers the use SMB signing,
within a few restrictions:

 - I've not get the NTLMSSP stuff going - it appears to work, but if you break
the sig - say by writing a zero in it - it still passes...
 - We don't currently verfiy the server's reply
 - It works against one of my test servers, but not the other...

However, it provides an excellent basis to work from.  Enable it with 'client
signing' in your smb.conf.

Doc to come (tomorrow) and this is not for 3.0, till we get it complete.

The CIFS Spec is misleading - the session key (for NTLMv1 at least) is the
standard session key, ie MD4(NT#).

Thanks to jra for the early work on this.

Andrew Bartlett
(This used to be commit 1a2738937e3d80b378bd0ed33cd8d395fba2d3c3)
2003-02-01 13:01:31 +00:00
Jelmer Vernooij
4e8a085923 NetBSD also supports dynamic libs
(This used to be commit dbb29495e7cd94b4ad07efd656d021d9551f5eb6)
2003-02-01 11:00:39 +00:00
Andrew Bartlett
7c1698d302 Bitmap offsets and counts are always positive.
(This used to be commit 8f495e8634a1777c4b03d3ec07c76f905ff2fb98)
2003-02-01 06:30:12 +00:00
Andrew Bartlett
e0adea449a Makefile.in change for ldap escaping fixes
(This used to be commit 9f3525967d3a55a0156544733a1e83711bf4be78)
2003-02-01 06:26:16 +00:00
Andrew Bartlett
df3acbadf8 One more signed/unsigned fix
(This used to be commit 013fa874733566169ecefb25458d26065190f302)
2003-02-01 06:25:08 +00:00
Andrew Bartlett
95a604f5df Non-error connection numbers are always positive
(This used to be commit 69e94440cd89a19bbcebc49d87836153b452da47)
2003-02-01 06:24:07 +00:00
Andrew Bartlett
b7ee989aa8 Prompted by RedHat bugzilla bug #77999, convert the user's username and
password from 'display' to 'unix' before we check them.

Andrew Bartlett
(This used to be commit 98a4ebf55cfce9da2c187d89a4f9c7b34e5f999e)
2003-02-01 06:17:32 +00:00
Andrew Bartlett
97716129f5 More ldap parinoia - if we ever get more than one result, bail. The order we
get them in should be indeterminate, so just picking the first one would be
bad...

Andrew Bartlett
(This used to be commit 21da8c3bb39c507eb90865549c3bb3538dcea138)
2003-02-01 06:13:33 +00:00
Andrew Bartlett
c2b134cc3b Always escape ldap filter strings. Escaping code was from pam_ldap, but I'm to
blame for the realloc() stuff.

Plus a couple of minor updates to libads.

Andrew Bartlett
(This used to be commit 34b2e558a4b3cfd753339bb228a9799e27ed8170)
2003-02-01 05:20:11 +00:00
Andrew Bartlett
1454c1c99a More doco updates, in particular the fact that you must configure the smb.conf
*before* you join, otherwise we don't have all the info that 'net join' needs.

Also move from smbpasswd -j to 'net join' in the examples.

Andrew Bartlett
(This used to be commit 9494c1e153a2a515841fb57506b7b9bff3eee7a6)
2003-02-01 05:16:00 +00:00