summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1997-10-10the usualLuke Leighton1-1/+4
(This used to be commit 2ade5b2706b884fbca2a5794912280a58bc41a08)
1997-10-10added api_lsa_sam_logon() and api_sam_logoff(). that's it. lots ofLuke Leighton1-170/+216
run-time debugging, now. (This used to be commit 75f32987d8599d10b294dc4e0c0160eecda7296b)
1997-10-10added lsa_reply_srv_pwset()Luke Leighton2-67/+97
(This used to be commit 0d043cfef289ee82287bb6014a164ba83ca87f30)
1997-10-10ipc.c :Luke Leighton4-975/+397
#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. (This used to be commit e2e1979b6215080593728942d414a273505877df)
1997-10-10I have to admit that I'm not very good at writing Makefiles.Christopher R. Hertel1-0/+32
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 -)----- (This used to be commit 5e521438292472c816527d4ee7c6dff7e3c217ea)
1997-10-10Makefile:Luke Leighton8-96/+1195
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. (This used to be commit 87a0a944855a673d693d934e446bdc231b1c7f02)
1997-10-10This is the ubiqx binary tree and linked list library.Christopher R. Hertel8-0/+3912
This library is being included as part of the Samba distribution. (Hurray!) (This used to be commit 3590a783338defa4ff1385b2d5bb095c5051ac82)
1997-10-10After generating some discussion, listening to the opinions, and thinkingChristopher R. Hertel4-2365/+0
about it for a while, I've decided to move the tree & list code into a separate subdirectory. (This used to be commit 6fffcff57d20690546a545ddd95a5d3d2c329715)
1997-10-10After generating some discussion, listening to the opinions, and thinkingChristopher R. Hertel4-1587/+0
it over, I've decided to move the tree & list code into a subdirectory. CRH (This used to be commit d8d063d29b52697070efb182d573d519e13c2e53)
1997-10-10fixed the log wrapping bug.Andrew Tridgell1-12/+17
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) (This used to be commit 1448f528b60402170257c1cdf6831cc40b4c86c9)
1997-10-10nmblookup.c: Added -A ability to do status on ip address.Jeremy Allison3-21/+72
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) (This used to be commit 53915bd160eda8c099482ddcef74d1d7606e752b)
1997-10-09local.h: Fix spelling mistake :-).Jeremy Allison5-6/+17
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) (This used to be commit 76247228896d39312ba896fa229076be3271e2e4)
1997-10-09added #ifdef NTDOMAIN. added call to api_ntLsarpc instead of api_LsarpcLuke Leighton3-981/+11
in ipc.c iff NTDOMAIN is defined. (This used to be commit 7bc4c4c27bf18ce3f632d230dc919ea341b5abb0)
1997-10-09moved the array macros outside of the CAREFUL_ALIGNMENT define.Luke Leighton1-2/+9
(This used to be commit d9fcf11aa04ff04dcbccd628322240f8324ae51d)
1997-10-09pipes.c:Luke Leighton2-82/+1131
added api_ntlsarpcTNP() function. hooray! smb.h: added LSA #defines needed by above function. (This used to be commit 5437f666987918516032cf8a5dada107e5d14d25)
1997-10-09credentials.c:Luke Leighton6-13/+224
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. (This used to be commit 72a86f514f0c92b69499718e63f5dd73ebece56e)
1997-10-09JHT ===> Added smbadduser contributed by Mike Zakharoff.John Terpstra1-0/+74
(This used to be commit 135d054e831cd0f5962acc05d03b38360b73827e)
1997-10-09an implementation of the NT domain credentials protocolAndrew Tridgell1-0/+101
(This used to be commit dd6ac9b1eea3b0ace27fbd014b5ad4625c1fdf94)
1997-10-09bracket some macrosAndrew Tridgell5-11/+15
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) (This used to be commit e10ba4b97a219e87b62d32834bf15ed2e323ed2e)
1997-10-09This is my library of lists and trees. My hope is to replace all of theChristopher R. Hertel8-0/+3952
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 -)----- (This used to be commit e789179dfda669bd768720cb3732cf56a49027b5)
1997-10-08Put in fix for read-prediction extending files bug. Hard to test, can'tJeremy Allison1-13/+26
get read-prediction to happen :-). Jeremy (jallison@whistle.com) (This used to be commit fa69b3dda47d56e0c3ce1f4f284eac89d4b4bf56)
1997-10-08added a dummy function (space in front so make proto doesn't pick it up)Luke Leighton1-1008/+20
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. (This used to be commit d7f41e3815babce58fa9901f076c2918666abaf9)
1997-10-08Makefile: Split definitions for SGI4,5,6.Jeremy Allison4-6/+167
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) (This used to be commit b8ff5543b9fa45095caa9f24aeb22a1dcc1cd308)
1997-10-08added api_lsa_lookup_sids() functionLuke Leighton1-3/+1071
(This used to be commit 35dd48740d8f733e7725813322b094b4679b31c5)
1997-10-08loadparm.c proto.h:Luke Leighton5-5/+150
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. (This used to be commit d15aed8a9c58a7cc90befaee2d5a2752708f9327)
1997-10-08updating lsaparse.c and smbparse.c in line with changes to pipes.c and smb.hLuke Leighton3-16/+9
from yesterday. (This used to be commit 0b7049fae25957851a7f33d2bd500d8ecefc1ad5)
1997-10-08ipc.c: Added ERROR_MORE_DATA error if client buffer too small.Jeremy Allison2-3/+12
server.c: Allow admin_user on read only shares. I think this is safe but it needs looking at. Jeremy (jallison@whistle.com) (This used to be commit cc50955a2760f1de7e80b91408a7c0806f6eb44c)
1997-10-07I rewrote the name_mangle() and name_len().Christopher R. Hertel1-46/+65
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 (This used to be commit 707d0ec388c0045938f367e1d17919bfc8637fea)
1997-10-07locking.c: Added fix for race condition in slow share mode code.Jeremy Allison6-30/+93
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) (This used to be commit 1e1366ddc5542283a37debdf830ca139bbade1b0)
1997-10-07pipes.c:Luke Leighton3-23/+191
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... (This used to be commit bef12478d212a950578843d6d4dece1f153bfd25)
1997-10-07JHT ==> Fixing blocksize argument. Patch by: Llyod WhitemanJohn Terpstra1-1/+1
<lwhitman@stm2.nrl.navy.mil> (This used to be commit 67c1e87e8fda724da6dd3663641639167dd33a16)
1997-10-07pipes.c:Luke Leighton5-18/+285
some routines to create LSA RPC packets. none of them are used. lsaparse.c: smbparse.c: smb.h: more tidy-up. (This used to be commit b37e21273e81b875876e8e8ddf6804714044ffd8)
1997-10-07increase the debug level in the "added interface" debug lineAndrew Tridgell1-3/+3
(This used to be commit b12b3626fd9ccc9cdf2111937b3ee344da361b1f)
1997-10-07get rid of SIGCLD_IGNORE for HPUX. A user reported it causing lotsAndrew Tridgell1-1/+3
of defunct smbd processes. Andrew (This used to be commit bf1f8b1567cb46e3e73ae8dbb26f6228cf519c1f)
1997-10-06Finally ! Found & fixed crash bug with logging message when deletingJeremy Allison1-1/+2
invalid share mode entries. Thanks to berg@wienrg.aut.alcatel.at (Dietmar Berg) for the stack backtrace. Jeremy (jallison@whistle.com) (This used to be commit db4c2cb50e11d252ff3ba0e0973767e909dd33bd)
1997-10-06client.c: Changed shadowed variable.Jeremy Allison10-97/+21
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) (This used to be commit b93509846d6291771787af457500eec8984ee6bd)
1997-10-06lsaparse.c smb.h: added 32 bit "return status" to the response structures.Luke Leighton3-92/+74
(This used to be commit 5bc75c6c626251dc8ba04ff4a83e81b92d93d2d6)
1997-10-06Makefile: added lsaparse.c and smbparse.cLuke Leighton4-4/+442
lsaparse.c, smbparse.c, smb.h: more functions / structures. proto.h: the usual. (This used to be commit a1c718728c46ebf8916af8985b4dae4d099f4ec2)
1997-10-05updating lsa and smb parsing routines and structures.Luke Leighton4-8/+155
(This used to be commit 2f722fe289051558dbe77aeb0a830bb3ded10a83)
1997-10-05processes LSA queries and responses to/from RPC data stream into structures.Luke Leighton1-0/+88
(This used to be commit 369f7d41d6ff6d2b9b8c1e0cac99d0f0d03410b0)
1997-10-05smb.h:Luke Leighton2-6/+403
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. (This used to be commit 095edfca783a6f99eb7897d4c925ce8bc1ea0a3e)
1997-10-04proto.h:Luke Leighton4-11/+148
- 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. (This used to be commit b0ad811cda3dcffed5b24104229813cdb17b014f)
1997-10-04added some RW_XXXX wrapper macros with an extra i/o argument, to call XXXXLuke Leighton1-0/+49
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. (This used to be commit b0ffd75acfd3660512cccecdf50a183c3abccfcb)
1997-10-04added structures readable and writeable by smbparse.c routines into and outLuke Leighton1-0/+182
of SMB or Mailslot packets. (This used to be commit 4b3f9b281b3b1c1064992d19fef1d782dc6f1ff1)
1997-10-04packet parsing routines. for use in SMB and MailslotsLuke Leighton1-0/+385
(This used to be commit 297d5ef46ccba99596610c4c6a09399af665f2cf)
1997-10-04fix some "shadows global" errors.Andrew Tridgell1-4/+4
(This used to be commit 25b7ada3587d1fe68164a2339d7f0fbcecf18e53)
1997-10-04a bit of bounds checkingAndrew Tridgell1-0/+12
(This used to be commit d40199f4fe1344058267859820cb36b77a20442a)
1997-10-04a little hack to smbclient to support extracting NT error codesAndrew Tridgell1-0/+12
(This used to be commit 0eb9a590430c328e6ebc46ff8ab05f181921769a)
1997-10-04This is all the NT error codes less than 1000. I extracted them usingAndrew Tridgell1-0/+505
smbclient+netmon If we want to start supporting NT error codes in Samba (which may be forced upon us by buggy apps) then this is a good start. (This used to be commit 20bfde40b20f43cf8c6714ab9fb5a3fd17bc1575)
1997-10-04nmblookup.c:Christopher R. Hertel2-309/+558
I've added a -r option. When specified, nmblookup will attempt to bind to port 137. In order for this to work, the user must be root and the port must be available (i.e., nmbd not running). If either condition is not met, nmblookup will default to normal behavior; it will try to bind to a free port above 7999. I also removed an artifact. The -p <port> option was being accepted but falling through to the default, which was the usage message. I removed "p:" from the getopt() list. params.c: Rewritten. The scanning is much more linear, and I found and fixed a few bugs. I don't like the way that the scratch buffer is handled, but I believe that it is an improvement over the previous version. Chris -)----- (This used to be commit 09dc951f2acd67da9d895e8e00c01e7abbbe0960)