summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* split pipes.c down into util, netlog and ntlsa.Luke Leighton1997-10-135-1142/+1261
|
* debugging... no idea what i'm doing.Luke Leighton1997-10-132-10/+11
|
* reverted a change made by Luke at his request.Andrew Tridgell1997-10-131-2/+2
| | | | | | | | | | | | | | | | | | | | Luke, when you don't know what has been changed in the CVS tree I highly recommend you point your browser at: http://samba.anu.edu.au/cgi-bin/cvsweb/samba/source If you click on a filename you can then see all the commits and changes that have been made to it over time. You can also download any version of the file or find the differences between any two versions. All of this is not dependent on the state of your local CVS sandbox, so it can be used to find out the "true" state of the tree at any time. If you suspect some sort of CVS problem (like a change getting reverted) then please use the above URL to work out what has happened. You should be able to see exactly who made what changes and when.
* debug info addedLuke Leighton1997-10-133-14/+47
|
* checked in a file with a compile error. oops!Luke Leighton1997-10-131-1/+0
|
* byteorder.h :Luke Leighton1997-10-136-360/+131
| | | | | | | | | | | | debugging output wasn't (still isn't) perfect. credentials.c lsaparse.c smbparse.c : added DEBUG strings. pipes.c : lost some changes, to do with setup of RPC headers. arg.
* JHT ==> Removed linefeed that caused problems.John Terpstra1997-10-131-3/+2
|
* align_offset() adjusted pointer to wrong location. oops.Luke Leighton1997-10-131-2/+3
|
* getting somewhere.Luke Leighton1997-10-126-242/+330
| | | | | | | | | | ipc.c : removed srvsvc pipe reference: have to do that. pipes.c lsaparse.c smbparse.c : more debugging info. looks a bit like netmon output.
* updated rpc header reply: callid wrong; alloc hint a uint32 not a uint16.Luke Leighton1997-10-123-23/+17
| | | | still doesn't get rid of the netlogon trans2 request with zero data.
* ipc.c:Luke Leighton1997-10-125-57/+62
| | | | | | | | | | | | debugging info. found that data = NULL because of short packet length indicated from the ntlsaRPC pipe _royally_ stuffs NT's packet handling. maybe this should go down as a service denial bug to the ntbugtraq list. pipes.c lsaparse.c smbparse.c : added more debug stuff. added length of header to data_len in MSRPC fragment_length field (0x18 bytes short) which caused the above bug from NT 4.0. oops.
* added debugging macros (suitable eventually for use in tcpdump, hopefully)Luke Leighton1997-10-125-109/+208
|
* remove { and } from the list of illegal characters in filenames. TheAndrew Tridgell1997-10-121-1/+1
| | | | | | | CIFS3 spec does not list them as illegal. This allows things like the control panel icon to be placed on a Samba drive.
* namelogon.c :Luke Leighton1997-10-115-98/+238
| | | | | | | | | | | | | | | | added NTLOGON. (fixed the case 0:) namepacket.c: call to NTLOGON mailslot nameserv.h defines for NETLOGON and NTLOGON mailslot util.c: added andrew's dump_data() function.
* the usualLuke Leighton1997-10-101-1/+4
|
* added api_lsa_sam_logon() and api_sam_logoff(). that's it. lots ofLuke Leighton1997-10-101-170/+216
| | | | run-time debugging, now.
* added lsa_reply_srv_pwset()Luke Leighton1997-10-102-67/+97
|
* ipc.c :Luke Leighton1997-10-104-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.
* I have to admit that I'm not very good at writing Makefiles.Christopher R. Hertel1997-10-101-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 -)-----
* Makefile:Luke Leighton1997-10-108-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 is the ubiqx binary tree and linked list library.Christopher R. Hertel1997-10-108-0/+3912
| | | | | This library is being included as part of the Samba distribution. (Hurray!)
* After generating some discussion, listening to the opinions, and thinkingChristopher R. Hertel1997-10-104-2365/+0
| | | | | about it for a while, I've decided to move the tree & list code into a separate subdirectory.
* After generating some discussion, listening to the opinions, and thinkingChristopher R. Hertel1997-10-104-1587/+0
| | | | | it over, I've decided to move the tree & list code into a subdirectory. CRH
* fixed the log wrapping bug.Andrew Tridgell1997-10-101-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)
* nmblookup.c: Added -A ability to do status on ip address.Jeremy Allison1997-10-103-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)
* local.h: Fix spelling mistake :-).Jeremy Allison1997-10-095-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)
* added #ifdef NTDOMAIN. added call to api_ntLsarpc instead of api_LsarpcLuke Leighton1997-10-093-981/+11
| | | | in ipc.c iff NTDOMAIN is defined.
* moved the array macros outside of the CAREFUL_ALIGNMENT define.Luke Leighton1997-10-091-2/+9
|
* pipes.c:Luke Leighton1997-10-092-82/+1131
| | | | | | | | added api_ntlsarpcTNP() function. hooray! smb.h: added LSA #defines needed by above function.
* credentials.c:Luke Leighton1997-10-096-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.
* JHT ===> Added smbadduser contributed by Mike Zakharoff.John Terpstra1997-10-091-0/+74
|
* an implementation of the NT domain credentials protocolAndrew Tridgell1997-10-091-0/+101
|
* bracket some macrosAndrew Tridgell1997-10-095-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 is my library of lists and trees. My hope is to replace all of theChristopher R. Hertel1997-10-098-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 -)-----
* Put in fix for read-prediction extending files bug. Hard to test, can'tJeremy Allison1997-10-081-13/+26
| | | | | get read-prediction to happen :-). Jeremy (jallison@whistle.com)
* added a dummy function (space in front so make proto doesn't pick it up)Luke Leighton1997-10-081-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.
* Makefile: Split definitions for SGI4,5,6.Jeremy Allison1997-10-084-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)
* added api_lsa_lookup_sids() functionLuke Leighton1997-10-081-3/+1071
|
* loadparm.c proto.h:Luke Leighton1997-10-085-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.
* updating lsaparse.c and smbparse.c in line with changes to pipes.c and smb.hLuke Leighton1997-10-083-16/+9
| | | | from yesterday.
* ipc.c: Added ERROR_MORE_DATA error if client buffer too small.Jeremy Allison1997-10-082-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)
* I rewrote the name_mangle() and name_len().Christopher R. Hertel1997-10-071-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
* locking.c: Added fix for race condition in slow share mode code.Jeremy Allison1997-10-076-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)
* pipes.c:Luke Leighton1997-10-073-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...
* JHT ==> Fixing blocksize argument. Patch by: Llyod WhitemanJohn Terpstra1997-10-071-1/+1
| | | | <lwhitman@stm2.nrl.navy.mil>
* pipes.c:Luke Leighton1997-10-075-18/+285
| | | | | | | | | | some routines to create LSA RPC packets. none of them are used. lsaparse.c: smbparse.c: smb.h: more tidy-up.
* increase the debug level in the "added interface" debug lineAndrew Tridgell1997-10-071-3/+3
|
* get rid of SIGCLD_IGNORE for HPUX. A user reported it causing lotsAndrew Tridgell1997-10-071-1/+3
| | | | | | of defunct smbd processes. Andrew
* Finally ! Found & fixed crash bug with logging message when deletingJeremy Allison1997-10-061-1/+2
| | | | | | invalid share mode entries. Thanks to berg@wienrg.aut.alcatel.at (Dietmar Berg) for the stack backtrace. Jeremy (jallison@whistle.com)
* client.c: Changed shadowed variable.Jeremy Allison1997-10-0610-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)