1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

2597 Commits

Author SHA1 Message Date
Jeremy Allison
30af39ae1e Added OSF1 changes to HEAD (-lsecurity etc.)
groupdb/groupdb.c: Fixed compile error caught by IRIX compiler.
utils/smbpasswd.c: Fixed SunOS optind, optarg problem.
Jeremy.
-
Jeremy Allison
c154b1601f Fixed crash bug which was assuming that fd_ptr was always non-null
(which is not the case with open directories).
Jeremy.
-
John Terpstra
05f2d78c8e Updated packaging files in line with restructuring of Makefile.in -
Herb Lewis
64b2ffc679 change to new prefix path -
Jeremy Allison
7a6f25ac4a Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it.
Jeremy.
-
Jeremy Allison
92a7a86f0e Fixed NT modify timestamp issue.
If a client does a modify timestamp on an open file (which will
do no good at all on UNIX :-) then keep the modify request pending
in the files_struct and apply it at close instead.
Jeremy.
-
Jeremy Allison
79c259f05c Changed Makefile.in to use autoconf prefixes.
NOTE: The packaging scripts will have to be changed !!!!

Jeremy.
-
Jeremy Allison
18ff93a9ab Added the same open()/fopen()/creat()/mmap() -> sys_XXX calls.
Tidied up some of the mess (no other word for it). Still doesn't
compile cleanly. There are calls with incorrect parameters that
don't seem to be doing the right thing.

This code still needs surgery :-(.

Jeremy.
-
Luke Leighton
2a98135bbc lookup_alias_name() %s not %d for sid_str -
Luke Leighton
06da8e49f1 somehow this file got missed in the groupdb commit. -
Luke Leighton
7da1b0bb51 make_uni_hdr() reverted accidentally with a -1 on username length -
Luke Leighton
2f456ed92f swapped username:uid:[groupridlist]:[aliasridlist] to
u:u:a:g
-
Luke Leighton
0d21e1e609 - group database API. oops and oh dear, the threat has been carried out:
the pre-alpha "domain group" etc parameters have disappeared.

- interactive debug detection

- re-added mem_man (andrew's memory management, detects memory corruption)

- american spellings of "initialise" replaced with english spelling of
  "initialise".

- started on "lookup_name()" and "lookup_sid()" functions.  proper ones.

- moved lots of functions around.  created some modules of commonly used
  code.  e.g the password file locking code, which is used in groupfile.c
  and aliasfile.c and smbpass.c

- moved RID_TYPE_MASK up another bit.  this is really unfortunate, but
  there is no other "fast" way to identify users from groups from aliases.
  i do not believe that this code saves us anything (the multipliers)
  and puts us at a disadvantage (reduces the useable rid space).
  the designers of NT aren't silly: if they can get away with a user-
  interface-speed LsaLookupNames / LsaLookupSids, then so can we.  i
  spoke with isaac at the cifs conference, the only time for example that
  they do a security context check is on file create.  certainly not on
  individual file reads / writes, which would drastically hit their
  performance and ours, too.

- renamed myworkgroup to global_sam_name, amongst other things, when used
  in the rpc code.  there is also a global_member_name, as we are always
  responsible for a SAM database, the scope of which is limited by the role
  of the machine (e.g if a member of a workgroup, your SAM is for _local_
  logins only, and its name is the name of your server.  you even still
  have a SID.  see LsaQueryInfoPolicy, levels 3 and 5).

- updated functionality of groupname.c to be able to cope with names
  like DOMAIN\group and SERVER\alias.  used this code to be able to
  do aliases as well as groups.  this code may actually be better
  off being used in username mapping, too.

- created a connect to serverlist function in clientgen.c and used it
  in password.c

- initialisation in server.c depends on the role of the server.  well,
  it does now.

- rpctorture.  smbtorture.  EXERCISE EXTREME CAUTION.
-
Jeremy Allison
6db04cd462 Fixed missing NULL check in tar op.
Jeremy.
-
Jeremy Allison
c1a3346547 Moved PRINTCAP_NAME from smb.h to includes to allow it to
be tuned per system type.
Jeremy.
-
Jeremy Allison
6c25a33142 Makefile.in: Re-added quotes round ROFF call for DGUX.
script/installman.sh: Make installman ignore ROFF argument if it is "".
smbd/oplock.c: Move location of oplock test file to lockdir.
Jeremy.
-
Jeremy Allison
4ca71c9098 O_EXCL fixes for printing files & oplocks.
Jeremy.
-
Jeremy Allison
7aa644c2f9 Added fixes for machine accounts.
Jeremy.
-
Herb Lewis
73e4b91a9d add some more comments and clean it up a little more. -
Herb Lewis
c2b63b9082 some fixes for IRIX 5.3 builds -
John Terpstra
e31c61c29e Set sticky bit on /var/spool/samba.
Further security review.
-
John Terpstra
2dde295da0 Reviewed file permissions and removed other execute on samba start/stop script. -
John Terpstra
c444cba3be Removed smbwrappers from build specs and from installation specs. -
John Terpstra
4c60314b05 Added Example binary packaging instructions. -
John Terpstra
721a257c94 Updated packaging files (new for Caldera). -
Andrew Tridgell
67ba0b1ce3 fixed lmhosts parsing. We were using sizeof(name) where name was char* -
John Terpstra
5f7d9d4656 Updates to handle glob.h - was causing problems on SCO 5.0.4 -
Andrew Tridgell
d9d44d98ec change ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macros -
Andrew Tridgell
263b13222c compile with optimisation by default on all compilers
this has 2 effects:

1) non gcc platforms get some optimisation
2) it disables -g by default which means the samba binaries won't be
   so huge (they were over 60MB on some systems)
-
John Terpstra
0f98a2fd58 Added first cut of the new packaging scripts for Digital Unix.
Note: This will be extended for all other OS's so that it can be
maintained by the samba release scripts.
-
Andrew Tridgell
73b662069c support.txt is now maintained solely on the web pages -
Jeremy Allison
178d1bd61b Fixed swat packaging & man page packaging.
Jeremy.
-
Andrew Tridgell
dddf1d8522 automatically uppercase server and share names (win95 won't handle
lowercase share names!)
-
Andrew Tridgell
c58f496510 fixed setmode in smbclient -
Jeremy Allison
0e3bfe5f28 Fixes to get the manpages from the right place.
Jeremy.
-
Andrew Tridgell
2d9335fe2a - handle servers that don't support getattrE (ie. NT)
- use * in clitar instead of *.*
-
Jeremy Allison
765989e415 (Hopefully) correct patch files for RedHat & TurboLinux.
In fixing this I have learned more about RPM than I *ever*
wanted to know....
Jeremy.
-
Jeremy Allison
a0adae90ca Fixed problem with smbclient issuing '*.*' to NT server when an
NT server needs '*'. Win95/98 doesn't care either way :-).
Jeremy.
-
Jeremy Allison
6f37d151d8 Updated from smb.conf.5.html
Jeremy.
-
Jeremy Allison
598d0255d4 Update for 2.0beta1.
Jeremy.
-
Andrew Tridgell
1558f34a87 prompt for password on smbclient -L -
Andrew Tridgell
8e8ab4df1f - new prototypes
- much as I hate doing it I've removed the "commit changes" button for
  users that don't have write access to smb.conf (Jeremy insisted)
-
Andrew Tridgell
ab35d99e52 allow all user to view the config -
Andrew Tridgell
55377e3cdd remove code that allows installation via cgi
swat will now give an error message if run via cgi
-
Andrew Tridgell
08fd703258 removed information on installing via cgi -
Herb Lewis
f213352c3d missed a .B -
Jeremy Allison
9ee8f39aed Removed acconfig.h configure configure.in include/config.h.in: Made smbwrapper not made
by default.
nmbd*: Changed all calls to namestr() to nmbd_namestr() to fix broken FreeBSD include
	   file problem...sigh.
Jeremy.
-
Jeremy Allison
9e1ff71faf Fixed munging of sample file in man pages.
Jeremy.
-
Jeremy Allison
6c2a234ac9 Fixed makefile problem due to change from SMB_PASSWD to PASSWD_PROGRAM.
Thanks to Michael H. Warfield <mhw@wittsend.com> for that.
Jeremy.
-
Jeremy Allison
9dc2502382 Added --with-smbwrapper to configure lines in spec files so JohnT's
scripts work ok.
Jeremy.
-