Tim Potter
3c95cd4cae
Added service name to vfs_connection_struct.
...
Added a vfs_options struct for passing smb.conf parameters to VFS
modules.
(This used to be commit 38cc03ae0c
)
1999-07-22 04:41:00 +00:00
Tim Potter
49f384231d
Moved a whole bunch of macros out of smb.h and into their own #include
...
file.
(This used to be commit bf61fdace8
)
1999-07-22 04:39:31 +00:00
Luke Leighton
ae0d7718eb
Tim Potter spotted compile error: matthew had added BDC support to smbd,
...
which i didn't know about!
(This used to be commit 30620b93e5
)
1999-07-21 05:07:20 +00:00
Luke Leighton
6a5a4e8186
BDC support.
...
(This used to be commit 2331aa32ab
)
1999-07-21 00:32:09 +00:00
Luke Leighton
46ce0d4619
comments requested by jeremy as to why NT/95 NULL-password distinction hack
...
was modified.
(This used to be commit 50f7bd8a9c
)
1999-07-21 00:31:16 +00:00
Luke Leighton
d0372689d6
use pstring for at command instead of fstring
...
(This used to be commit 43d3d2336f
)
1999-07-21 00:30:18 +00:00
Alexandre Oliva
77fe46b5f5
Make sure that the stamp file is newer than configure.in
...
Not a problem unless --enable-maintainer-mode is specified, and, even then
the probability of encountering a problem is minor, but so what? :-)
(This used to be commit b0a59e90c5
)
1999-07-18 20:34:50 +00:00
Alexandre Oliva
848823bc9f
Avoid multiple ``Updating dependencies'' messages before .deps/.stamp
...
is created
(This used to be commit 407eec6316
)
1999-07-18 20:31:57 +00:00
Luke Leighton
33ed8059a2
NTLMv2 check being actioned when NT password response was only 24 chars.
...
added check to ensure response is more than 24 chars before bothering
to do an NTLMv2 check.
(This used to be commit 7a58895ff2
)
1999-07-16 22:23:45 +00:00
Luke Leighton
65930413f4
check to see if copy_passwd_struct() ever receives its own internal
...
buffer as an argument :-) :-)
(This used to be commit 0d1f5e5a6d
)
1999-07-16 22:07:37 +00:00
Luke Leighton
0262b2a6b4
copy of password struct needed to be made prior to calling copy_passwd_struct
...
found by Bertl <bs@vpnet.at>.
(This used to be commit 93298bca1c
)
1999-07-16 22:03:15 +00:00
Luke Leighton
7c29698e41
work-around for win95 NULL session bug: NULL password actually being
...
placed in data stream before username / domain, whereas NT doesn't do
this...
(This used to be commit 44e6d4c1b0
)
1999-07-15 21:25:58 +00:00
Luke Leighton
939f6d6794
more dfs stuff. this looks like it's going to be more appropriate to use
...
the vfs tables. at the moment, i replaced all calls to unix_convert()
with unix_dfs_convert().
this does the job, but it's not very nice.
(This used to be commit 00d4aebce9
)
1999-07-15 20:44:24 +00:00
Luke Leighton
2b354d7330
dfs issues
...
(This used to be commit d9ada8b55d
)
1999-07-15 17:52:44 +00:00
Luke Leighton
92b8937bae
added %d %d to error message, try to track down the uid / smb_uid mismatch
...
(This used to be commit ec918ba144
)
1999-07-15 17:50:27 +00:00
Luke Leighton
1f33d5a8aa
code from bertl to allow remap of default built-in names to anything.
...
parameter is "builtin rid file".
Copyright 1999 Bertl <bp@vpnet.at>
(This used to be commit 80d3677843
)
1999-07-14 19:21:44 +00:00
Luke Leighton
c553c01c86
removed strncpy()
...
(This used to be commit 4bdff27489
)
1999-07-14 18:16:57 +00:00
Luke Leighton
0ad513f42c
renamed getfilepwent() and endfilepwent() to getfileent() and endfileent()
...
as they are generic "file line-by-line" reading routines. lines with
"#" at the front are ignored (as comments). this code started out as
the password file reading code.
(This used to be commit ef6df590fd
)
1999-07-13 19:54:40 +00:00
Luke Leighton
d2b2dff2e8
dfs parsed string length was being set explicitly to value "6", overwriting
...
the correct length.
(This used to be commit 5d1fad53c2
)
1999-07-13 19:52:33 +00:00
Luke Leighton
d9a18c82d1
Jean-Francois Micouleau's rewrite of Nigel William's DFS support
...
(This used to be commit e6116c40d4
)
1999-07-12 21:33:11 +00:00
Luke Leighton
ac61e4aee2
lengths of NT passwords when "encrypt passwords = no" can be completely
...
random. values seen can be as high as 18255. this fails the check
of <= 24 which sets NT password length to 0, effectively ignoring it.
the <= 24 was removed in reply_sesssetup_X.
(This used to be commit 98d43b20dc
)
1999-07-12 18:57:05 +00:00
Luke Leighton
8f1404739f
Jean-Francois Micouleau's rewritten DFS patch, originally written by
...
Nigel Williams. despite the data format being *exactly* the same as
NT's, this still doesn't work yet. more work needed.
(This used to be commit 270981960b
)
1999-07-12 18:46:15 +00:00
Luke Leighton
50429f6056
anon passwd connection: passlen=1; ntpasslen=0.
...
(This used to be commit 12ee037d44
)
1999-07-11 19:26:27 +00:00
Luke Leighton
4820c47801
NULL pwdb_xxx_map_names() parameter can be passed here (which is a bug
...
anyway!)
(This used to be commit 91d5bda9ad
)
1999-07-11 19:15:53 +00:00
Tim Potter
d244f2d1c8
Partial GNU readline support for rpcclient. Only command line history
...
and command completion implemented.
(This used to be commit 795fa6a518
)
1999-07-09 05:10:10 +00:00
Tim Potter
6919a92aee
When making anonymous connections, must pass pointers to real nt
...
password and password length variables not constants.
(This used to be commit 236022071f
)
1999-07-09 03:55:15 +00:00
Tim Potter
59bd1de1a5
Put back in GNU readline support for smbclient accidentally trashed by
...
tridge in the clientgen.c to clientutil.c conversion.
(This used to be commit 26d66071fb
)
1999-07-09 03:34:09 +00:00
Tim Potter
60e08bd35e
Hived off string routines into a separate file.
...
(This used to be commit 4929513f13
)
1999-07-09 01:59:22 +00:00
Luke Leighton
820c382211
fixed problem with NULL ntpasswd parameters causing crash in
...
static cli_calc_session_pwds(). this code used to be inside cli_session_setup()
itself and worked on non-NULL local variables.
(This used to be commit 7aff19ba57
)
1999-07-08 19:44:06 +00:00
Luke Leighton
a424da878f
Ignacio Coupeau <icoupeau@unav.es> suggested modification to ldap search.
...
(This used to be commit 7d63376417
)
1999-07-08 19:04:04 +00:00
Luke Leighton
55c0c85f4d
allow safe_strcpy() to pass 0 for max length of string, resulting in no
...
effect.
(This used to be commit 47e54d049a
)
1999-07-08 18:57:58 +00:00
Luke Leighton
019d80f597
issues with pwdb_sam_map_names() and pwdb_smb_map_names() returning NULL.
...
found by Bertl <bs@vpnet.at>
(This used to be commit 389c17a225
)
1999-07-08 18:44:50 +00:00
Luke Leighton
15291cb74f
use of dos_mkdir() in generate_sam_sid() should be unix mkdir
...
(This used to be commit 16371d8fe1
)
1999-07-07 21:22:18 +00:00
Luke Leighton
264459d25a
added debug reporting to pwdb_sam_map_names() and pwdb_smb_map_names()
...
(This used to be commit baab308152
)
1999-07-07 18:44:58 +00:00
Luke Leighton
527820d306
oops, refused lm when ntlmv2 was true not false/auto. oops!
...
(This used to be commit 6b4b24d220
)
1999-07-07 16:44:38 +00:00
Luke Leighton
a0b0fa7bb1
using jeremy's sys_getpwnam() call in the more critical area: Get_Pwnam().
...
made sure that hashed_getpwnam() has the copy-passwd-struct-wrapper
around it, too.
TODO: replace all calls of getpwnam() with sys_getpwnam().
(This used to be commit 436a891455
)
1999-07-06 22:08:55 +00:00
Luke Leighton
7be65db640
added jeremy's sys_getpwnam() and sys_getpwuid() routines from 2_0 tree.
...
(This used to be commit df756f3723
)
1999-07-06 21:50:29 +00:00
Luke Leighton
7672761567
use of safe_cli_errstr() and cli_establish_connection().
...
(This used to be commit b60eb8c9fc
)
1999-07-06 21:29:54 +00:00
Luke Leighton
e71801c3de
reporting failure to accept ntlmv2 (only) with down-level protocols (LANMAN1
...
and below).
(This used to be commit be7b978249
)
1999-07-06 21:26:39 +00:00
Luke Leighton
ec711742c0
smb_password_ok() checking incorrectly whether lm password exists.
...
when lmcompatibilitylevel=0x2 on nt sp4+ clients, lm# is not sent.
(This used to be commit e655e68474
)
1999-07-06 21:25:42 +00:00
Luke Leighton
f922d25ce8
oops, set password lengths to a boolean value.
...
(This used to be commit e6d43ddb1b
)
1999-07-06 20:33:24 +00:00
Luke Leighton
8c19a3be04
patch from michael stockman <pgmtekn-micke@algonet.se> to provide a static
...
struct passwd in _Get_Pwnam(). _Get_Pwnam() is responsible for malloc/
freeing the string pointers to this struct passwd, NOT the callers of
_Get_Pwnam().
(This used to be commit 41f071642d
)
1999-07-06 19:08:40 +00:00
Jean-François Micouleau
89517ed4d3
many small bugs...
...
J.F.
(This used to be commit bda429eb73
)
1999-07-01 18:02:34 +00:00
Luke Leighton
c31d5972a8
removed old code/comments.
...
(This used to be commit bc8c46bc08
)
1999-06-29 20:51:29 +00:00
Luke Leighton
8e14594798
smbclient modified to use cli_establish_connection(). smbclient therefore
...
now uses improved authentication. smbclient now "broken" for "scripts"
based on DEBUG() output. cli_establish_connection() requires modification
to support old scripts.
(This used to be commit b0539d4340
)
1999-06-29 19:39:23 +00:00
Luke Leighton
73891ca8e4
improving authentication code (tidyup).
...
(This used to be commit ab1a6aa42d
)
1999-06-29 18:47:06 +00:00
Luke Leighton
1dc6c6c7ca
use nmb_safe_namestr.
...
(This used to be commit de9a38b0bc
)
1999-06-24 19:09:03 +00:00
Luke Leighton
f63e807048
safe string version of nmb_namestr.
...
(This used to be commit 250621b3ce
)
1999-06-24 19:02:37 +00:00
Luke Leighton
cae3620b2e
safe string error reporting functions (found a potential buffer overflow
...
of a pstrcpy into an fstring).
(This used to be commit ac0060443d
)
1999-06-24 18:58:08 +00:00
Luke Leighton
07afc549e2
debugging of NBT messages added.
...
(This used to be commit ceb20adb3c
)
1999-06-24 18:50:55 +00:00