1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

2455 Commits

Author SHA1 Message Date
Jeremy Allison
34d8f4b1c4 acconfig.h configure configure.in include/config.h.in: Added -lsec and -lsecurity checks
in a more sane way.
rpc_client/cli_netlogon.c: Removed correct bits check to see if this works with an NT3.51 PDC.
rpc_parse/parse_samr.c: Fixed compile warnings.
Jeremy.
-
Jeremy Allison
b02d21a73d Fixed stupid blunder where I renamed getpwanam to getpwnam.
Jeremy.
-
Herb Lewis
a33b4f623f wrong directory path for smbd and nmbd -
Jeremy Allison
2d62dc26f4 Makefile.in: Added passing of CPPFLAGS into Makefile.
configure
configure.in
include/config.h.in: Fixes for AIX4.x. AIX *will not*
                     enable large file support of *any* description unless
                     either -D_LARGE_FILES or -D_LARGE_FILES_API are defined.
                     I chose "-D_LARGE_FILES" as this leads to cleaner code...

Also fixed bug where getpwnam was listed as getpw(a)nam in configure.in.
Jeremy.
-
Jeremy Allison
1ef6d3bd63 Sync up with 2.0 code.
Added HPUX autoconf changes.
Added "gross hack" printer code.
Jeremy.
-
Herb Lewis
36928da28c smb.conf : explicitly state "printcap name=" and "security=" parameters
idb.pl   : change default behaviour for installation of config files.
-
Herb Lewis
85fbd40102 update testparm with -s option so it doesn't require a carriage return
also allow specifying [host hostip] without [configfile]
updated man page
-
Jeremy Allison
5ad77769be Changes to make the default prefix /usr/local/samba - as it was in 1.9.18p10.
acconfig.h configure configure.in include/config.h.in: Fixes to DEC OSF1.
libsmb/nmblib.c: Fixes to nmbd jumps in scope names.
Jeremy.
-
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)
-