1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

2455 Commits

Author SHA1 Message Date
Jeremy Allison
f22b817d3f 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.
(This used to be commit 34d8f4b1c4d59ab3c009360fc67eef9361dd859b)
1998-11-20 20:44:21 +00:00
Jeremy Allison
4af961f010 Fixed stupid blunder where I renamed getpwanam to getpwnam.
Jeremy.
(This used to be commit b02d21a73d7f098c5599c606abbb5c92ea4ba13e)
1998-11-20 01:06:09 +00:00
Herb Lewis
a44db4a328 wrong directory path for smbd and nmbd
(This used to be commit a33b4f623f196ca7e8056454b9212fe0ffa389c2)
1998-11-20 00:15:26 +00:00
Jeremy Allison
d5015ef708 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.
(This used to be commit 2d62dc26f4e3a171ecbe56f33d94db2fea0ef0ad)
1998-11-19 23:42:57 +00:00
Jeremy Allison
17590be23d Sync up with 2.0 code.
Added HPUX autoconf changes.
Added "gross hack" printer code.
Jeremy.
(This used to be commit 1ef6d3bd63722afe9c376793a6ea72046d1a0602)
1998-11-19 22:37:33 +00:00
Herb Lewis
d174f2ce57 smb.conf : explicitly state "printcap name=" and "security=" parameters
idb.pl   : change default behaviour for installation of config files.
(This used to be commit 36928da28ca84fa64cd7b0dd66cab879e307911c)
1998-11-19 21:30:58 +00:00
Herb Lewis
735631539c update testparm with -s option so it doesn't require a carriage return
also allow specifying [host hostip] without [configfile]
updated man page
(This used to be commit 85fbd401026e7f1464c9a125cbaa505b768f8a10)
1998-11-19 21:17:58 +00:00
Jeremy Allison
e204f1d8a3 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.
(This used to be commit 5ad77769be85e6727319afb0f02e5d94c2f9f16f)
1998-11-19 04:15:23 +00:00
Jeremy Allison
9579b98237 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.
(This used to be commit 30af39ae1edf51d5d06a1764982e5df431c142ac)
1998-11-18 22:04:24 +00:00
Jeremy Allison
bb9622bfa6 Fixed crash bug which was assuming that fd_ptr was always non-null
(which is not the case with open directories).
Jeremy.
(This used to be commit c154b1601f5891d664fc538ec8874fa8ef2061e6)
1998-11-18 19:06:51 +00:00
John Terpstra
8b1e3580bd Updated packaging files in line with restructuring of Makefile.in
(This used to be commit 05f2d78c8ee1dc0516d9e1076e0954ee2c2cd4b2)
1998-11-18 12:44:29 +00:00
Herb Lewis
15b203519a change to new prefix path
(This used to be commit 64b2ffc679b39f1654c5dcd36276bcb9e6c553b4)
1998-11-18 02:15:35 +00:00
Jeremy Allison
a491ec96fc Fixed problem with HAVE_NETGROUP being used on platforms
that cannot support it.
Jeremy.
(This used to be commit 7a6f25ac4ab0f0bef7a66f26004c15120248ff66)
1998-11-18 01:19:32 +00:00
Jeremy Allison
490439d77a 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.
(This used to be commit 92a7a86f0e0255e3812dd35bebfcd653091514ae)
1998-11-17 23:44:52 +00:00
Jeremy Allison
157fe90d2e Changed Makefile.in to use autoconf prefixes.
NOTE: The packaging scripts will have to be changed !!!!

Jeremy.
(This used to be commit 79c259f05cf7cd4f2d3d1bb92fff3bde7acd8a50)
1998-11-17 22:06:59 +00:00
Jeremy Allison
768761820e 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.
(This used to be commit 18ff93a9abbf68ee8c59c0af3e57c63e4a015dac)
1998-11-17 20:50:07 +00:00
Luke Leighton
bb5bea4e19 lookup_alias_name() %s not %d for sid_str
(This used to be commit 2a98135bbc759ab334d76cce98ea673871445db1)
1998-11-17 19:32:06 +00:00
Luke Leighton
4e8eaa6baf somehow this file got missed in the groupdb commit.
(This used to be commit 06da8e49f1cf5d6b954f586f6720ade1c5b8de74)
1998-11-17 18:50:14 +00:00
Luke Leighton
5ae9b41235 make_uni_hdr() reverted accidentally with a -1 on username length
(This used to be commit 7da1b0bb511e6c5e44ab83759914134cf91f6f78)
1998-11-17 18:01:43 +00:00
Luke Leighton
0c7aa2e61a swapped username:uid:[groupridlist]:[aliasridlist] to
u:u:a:g
(This used to be commit 2f456ed92ffbf596945a9ec800c373495fc4e38a)
1998-11-17 17:38:13 +00:00
Luke Leighton
74d539f557 - 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.
(This used to be commit 0d21e1e6090b933f396c764af535ca3388a562db)
1998-11-17 16:19:04 +00:00
Jeremy Allison
b7c4cd9fc6 Fixed missing NULL check in tar op.
Jeremy.
(This used to be commit 6db04cd4622289dbdbd0c6d4d084baa8f84c40c2)
1998-11-17 01:44:25 +00:00
Jeremy Allison
c1af0b4027 Moved PRINTCAP_NAME from smb.h to includes to allow it to
be tuned per system type.
Jeremy.
(This used to be commit c1a3346547d887bfd2402a6b0bcc185680eb4470)
1998-11-17 00:31:39 +00:00
Jeremy Allison
3b4a9ff380 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.
(This used to be commit 6c25a3314243997508b0b2da4bfa10bb979e9c10)
1998-11-16 23:28:59 +00:00
Jeremy Allison
31739a0e1e O_EXCL fixes for printing files & oplocks.
Jeremy.
(This used to be commit 4ca71c90985b1c88d92bdd0f9079a4afc263dc46)
1998-11-16 21:38:13 +00:00
Jeremy Allison
f4447df41b Added fixes for machine accounts.
Jeremy.
(This used to be commit 7aa644c2f996433f8ec125bfd4221aec49bece2b)
1998-11-16 20:19:57 +00:00
Herb Lewis
67d5258486 add some more comments and clean it up a little more.
(This used to be commit 73e4b91a9d152eb3d56997c9108d536d38e3c07e)
1998-11-16 16:36:57 +00:00
Herb Lewis
0b2e84243c some fixes for IRIX 5.3 builds
(This used to be commit c2b63b90825316151f3ffc8dbae45609062c0a73)
1998-11-16 13:47:22 +00:00
John Terpstra
8a22f36abd Set sticky bit on /var/spool/samba.
Further security review.
(This used to be commit e31c61c29eb126680c78d6d02dc11827b39a064b)
1998-11-16 13:31:53 +00:00
John Terpstra
590432ac95 Reviewed file permissions and removed other execute on samba start/stop script.
(This used to be commit 2dde295da0e387cdd5c20a0bec72f9316f4d80f2)
1998-11-16 12:25:50 +00:00
John Terpstra
933b3ac684 Removed smbwrappers from build specs and from installation specs.
(This used to be commit c444cba3bef6cdf80dd33b3b5f23ba0a34d5482a)
1998-11-16 12:23:47 +00:00
John Terpstra
7491c291ff Added Example binary packaging instructions.
(This used to be commit 4c60314b050324b356f38f648f2730cb1d39be4c)
1998-11-16 12:21:02 +00:00
John Terpstra
7ce840a0ed Updated packaging files (new for Caldera).
(This used to be commit 721a257c941a62508015c0939df40662f8da9a93)
1998-11-16 12:03:16 +00:00
Andrew Tridgell
13d0b57baa fixed lmhosts parsing. We were using sizeof(name) where name was char*
(This used to be commit 67ba0b1ce335bc80e1c33fa28458ec9ebe5f446a)
1998-11-16 01:27:51 +00:00
John Terpstra
29cc8b8cd7 Updates to handle glob.h - was causing problems on SCO 5.0.4
(This used to be commit 5f7d9d4656eb501e14b98f4ae1990a791c7901e3)
1998-11-16 01:12:36 +00:00
Andrew Tridgell
00ae36ffd8 change ROUNDUP to SMB_ROUNDUP to prevent conflicts with system macros
(This used to be commit d9d44d98ec719b7fc6d5b0fc35bf8727f4cd0372)
1998-11-15 23:07:54 +00:00
Andrew Tridgell
62725d1c5c 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)
(This used to be commit 263b13222c14db7ddec1430132c6362be4442147)
1998-11-14 23:52:49 +00:00
John Terpstra
6b989ca4fd 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.
(This used to be commit 0f98a2fd58aee1dac4d0f4098a2e690dfaf5ba27)
1998-11-14 13:01:34 +00:00
Andrew Tridgell
3a4cce6d16 support.txt is now maintained solely on the web pages
(This used to be commit 73b662069cb12bd77eae13a36a8b855abc01594f)
1998-11-14 06:34:57 +00:00
Jeremy Allison
9315d3e391 Fixed swat packaging & man page packaging.
Jeremy.
(This used to be commit 178d1bd61b3a622adc48b6423fae1db815cae3da)
1998-11-14 04:22:31 +00:00
Andrew Tridgell
3ba68d045c automatically uppercase server and share names (win95 won't handle
lowercase share names!)
(This used to be commit dddf1d8522707b828cac466c4a9ab2807d098573)
1998-11-14 04:16:07 +00:00
Andrew Tridgell
c57ab7807d fixed setmode in smbclient
(This used to be commit c58f4965100692d8edcd613a341df9e2ad88cfa0)
1998-11-14 04:08:19 +00:00
Jeremy Allison
c800cda01d Fixes to get the manpages from the right place.
Jeremy.
(This used to be commit 0e3bfe5f2860066aa07bce7a691f7af682c73949)
1998-11-14 04:03:58 +00:00
Andrew Tridgell
fedc62d17a - handle servers that don't support getattrE (ie. NT)
- use * in clitar instead of *.*
(This used to be commit 2d9335fe2a6fc3bb6687360c99d8fc69cb2d555a)
1998-11-14 03:53:24 +00:00
Jeremy Allison
328b91d2c9 (Hopefully) correct patch files for RedHat & TurboLinux.
In fixing this I have learned more about RPM than I *ever*
wanted to know....
Jeremy.
(This used to be commit 765989e4151a5f8dd48353d7c1b175092717947e)
1998-11-14 03:48:26 +00:00
Jeremy Allison
2a28d20f20 Fixed problem with smbclient issuing '*.*' to NT server when an
NT server needs '*'. Win95/98 doesn't care either way :-).
Jeremy.
(This used to be commit a0adae90cadd7702f8263c97d4495fa093e713e6)
1998-11-14 03:34:44 +00:00
Jeremy Allison
54a4ac4c62 Updated from smb.conf.5.html
Jeremy.
(This used to be commit 6f37d151d87d7ab4475ef552abb9183464203093)
1998-11-14 03:13:08 +00:00
Jeremy Allison
3bb3f2d0ce Update for 2.0beta1.
Jeremy.
(This used to be commit 598d0255d40da29ebab3d1a3c9eb66ba654db7b5)
1998-11-14 03:01:40 +00:00
Andrew Tridgell
2b67f7eba4 prompt for password on smbclient -L
(This used to be commit 1558f34a878d6fea0cc745a7fcec04f79f7e50ff)
1998-11-14 02:34:19 +00:00
Andrew Tridgell
57d4977f24 - 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)
(This used to be commit 8e8ab4df1fe77dfcae73a34f4de174afe09cd695)
1998-11-14 02:29:38 +00:00