1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

10115 Commits

Author SHA1 Message Date
Tim Potter
a68de8f42c Merge of nicer error message for gencache open error from HEAD.
(This used to be commit 23ca540005)
2003-02-12 01:20:56 +00:00
Tim Potter
0f2d66a141 Sync with HEAD version.
(This used to be commit 3a912bee74)
2003-02-12 01:19:34 +00:00
Jeremy Allison
7d4eef34e3 Correctly return access denied on share mode deny when we can't open the
file. This is a regression that was damaged by other code.
Jeremy.
(This used to be commit 7844a53df7)
2003-02-12 01:13:35 +00:00
Jeremy Allison
b792454963 Correctly return access denied on share mode deny when we can't open the
file. This is a regression that was damaged by other code.
Jeremy.
(This used to be commit 5cdc957ea6)
2003-02-12 01:12:33 +00:00
Jeremy Allison
cba08587d3 Merge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**
Jeremy.
(This used to be commit 81437e2ad0)
2003-02-12 01:09:35 +00:00
Jeremy Allison
4403a1655c Merge from HEAD...setup the %U substitution in winbindd for the homedir template
Jeremy.
(This used to be commit efc4b738ae)
2003-02-12 01:08:40 +00:00
Jeremy Allison
abbbaa2f6f Merging from HEAD - add a note about a better method for finding netbios name of workgroup
(not implemented yet)
Jeremy.
(This used to be commit c0eab99753)
2003-02-12 01:07:48 +00:00
Jeremy Allison
dc1f0fd79a Ensure we are not forgetting our janitorial duties...
Jeremy.
(This used to be commit 7812370cab)
2003-02-12 01:06:52 +00:00
Andrew Tridgell
0e42cf2460 setup the %U substitution in winbindd for the homedir template
(This used to be commit 6186c10ceb)
2003-02-12 00:56:14 +00:00
Andrew Tridgell
8c60a408e1 add a note about relative opens with blank paths - its a re-open!
(not implemented yet)
(This used to be commit bceac9cdde)
2003-02-12 00:41:35 +00:00
Andrew Tridgell
3b562efcbd add a note about a better method for finding netbios name of workgroup
(not implemented yet)
(This used to be commit 8a8cca78ad)
2003-02-12 00:40:41 +00:00
Andrew Tridgell
c713b6aaf5 pull_ucs2_talloc() should pull to a char**, not a void**
(This used to be commit 3cf539421f)
2003-02-12 00:39:36 +00:00
Andrew Tridgell
5b70946744 removed a duplicate copy of smb_io_sid_array()
(This used to be commit 2ef72f9500)
2003-02-11 22:53:57 +00:00
Andrew Bartlett
ef6be9db1e Merge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace scandir() with portable readdir() calls.
Andrew Bartlett
(This used to be commit b9ca0b9ef3)
2003-02-11 21:56:38 +00:00
Andrew Tridgell
8ddccd47c7 added server stubs for lsa_enum_acct_with_right
(This used to be commit aa2abacaf4)
2003-02-11 21:55:48 +00:00
Andrew Bartlett
2d220ef00d Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
madness.

Andrew Bartlett
(This used to be commit 7836b9a58d)
2003-02-11 21:54:36 +00:00
Jim McDonough
270631338d remove trailing 'a' from VFS_MODULES targets...fix build
(This used to be commit fa4961b1fc)
2003-02-11 19:57:17 +00:00
Jeremy Allison
4689a33497 Fixup delete on close torture.
Jeremy.
(This used to be commit b031e81f4f)
2003-02-11 02:29:04 +00:00
Jeremy Allison
e6ac820d81 Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to
track it down.
Jeremy.
(This used to be commit 41894489e8)
2003-02-11 02:24:51 +00:00
Jeremy Allison
cc99ea0ef0 Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to
track it down.
Jeremy.
(This used to be commit c98ebb3031)
2003-02-11 02:24:45 +00:00
Shirish Kalele
70f1fcb87b Fix the msdfs proxy handling code in dfsenum to return the cumulative number of
dfs links encountered. Previously the number was being mistakenly reset to 1.
Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix.
[Check into SAMBA_3_0]
(This used to be commit 041a1dd543)
2003-02-11 01:45:48 +00:00
Shirish Kalele
f687e95377 Fix the msdfs proxy handling code in dfsenum to return the cumulative number of
dfs links encountered. Previously the number was being mistakenly reset to 1.
Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix.
[Check into HEAD]
(This used to be commit 9307942a89)
2003-02-11 01:45:15 +00:00
Gerald Carter
89393d93b0 autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit f869db787b)
2003-02-10 17:31:25 +00:00
Gerald Carter
a9f1ec0d6b autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
(This used to be commit 1585385729)
2003-02-10 17:30:20 +00:00
Richard Sharpe
0ad56b68a2 Fix a mistake spotted by Metze
(This used to be commit cf167e9249)
2003-02-10 16:42:24 +00:00
Andrew Bartlett
bb9c664622 Clean up our NTLMv2 code by moving the grunt work into a helper function.
Andrew Bartlett
(This used to be commit 6789e237d7)
2003-02-10 12:22:57 +00:00
Andrew Bartlett
8a20407442 Cleanups: (merge from HEAD)
- use safe_strcpy() instead of pstrcpy() for malloc()ed strings

 - CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff.

 - Fix up a possible Realloc() failure segfault

Andrew Bartlett
(This used to be commit c1cfc296c2)
2003-02-10 11:47:21 +00:00
Andrew Tridgell
6c66e42d2c added the 'lsaenumacctwithright' command to rpcclient. This allows you
to lookup what SIDs have a particular privilege (that is how
privileges are stored).
(This used to be commit 3ddb5fb0dd)
2003-02-10 11:31:23 +00:00
Andrew Bartlett
baff308f16 As metze mentioned, this is the proper way to find perl...
Andrew Bartlett
(This used to be commit f364921864)
2003-02-10 10:36:09 +00:00
Andrew Bartlett
6fa61ac2a8 perl might not be in /usr/bin/perl, so try and find it in the path.
Perhaps this generated file should be autobuilt on samba.org for the
build farm and the tarballs.

Andrew Bartlett
(This used to be commit b8a07da680)
2003-02-10 09:23:30 +00:00
Andrew Bartlett
c46f8a0249 Use safe_strcpy() instead of pstrcpy() for malloced strings.
Andrew Bartlett
(This used to be commit 333d313c9d)
2003-02-10 09:20:09 +00:00
Andrew Bartlett
a9d598d6bb Failure to find a CUPS printer, when auto-adding printers is not a level 0 error.
Andrew Bartlett
(This used to be commit 79650e08c9)
2003-02-10 09:18:04 +00:00
Andrew Bartlett
ec7a1994b0 Some cleanups:
- Don't use pstrcpy into an allocated string - use safe_strcpy() directly
instead.

- Keep a copy of the 'server_info' attached to the vuid.  In future use this
for things like the session key, homedir and full name instead of current
copies.

- Try to avoid memory leak/segfault on Realloc failure

- clear up #endif comments

Andrew Bartlett
(This used to be commit 162477bb08)
2003-02-10 09:16:05 +00:00
Andrew Bartlett
868d169a40 (only for HEAD at the moment).
Add NTLMv2 support to our client, used when so configured ('client use NTLMv2 =
yes') and only when 'client use spengo = no'.  (A new option to allow the
client and server ends to chose spnego seperatly).

NTLMv2 signing doesn't yet work, and NTLMv2 is not done for NTLMSSP yet.

Also some parinoia checks in our input parsing.

Andrew Bartlett
(This used to be commit 85e9c060ea)
2003-02-09 12:26:58 +00:00
Jeremy Allison
4703248a8e Ensure we return NOSPACE if we can't fast allocate a print job.
Jeremy.
(This used to be commit 82cf8aa747)
2003-02-08 01:04:43 +00:00
Jeremy Allison
d05322efce Ensure we return NOSPACE if we can't fast allocate a print job.
Jeremy.
(This used to be commit 9cd29f2bac)
2003-02-08 01:04:26 +00:00
Andrew Bartlett
8f166a9725 merge from HEAD - x_fileno, not fileno on an XFILE
(This used to be commit e3468d8edc)
2003-02-08 01:01:49 +00:00
Andrew Bartlett
99f9caebe4 One more fix for the difference between FILE and X_FILE.
(This used to be commit 7e56014b28)
2003-02-08 01:00:55 +00:00
Andrew Bartlett
b36a53b0cb Merge from HEAD - don't mix FILE and X_FILE - fixes debian bug
http://bugs.debian.org/178219 where the first 4096 bytes where being chewed
into the FILE buffer, and never available to X_FILE's read.

Andrew Bartlett
(This used to be commit 8af72c1384)
2003-02-08 00:08:23 +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 6a028507f0)
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 45d4e58ca5)
2003-02-07 22:52:35 +00:00
Jeremy Allison
9e8fc1ee4e Samba janitors: applying mbp's redundant umask fix.
Jeremy.
(This used to be commit b54f6bf06c)
2003-02-07 22:52:19 +00:00
Jeremy Allison
a90def7e8a Samba janitor: adding mbp's umask patch :-).
Jeremy.
(This used to be commit d4d8d27bf1)
2003-02-07 21:59:51 +00:00
Jeremy Allison
5bff9ad142 Samba janitor: adding mbp's umask patch :-).
Jeremy.
(This used to be commit babbbd9c65)
2003-02-07 21:59:42 +00:00
Gerald Carter
36657d41ce check pointer before dereferencing it
(This used to be commit 786d91d75c)
2003-02-07 16:20:58 +00:00
Gerald Carter
67acaa0026 check pointer before dereferencing it
(This used to be commit 8712bd1f8e)
2003-02-07 16:20:42 +00:00
Volker Lendecke
13f65125ac Invert flag testing
(This used to be commit 05397c526d)
2003-02-07 08:03:37 +00:00
Volker Lendecke
6b703fc40a Revert Flag testing upon abartlet's request ;-)
Volker
(This used to be commit e8f751fe84)
2003-02-07 08:02:18 +00:00
John Terpstra
51bf3e0b76 Added my name to copyright.
(This used to be commit 143df82aeb)
2003-02-07 05:01:06 +00:00
John Terpstra
5eac9f60cc Added extended audit module that logs to smbd log as well as syslog.
(This used to be commit d2fe7e38b2)
2003-02-07 05:00:34 +00:00
John Terpstra
fb0cb8894a Added extended audit module.
(This used to be commit f158bfa233)
2003-02-07 04:56:37 +00:00
John Terpstra
e0a9628bd4 Added audit module that logs info to smbd log file as well as syslog.
(This used to be commit 0ce5f23bdb)
2003-02-07 04:53:15 +00:00
Andrew Tridgell
50edc1a831 merge from head
(This used to be commit fd3216dbcb)
2003-02-07 04:11:36 +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 b4c210ccb0)
2003-02-07 04:01:36 +00:00
Volker Lendecke
21ee739b83 merge from HEAD
(This used to be commit 4ef6de20cb)
2003-02-06 17:10:38 +00:00
Volker Lendecke
0326e054c3 Make account flags editable with pdbedit.
Volker
(This used to be commit 597c505509)
2003-02-06 16:53:58 +00:00
Andrew Bartlett
0f5ac791db .cvsignore for configure and config.h.in
(This used to be commit 7d48ad967c)
2003-02-06 10:40:51 +00:00
Andrew Tridgell
81356b6269 ignore config.h.in in cvs as generated by autoheader
(This used to be commit 830423abd8)
2003-02-06 09:55:21 +00:00
Andrew Tridgell
a74bdcbee0 ignore configure in cvs
(This used to be commit 0a5ed634d8)
2003-02-06 09:54:51 +00:00
Andrew Bartlett
82bad04844 (merge from HEAD)
Move configure and include/config.h.in out of CVS.

Andrew Bartlett
(This used to be commit 482465bbaf)
2003-02-06 09:22:22 +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 15bba73dea)
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 64ac6c2bcb)
2003-02-06 05:42:19 +00:00
Jeremy Allison
0edff28a63 Collapse duplicate messages before sending.
Jeremy.
(This used to be commit 105d37474d)
2003-02-05 23:03:58 +00:00
Jeremy Allison
68fdf96637 Collapse duplicate messages before sending.
Jeremy.
(This used to be commit 203959f1c2)
2003-02-05 23:03:47 +00:00
Jeremy Allison
56060dcf9e Fixed type.
Jeremy.
(This used to be commit ae635bb6ec)
2003-02-05 22:09:32 +00:00
Jeremy Allison
7d854ebcc6 Fixed type.
Jeremy.
(This used to be commit 76c3ccf6ed)
2003-02-05 22:09:06 +00:00
Jeremy Allison
15fda89ab6 Check for too many processes *before* the fork.
Jeremy.
(This used to be commit dfb596b012)
2003-02-05 21:17:12 +00:00
Jeremy Allison
35a8dceb20 Check for too many processes *before* the fork.
Jeremy.
(This used to be commit be54b1b831)
2003-02-05 21:16:55 +00:00
Gerald Carter
9a42f660fb CUPS patch to log client name
(This used to be commit 364a4de6df)
2003-02-05 06:37:54 +00:00
Gerald Carter
0adfd3d418 CUPS patch to log client name
(This used to be commit d4168c327b)
2003-02-05 06:37:27 +00:00
Jeremy Allison
42edbfe918 Hold the lock for a much shorter time when allocating a new jobid.
Jeremy.
(This used to be commit 62e274abbb)
2003-02-04 23:52:49 +00:00
Jeremy Allison
d62f32ceeb Hold the lock for a much shorter time when allocating a new jobid.
Jeremy.
(This used to be commit 0b5a0fec82)
2003-02-04 23:52:46 +00:00
Jeremy Allison
eccae5d23a Mem alloc checks.
Jeremy.
(This used to be commit 46ea028169)
2003-02-04 23:44:28 +00:00
Jeremy Allison
0701e642f2 Mem alloc failure checks.
Jeremy.
(This used to be commit 4e33e3f37f)
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 5f13d6b4a0)
2003-02-04 23:43:21 +00:00
Jeremy Allison
41b680fce5 Up the hash table size for printing tdb.c
Jeremy.
(This used to be commit 97848f40ee)
2003-02-04 23:43:03 +00:00
Jeremy Allison
2e45eda386 Ensure we overwrite a tdb if the hash size changes.
Jeremy.
(This used to be commit b300696cb5)
2003-02-04 23:40:43 +00:00
Jeremy Allison
0716caac8b Ensure we overwrite a tdb if the hash size changes.
Jeremy.
(This used to be commit 3497330ff5)
2003-02-04 23:40:17 +00:00
Jim McDonough
ae26a74e79 Try to allow old and new heimdal installs
(This used to be commit 6d593ca174)
2003-02-04 16:33:24 +00:00
cvs2svn Import User
5cafa28cfc This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 0dfbda0048) 2003-02-04 10:54:02 +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 9e8e352e10)
2003-02-04 10:54:01 +00:00
Andrew Bartlett
b694d0ff53 Merge HEAD: check both the account and password...
Andrew Bartlett
(This used to be commit 830de56bf2)
2003-02-04 10:08:45 +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 49640635b1)
2003-02-04 10:02:43 +00:00
Andrew Bartlett
1fb6f689e7 Merge from HEAD: avoid braindead #define on Tru64.
(This used to be commit 299233fbf2)
2003-02-04 08:27:02 +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 3dfdaa0208)
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 2110901b38)
2003-02-04 01:43:11 +00:00
Jeremy Allison
ce85e52eff Ensure we only ever set fsp->conn in one place.
Jeremy.
(This used to be commit d8a42753cc)
2003-02-04 01:43:10 +00:00
Jim McDonough
d74edbb483 Try to allow old and new heimdal installs
(This used to be commit 29d25382ac)
2003-02-04 01:39:06 +00:00
Jeremy Allison
70a03079a7 Ensure Samba passes the open attribute truncate tests in smbtorture.
Jeremy.
(This used to be commit b3df40bc80)
2003-02-04 01:11:56 +00:00
Jeremy Allison
3e822dd2c6 Ensure Samba passes the open attribute truncate tests in smbtorture.
Jeremy.
(This used to be commit 651db9f242)
2003-02-04 01:11:33 +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 510cd30a6e)
2003-02-03 23:17:24 +00:00
Herb Lewis
5e391e0092 fix another syntax error
(This used to be commit 678c07f11d)
2003-02-03 22:07:14 +00:00
Herb Lewis
9c36c6094f if @EXTRA_ALL_TARGETS@ is empty, this fixes makefile syntax error
(This used to be commit aef873826f)
2003-02-03 21:58:58 +00:00
Jeremy Allison
824bcb885c Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit e96978954b)
2003-02-03 20:38:01 +00:00
Jeremy Allison
ce36f03701 Grrr. Kill all BSD-isms... Spotted by Paul Green <paulg@sw.stratus.com>.
Jeremy.
(This used to be commit 77737b498d)
2003-02-03 20:37:16 +00:00
Gerald Carter
c803605f3d reran autoconf-2.53
(This used to be commit 60955d1b81)
2003-02-03 19:29:15 +00:00
Jim McDonough
cd1a26b87e 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 de8ffcad47)
2003-02-03 18:20:54 +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 44fd5c8275)
2003-02-03 18:10:27 +00:00
Tim Potter
11245e0fc3 smb signing compile fix
(This used to be commit 22d7aa0e67)
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 36b2f6c932)
2003-02-02 18:08:43 +00:00
Simo Sorce
df6d278785 untest fix from HEAD/2.2 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 8498503f1d)
2003-02-02 18:08:37 +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 e6f87c7ee5)
2003-02-02 11:11:24 +00:00
Andrew Bartlett
3719bfd1a0 Merge from HEAD: Send the session key to the client, allowing it to perform SMB
signing.

Andrew Bartlett
(This used to be commit 9bcdb869e5)
2003-02-02 05:22:37 +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 574e8a8ab7)
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 b1c722e306)
2003-02-02 00:11:12 +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 1a2738937e)
2003-02-01 13:01:31 +00:00
Jelmer Vernooij
39e0b72728 Merge from HEAD: netbsd supports dynamic libs
(This used to be commit f91d4c8fd3)
2003-02-01 12:18:37 +00:00
Jelmer Vernooij
4e8a085923 NetBSD also supports dynamic libs
(This used to be commit dbb29495e7)
2003-02-01 11:00:39 +00:00
Andrew Bartlett
963e88aa90 Merge LDAP filter parinoia from HEAD, a few other pdb_ldap updates and some
misc libads fixes.

Andrew Bartlett
(This used to be commit 9c3a1710ef)
2003-02-01 07:59:29 +00:00
Andrew Bartlett
9c858c3188 Merge from HEAD - convert username/password to unix before checking them in
SWAT.
(This used to be commit 8485c51bc4)
2003-02-01 07:27:01 +00:00
Andrew Bartlett
3b2244526c Merge of signed/unsigned fixes from HEAD.
(This used to be commit e9f56a157b)
2003-02-01 07:25:53 +00:00
Andrew Bartlett
7c1698d302 Bitmap offsets and counts are always positive.
(This used to be commit 8f495e8634)
2003-02-01 06:30:12 +00:00
Andrew Bartlett
e0adea449a Makefile.in change for ldap escaping fixes
(This used to be commit 9f3525967d)
2003-02-01 06:26:16 +00:00
Andrew Bartlett
df3acbadf8 One more signed/unsigned fix
(This used to be commit 013fa87473)
2003-02-01 06:25:08 +00:00
Andrew Bartlett
95a604f5df Non-error connection numbers are always positive
(This used to be commit 69e94440cd)
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 98a4ebf55c)
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 21da8c3bb3)
2003-02-01 06:13:33 +00:00
cvs2svn Import User
21554bfae2 This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit ed336acc6e) 2003-02-01 05:20:12 +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 34b2e558a4)
2003-02-01 05:20:11 +00:00
Andrew Bartlett
cf4e0982fd Make it clear that the magic value is (size_t)-1.
Andrew Bartlett
(This used to be commit 0676b4e35f)
2003-02-01 04:40:00 +00:00
Andrew Bartlett
840e8b3502 A couple more signed/unsigned issues.
(This used to be commit 01d78b828b)
2003-02-01 04:39:15 +00:00
Jeremy Allison
d7f253609d Added first part of attribute matrix tests. Not run and compiled in right now...
Jeremy.
(This used to be commit fdc14aa6f6)
2003-01-31 20:01:32 +00:00
Jeremy Allison
351db1e6ee Ensure Luke Howard's (C) is added.
Jeremy.
(This used to be commit 6624fa59d7)
2003-01-31 18:34:12 +00:00
Jeremy Allison
6aeddce85e Ensure Luke Howard's (C) is added.
Jeremy.
(This used to be commit 4af9e80521)
2003-01-31 18:33:35 +00:00
Jeremy Allison
bbf9f09ee5 Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
(This used to be commit 07efebb984)
2003-01-30 23:55:58 +00:00
Jeremy Allison
b102e79e75 Add 3 second timeout when terminating server and sending print notify
messages. Stops build-up of large numbers of smbd's waiting to terminate
on large print throughput.
Jeremy.
(This used to be commit 4ae130bfa8)
2003-01-30 23:55:13 +00:00
Jeremy Allison
bcf6fae786 More scalable print tdb fixes.
Jeremy.
(This used to be commit fa8647eb20)
2003-01-30 23:27:16 +00:00
Jeremy Allison
920287bf6b More scalable print tdb fixes.
Jeremy.
(This used to be commit 7ace900b33)
2003-01-30 23:26:49 +00:00
Jeremy Allison
2a3c62b747 Sync up with 3.0 heimdal.
Jeremy.
(This used to be commit 371f4aca92)
2003-01-30 20:36:59 +00:00
Jeremy Allison
59222d70e2 Re-added the Heimdal stuff tpot removed.
Jeremy.
(This used to be commit e79dc0dade)
2003-01-30 20:36:44 +00:00
Jeremy Allison
13e5145b1a Fix kerberos compile after the tpot massicre :-).
Jeremy
(This used to be commit d63849db6d)
2003-01-30 20:16:18 +00:00
Jeremy Allison
32bfb31947 Revert tpot's HEAD merge which broke the Heimdal build.
Jeremy.
(This used to be commit 1298ecd0b8)
2003-01-30 18:03:34 +00:00
Jeremy Allison
0414b4ac93 Stop tpot from trampling over my Heimdal fixes by moving some of them
to HEAD :-).
Jeremy.
(This used to be commit 1fec0f50ed)
2003-01-30 18:01:23 +00:00
Jeremy Allison
f6fbf0c9db Revert tpot's breakage of the Heimdal fixes.
Jeremy.
(This used to be commit 90336900ad)
2003-01-30 18:01:03 +00:00
Gerald Carter
f02f723dde Straus VOS detection patches from Paul Green
(This used to be commit 29962f99f2)
2003-01-30 17:07:28 +00:00
Gerald Carter
a7f3709720 Straus VOS detection patches from Paul Green
(This used to be commit 726181537d)
2003-01-30 17:04:47 +00:00
Tim Potter
cf292aead6 Sync of Heimdal kerberos stuff with HEAD. If this breaks I'm blaming
the dog again.
(This used to be commit 6f89ee2c9d)
2003-01-30 04:40:12 +00:00
Tim Potter
142837e5d3 Merge of controversial 'max log size' fix.
(This used to be commit 71e2b60d8f)
2003-01-30 04:38:39 +00:00
Tim Potter
97027aa5ff Merge of REQ_DEBUGLEVEL messaging and debug_count fixes from HEAD.
(This used to be commit abb112ba2a)
2003-01-30 04:37:18 +00:00
Tim Potter
4d26d86195 The REQ_DEBUGLEVEL message returns a string not a list of integers.
(This used to be commit 08050a93d9)
2003-01-30 04:01:21 +00:00
Tim Potter
0310697963 Move debug level message handling into debug.c from messages.c
Removed duplicate message_register() for REQ_DEBUGLEVEL message.
(This used to be commit 6fee7196d6)
2003-01-30 04:00:28 +00:00
Jeremy Allison
f26591b3de Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy.
(This used to be commit d1e8991a76)
2003-01-30 01:42:08 +00:00
Jeremy Allison
b61f89826f Fix for interesting resource constraint condition. When all opens are
level 2 and a request for open with no oplock is received then the
smbd should send *synchronous* break messages, not asynchronous,
otherwise it spins very rapidly, releasing the lock, sending the
'break to none' messages and then re-acquiring the lock before
any other process has a chance to get the lock and remove it's own
oplock (at least on linux).
Jeremy
(This used to be commit 33e3e863eb)
2003-01-30 01:41:46 +00:00
John Terpstra
812a531f45 Added "passwd backend" to WIZARD section in SWAT.
(This used to be commit 0104e80637)
2003-01-29 23:38:55 +00:00
Jeremy Allison
f8601187ca Merge tpot's changes to request the correct sizes for user dispinfo
from HEAD. I had to do this for him as he was *so* tired, the poor
chap, plus he has this bad leg, plus the dog ate his homework etc. etc.
Jeremy.
(This used to be commit 1e752b48a1)
2003-01-29 20:15:35 +00:00
Gerald Carter
aed54afc2c playing janitor for abartlet. :-(
"
Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.

We really need to get the PDB backends out of the IDMAP game...

Andrew Bartlett
"
(This used to be commit e959a8eb67)
2003-01-29 18:47:57 +00:00
Jeremy Allison
655000e43e Removed duplicate fn to avoid compiler warning. (from HEAD - tpot).
Jeremy.
(This used to be commit 60be9a2f1e)
2003-01-29 17:55:41 +00:00
Andrew Bartlett
6789cc3de6 Merge from HEAD - fix to findsmb by Waider
(This used to be commit 28258224de)
2003-01-29 13:14:18 +00:00
Andrew Bartlett
4c9f6c5a31 Fix to findsmb by Waider
(This used to be commit c32c1bccc2)
2003-01-29 13:13:00 +00:00
Andrew Bartlett
cbe8213a62 Make the vampire code use just pdb calls - allowing better operation on systems
that are not configured with an add user script, and have an _nua backend for
storage.

We really need to get the PDB backends out of the IDMAP game...

Andrew Bartlett
(This used to be commit dceb7820d7)
2003-01-29 12:11:30 +00:00