1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

2471 Commits

Author SHA1 Message Date
Luke Leighton
367c7e4ec1 someone had added code to convert rids to rids, assuming that the rids
in the file were gids: they are not.
(This used to be commit 8af860394fa3251a26285c8c96c9e4093346f20b)
1998-11-23 22:04:23 +00:00
Luke Leighton
a5cbb4ab27 remove / add / attempt to stop remove didn't work.
(This used to be commit 82b6292dff38f4e22ee8feab1b54504b95d705fa)
1998-11-23 21:54:19 +00:00
Luke Leighton
4cee58780c unix instance of group database API
(This used to be commit e76f593b3572ac881f1aa1fb3326d8b7169b0078)
1998-11-23 21:51:05 +00:00
Andrew Tridgell
735926877b replace ' with _ as well
(This used to be commit e93491953a2555401a372de74ac2aee0cc44cb88)
1998-11-23 03:46:51 +00:00
Andrew Tridgell
8757254f39 changed string_sub() to replace " ; and ` in the inserted string with _
use all_string_sub() if you don't want this.
(This used to be commit a3357ab49335106674fe7a7481cd0f146d74fbe5)
1998-11-23 03:36:10 +00:00
Andrew Tridgell
fd1533862e deleted some old DEBUG() code that wasn't used
(This used to be commit bdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5)
1998-11-22 09:44:46 +00:00
Andrew Tridgell
025c021dd5 use http://samba.org/ not http://samba.org/samba/
(This used to be commit 7cb1470eb3db60c37dc108e8537634d08b1cf740)
1998-11-22 00:06:44 +00:00
Andrew Tridgell
f120a81a72 global change from samba.anu.edu.au to samba.org
(This used to be commit 42d2509c9fab5c774fd33b9d4b5bd1ee125479c3)
1998-11-21 13:20:31 +00:00
Richard Sharpe
634f6c7f28 Added changes to smbtar submitted by Sandy Whitesel
Added some extra documentation for smbclient

Grr, Jeremy beat me to a bug fix in client.c

Will have to get Jeremy to tell me how to check out SAMBA_2_0 :-)
(This used to be commit 8594c4bcae503972679c55a2fcab8eb69faf3ae3)
1998-11-21 09:29:35 +00:00
Andrew Tridgell
42e96160d3 make SWAT obey the global "hosts allow" and "hosts deny" settings.
any attempt to run swat from a host that is disallowed will give an
error.
(This used to be commit fe4ef4bbef01aed75807c884249ca8efa5de4140)
1998-11-21 01:41:14 +00:00
Andrew Tridgell
091a92e996 try to use *SMBSERVER to connect to password server if the first
session_request fails.
(This used to be commit ab2370e7ac770f1e32b8d726ab955457fcc8c2d7)
1998-11-21 01:28:15 +00:00
Andrew Tridgell
58e14b7c0b add a error code when failed to get lock
(This used to be commit 05696b4bbfb66bfdbdc19f395efe062ac890bc41)
1998-11-21 01:26:45 +00:00
Andrew Tridgell
bb5fab7b55 formatting change
(This used to be commit 94fc7fe3afa1dc5547050248738eb697c1eeef59)
1998-11-21 01:26:18 +00:00
Andrew Tridgell
a0c6af03d6 use bindir not sbindir in Makefile to ensure that we don't break
existing setups
(This used to be commit e97cbd6912a58d4985c2b8a649cfe6982809892d)
1998-11-21 00:56:52 +00:00
Jeremy Allison
a97baa50fd smbd/password.c: Added *SMBSERVER fix is name is too long.
web/swat.c: Changed '?' to help.
Jeremy.
(This used to be commit 631913ea856926a77304692c74a1bd27faead179)
1998-11-21 00:16:28 +00:00
Jeremy Allison
ab1ab1ce0d Instrumented hack fix with debug level 10 statements just in case :-).
Jeremy.
(This used to be commit 10f51b85722141f99ffecc3f19a39de108400828)
1998-11-20 23:22:43 +00:00
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