1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-21 12:23:50 +03:00
Commit Graph

3155 Commits

Author SHA1 Message Date
Luke Leighton
0cf1de5fdd adding lib/util_status.c to Makefile.in
(This used to be commit f1fdf4c391)
1999-08-17 23:20:44 +00:00
Luke Leighton
e055972009 patch from Michael Glauche to list connections from STATUS..LCK.
(This used to be commit 91a66dd5c3)
1999-08-17 23:16:17 +00:00
Luke Leighton
fc13cb4086 added some usage info for rpcclient.
(This used to be commit ec11bbaf54)
1999-08-17 20:11:12 +00:00
Luke Leighton
ad000ee7dc spelling mistake.
(This used to be commit b8ac96cd9c)
1999-08-13 21:11:38 +00:00
Luke Leighton
dde759352f pnum should be a uint16.
(This used to be commit 41cb8b0ba0)
1999-08-13 19:35:33 +00:00
Matthew Chapman
8592314480 Fix for Win95 not being able to find PDC (for User/Server Manager, and
password change requests), from Michael Stockman <pgmtekn@algonet.se>.
GETDC on \MAILSLOT\NET\NETLOGON necessarily returns less information
than the NTLOGON version.
(This used to be commit 8a603a8793)
1999-08-08 04:51:13 +00:00
Matthew Chapman
fcf0300ffe Some compilers want (void) instead of just () in function declarations.
(This used to be commit c086c7ab94)
1999-08-08 04:44:36 +00:00
Luke Leighton
93a1aa7ccb reverted lookup change. from ignacio.
(This used to be commit 5b8961a9d4)
1999-08-05 18:50:13 +00:00
Luke Leighton
6bcd191a6c changing debug output message reg_io_unknown_1 to reg_io_close.
(This used to be commit c4901f5951)
1999-08-03 20:54:22 +00:00
Luke Leighton
8598bf2a7f reverted jeremy's c++-like security descriptor modifications as the
simplest method to get rpcclient's reggetsec command working.  the
buffers passed as arguments in do_reg_get_key_sec() do need to be
locally allocated not dynamically allocated, as two calls to
reg_get_key_sec() are needed.  on the first, the server fills in the
size of the security descriptor buffer needed.  on the second, the
server fills in the security descriptor buffer.
(This used to be commit b2d9cbef6f)
1999-08-03 20:30:25 +00:00
Luke Leighton
9c59351215 bug-fix in connection to port 445. cool! it works!
(This used to be commit 062b9302c1)
1999-08-03 18:03:08 +00:00
Luke Leighton
ebfa9fa928 attempting a connection to port 445 first, followed by a connection to 139
if this fails.
(This used to be commit 5f821e6501)
1999-08-03 17:43:12 +00:00
Luke Leighton
80d714e75b close socket issues:
- ssl close from cli_reestablish_connection() not called.
- ntlmv2 fall-back to ntlmv1 failed.
(This used to be commit fdc275353d)
1999-08-03 17:21:34 +00:00
Tim Potter
2c146b78f7 Fixed quoting/escaping bug in example code.
(This used to be commit 5e0994b8bb)
1999-08-02 03:35:39 +00:00
Jean-François Micouleau
4bff267574 - enumprintprocessors and enumprintmonitors added.
- getjob (level 1 and 2) done.
- better handling of getprinterdriver (level 2).
- added workaround to print PCL files.

Now the spoolss code should be compliant with all kind of printers :-)

	Jean Francois
(This used to be commit bf9b639bf9)
1999-07-27 10:46:44 +00:00
Luke Leighton
f2e0bbffb5 renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for adding
another RPC authentication system.
(This used to be commit 1a211bafeb)
1999-07-26 21:47:23 +00:00
Luke Leighton
73a0c9f046 Jean-Francois spotted bug in use of file_modified() routine submitted
recently.
(This used to be commit 717af2d55d)
1999-07-26 18:35:46 +00:00
Luke Leighton
d300fc3173 commented location where lookup_sids(), a direct call to the password
database API, needs to be replaced with over-the-wire (actually, tcp/ip
loopback) to smbd.

in fact, this is the location where, if we want to put in an nt5 ldap
lookup system or netware NDS instead, we make the calls to resolve
users-to-sids and vice-versa: NOT by replacing rpc_server/srv_samr.c.
(This used to be commit fd886af331)
1999-07-26 17:46:06 +00:00
Tim Potter
f05928e407 'export BEANS=ham' is a bash-ism. For those who don't have a symbolic
link from bash to /bin/sh, the correct form is 'BEANS=ham; export BEANS'.
(This used to be commit 569aca445a)
1999-07-22 23:29:15 +00:00
Matthew Chapman
8f54fdb01a BDC support.
Added -S (Synchronise) option to smbpasswd, which calls synchronise_passdb.
(This used to be commit 21c92d2497)
1999-07-22 10:55:41 +00:00
Matthew Chapman
d0d85964da BDC support.
(This used to be commit 05a2687b7c)
1999-07-22 10:55:23 +00:00
Matthew Chapman
61b92043da BDC support.
Fixing and clarifying SAM_PWD structure.
(This used to be commit 8e36b07a0e)
1999-07-22 10:55:09 +00:00
Matthew Chapman
30beb2dd10 BDC support.
Added synchronise_passdb function to update accounts in a BDC's smbpasswd.
Improved rpc_read, which was still somewhat broken for multiple PDU's.
modify_trust_password must initialise cli.pwd (pwd_set_nullpwd).
(This used to be commit 4783ac3968)
1999-07-22 10:54:49 +00:00
Matthew Chapman
0091c7768d BDC support.
Algorithm based on previous work of Jeremy's.
(This used to be commit f0c71a804d)
1999-07-22 10:54:18 +00:00
Tim Potter
0108188ceb make proto
(This used to be commit 50be413a9f)
1999-07-22 05:00:08 +00:00
Tim Potter
1aef4d76c9 Support for arbitrary VFS options in smb.conf. Options are of the
format 'vfs option = name = value'.  It would be nice to get rid of
the first equals sign, but that would involve modifications to the
smb.conf parser.

There are a couple of naughties here - I've added a P_PTR enum as the
VFS options are parsed in param/loadparm.c and stored as a linked list
of structures.  I couldn't for the life of me write a FN_LOCAL_PTR()
macro to generate a lp_vfsoptions() function that actually worked so
for the moment it is coded by hand.
(This used to be commit 89ad85f0a3)
1999-07-22 04:55:13 +00:00
Tim Potter
331ab45321 Copy service name into vfs_connection_struct.
(This used to be commit 19242cd44e)
1999-07-22 04:47:14 +00:00
Tim Potter
f809734105 Pass VFS options defined in smb.conf to vfs_init() function.
(This used to be commit 8cde172a77)
1999-07-22 04:43:59 +00:00
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
Herb Lewis
13407e69b5 add Windows 2000 version of Plain Text Password registry entry
(This used to be commit 1a0e378a6f)
1999-07-16 19:17:12 +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