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
Luke Leighton
0f6896b7a0
#ifdef'd out hashed_getpwnam.
...
(This used to be commit 1d2557cc27
)
1999-06-24 18:49:42 +00:00
Jean-François Micouleau
0c927f2b1b
Fixed most memory leak and big-endian bug in the spoolss code.
...
Also added addform/setform rpc api calls. Now I can add/change forms from
the server property dialog box.
Jean Francois
(This used to be commit 8d73f83b6c
)
1999-06-22 18:42:10 +00:00
Tim Potter
76f2829428
make proto
...
(This used to be commit 44f19b5062
)
1999-06-13 04:49:13 +00:00
Tim Potter
0132160229
Return a (void *)0 instead of NULL in readdir64() wrapper.
...
(This used to be commit d78224a7d2
)
1999-06-13 04:27:57 +00:00
Tim Potter
74e19e5b81
Return a #error if no functions could be found to wrap around.
...
(This used to be commit 36f9ce7993
)
1999-06-13 04:26:58 +00:00
Tim Potter
cae193606d
Modified to cope with functions that return a const something.
...
(This used to be commit 56738ec526
)
1999-06-13 04:15:30 +00:00
Tim Potter
731c7f2ecf
Moved code that changes the pw_passwd entry (i.e shadow password and
...
weird unixware stuff) into _Get_Pwnam() to fix a memory allocation bug.
Note that the Get_Pwnam() function now returns a const struct passwd *
as a hint to other developers not to change entries in the struct
passwd.
(This used to be commit 36d7cb4ccc
)
1999-06-13 04:14:24 +00:00
Tim Potter
eaa085e8a7
Hived off debugging code from smb.h and put into debug.h
...
(This used to be commit afe5be3cf6
)
1999-06-13 04:01:08 +00:00
Alexandre Oliva
042213eb22
Use ${1+"$@"} instead of $*
...
Reported by SATOH Fumiyasu <fumiya@cij.co.jp>
(This used to be commit 6cd8d68965
)
1999-06-10 10:16:26 +00:00
Matthew Chapman
6aa63bd761
Fixing core dump bug with unix password sync, caused by a NULL
...
connection_struct in a call to OpenDir.
JF, you fixed a similar bug in printing/nt_printing.c, I think your fix
is incorrect as global configuration files should not go through a VFS.
(This used to be commit 0e0c310a3e
)
1999-06-02 04:11:50 +00:00
Matthew Chapman
99e42c0656
Some more BDC-related fixes, mainly to the NET_SAM_SYNC RPC with respect
...
to alignment, missing fields, etc. - it should now work correctly.
There is still the problem of decoding the private data field.
(This used to be commit c3c25e762f
)
1999-06-02 03:19:20 +00:00
Tim Potter
c2919e499a
Avoid a symbol conflict with /usr/include/sys/vfs.h under AIX.
...
Thanks to Steve Noyd Jones <noyd@u.washington.edu>
(This used to be commit 117d369aed
)
1999-05-11 23:58:20 +00:00
Luke Leighton
810d9a1627
variation of random SMBtrans2. random delays in between reconnections
...
increased. size of large random buffer decreased. number of reconnection
attempts increased.
(This used to be commit 980a7b11f3
)
1999-05-07 20:21:30 +00:00
Luke Leighton
f84a04c59a
the times in sam_user_info_23 may not be in the right order
...
(This used to be commit 34e623d607
)
1999-05-07 18:21:38 +00:00
Luke Leighton
94a4094f44
had to move day display names into lib/util, to get rpctorture to compile.
...
(This used to be commit 8c80742e4e
)
1999-05-07 18:20:59 +00:00
Tim Potter
798fdf4fd8
Fix compiler warning.
...
Added checks to panic if VFS functions are passed NULL pointers. This
may expose some bugs that have been lurking about. Checks can be
easily removed later.
(This used to be commit c33c6330e3
)
1999-05-06 23:52:00 +00:00
Luke Leighton
48c3765a98
clean-up of cache-getpw-hash code needed (make proto showed up loads
...
of functions that should be static).
(This used to be commit 06fce76e53
)
1999-05-06 18:13:23 +00:00
Luke Leighton
150645f955
Jani Jaakkola's "getpwuid() / getpwnam()" hash-cache-hack
...
(This used to be commit 899fc053c5
)
1999-05-06 18:05:45 +00:00
Luke Leighton
c6e5eb5bc2
added 2 more (unknown) NTLMSSP negotiation bits
...
(This used to be commit 0ddc301b69
)
1999-05-06 18:02:39 +00:00
Luke Leighton
d58b440fad
alignment needed after unicode string names in password change.
...
(This used to be commit e66b6afc69
)
1999-05-06 18:02:05 +00:00
Jean-François Micouleau
4e5bf481fb
last part of RPC api change.
...
and of rpcclient eventlog funtion
Jean Francois
(This used to be commit 7fc8659e83
)
1999-05-03 22:04:02 +00:00
Jean-François Micouleau
9ac038817e
Changed the RPC api definition now first arg is a pipe_struct
...
found some memory leak in the spoolss code.
Jean Francois
(This used to be commit 958591abd1
)
1999-05-03 22:00:33 +00:00
Jean-François Micouleau
60c211a3ab
Added a new command to rpcclient: eventlog <log> where <log> is System,
...
Security or Application. That's a crude equivalent to the eventviewer.
Jean Francois
(This used to be commit 66b4b896fb
)
1999-05-03 21:52:29 +00:00
Matthew Chapman
e3a888d5a9
Adding "time" rpcclient command which displays the remote time.
...
Also added special "now" time to the "at" command, e.g.:
at now /i cmd ; pops up a command prompt
(This used to be commit f456dcf08e
)
1999-05-01 05:56:55 +00:00
Luke Leighton
89d51caba5
added server ntlmv2 false/auto/true parameter, defaults to off.
...
(This used to be commit 209944dabc
)
1999-05-01 01:41:28 +00:00
Luke Leighton
d6ba4580d7
md5 and hmac_md5
...
(This used to be commit 5777c1fb12
)
1999-04-30 05:37:55 +00:00
Andrew Tridgell
4d24845de6
use /dev/urandom not /dev/random in head branch.
...
also got rid of /tmp time based random source. I saw a system with a
huge number of files in /tmp and logging in was taking a _long_ time.
(This used to be commit d48e452915
)
1999-04-28 02:00:38 +00:00