summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* Added fix for doing pq command (from "James J. Szinger" ↵Jeremy Allison1998-02-121-2/+2
| | | | | | <james.szinger@yale.edu>). Jeremy.
* Makefile: Added AIX 3.2.5.Jeremy Allison1998-02-1110-13/+77
| | | | | | | | | | | | | | | | loadparm.c: Added "win95 bug compatibility" parameter. local.h: Replaced MAX_OPEN_FILES back to 100 from 10 (oops). reply.c: Fixed ulogoff check against uid - changed to vuid. server.c: Changed file struct save of uid - changed to vuid. smb.h: Changed id in struct current_user to vuid. Changed file struct uid to vuid. time.c: Added "win95 bug compatibility" atime -> mtime return. trans2.c: Added "win95 bug compatibility" fixes. uid.c: Changed id in struct current_user to vuid - added checks to set/reset it. util.c: Added code to expand environment variables. version.h : still at 1.9.18 (head branch doesn't matter too much at present). Jeremy.
* A small raft of changes, I will sync up with 1.9.18 also.Jeremy Allison1998-02-0713-49/+115
| | | | | | | | | | | | | | | | | chgpasswd.c: Fixed typo in debug message. includes.h: Fix include for aix. kanji.c: Added cap_to_sj as inverse of sj_to_cap. loadparm.c: local.h: password.c: Added code for "networkstation user login" parameter. - patch from Rob Nielsen <ran@adc.com>. printing.c: Added further aix printing fixes. reply.c: Changed access time fetch to a function. trans2.c: Changed access time fetch to a function. time.c: Changed access time fetch to a function. server.c: Made NT redirector workaround final. util.c: Added debug for write_socket failing. Jeremy.
* server.c: Added fix where, if all the file entries are beingJeremy Allison1998-01-311-1/+57
| | | | | | | | | used, smbd tries to break an oplock to make room for another file entry. This works well with Windows 95 that seems to keep batch oplocks around for an arbitrarily long time. Also changed rlimit code to ask for MAX_OPEN_FILES + 10 (if allowed) as many systems use file descriptors for directory handles also. Jeremy.
* fix bug when using lpstat as printcap file - remove space at start ofHerb Lewis1998-01-301-1/+1
| | | | printer names generated
* Makefile: Fix for OSF1 typo.Jeremy Allison1998-01-299-10/+62
| | | | | | | | | | | | 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.
* Fix from Charles Hoch (hoch@hpl.hp.com). Whne there is no dataJeremy Allison1998-01-281-2/+4
| | | | | | | to send, setting the data alignment to a 4 byte boundary causes a few extra bytes to be sent. This seems to cause the NT redirector to *sometimes* fail. Jeremy.
* always align both the parameter and data bytes on a 4 byte boundary inAndrew Tridgell1998-01-251-8/+20
| | | | | | | | | | | trans2 responses. I'm not at all convinced this was causing problems, because observations of Win95 show that it produces totally non-aligned paramater bytes and 2 byte aligned data bytes. We were previously always producing 2 byte aligned data and parameter bytes so we already had "better" alignment than Win95. lets hope no clients rely on servers producing unaligned data or parameters!
* Added log message so we can tell when free_service is called.Jeremy Allison1998-01-241-0/+3
| | | | | Just in case of problems. Jeremy.
* Fix for memory leak in loadparm.c - donated by Branko Cibej ↵Jeremy Allison1998-01-241-1/+8
| | | | | | | | | | | <branko.cibej@hermes.si> I checked this out and it looks ok - the bzero() in init_service() was overwriting the pointers pservice->szService and pservice->copymap that should have been freed in copy_service() the line later. This fix frees pservice->szService and pservice->copymap inside free_service() and sets them to zero so they won't be freed again. Jeremy.
* Added get_create_time() function to time.c.Jeremy Allison1998-01-244-7/+30
| | | | | | | 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.
* Changed code that truncates salt after 2 characters so that it becomesJeremy Allison1998-01-231-0/+3
| | | | | | | HPUX specific. This fixes a bug with FreeBSD md5 crypt implementation that needs all of the password characters. It seems better to make this an HPUX specific thing. Jeremy.
* Fixed warnings with gcc (assignments inside if statements).Jeremy Allison1998-01-231-4/+4
| | | | Jeremy.
* changes to correctly use some HP printer inf filesHerb Lewis1998-01-231-39/+146
|
* nmbd.c, server.c: Added #ifndef MEM_MAN around code that sets the SIGUSR1Jeremy Allison1998-01-232-0/+9
| | | | | | and SIGUSR2 signals. This allows the MEM_MAN code to be compiled in and the memory debug feature to be used with SIGUSR1. Jeremy.
* This is *not* a big change (although it looks like one).Jeremy Allison1998-01-2299-150/+150
| | | | | | | 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-224-58/+110
| | | | | | server.c: Large fix for oplock deadlock bug. util.c: Fix for oplock deadlock bug. Jeremy.
* *** empty log message ***Volker Lendecke1998-01-222-55/+53
|
* Fixed send_mailslot code where src_type was always being set to zero.Jeremy Allison1998-01-211-1/+1
| | | | | Fix found by Bernhard Laeser <nlaesb@ascom.ch>. Jeremy.
* fix problems with using inf files from HP for DesignJet 750C (C3195A)Herb Lewis1998-01-211-1/+4
|
* Fixed bug found by Bernhard Laeser where we are announcing to the wrongJeremy Allison1998-01-201-1/+1
| | | | | DMB name. Jeremy.
* charcnv.c: Added codepage 866 support onto the file system. PatchJeremy Allison1998-01-178-8/+195
| | | | | | | | | | | | | 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-164-28/+48
| | | | | | | server.c: Test fix for NT worstation SMBmv oplock bug. smbdes.c: Addition of 'forward' parameter in preparation of allowing password change. Jeremy.
* Adding new codepage file.Jeremy Allison1998-01-161-0/+168
| | | | Jeremy.
* Makefile: Added new codepage - 866.Jeremy Allison1998-01-165-15/+16
| | | | | | | | | 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.
* reply.c: Added timestamp to attack warning.Jeremy Allison1998-01-152-1/+3
| | | | | | server.c: Fixed security=share problem where the vuid was still being looked at. Jeremy.
* propogate my cgi changes to the main branchAndrew Tridgell1998-01-123-2/+3
|
* *** empty log message ***Andrew Tridgell1998-01-124-11/+34
|
* *** empty log message ***Andrew Tridgell1998-01-111-0/+5
|
* *** empty log message ***Andrew Tridgell1998-01-111-3/+3
|
* Following discussions with Cristian Gafton (Red Hat) we have decided to makeJohn Terpstra1998-01-101-2/+8
| | | | | | PAM silent about it's actions. This reduced error logging for EVERY password validation request. Refer to password.c PAM section for further info. Fiels Affected: password.c
* ipc.c: Fixed problem where we were not returning 'buffer too small'Jeremy Allison1998-01-101-2/+2
| | | | | when NT sends up a mdrcnt of zero. Jeremy.
* docs/Support.txt: Removed consultant.Jeremy Allison1998-01-094-24/+36
| | | | | | | | | | 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
|
* Fixed an apparent typo:Christopher R. Hertel1998-01-081-1/+1
| | | | | | | | 2551c2551 < #endif /NO_FORK_DEBUG */ --- > #endif /* NO_FORK_DEBUG */ Chris -)-----
* Ensure that if we are in share mode security that the smb_uidJeremy Allison1998-01-071-1/+2
| | | | | field is invalid. Jeremy.
* includes.h: Added FreeBSD 3.x fixes. Added HPUX10.x fixes.Jeremy Allison1998-01-077-13/+45
| | | | | | | | | | 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 manpages.Volker Lendecke1998-01-061-4/+0
| | | | | Removed obsolete options from smbmount help message. Volker
* the real source code for the smbfs utilities. Forgot to doVolker Lendecke1998-01-053-0/+1429
| | | | | cvs add first. Volker
* Added 3 commands:Volker Lendecke1998-01-054-32/+59
| | | | | | | | 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
* added printout of file list to stderr so you know what files you need toHerb Lewis1998-01-031-0/+4
| | | | copy to your printer$ share
* added timestrings to become and unbecome domain/local master browserHerb Lewis1998-01-032-12/+13
| | | | messages.
* fix printer driver rpc to prevent core dumps.Herb Lewis1998-01-021-65/+73
|
* fixes to make_printerdef.c to generate a correct printers.def fileHerb Lewis1998-01-012-40/+134
| | | | changes to ipc.c to use new printers.def file
* avoid the ~ operator in netmask operations as apparently it causesAndrew Tridgell1997-12-291-33/+55
| | | | | problems on some systems (eg. freeBSD 2.2.2). I'm surprised by this but the change looks harmless. Patch from fred@datalync.com
* a dummy change to shmem_sysv.c to try and break CVS out of a problemAndrew Tridgell1997-12-291-0/+1
| | | | with the ntdom branch
* fixed another couple of minor type errors (they could cause incorrectAndrew Tridgell1997-12-261-4/+4
| | | | output but not a core dump)
* fixed a couple of illegal uses of scanf() in the nmbd wins code. TheyAndrew Tridgell1997-12-262-7/+7
| | | | | | | | | | caused a core dump under IRIX when compiled with -64. In general you cannot assume things about variable sizes. In particular sizeof(time_t) may not equal sizeof(long) and sizeof(uint16) may not equal sizeof(short). There are probably other bugs like this. We'll need to check all format statements for use of %ld, %hx etc. In general these should not be used unless you have an explicit cast to the appropriate type.
* use _exit to exit a childAndrew Tridgell1997-12-261-6/+2
|
* This is actually Jeremy, working as Herb :-).Herb Lewis1997-12-241-0/+22
| | | | | | | | | | Fixed bug where, when server is shut down it would always do a lm announce broadcast of shutdown. This could cause other nmbd's to think that they have seen an lm announce broadcast and start doing it themselves. Changed to only send lm announce shutdown if admin configured it or one was seen on the subnet. Jeremy.