summaryrefslogtreecommitdiffstats
path: root/source/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Makefile: Fix for OSF1 typo.Jeremy Allison1998-01-294-6/+8
| | | | | | | | | | | | asyncdns.c: Fixes that went into 1.9.18p2 - allow unclocking of sigterm. chgpasswd.c: char -> unsigned char fixes. includes.h: AIX fix to get prototype for inet_ntoa. local.h: Tune size of shared memory based on MAX_OPEN_FILES. nmbd_mynames.c: Fix for nmbd repeated refresh bug. nmbd_responserecordsdb.c: Fix for nmbd repeated refresh bug. nmbd_winsserver.c: Fix for multi-homed registration optimisation. smb.h: Moved default shared memory size to local.h Jeremy.
* Added get_create_time() function to time.c.Jeremy Allison1998-01-241-0/+1
| | | | | | | This gets the minimum timestamp associated with a file. reply.c and trans2.c then return this as the create time. Designed to fix problems with VC++ and others. Jeremy.
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-227-10/+10
| | | | | | | This is merely updating the Copyright statements from 1997 to 1998. It's a once a year thing :-). NO OTHER CHANGES WERE MADE. Jeremy.
* printing.c: Bug fix for lpng reporting.Jeremy Allison1998-01-221-1/+1
| | | | | | server.c: Large fix for oplock deadlock bug. util.c: Fix for oplock deadlock bug. Jeremy.
* charcnv.c: Added codepage 866 support onto the file system. PatchJeremy Allison1998-01-171-0/+4
| | | | | | | | | | | | | from Max Khon <max@iclub.nsu.ru>. chgpasswd.c: Allow old RAP change password to work with encrypted passwords. Samba can now allow Windows 95/NT clients to securely change the Lanman password ! (But not the NT hash - that gets lost). ipc.c: smbdes.c: smbpass.c: Support for the above. server.c: #ifdef'ed out fix for NT redirector bug. util.c: Fix NIS bug with server name. Jeremy.
* reply.c:Jeremy Allison1998-01-161-1/+1
| | | | | | | server.c: Test fix for NT worstation SMBmv oplock bug. smbdes.c: Addition of 'forward' parameter in preparation of allowing password change. Jeremy.
* Makefile: Added new codepage - 866.Jeremy Allison1998-01-161-0/+4
| | | | | | | | | charset.c: Supporting code for codepage 866. clientutil.c: Fix compile bug in little-used #define. includes.h: Supporting code for codepage 866. make_smbcodepage.c: Supporting code for codepage 866. pcap.c: Fix bug for lpstat. Jeremy.
* *** empty log message ***Andrew Tridgell1998-01-121-0/+1
|
* docs/Support.txt: Removed consultant.Jeremy Allison1998-01-091-12/+12
| | | | | | | | | | source/Makefile: Added Volker's comment. source/nmbd_become_lmb.c: source/nmbd_browsesync.c: source/nmbd_incomingdgrams.c: Fixed userdata alignment problems. source/mem_man/mem_man.c: source/mem_man/mem_man.h: added smb_ prefix to stop namespace collisions. Jeremy.
* preparing for release of 1.9.18Samba Release Account1998-01-081-1/+1
|
* includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison1998-01-071-1/+6
| | | | | | | | | | interface.c: Added netmask fix. nmbd_nameregister.c: Fixed unitialised variable warnings. nmbd_winsproxy.c: Fixed unitialised variable warnings. nmbd_winsserver.c: Fixed DEC warnings. print_svid.c: Fixed DEC warnings. printing.c: Added LPRng fixes. Jeremy.
* Added 3 commands:Volker Lendecke1998-01-052-1/+20
| | | | | | | | smbmount: This is a stripped down smbclient that communicates with the Linux 2.1.x kernel to supply authenticated smb connections for smbfs mount points. smbmnt/smbumount: setuid commands that do the actual smb mount system call after having done the appropriate security checks
* preparing for release of 1.9.18alpha14Samba Release Account1997-12-241-1/+1
|
* Added SIGUSR1/SIGUSR2 handling.Jeremy Allison1997-12-241-0/+2
| | | | | | Sending nmbd/smbd a SIGUSR1 will raise the debug level by one (capped at 10) sending a SIGUSR2 will lower it (lower limit at zero). Jeremy.
* nmbd_elections.c: Added new parameter to dump_workgroups call.Jeremy Allison1997-12-241-1/+2
| | | | | | | | | nmbd_incomingdgrams.c: Deal with announcements with servertype == 0 - these are announcements that a machine is shutting down and must be treated differently. nmbd_serverlistdb.c: Exposed remove_server_from_workgroup as external. Added code to dump out workgroups on signal correctly. nmbd_workgroupdb.c: Added new parameter to dump_workgroups call. Jeremy.
* Finally added the code Andrew wanted that will allow a Samba domainJeremy Allison1997-12-241-0/+1
| | | | | | | | | master browser to use the *<1b> feature of the Samba WINS server to get a full workgroup list. nmbd.c: Added timed call to collect_all_workgroup_names_from_wins_server(). nmbd_browsesync.c: Meat of the code to implement collect_all_workgroup_names_from_wins_server(). nmbd_incomingdgrams.c: Fixed comment typo. Jeremy.
* Fixes to compile under OpenBSD from "Todd T. Fries" <toddf@acm.org>Jeremy Allison1997-12-231-2/+16
| | | | Jeremy.
* client.c:Jeremy Allison1997-12-201-0/+1
| | | | | | | | | | | | | | | | clientgen.c: clientutil.c: clitar.c: Changed usage of receive_smb to new function client_receive_smb except for one use of receive_smb in client.c. This is the receive_smb used to discard packets received whilst in a keyboard wait state. util.c: Created new function client_receive_smb that ignores session keepalives just as the old receive_smb used to do. Created internal function read_smb_length_return_keepalive that is used internally by the changed receive_smb call. Changed read_smb_len to not use an internal buffer - it is never called with a null buffer so such code is redundant. Jeremy.
* kanji.h: Fixed problems with re-definitions of strchr and others on AIX.Jeremy Allison1997-12-181-0/+24
| | | | | | nmbd_nameregister.c: Applied fix found by "Eloy A. Paris" <eparis@ven.ra.rockwell.com> (don't re-use lists after you have freed them :-). Jeremy.
* preparing for release of 1.9.18alpha13Samba Release Account1997-12-161-1/+1
|
* Added Lanman announce patch from Jacco de Leeuw <leeuw@wins.uva.nl>.Jeremy Allison1997-12-162-0/+8
| | | | | | Also added code to stop old Samba servers that announce the workgroup name as master browser name when they are a local master browser. Jeremy.
* This is it ! The mega-merge of the JRA_NMBD_REWRITE branchJeremy Allison1997-12-132-361/+599
| | | | | | | | back into the main tree. For the cvs logs of all the files starting nmbd_*.c, look in the JRA_NMBD_REWRITE branch. That branch has now been discontinued. Jeremy.
* kanji.c: Patch from Anders Blomdell <anders.blomdell@control.lth.se>Jeremy Allison1997-12-111-3/+0
| | | | | for problem with kanji sj_strXXX functions. Jeremy.
* added optonal MEM_MAN codeAndrew Tridgell1997-12-042-45/+22
|
* don't use free and alloc as structure elementsAndrew Tridgell1997-12-041-3/+3
|
* put the default PRINTCAP_NAME def in includes.h not local.h so thatAndrew Tridgell1997-12-032-17/+17
| | | | it can see the SYSV definitions
* applied a patch from Norm Jacobs to allow "printcap name = lpstat"Andrew Tridgell1997-12-031-0/+9
| | | | | | | | | | to use lpstat to obtain the printer list on systemV systems. I've now made this the default on all SYSV systems. Jeremy, you were a little worried about the security of this patch. I believe it's OK as the user has no control over the options given to popen() and the pipe is only open for reading.
* loadparm.c: Added lp_we_are_a_wins_server as an alias for lp_wins_support.Jeremy Allison1997-12-031-0/+1
| | | | | Used by the new nmbd and just makes more sense :-). Jeremy.
* allow users to disable the NetWkstaUserLogon call in server levelAndrew Tridgell1997-12-031-0/+10
| | | | | security by changing a setting in local.h or adding it to their Makefile. See comment in local.h
* make the "printing" option a per share option rather than global. WhenAndrew Tridgell1997-12-031-1/+1
| | | | printing to lots of different sorts of remote printers this is useful
* I'm slowly getting though the todo list :-)Andrew Tridgell1997-12-031-0/+5
| | | | | This change allows people to select the SYSLOG_FACILITY in local.h, or add it to the Makefile if they want to.
* the default GUEST_ACCOUNT should be here not in smb.hAndrew Tridgell1997-12-021-0/+6
|
* get rid of some things out of smb.h that are already in local.hAndrew Tridgell1997-12-021-12/+0
|
* clientgen.c: Added cli_mv() (used in a recent torture test).Jeremy Allison1997-11-301-0/+1
| | | | | | | | | | reply.c: Changed reply_open_and_X to split out the oplock request bits from core and extended and if an oplock was granted only set the corresponding bit on reply. server.c: Added code to dynamically allocate i/o buffers in oplock_break (prevents recursion problems) , also made reset of sent_oplock_break explicit. Jeremy.
* added a sent_oplock_break element to Files[] as a paranoia check so weAndrew Tridgell1997-11-291-0/+1
| | | | | | | | | | | | | | | | can't sent a oplock break twice on the same file. changed some debug levels in the oplock code to level 0 so we can track down a bug zero the returned Files[] entry in find_free_file() don't try to overcome client bugs in the handling of non-encrypted passwords if in server level security mode added paranoid null termination of password buffers slight change to my ajt_panic() routine
* pass the mailslot name to process_logon_packet()Andrew Tridgell1997-11-281-1/+2
| | | | | | | | | | | - fixed process_logon_packet() to always send the reply to/from the correct netbios name (it should match the query) - only do a NT style QUERYFORPDC if the query came in on a NT_LOGON_MAILSLOT Luke, can you check to see if these changes work in your branch with NT logons?
* get_entries is an int not a boolAndrew Tridgell1997-11-281-1/+1
|
* preparing for release of 1.9.18alpha12Samba Release Account1997-11-281-1/+1
|
* added cli_rmdir and cli_mkdirAndrew Tridgell1997-11-241-0/+5
| | | | | | | added test in smbtorture for the server updating the directory modify time when a file is added to a directory cleanup in smbtorture so no garbage files are left on the server
* added some QPATHINFO and QFILEINFO tests into smbtorture.Andrew Tridgell1997-11-232-7/+4
| | | | | This tests for things like midnight access times, sticky create times and word reversed INFO_STANDARD returns
* test SMBsetatr as wellAndrew Tridgell1997-11-231-1/+3
|
* added a test for the NT SMBgetatr bug in smbtortureAndrew Tridgell1997-11-231-0/+13
| | | | | | | | added support for choosing the protocol level in smbtorture (-m option) use -1 for null date in cli_close() get the attributes right in cli_open()
* the usual :-)Andrew Tridgell1997-11-221-2/+2
|
* added true enumerated types in loadparm.c. Now we don't need all thoseAndrew Tridgell1997-11-221-2/+0
| | | | | | | | | | | | | | | | "interpret_security" and similar functions. This also means that testparm produces string values for these enumerated types rather than an integer. This was done to make the web interface much cleaner. While I was doing this I found a couple of very nasty bugs in the parm_table code. Someone had added a handle_character_set() function that treated the char** pointer for a P_STRING as an integer! This would have caused memory corruption for anyone using the "character set" option. The loadparm code is delicate - please be careful about using it's more esoteric features! I've also removed the "coding system" global and made it a P_STRING. The integer value was never used anywhere in Samba.
* Added in mods for new smb.conf "remote browse sync" option as posted toJohn Terpstra1997-11-211-0/+2
| | | | the samba-1.9.17 tree moments ago.
* ipc.c: Changed reply_trans to use receive_next_smb() to copeJeremy Allison1997-11-181-1/+2
| | | | | | | | with local message processing. reply.c: Added check to reply_lockingX for chain after oplock break. server.c: Added receive_next_smb(). trans2.c: Changed reply_trans2 to use receive_next_smb() to cope with local message processing.
* loadparm.c : Added "veto oplock files" parameter.Jeremy Allison1997-11-172-0/+3
| | | | | | | | make_printerdef.c: Fixed warning. quotas.c: Fixed irix root errors. server.c: Fixed oplock reference count bug. smb.h: Added IS_VETO_OPLOCK_PATH(). Jeremy.
* Rolled back tree state to 11:59pm 8th November 1997 EST toJeremy Allison1997-11-103-77/+21
| | | | | remove problems. Jeremy
* byteorder.h :Luke Leighton1997-11-092-4/+17
| | | | | | | | | | | | typecasting for the debug messages of the data dump. hm. #ifdef NTDOMAIN ntclient.c rpc_pipes/lsaparse.c rpc_pipes/ntclientnet.c rpc_pipes/smbparse.c : adding "Net Server Password Set" functionality to smbclient. #endif
* attempting to mark up 32 bit error codes, needed for NT domains.Luke Leighton1997-11-092-18/+73
| | | | | | | | | | | | separated out smb server-mode password validation into a separate file. added called and calling netbios names to client gen state: referenced section in rfc1002.txt. created workstation trust account checking code in ntclient.c there might be a bug in reply_session_setup_andX. i indented and added { } around single-line if statements: the lm password checking code now doesn't look right (around the GUEST_SESSSETUP bits). *no code semantics have been changed by the indentation process*.