1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-28 09:49:30 +03:00
Commit Graph

4730 Commits

Author SHA1 Message Date
b64e1ae693 change the split threahold for the free list to prevent freelist
fragmentation
-
1d63160c75 fixed messaging bug - use strlen() instead of sizeof() in key length -
46007a541c Allow zero length smb.conf files. -
697e8e6de5 Run configure script using dirname of $0. This allows configure.developer
to be run when the build directory != source directory.
-
ec74fdc631 Use lp_codepagedir() instead of CODEPAGEDIR when loading the unicode map.
Found by Joseph Cheek <joseph@cheek.com>
-
52e9311bc2 Code to read & return POSIX ACLs as NT ACLs. Close to test on Linux.
Jeremy.
-
8f0062b873 Keep syncing up POSIX ACL work...
Jeremy.
-
bcac4ede76 Work in progress, doesn't compile. Adding the POSIX ACL mapping....
Jeremy.
-
97e3b29356 alignment issues.
I hate that job ...

	J.F.
-
6cb727c033 First Release of the DocBook 'source'. -
346f2f9206 include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as a single
statement after an 'if'. Tracking this down took 4 hours from my life and ANDREW I WANT
THEM BACK !!!!! :-).
include/smb.h smbd/password.c: Fixed the bug veritas reported with realloc of the validated_users
array growing without bounds. This is now a linked list as god (Andrew) intended :-).
Jeremy.
-
551a0eebb7 PDC docs, made from DocBook source, comments ? -
04ebcf954c Ran DFS on Linux and found that readlink() on Linux does not append NUL
to the link read. So add a NUL..
-
8f3332a9ac passdb/secrets.c passdb/smbpassfile.c smbd/server.c : Actually *use* the code
written to transition from an old DOMAIN.MACHINE.MAC file to secrets.tdb.
printing/nt_printing.c: Fix case insensitive name lookups for driver files.
John - this should fix the Win9x/WinME problem correctly.
Jeremy.
-
349d58fb57 Fixed messaging so main smbd can get lib/message.c messages.
Jeremy.
-
2a797f9aa2 Removed unnessesary init.
Jeremy.
-
03453e2ae5 fixed a potential locking deadlock in tdb -
a08b08f778 This should fix Office failing to print to "FILE:".
Jeremy.
-
cf05709ec3 Tar fixes from Craig Barratt craig@arraycomm.com.
Jeremy.
-
37a665002c o fixed logon script problems (wrong len in reply to net_sam_logon for
a few strings).  I was the one who broke it obviously.

o changed a few more defaults in the smbpasswd backend with
  respect to times.  Now the logon time becomes '0' and the
  pass_can_change_time is set ot the same as pass_last_set_time

o change Get_Pwnam() call in local_lookup_name to sys_getpwnam()
  as it did not seem necessary to try case permutations in the
  username.

  Tim,  I think this was your code, so you might want to double
  check me.


-- jerry
-
e041b144b2 Free talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott Company
Jeremy.
-
684981851f Changes from APPLIANCE_HEAD:
- Add code to test equivalence of private data in NT_DEVICEMODE
-
0ab6eb01b0 ADDPRINTERDRIVER info level 6 fix - this is dynamic depending
on a field in the struct - that's why it was so hard to find.
Jeremy.
-
00cd72c385 Don't forget to convert into UNIX character set before calling
winbindd.
Jeremy.
-
445fd1dbd8 combined 2 if statments which used the same condition
-- jerry
-
e0a02249d3 make proto -
4792029a29 Another large patch for the passdb rewrite.
o added BOOL own_memory flag in SAM_ACCOUNT so we could
    use static memory for string pointer assignment or
    allocate a new string

  o added a reference TDB passdb backend.  This is only a reference
    and should not be used in production because
	- RID's are generated using the same algorithm as with smbpasswd
 	- a TDB can only have one key (w/o getting into problems) and we
	  need three.  Therefore the pdb_sam-getpwuid() and
	  pdb_getsampwrid() functions are interative searches :-(

    we need transaction support, multiple indexes, and a nice open
    source DBM.  The Berkeley DB (from sleepycat.com seems to fit
    this criteria now)

  o added a new parameter "private dir" as many places in the code were
    using lp_smb_passwd_file() and chopping off the filename part.
    This makes more sense to me and I will docuement it in the man pages

  o Ran through Insure-lite and corrected memory leaks.  Need for
    a public flogging this time Jeremy (-:



-- jerry
-
63cafb34b3 Fix for off-by-one StrnCpy.
Jeremy.
-
78a1307445 Fix for updating of print queues changed from a local box. Essentially,
this makes sure that the change messages sent to ourselves are handled
synchronously w.r.t. other smb packets incoming.
Jeremy.
-
b456274a7b Fix from John Reilly for equivalence tests.
Jeremy.
-
209e20365e we don't need the separate lp_status() connection records any more -
3575ad1098 fixed the problem with messages not getting through
the problem had nothing to do with being your own pid, it was instead
a problem with IPC$ connections not being registered in the
connections database and an incorrect test for -1 in the messaging
code.

These changes also mean that IPC$ shares now show up in
smbstatus. That is probably a good thing.
-
eeab4e0290 Fix for memory leak when adding driver.
Jeremy.
-
5dfae86dab support smbcontrol sending messages to itself (for testing purposes) -
34f0379096 save and restore errno in select -
6e18a2aa58 Delete queue on empty.
Jeremy.
-
245907f2af John Reillys fix for de-registering broadcast names (NT doesn't do this).
Jeremy.
-
365c76e39d Fix for incorrect break using wrong offset when updating a form.
Jeremy.
-
64d38c2410 the duplicate checking code will cause unaligned accesses on non-intel
processors. Fixed.
-
30048cff12 use process_exists() not kill(pid, 0) -
3aa7995660 Fix for a problem with the new messaging system. If a sender is using the
messaging system as a notification mechanism, and the speed of notification
greatly exceeds the speed of message recovery, then you get a massively (>75Mb)
growing tdb. If the message is a simple notification, then the message is
static, and you only need one of them in transit to a target process at
any one time.
This patch adds a BOOL "allow_duplicates" to the message_send_XX primitives.
If set to False, then before sending a message the sender checks the existing
message queue for a target pid for a duplicate of this message, and doesn't
add to it if one already exists.
Also added code into msgtest.c to test this.
Jeremy.
-
b8753b92fb Fix for plaintext passwords from Pat Sandfort @ HP.
Jeremy.
-
f571e1efd0 Fix from Jim McDonough @ IBM for OS/2 clients.
Jeremy.
-
0ee469f566 Changes from APPLIANCE_HEAD:
- add empty README file for vlp.  Blame Tim.  =)
-
213cd0b519 Ok - fixed a bug in our levelII oplock code. We need to break a level II on
a byte range lock (write lock only, but Win2k breaks on read lock also so I
do the same) - if you think about why, this is obvious. Also fixed our client
code to do level II oplocks, if requested, and fixed the code where we would
assume the client wanted level II if it advertised itself as being level II
capable - it may not want that.
Jeremy.
-
b2b59b93ff Uninitialized memory read fixes.
open_file_shared takes a DOS pathname, not a UNIX one.
Jeremy.
-
d43405bc47 Tuyrn debug timestamps on by default.
Add Tim's lpq race fix.
Jeremy.
-
cdbd2e9977 Merge from appliance head of JR's changes for driver versioning.
Jeremy.
-
92ff07132b - fix "declaration of 'time' shadows global declaration" warning. -
fbcf83140d Changes from APPLIANCE_HEAD:
- merged Tim's vlp (virtual lp) test program.  Enable it with
      -DDEVELOPER or by using ./configure.developer
	  (source/include/smb.h source/configure.developer
	   source/printing/lpq_parse.c source/param/loadparm.c
	   testsuite/printing/.cvsignore testsuite/printing/Makefile.vlp
	   testsuite/printing/vlp.c)
-