1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-14 01:57:53 +03:00

851 Commits

Author SHA1 Message Date
Luke Leighton
75f32987d8 added api_lsa_sam_logon() and api_sam_logoff(). that's it. lots of
run-time debugging, now.
-
Luke Leighton
0d043cfef2 added lsa_reply_srv_pwset() -
Luke Leighton
e2e1979b62 ipc.c :
#if NTDOMAIN
		call to api_netlogRPC
	#endif

lsaparse.c :

	renamed lsa_io_q_auth2 to lsa_io_q_auth_2.

pipes.c :

	added api_lsa_reply_auth_2() and api_netlogRPC.

proto.h :

	the usual.
-
Christopher R. Hertel
5e52143829 I have to admit that I'm not very good at writing Makefiles.
This one will simply create an object file from each of the .c files
in the directory.  These could be linked into a static library, but
I'm not sure that this is worthwhile.  If anyone wants to improved on
what I've got here, please do!  crh -)-----
-
Luke Leighton
87a0a94485 Makefile:
added credentials.c to smbd

credentials.c:

	using credential structures instead of char*

password.c uid.c server.c:

	added sid and attr to user_struct.

smbdes.c:

	smbhash and str_to_key make public instead of private.

pipes.c smb.h:

	lsa structures, sub-functions.

proto.h:

	usual.
-
Christopher R. Hertel
3590a78333 This is the ubiqx binary tree and linked list library.
This library is being included as part of the Samba distribution.
(Hurray!)
-
Christopher R. Hertel
6fffcff57d After generating some discussion, listening to the opinions, and thinking
about it for a while, I've decided to move the tree & list code into a
separate subdirectory.
-
Christopher R. Hertel
d8d063d29b After generating some discussion, listening to the opinions, and thinking
it over, I've decided to move the tree & list code into a subdirectory.
CRH
-
Luke Leighton
37a8a5c4c6 corrected paragraph giving the impression that samba can be a domain master
for multiple workgroups.
-
Andrew Tridgell
1448f528b6 fixed the log wrapping bug.
This is a very nasty bug that I think explains quite a few
intermittent problems people have been having with Samba.

It may be worth checking on other cases where errno can be overwritten
by seemingly innocuous things (in this case a DEBUG() line)
-
Jeremy Allison
53915bd160 nmblookup.c: Added -A ability to do status on ip address.
smb.h: Added defines we will need for NT SMB calls.
trans2.c: Fixed SMB_QUERY_FILE_ALT_NAME_INFO return - this is only
for short name returns (and only used when you negotiate NT SMB calls
to boot !).
Jeremy (jallison@whistle.com)
-
Jeremy Allison
229b6c4092 Added in oplock info.
Jeremy (jallison@whistle.com)
-
Jeremy Allison
f9df5ac008 Added definition of oplocks parameter.
Jeremy (jallison@whistle.com)
-
Jeremy Allison
7624722889 local.h: Fix spelling mistake :-).
namedbsubnet.c: Stop registering 1x name unless we can be a local master.
reply.c: Remove ERRbaddirectory code.
server.c: Remove abort() - use exit_server() instead.
trans2.c: Remove ERRbaddirectory code.
Jeremy (jallison@whistle.com)
-
Luke Leighton
7bc4c4c27b added #ifdef NTDOMAIN. added call to api_ntLsarpc instead of api_Lsarpc
in ipc.c iff NTDOMAIN is defined.
-
Luke Leighton
d9fcf11aa0 moved the array macros outside of the CAREFUL_ALIGNMENT define. -
Luke Leighton
5437f66698 pipes.c:
added api_ntlsarpcTNP() function.  hooray!

smb.h:

	added LSA #defines needed by above function.
-
Luke Leighton
72a86f514f credentials.c:
use UTIME structure (defined and commented in smb.h to be time, secs,
                         since 01jan1970)

pipes.c:

	another sub-function.

util.c:

	added char *unistr2(uint16 *buff) function.  same as unistr except
    it takes uint16* instead of char*.

smbparse.c smb.h:

	more structure sorting.

proto.h:

	the usual.
-
John Terpstra
135d054e83 JHT ===> Added smbadduser contributed by Mike Zakharoff. -
Andrew Tridgell
dd6ac9b1ee an implementation of the NT domain credentials protocol -
Andrew Tridgell
e10ba4b97a bracket some macros
change MAX_PASSWORD_LENGTH to MAX_PASS_LEN to prevent conflict on some
systems

add #ifdef around soft link dependent code (for systems that don't
have soft links)
-
Christopher R. Hertel
e789179dfd This is my library of lists and trees. My hope is to replace all of the
hard coded linked lists that are currently used in Samba with calls to
these modules.  This should make the code simpler, smaller, and (I hope)
faster.  The tree code, in particular, should speed up processing where
large lists are involved.

Chris -)-----
-
Jeremy Allison
fa69b3dda4 Put in fix for read-prediction extending files bug. Hard to test, can't
get read-prediction to happen :-).
Jeremy (jallison@whistle.com)
-
Luke Leighton
d7f41e3815 added a dummy function (space in front so make proto doesn't pick it up)
to call the unused static functions in pipes.c.  avoids need to move
#if UNDEFINED_NTDOMAIN about, to stop compiler warnings while code is
being developed, but might be released as-is.
-
Jeremy Allison
b8ff5543b9 Makefile: Split definitions for SGI4,5,6.
includes.h: Split definitions for SGI4,5,6.
pipes.c: Moved Luke's #ifdef to remove warnings.
quotas.c: Two changes for FreeBSD and SGI.
server.c: Quota changes for large filesystems.
Jeremy (jallison@whistle.com)
-
Luke Leighton
35dd48740d added api_lsa_lookup_sids() function -
Luke Leighton
d15aed8a9c loadparm.c proto.h:
added lp_domainsid()

lsaparse.c smb.h:

	debugging structures and parsing functions

pipes.c:

	finally got to the functions that will go into the RPC switch statement.
-
Luke Leighton
0b7049fae2 updating lsaparse.c and smbparse.c in line with changes to pipes.c and smb.h
from yesterday.
-
Jeremy Allison
cc50955a27 ipc.c: Added ERROR_MORE_DATA error if client buffer too small.
server.c: Allow admin_user on read only shares. I think this is
safe but it needs looking at.
Jeremy (jallison@whistle.com)
-
Christopher R. Hertel
707d0ec388 I rewrote the name_mangle() and name_len().
The interface is the same, but I've simplified the code a bit and added
a few comments.  I tested the changes and the output is the same as that
produced by the original (at least, it was in all of my tests).  CRH
-
Jeremy Allison
1e1366ddc5 locking.c: Added fix for race condition in slow share mode code.
lsaparse.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS.
pipes.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS.
server.c: Fixed last known oplock race condition.
smb.h: Re-removed USE_OPLOCK defines - someone checked in an old version.
smbparse.c: #ifdef'ed out code so this will compile - LUKE PLEASE CHECK THIS.
Jeremy (jallison@whistle.com)
-
Luke Leighton
bef12478d2 pipes.c:
more static unused functions in pipes.c for the LSA RPC stream.

smb.h:

	corrections and altercations over the documentation

lsaparse.c:

	reflecting alterations in LSA structures...
-
John Terpstra
67c1e87e8f JHT ==> Fixing blocksize argument. Patch by: Llyod Whiteman
<lwhitman@stm2.nrl.navy.mil>
-
Luke Leighton
b37e21273e pipes.c:
some routines to create LSA RPC packets.  none of them are used.

lsaparse.c:
smbparse.c:
smb.h:

	more tidy-up.
-
Andrew Tridgell
b12b3626fd increase the debug level in the "added interface" debug line -
Andrew Tridgell
bf1f8b1567 get rid of SIGCLD_IGNORE for HPUX. A user reported it causing lots
of defunct smbd processes.

Andrew
-
Samba Release Account
5a38eaac75 More references to samba.canberra
Mental note: always commit from root directory. :^o
Paul.
-
Samba Release Account
9a81cb171c Oops forgot to run the sgml converters that one last time.
All done.
Paul.
-
Samba Release Account
d808df8191 Removed samba.faq from the docs directory, it was out of date. All FAQs in
docs/faq.

Replaced all reference to samba.canberra.edu.au/pub/samba/samba.html
with samba.anu.edu.au/samba/

Replaced references to ictinus@lake.canberra.edu.au
with ictinus@samba.anu.edu.au

Added 3 new mirrors, Greece, Poland, Romania
Paul.
-
Jeremy Allison
db4c2cb50e Finally ! Found & fixed crash bug with logging message when deleting
invalid share mode entries. Thanks to berg@wienrg.aut.alcatel.at (Dietmar Berg)
for the stack backtrace.
Jeremy (jallison@whistle.com)
-
Jeremy Allison
b93509846d client.c: Changed shadowed variable.
locking.c: Removed USE_OPLOCKS - now the default.
params.c: Removed unused variable.
proto.h: Updated.
reply.c: Removed USE_OPLOCKS - now the default.
server.c: Removed USE_OPLOCKS - now the default.
smb.h: Removed USE_OPLOCKS - now the default.
smbparse.c: Changed shadowed variable.
status.c: Removed USE_OPLOCKS - now the default.
util.c: Removed USE_OPLOCKS - now the default.
Jeremy (jallison@whistle.com)
-
Luke Leighton
5bc75c6c62 lsaparse.c smb.h: added 32 bit "return status" to the response structures. -
Luke Leighton
a1c718728c Makefile: added lsaparse.c and smbparse.c
lsaparse.c, smbparse.c, smb.h: more functions / structures.
proto.h:                       the usual.
-
Luke Leighton
2f722fe289 updating lsa and smb parsing routines and structures. -
Luke Leighton
369f7d41d6 processes LSA queries and responses to/from RPC data stream into structures. -
Luke Leighton
095edfca78 smb.h:
added more structures, this time for the use in the query and response
of the LSA_XXXX functions.  next target: the NTLOGON mailslots (10 minutes
work).


smbparse.c:

tidying.  adding some more sub-structure functions.
-
Luke Leighton
b0ad811cda proto.h:
- recreated, as usual.

smb.h:

- added RPC_HDR structure - the 18 byte MSRPC header

smbparse.c:

- added smb_io_rpc_hdr() function to read/write the RPC_HDR structure.

util.c:

- added align2, align4, align_offset functions.
- added skip_unicode_string, unistrcpy, unistrncpy functions.
- modified unistrcpy and unistrncpy to return the number of unicode
  characters returned, effectively making skip_unicode_string redundant.
-
Luke Leighton
b0ffd75acf added some RW_XXXX wrapper macros with an extra i/o argument, to call XXXX
or SXXXX as appropriate.

added some for-loop pointer macros that will do a batch of data into a
(fixed length) buffer.  no length validation is done in the macro itself.

note: there are some CAREFUL_ALIGNMENT macros missing.  i think.
-
Luke Leighton
4b3f9b281b added structures readable and writeable by smbparse.c routines into and out
of SMB or Mailslot packets.
-
Luke Leighton
297d5ef46c packet parsing routines. for use in SMB and Mailslots -