1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

3094 Commits

Author SHA1 Message Date
Luke Leighton
5f821e6501 attempting a connection to port 445 first, followed by a connection to 139
if this fails.
-
Luke Leighton
fdc275353d close socket issues:
- ssl close from cli_reestablish_connection() not called.
- ntlmv2 fall-back to ntlmv1 failed.
-
Tim Potter
5e0994b8bb Fixed quoting/escaping bug in example code. -
Jean-François Micouleau
bf9b639bf9 - 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
-
Luke Leighton
1a211bafeb renaming AUTH VERIFIER to AUTH NTLMSSP VERIFIER. ready for adding
another RPC authentication system.
-
Luke Leighton
717af2d55d Jean-Francois spotted bug in use of file_modified() routine submitted
recently.
-
Luke Leighton
fd886af331 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.
-
Tim Potter
569aca445a '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'.
-
Matthew Chapman
21c92d2497 BDC support.
Added -S (Synchronise) option to smbpasswd, which calls synchronise_passdb.
-
Matthew Chapman
05a2687b7c BDC support. -
Matthew Chapman
8e36b07a0e BDC support.
Fixing and clarifying SAM_PWD structure.
-
Matthew Chapman
4783ac3968 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).
-
Matthew Chapman
f0c71a804d BDC support.
Algorithm based on previous work of Jeremy's.
-
Tim Potter
50be413a9f make proto -
Tim Potter
89ad85f0a3 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.
-
Tim Potter
19242cd44e Copy service name into vfs_connection_struct. -
Tim Potter
8cde172a77 Pass VFS options defined in smb.conf to vfs_init() function. -
Tim Potter
38cc03ae0c Added service name to vfs_connection_struct.
Added a vfs_options struct for passing smb.conf parameters to VFS
modules.
-
Tim Potter
bf61fdace8 Moved a whole bunch of macros out of smb.h and into their own #include
file.
-
Luke Leighton
30620b93e5 Tim Potter spotted compile error: matthew had added BDC support to smbd,
which i didn't know about!
-
Luke Leighton
2331aa32ab BDC support. -
Luke Leighton
50f7bd8a9c comments requested by jeremy as to why NT/95 NULL-password distinction hack
was modified.
-
Luke Leighton
43d3d2336f use pstring for at command instead of fstring -
Alexandre Oliva
b0a59e90c5 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? :-)
-
Alexandre Oliva
407eec6316 Avoid multiple ``Updating dependencies'' messages before .deps/.stamp
is created
-
Luke Leighton
7a58895ff2 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.
-
Luke Leighton
0d1f5e5a6d check to see if copy_passwd_struct() ever receives its own internal
buffer as an argument :-) :-)
-
Luke Leighton
93298bca1c copy of password struct needed to be made prior to calling copy_passwd_struct
found by Bertl <bs@vpnet.at>.
-
Herb Lewis
1a0e378a6f add Windows 2000 version of Plain Text Password registry entry -
Luke Leighton
44e6d4c1b0 work-around for win95 NULL session bug: NULL password actually being
placed in data stream before username / domain, whereas NT doesn't do
this...
-
Luke Leighton
00d4aebce9 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.
-
Luke Leighton
d9ada8b55d dfs issues -
Luke Leighton
ec918ba144 added %d %d to error message, try to track down the uid / smb_uid mismatch -
Luke Leighton
80d3677843 code from bertl to allow remap of default built-in names to anything.
parameter is "builtin rid file".
Copyright 1999 Bertl <bp@vpnet.at>
-
Luke Leighton
4bdff27489 removed strncpy() -
Luke Leighton
ef6df590fd 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.
-
Luke Leighton
5d1fad53c2 dfs parsed string length was being set explicitly to value "6", overwriting
the correct length.
-
Luke Leighton
e6116c40d4 Jean-Francois Micouleau's rewrite of Nigel William's DFS support -
Luke Leighton
98d43b20dc 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.
-
Luke Leighton
270981960b 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.
-
Luke Leighton
12ee037d44 anon passwd connection: passlen=1; ntpasslen=0. -
Luke Leighton
91d5bda9ad NULL pwdb_xxx_map_names() parameter can be passed here (which is a bug
anyway!)
-
Tim Potter
795fa6a518 Partial GNU readline support for rpcclient. Only command line history
and command completion implemented.
-
Tim Potter
236022071f When making anonymous connections, must pass pointers to real nt
password and password length variables not constants.
-
Tim Potter
26d66071fb Put back in GNU readline support for smbclient accidentally trashed by
tridge in the clientgen.c to clientutil.c conversion.
-
Tim Potter
4929513f13 Hived off string routines into a separate file. -
Luke Leighton
7aff19ba57 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.
-
Luke Leighton
7d63376417 Ignacio Coupeau <icoupeau@unav.es> suggested modification to ldap search. -
Luke Leighton
47e54d049a allow safe_strcpy() to pass 0 for max length of string, resulting in no
effect.
-
Luke Leighton
389c17a225 issues with pwdb_sam_map_names() and pwdb_smb_map_names() returning NULL.
found by Bertl <bs@vpnet.at>
-