1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00
Commit Graph

4547 Commits

Author SHA1 Message Date
Tim Potter
cfe4cb5dfa Reformatted to look nicer on 80-character screen.
Replaced 8-bit ascii characters with appropriate 7-bit ones.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
077ee4a7ac fixed SACL bug 0001-01-01 00:00:00 +00:00
Andrew Tridgell
1e0d5f0695 - with -D only delete first match
- fixed delete bug
0001-01-01 00:00:00 +00:00
Tim Potter
369a378b33 Fixed some debugging code. 0001-01-01 00:00:00 +00:00
Andrew Tridgell
cb324b53c6 - added help
- added add/modify/delete/set as separate operations
0001-01-01 00:00:00 +00:00
Andrew Tridgell
0a990f02d0 new protos 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f8dbd2b799 cleaner parsing and default handling 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f9f14a4293 changed an error message 0001-01-01 00:00:00 +00:00
Andrew Tridgell
fd4c03aef6 - better parsing
- started to add non-numeric support
0001-01-01 00:00:00 +00:00
Andrew Tridgell
6cea1647fc getting/setting acls now works. The SIDs are still numeric, the next
step is to support usernames etc
0001-01-01 00:00:00 +00:00
Andrew Tridgell
c6c90dc8e1 added basic ability to dump remote file acls 0001-01-01 00:00:00 +00:00
Andrew Tridgell
976b9f6264 make sure we don't duplicate object files 0001-01-01 00:00:00 +00:00
Andrew Tridgell
2f21a0b100 new proto 0001-01-01 00:00:00 +00:00
Andrew Tridgell
f2f9859b70 a prootype program for querying/setting a security decsriptor on a
remote machine

it is by no means complete, expect more commits soon
0001-01-01 00:00:00 +00:00
Andrew Tridgell
e21994ff9d - added client support for nttrans calls
- added a cli_ function for querying a security descriptor on a remote file
0001-01-01 00:00:00 +00:00
Andrew Tridgell
3420b52da5 split the RPC_PARSE object into two pieces. The first is included as
part of LIBSMB and the latter is used by parts of samba that know
about the pwd backends
0001-01-01 00:00:00 +00:00
Jeremy Allison
ee89ca9e68 Added print_freelist command.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
b64e1ae693 change the split threahold for the free list to prevent freelist
fragmentation
0001-01-01 00:00:00 +00:00
Andrew Tridgell
1d63160c75 fixed messaging bug - use strlen() instead of sizeof() in key length 0001-01-01 00:00:00 +00:00
Tim Potter
46007a541c Allow zero length smb.conf files. 0001-01-01 00:00:00 +00:00
Tim Potter
697e8e6de5 Run configure script using dirname of $0. This allows configure.developer
to be run when the build directory != source directory.
0001-01-01 00:00:00 +00:00
Tim Potter
ec74fdc631 Use lp_codepagedir() instead of CODEPAGEDIR when loading the unicode map.
Found by Joseph Cheek <joseph@cheek.com>
0001-01-01 00:00:00 +00:00
Jeremy Allison
52e9311bc2 Code to read & return POSIX ACLs as NT ACLs. Close to test on Linux.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
8f0062b873 Keep syncing up POSIX ACL work...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
bcac4ede76 Work in progress, doesn't compile. Adding the POSIX ACL mapping....
Jeremy.
0001-01-01 00:00:00 +00:00
Jean-François Micouleau
97e3b29356 alignment issues.
I hate that job ...

	J.F.
0001-01-01 00:00:00 +00:00
David Bannon
6cb727c033 First Release of the DocBook 'source'. 0001-01-01 00:00:00 +00:00
Jeremy Allison
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.
0001-01-01 00:00:00 +00:00
David Bannon
551a0eebb7 PDC docs, made from DocBook source, comments ? 0001-01-01 00:00:00 +00:00
Shirish Kalele
04ebcf954c Ran DFS on Linux and found that readlink() on Linux does not append NUL
to the link read. So add a NUL..
0001-01-01 00:00:00 +00:00
Jeremy Allison
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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
349d58fb57 Fixed messaging so main smbd can get lib/message.c messages.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
2a797f9aa2 Removed unnessesary init.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
03453e2ae5 fixed a potential locking deadlock in tdb 0001-01-01 00:00:00 +00:00
Jeremy Allison
a08b08f778 This should fix Office failing to print to "FILE:".
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
cf05709ec3 Tar fixes from Craig Barratt craig@arraycomm.com.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
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
0001-01-01 00:00:00 +00:00
Jeremy Allison
e041b144b2 Free talloc'ed memory from the main smbd. Patch from Rich Bollinger, Elliott Company
Jeremy.
0001-01-01 00:00:00 +00:00
David O'Neill
684981851f Changes from APPLIANCE_HEAD:
- Add code to test equivalence of private data in NT_DEVICEMODE
0001-01-01 00:00:00 +00:00
Jeremy Allison
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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
00cd72c385 Don't forget to convert into UNIX character set before calling
winbindd.
Jeremy.
0001-01-01 00:00:00 +00:00
Gerald Carter
445fd1dbd8 combined 2 if statments which used the same condition
-- jerry
0001-01-01 00:00:00 +00:00
Gerald Carter
e0a02249d3 make proto 0001-01-01 00:00:00 +00:00
Gerald Carter
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
0001-01-01 00:00:00 +00:00
Jeremy Allison
63cafb34b3 Fix for off-by-one StrnCpy.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
b456274a7b Fix from John Reilly for equivalence tests.
Jeremy.
0001-01-01 00:00:00 +00:00
Andrew Tridgell
209e20365e we don't need the separate lp_status() connection records any more 0001-01-01 00:00:00 +00:00
Andrew Tridgell
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.
0001-01-01 00:00:00 +00:00
Jeremy Allison
eeab4e0290 Fix for memory leak when adding driver.
Jeremy.
0001-01-01 00:00:00 +00:00