summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1997-08-21Kanji fixes for upper/lower case conversion with sjis characters.Samba Release Account4-30/+149
Code from Takashi Fujita <fujita@ainix.isac.co.jp>. Jeremy (jallison@whistle.com) (This used to be commit 07f7e378c4839d0ca4bb79c8755481f4bf5637de)
1997-08-20Changes to allow Samba to return the same error code as Windows NT.Samba Release Account7-63/+297
Takes care of the cases where a Windows program is parsing a pathname component by component and expects 2 different errors. ERRbadpath - if a component in the path doesn't exist. ERRbaddirectory - if a component in the path exists but is not a directory. Extra error code added to smb.h to support this. Code based on suggestions from "Christian Groessler" <chris@fast-ag.de>. Jeremy (jallison@whistle.com) (This used to be commit 28b3c6db8a81b41b448a4f3cd98e9cd2c4b5fb2e)
1997-08-20Fix suggested by "Christian Groessler" <chris@fast-ag.de>Samba Release Account4-4/+13
dir.c: Cause dptr_create to return -2 when failing on unix error. reply.c: Use UNIXERROR in more cases. server.c: Add ENOTDIR mapping to error table. trans2.c: Correctly determine UNIX error on dptr_create. Jeremy (jallison@whistle.com) (This used to be commit de38a0b34fcd65fa3024300f978aa30eb86d854f)
1997-08-19Makefile: Changed for HPUX10 tidyup.Samba Release Account11-48/+115
includes.h: Changed for HPUX10 tidyup. ipc.c: Fixed bug where getting local server list from NT browsers would fail. nmbsync.c: Fixed bug where getting local server list from NT browsers would fail. proto.h: Changed for crash bug on SCO with USE_MMAP. quotas.c: Added OSF quotas (patch from Bret Giddings <bret@essex.ac.uk>). Rolled back solaris uid change - I think it was wrong. reply.c: Changed for crash bug on SCO with USE_MMAP. server.c: Removed Lukes changes. Changed for crash bug on SCO with USE_MMAP. smb.h: Changed for crash bug on SCO with USE_MMAP. smbpasswd.c:Fixed crash bug with Lukes changes. uid.c: Removed Lukes changes. util.c: Fixed I18N bug with extended char filenames and widelinks = no. Jeremy (jallison@whistle.com) (This used to be commit bf1c79f7fd7f9beec4f9f4e58337cadceeb1cb38)
1997-08-18JHT ===> Just making sure any new tests do not announce as the last alpha!John Terpstra1-1/+1
(This used to be commit f75e7ab927deebcf67626329f6233b87a779fbf3)
1997-08-17connecting to IPC$ goes under the guest account. the IPC$ share shouldSamba Release Account2-24/+19
be treated no differently than any other share (for any security setting: user, server or share). this will clear up a bug where, when clients connect to the IPC$ share, this used to be done under the guest account. the standard_sub_basic() macros will substitute the _guest_ account for %U, causing the samba server to look different from when the client then connects to any other share. lkcl (This used to be commit 38526569608f6eb5f098efee7013037873d140bf)
1997-08-13includes.h: Fixed S_IFLNK for old DEC ultrix.Samba Release Account2-2/+12
ipc.c: Finally :-) fixed responses to NetServerEnum2 when SV_TYPE_ALL given. Jeremy (jallison@whistle.com) (This used to be commit 1dc37c83506a434840a04c49e423cd9d2223fab4)
1997-08-12charset.c: Fixed bug with 'valid chars' param.Samba Release Account4-6/+46
loadparm.c: Fixed bug with 'valid chars' param. nameelect.c:Unregister the 1b name from the WINS server when unbecoming master. nameservresp.c: Fix nasty browse bug where we were sending the query to the wrong ip address. Jeremy (jallison@whistle.com) (This used to be commit 927d1875f0c09fe7b2e1c1bc4b1af2c0b8de0f7c)
1997-08-11spelling.Samba Release Account1-1/+1
lkcl (This used to be commit 7e326450cf5aeee704df9fb5e298b0fc353dfb8b)
1997-08-10updating comments.Samba Release Account1-13/+11
lkcl (This used to be commit 50a9a235fd252e2f6873d3f05f614b6aef937087)
1997-08-09bug in num. arguments detection that stopped the -add option workingSamba Release Account1-7/+3
lkcl (This used to be commit e025ffa0aacb577619cc35f0b9e5c5a862f4429f)
1997-08-07failure to register DOMAIN<1b> netbios name caused nmbd to exit (a call toSamba Release Account1-2/+1
exit()). this is a bad idea. lkcl (This used to be commit e6334c14d539129ddf6609b6cae6145cffa0d9fc)
1997-08-06updated smbpasswd to take the password on the command-line.Samba Release Account1-20/+72
two sets of operation: as root: specify username password. as user: specify old password new password this will allow shell scripts (like adduser) to include smbpasswd. lkcl (This used to be commit 7e5f1681bd538c3a1b576cff1d86fa8167704525)
1997-08-05Makefile: Added IRIX 6 target.Samba Release Account3-8/+20
loadparm.c: Fixed stupid static warnings with set_default_server_announce_type. password.c: Fixed char -> uchar cast warnings. nameservreply.c: Fixed group fade out code. Jeremy (jallison@whistle.com) (This used to be commit a2dd5c5a551547e83c707e63c0696c7724035501)
1997-07-31loadparm.c: Added new netbios aliases parameter (code from Cisco)Samba Release Account8-32/+146
nameannounce.c: Code to announce aliases as well as our own names. namedbsubnet.c: Code to add the aliases to the server list. nameserv.c: Code to defend our aliases on the namelist. namework.c: Code to check it's one of our aliases. nmbd.c: Code to initialise the aliases. proto.h: Fixup protos. util.c: Code to check it's one of our aliases. All above code based on code for 1.9.16p11 donated by Cisco from Ben Woodard <bwoodard@luthien.cisco.com> Jeremy (jallison@whistle.com) (This used to be commit a2ce1c0cb1331551ff728dcfe3260fab4cd827e5)
1997-07-30client.c: Minor change to cast parameters for DEC unix.Samba Release Account10-35/+164
clientutil.c: Minor change to cast parameters for DEC unix. ipc.c: Fixes to parameterise the stuff John wants. loadparm.c: Fixes to parameterise the stuff John wants. nameannounce.c: Fixes to parameterise the stuff John wants. namedbwork.c: Fixes to parameterise the stuff John wants. nameserv.h: Fixes to parameterise the stuff John wants. proto.h: Fixes to parameterise the stuff John wants. smb.h: Fixes to parameterise the stuff John wants. util.c: tidy. Jeremy (jallison@whistle.com) (This used to be commit 9fbca2594ba775450d5dca13cbce257b4362ca66)
1997-07-30Minor text mods, mostly checking that CVS still worksSamba Release Account1-3/+3
Dan (This used to be commit 632bf0dab06bccd082a9fc64a62ff7c99982d2b6)
1997-07-28Missed removing some redundent code.Samba Release Account1-3/+0
Jeremy (jallison@whistle.com) (This used to be commit 4135fdb32327b394e586173bb2d51b7b676b409e)
1997-07-28client.c: Added amanda fixes.Samba Release Account8-197/+66
clitar.c: Added amanda fixes. nameannounce.c: Removed redundent code. nameelect.c: Removed redundent code. nameserv.h: Removed redundent code. nameservresp.c: Removed redundent code. namework.c: Removed redundent code. password.c: Prevented crash if getpwnam fails. Jeremy (jallison@whistle.com) (This used to be commit 760fe30353de66e8e6571f8ff4ec1064261b5428)
1997-07-24Re-added shm stuff - keeps getting lost.Samba Release Account1-1/+3
Jeremy (jallison@whistle.com) (This used to be commit 4fad0a63aa6712775610f7d341ba243e6353ce3b)
1997-07-24loadparm.c: Changed default create mask to 755 to support MAP_ARCHIVE.Samba Release Account2-11/+11
server.c: Added check for MAP_ARCHIVE before we set archive bit. Jeremy (jallison@whistle.com) (This used to be commit d21a166277776f6750b7bcc3c4f9073cce17eacb)
1997-07-24nameserv.c: split add_domain_names() into three functions:Samba Release Account4-192/+259
add_domain_logon_names() - adds <1c> names on WINS and broadcast. add_domain_master_wins() - adds <1b> name only with WINS server add_domain_master_bcast() - adds <1b> names only by bcast. : made add_domain_names() add <1c> names, unconditionally, and add <1b> name with the WINS server if using a WINS server, or add <1b> name by broadcast if _not_ using a WINS server, but _not_ both. : removed the direct parameter from remove_name_entry() and add_my_name_entry(). nameelect.c: made become_domain_master(), on successful registration of the <1b> name with the WINS server, go ahead and register the <1b> names by broadcast. if the <1b> name is _not_ successfully registered with the WINS server, the broadcast registration of <1b> names will _not_ proceed. namedbsubnet.c: sorted out calls to add_my_name_entry() and remove_my_name() which no longer has a direct parameter. this is all added because... in order to fix a compatibility bug with 1.9.16p2->p11, jeremy had added a feature that got the <1b> broadcast registered names _directly_ into the nmbd netbios lists, undefended. the aim was to get round the aggressive netbios registration of <1b> names of 1.9.16p2->p11. however, because 1.9.16p2->p11 don't properly _provide_ netlogon services, it is better that an error message appears in 1.9.17 logs, and that administrators are made aware of the problems with 1.9.16p2->p11, and replace 1.9.16p2->p11 servers, rather than attempt to run 1.9.16 alonside 1.9.17. (these warning messages will need to be added...) in _addition_, they shouldn't _be_ getting two samba servers to provide domain logon / domain master services for the same workgroup in the same WINS scope! lkcl (This used to be commit 5a668ff7ba83433b5eaa9f7d03a42573ee26caf9)
1997-07-24removed definition of strslashcmp - now a static in clitar.c.Samba Release Account1-1/+0
Jeremy (jallison@whistle.com) (This used to be commit 83448e7a1176b68ed90532a69b4408cd579db8d8)
1997-07-24patch by glenn burkhardt to allow recursive excluding of directories.Samba Release Account1-7/+18
glenn@aoi.ultranet.com lkcl (This used to be commit 4aac8449ae1f4e9d214071e8b254ce8b391496a4)
1997-07-24Makefile: Added UNIXWARE 2.x with shadow passwords from fja@extratech.comSamba Release Account13-174/+269
client.c: Made prompt appear at debug level 0. Fixed strcasecmp redefinition. Caused client to use set_blocking rather than making fcntl calls itself. dir.c: Removed redundent snum parameters. includes.h: Added SCO fixes. loadparm.c: Made default 'files to hide' a null string. nmbd.c: Removed O_NONBLOCK from pid file open for platforms that dont have it. proto.h: Changed snum to cnum where needed. Changed is_xx_path to is_in_path (now called via MACRO). quotas.c: Swapped setuid/seteuid calls when restoring uid. reply.c: Removed redundent snum parameters. server.c: Changed snum to cnum where needed. Setup new veto_list, hide_list namelists. Added standard_sub changes from Stefaan A Eeckels <Stefaan.Eeckels@ecc.lu> and Paul Rippin <pr3245@nopc.eurostat.cec.be> shmem.c: Changed cast for sizeof to be int before negating. smb.h: Added new veto_list, hide_list entries to connections. Added IS_PRINT, IS_HIDDEN_PATH, IS_VETO_PATH macros. trans2.c: Removed redundent snum parameters. util.c: Added standard_sub_basic changes from Stefaan A Eeckels <Stefaan.Eeckels@ecc.lu> and Paul Rippin <pr3245@nopc.eurostat.cec.be> Fixed up veto/hidden path processing so the paths are pres-parsed and checked for wildcards (for speed). Jeremy (jallison@whistle.com) (This used to be commit 9afa36f7874cfd527aa6ef1e7965c1d35d46ab1f)
1997-07-23JHT ===> Getting ready for release of 1.9.17alpha5John Terpstra1-1/+1
Please note that version.h has been updated!!!!!!!!!! (This used to be commit 271d12b5ddc372500feea8fec5678191ba4ebcf8)
1997-07-22charset.c: Fixed signed/unsigned issues.Samba Release Account2-2/+16
password.c: Fixed problem with MS-Exchange services. Jeremy (jallison@whistle.com) (This used to be commit e723dd3deec00a91568c5aa546374409ce7ba379)
1997-07-22Removed lp_killunused() call from server main loop. ThisSamba Release Account1-3/+0
WAS A MAJOR BUG THAT CAN CAUSE IPC$ to be removed !!!!! Not sure how this one got introduced (but I have my suspicions :-). lp_killunused() MUST ONLY BE CALLED from reload_services(). Jeremy (jallison@whistle.com) (This used to be commit 937f0fbf87c4b66a947215ee13a69d1e19e4ff77)
1997-07-21Fixed bug with -add code that put wrong password in nt md4 field.Samba Release Account1-1/+1
Jeremy (jallison@whistle.com) (This used to be commit aabb18953b5d026af3548610aa1ffd6ea2fd72e5)
1997-07-18charset.c: Split charset_initialise() into 2 - a charset_initialise() andSamba Release Account14-33/+62
a codepage_initialise(). Fixes problem with initialising dos map twice. charset.h: Changes to support charset changes. client.c: Changes to support charset changes. loadparm.c: follow symlinks parameter from David Clerc <David.Clerc@cui.unige.ch> nmbd.c: Changes to support charset changes. nmblookup.c:Changes to support charset changes. proto.h: Changes to support charset changes. reply.c: Don't call security=server with no user/no password guest. Fix from Stefaan A Eeckels <Stefaan.Eeckels@ecc.lu> server.c: follow symlinks code from David Clerc <David.Clerc@cui.unige.ch> smbpasswd.c:Changes to support charset changes. status.c: Changes to support charset changes. testparm.c: Changes to support charset changes. testprns.c: Changes to support charset changes. uid.c: Fixed log message with no \n. Jeremy (jallison@whistle.com) (This used to be commit 2a28a6e5e461aca7fe6c19cd01d287010056cffb)
1997-07-17Makefile: Added krb5 option from Nathan Neulinger <nneul@umr.edu>Samba Release Account6-15/+101
includes.h: Added krb5 option from Nathan Neulinger <nneul@umr.edu>, added SGI5 fix. password.c: Added krb5 option from Nathan Neulinger <nneul@umr.edu> quotas.c: Added inode quote fix. reply.c: removed redundent code. server.c: Changed error debug to 0, removed redundent check. util.c: Added close_low_fd() to become_daemon - fix for rsh from Johnathan Knight. Jeremy (jallison@whistle.com) (This used to be commit 256afb764828b0a6dad5529d62501bc9ea2807ee)
1997-07-15Fix silly crash bug in FAST_SHARE_MODES (same bug as was inSamba Release Account1-1/+1
SLOW_SHARE_MODES - duh !). Jeremy (jallison@whistle.com) (This used to be commit d38ac4f3a2fb47d3e2ca7d5f788130064502c6eb)
1997-07-14local.h: Removed ununsed SHARE_MODES_XXX defines. Upped SMBD_RELOAD_CHECKSamba Release Account4-45/+23
from 10 to 60. server.c: Removed unused code (was If 0'ed out). trans2.c: Backed out Luke's ctime->mtime change. I don't think it is correct. Left the other fixes, though. util.c: Changed veto/hide files separator back to '/'. Jeremy (jallison@whistle.com) (This used to be commit b47121624c8824d3e1d8992cb950ebad52ba5c58)
1997-07-14CIFS definitions for SMB_INFO_xxx etc.Samba Release Account1-0/+5
lkcl (This used to be commit 9fda8a6fefd66a1c9f239e0dd41888af3555a22b)
1997-07-13counter loop % usage only worked if counters were an exact multiple ofSamba Release Account1-3/+28
SMBD_LOOP time. used >= instead. lkcl (This used to be commit c881dff3bfaa370b5eb4324217796d186572a9e3)
1997-07-13added pretty printing of data section to show_msg(), for debug log level 10.Samba Release Account1-3/+23
data section output is now in same format as tcpdump (hex and characters). lkcl (This used to be commit dcb1a74cf11de0c02c640e4d683ac81a814db624)
1997-07-12trans2 query file/path info - unix change times being reported as dos createSamba Release Account1-43/+86
times. now reports unix modified times as dos create times: the alternative is to report zero (unknown create time). w95 reports the info level 0x101 (smb query file basic) as data size 40 bytes not 36. put 40 bytes data instead. put in comments into trans2 set file/path info, showing which is the create time, which is the mod time. lkcl (This used to be commit ff455e405998a1a01320ffc21c81587cd34e9853)
1997-07-12JHT ==> Just tidying up for Release.John Terpstra1-663/+0
(This used to be commit 4e9b7c92f79e1b7bf68103fe378449178b86e315)
1997-07-11interface.c: Fix for AIX4.x finding interfaces.Samba Release Account2-4/+4
server.c: Subtle fix for filenames containing ':'. Jeremy (jallison@whistle.com) (This used to be commit ee9f57bab25e5ee07fb2d384b8c416576401a6ab)
1997-07-10Added -a option (for Andrew:-). Fixed bug where users withSamba Release Account1-20/+99
"NO PASSWORD" couldn't change their passwords. Jeremy (jallison@whistle.com) (This used to be commit 87d17af0087fb0eced7628239b73e2c6cae774a9)
1997-07-09JHT ==> Added copyright notations for my works. This is regretably needed!John Terpstra3-1/+7
(This used to be commit c80111cdf54218f23b230dc91bd6d814e6a4afcc)
1997-07-08Makefile: Added AIX targets from Ole Holm Nielsen <Ole.H.Nielsen@uni-c.dk>Samba Release Account15-46/+91
chgpasswd.c: Added Samba/GPL notice (for obvious reasons). clitar.c: Updated Copyright date to include 1997 (for obvious reasons). getsmbpass.c: Updated Copyright date to include 1997 (for obvious reasons). includes.h: Added stropts for solaris. loadparm.c: Changed comment for hide files option. nameconf.c: Updated Copyright date to include 1997 (for obvious reasons). nmbd.c: Updated Copyright date to include 1997 (for obvious reasons). pcap.c: Updated Copyright date to include 1997 (for obvious reasons). proto.h: Re-added accidentaly deleted smb_shm_ calls. quotas.c: Added AIX quota patch from Ole Holm Nielsen <ohnielse@fysik.dtu.dk> server.c: Optimization on calling is_hidden_path. Updated Copyrights. smb.h: Changed DEFAULT_FILES_TO_HIDE from "*/.*" to ".*". smbpass.c: Updated Copyright date to include 1997 (for obvious reasons). ufc.c: Updated Copyright date to include 1997 (for obvious reasons). util.c: Added last component code to is_in_path(). Jeremy (jallison@whistle.com) (This used to be commit 9385ae1005f13c8ed51f1319e3949b5c8571e62d)
1997-07-06missed one OpenDir() and two is_vetoed_name() calls, both of which takeSamba Release Account1-3/+3
a service number as a parameter, in the rmdir code, when doing a recompile. lkcl (This used to be commit e095e339e62471a0b172918d2d3213f8a34b2108)
1997-07-06added, tested and debugged new "hide files" option.Samba Release Account9-105/+130
lkcl (This used to be commit 60af320a436c3a26230fd7ac71856e67ef64e819)
1997-07-06replaced the "wins proxy" to treat NetBIOS names as DNS names with newSamba Release Account3-15/+34
"dns proxy" option. the "wins proxy" option should be used for broadcast only hosts, and isn't properly implemented anyway. the new "dns proxy" option can be disabled if the (blocking) dns resolution takes up a significant amount of time. this _will_ occur if gethostbyname does external DNS lookups, instead of just (immediately) returning entries in /etc/hosts. lkcl (This used to be commit 350dfc57dd3001ba27519000a2ab9dd541a66ac7)
1997-07-03preparing for release of 1.9.17alpha4Samba Release Account1-1/+1
(This used to be commit ef5ccde4760a5545c5dedf4721cb28cbe0163661)
1997-07-03Makefile: Added DGUX changes for intel.Samba Release Account3-10/+10
namedbwork.c: Minor tidyup for election flah. util.c: Fix for broken readdir detectino code. version.h: Back to 1.9.17alpha3 - will be updated by release script. Jeremy jallison@whistle.com (This used to be commit 26635733a746dee2435da7ce228def5f2f292bba)
1997-07-03preparing for release of 1.9.17alpha4Samba Release Account1-1/+1
(This used to be commit 16f6bf700f99357c7467d52b65de42ecff533636)
1997-07-03Fix for deleting directories that contain only veto files.Samba Release Account5-11/+77
Needed for interoperability with netatalk volumes. Jeremy (jallison@whistle.com) (This used to be commit e72a8513bccf77177f6fb6002057fee608947a32)
1997-07-03Fixes for UnixWare 2.x with shadow passwords fromSamba Release Account2-0/+15
Warren Young <tkennedy@cyberport.com>. (This used to be commit 885b42b44752249c85bb924c9ceefa5b710225da)