1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-19 18:50:24 +03:00

47313 Commits

Author SHA1 Message Date
Samba Release Account
83329ef56e finally! doing a strequal() == 0 instead of just strequal(). too used to
strcmp.  oops.

lkcl
(This used to be commit cb8d00fff3062b1784c99c61b61e4a0899ff2771)
1997-03-15 19:08:18 +00:00
Samba Release Account
c0a0de60df compile errors. oops.
lkcl
(This used to be commit b42bbc902bc2e5d8843ba20129910ea292be4b85)
1997-03-15 18:40:50 +00:00
Samba Release Account
a2bb924496 become_domain_master(), become_local_master() and become_logon_server()
weren't being called properly from name_register_work().

lkcl
(This used to be commit 9987724cb8e7bcc25c6fb50dc8e645efc1499fa5)
1997-03-15 18:38:27 +00:00
Samba Release Account
e1eb836430 bug: when checking whether there is a PDC already on the current local
subnet, on finding that there was no response, the (broadcast) ip address
queried was accidentally being compared to the (unicast) interface ip
address.  this would stop non-WINS-client nmbds from ever becoming a PDC.

lkcl
(This used to be commit 94060a4a9b834aff3857abfbc9ca9c0e6298aeca)
1997-03-15 17:59:42 +00:00
Samba Release Account
9f1d339309 JHT ===> Blasted typos. BROWSER_ELECT_VERSION in smb.h should have been
BROWSER_ELECTION_VERSION.
(This used to be commit 377bfdecfcf618322004bfdcbdf9e520c0ebe8b5)
1997-03-15 14:58:30 +00:00
Samba Release Account
aaba4712c8 JHT ===> Moved MAJOR_VERSION and MINOR_VERSION defines to smb.h
Made version info consistent in ipc.c and nameannounce.c
	Added define for BROWSER_ELECTION_VALUE and BROWSER_CONSTANT
	(see do_announce_host() in nameannounce.c).

	Sniffing with the latest bloodhound I found that the byte range
	occupied by the BROWSER_ELECTION_VALUE is interpreted depending
	on the type of announcement being made.

	In a Local_Master_Announcement it is BROWSER_ELECTION_VALUE
	but in both Workgroup_Announcement and Host_Announcement
	this is seen as Comment_String_Pointer. What does this mean?
	We need to know?
(This used to be commit 86b0018cc7e246910a9a621b2bf379f782506a08)
1997-03-15 14:47:00 +00:00
Samba Release Account
68068dbafc added jeremy's patch to return Node Status info type in a Node Status
response, instead of always Name Query.

oops.

lkcl
(This used to be commit 85a61bfb0e67dc995c4d0a65bab162a2129385fa)
1997-03-13 19:05:51 +00:00
Samba Release Account
5f178fc18a added code that checks whether the DOMAIN<1b> name is claimed on the
local subnet _before_ going and registering it.  the reason for this
is that i don't want to cause chaos by registering the name twice.

it's ok to register DOMAIN<1b> with the WINS server, because the WINS
server's job is to check a) _if_ there's a current owner of the name
b) if the current owner exists c) if the current owner still wants the
name.  if they don't, the WINS server responds by saying, 'yes, you can
have it'.

lkcl
(This used to be commit 0d51899b59204b99d5aeb9542c8adfff42167fec)
1997-03-12 20:21:11 +00:00
Samba Release Account
b581d03240 1) updated ipc.c NetUserGetInfo - load \\%L\%U instead of \\%L\HOMES
because the share must be browseable by a w95 client

2) send_mailslot_reply - unique or group datagram argument added.

3) netlogon.c - rewrote response packet to do the right thing for w95.

4) server.c reply_nt1() - added OEMDomainstring to the end.

5) (deep breath) reworked the nmbd-browsing code a little bit.
   i discovered two months ago that becoming a primary domain controller
   (and domain master browser) is done independently of becoming a
   backup domain controller (logon server) is done independently of
   becoming a local master browser.

   therefore, three sets of state-machines (instead of just one) are in
   place - each of which is responsible for taking samba through the
   required stages to become:  a logon server; a domain master browser;
   and a local master browser.

   each of these three things can occur independently on each interface,
   _including_ the wins pseudo-interface.  the only slight caveat is that
   the wins pseudo-interface, by virtue of _not_ being a broadcast
   interface, does _not_ register as a local master browser with the wins
   server, as this doesn't make sense.

lkcl
(This used to be commit 88c6a00c3c1b430307f512986185b5ed7aea7181)
1997-03-09 14:58:22 +00:00
Samba Release Account
3046a0d7c2 preferred master option will force an election every 5 minutes if the
server isn't a preferred master, and DEBUG(0,(...)) this.

reason: if the os level etc parameters aren't working properly, then
a domain master browser samba server that _ought_ to be the local master
browser as well might not.

i'll modify smb.conf.5 man page etc to reflect this change.

lkcl
(This used to be commit ebaff730c9cb6d04049fd9901d46dcd758357e95)
1997-03-08 18:47:07 +00:00
Samba Release Account
ab0bdc6682 Added better debug for what kind of netbios packet we got.
jra@cygnus.com
(This used to be commit 4563d978feaed37aab78e62461026a79dbc50249)
1997-03-07 17:28:41 +00:00
Samba Release Account
3e2f9c3dee quotas.c: Fixed typo in #ifdef'ed compile.
ufc.c: Added pre-declaration of _ufc_doit().
jra@cygnus.com
(This used to be commit 7c690e020ffae9a56c678ae46ae87283a1aa92fe)
1997-03-07 17:24:22 +00:00
Samba Release Account
89f6150ffe Fix fro signed/unsigned problem with TIME_T_MIN from Anatoly V. Grabar
<agra@sice.ru>
jra@cygnus.com
(This used to be commit ed7e3a9347c93cf5736132f93d43472a3809c80e)
1997-03-07 17:22:27 +00:00
Samba Release Account
33548ecd2d added debug_nmb_packet() call.
lkcl
(This used to be commit 8a81c6d49ae62ce788188185c97058f2bdbc35e3)
1997-03-02 14:20:12 +00:00
Samba Release Account
da0a56a278 Split maxxmit parameter into two : max_send (auto configured by the
connecting client, as per CIFS4) and max_recv, which can be configured
as the old maxxmit was. Fixes problems with NT directory listings when
maxxmit is set very small.
jra@cygnus.com
(This used to be commit c2d5d1040a933987a0c39545bb5bf8e2fc400a87)
1997-02-28 20:39:36 +00:00
Samba Release Account
0fb433564c JHT ===> Set to 1.9.16p12alpha until someone thinks it's Beta prime time.
To be set to 1.9.16p12 just before release.
(This used to be commit 09d81adb9ef365003b1d9a8b5629a2a83fc27665)
1997-02-23 07:00:44 +00:00
Samba Release Account
df42b0a7bc Makefile: Added cleandir target.
chgpasswd.c: Added patch from Roland Haag <haag@think.de> to allow
             password changes to be done more than once.
loadparm.c: Added entries for the "directory mode/directory mask parameters".
            Changed default file mode to 644.
proto.h: Added sys_gethostbyname.
server.c: Added directory mode changes.
system.c: Added sys_gethostbyname.
trans2.c: Added NT_FILE_ATTRIBUTE_NORMAL patch from Roger Orr
          <rorr@csfp.csfb.com>
trans2.h: Defined NT_FILE_ATTRIBUTE_NORMAL for above patch.
util.c: Changes calls to gethostbyname to sys_gethostbyname.
jra@cygnus.com
(This used to be commit d8d8a7ee00971fca7a8d079bfb547af107df35a4)
1997-02-23 05:18:09 +00:00
Samba Release Account
f1a494b74e JHT ===> Updated SV_TYPE defines in smb.h (added WIN95 entry)
nameserv.h returned to original state.
(This used to be commit e313de4619dcfde53db49ca4f7d6f78603504040)
1997-02-22 15:24:31 +00:00
Samba Release Account
e9a4f896bd Fixed problem with renaming folder on top level share.
jra@cygnus.com
(This used to be commit 7ba1cff9341b4094fddf1e2e529b1e5b79aea675)
1997-02-18 17:20:14 +00:00
Samba Release Account
cbc6c3faf2 Fixed inclusion of crypt.h bug when libdes is being used on Solaris
only.
jra@cygnus.com
(This used to be commit c189ef38455653334b8414f30d0aeaa3ecefa202)
1997-02-13 20:49:12 +00:00
Samba Release Account
d557ec0462 Fixed bugs in my YOST replacement code. Doing a trim_string
in unix_clean_name caused directory names to go from ./ to "".
This is now checked for, unix_clean name returns ./ in these
cases.
jra@cygnus.com
(This used to be commit 64a16d9c2aae0405437f28dbb00e68080c09a7a1)
1997-02-13 20:36:58 +00:00
Samba Release Account
2cf19029f0 JHT ===> Updated RedHat RPM Makefile - not really used except to generate
the RedHat Makefile diffs.
(This used to be commit a8b58121074bcc2ecce4a45a4346a6d13704b21c)
1997-02-12 12:38:35 +00:00
Samba Release Account
8bd0dbb1af Replaced YOST code with more functionally equivalent code that
changes a bit less. Also added fix to tricky reply_mv case.
jra@cygnus.com
(This used to be commit f22ac13b1423186d463c9fc5b3588a3dcbd7bc1c)
1997-02-11 22:53:29 +00:00
Samba Release Account
25ca2fd3d3 Added trim_string(s, "./", 0) to unix_clean_name to remove
leading ./ characters.
jra@cygnus.com
(This used to be commit 617370314ef0d19002243105f5c8a549e3397152)
1997-02-10 20:03:56 +00:00
Samba Release Account
c6311f4e0a Removed YOST code. Removal of leading ./ chars should
be done in unix_clean_name in util.c
jra@cygnus.com
(This used to be commit f9f1085c7db673f602f9de07670a9bbf3205410f)
1997-02-10 19:27:27 +00:00
Samba Release Account
8839603f03 JHT ===> William Yost patches integrated to fix leading path on 8.3
filename problem.
	Problem conditions:
		case sensitive = no
		default case = lower
		mangle case = yes
		preserve case = yes
		short preserve case = yes
	Problem: Win95 still writes upper case file names.
	Patches supplied have been incorporated into mangle.c and server.c
	but needs YOSTW to be defined for it to take effect.

	Action:
	=======
	If we are happy with the patch, delete old code in mangle.c, then
	remove all YOSTW #ifdefs.
(This used to be commit 84fc674c89e8999f284b59888dfa2cdc47438e88)
1997-02-10 13:54:29 +00:00
Samba Release Account
087c162f8f Fixed incorrect offset into array.
jra@cygnus.com
(This used to be commit 7c386c45b069462760b4a9c755959b67d5874cc1)
1997-02-06 17:33:03 +00:00
Samba Release Account
5c63dbb6fe JHT ===> **** WARNING **** Only updated version to 1.9.16p11
so I can test RedHat RPM builds.
(This used to be commit fa1dff05d4a01be84638b4427ddc0e26b9c6166d)
1997-02-04 11:21:19 +00:00
Samba Release Account
cc55a88ddc JHT ===> Fixed potential PAM Security hole and second chance syndrome
spurious warning message "Warning - no crypt available"
(This used to be commit dc559428b85474ff4d80f37f421365a3910a8861)
1997-02-04 10:35:38 +00:00
Samba Release Account
1fe69a7dd9 Fixed my stupid typo in earlier fix.
jra@cygnus.com
(This used to be commit e9a8ccb36bc94e161fdf85c1de8310937710c92f)
1997-02-04 01:21:52 +00:00
Samba Release Account
f24c04fc77 Fixed up problems with CDROM filesystems (return EROFS) and
also compile issue with USE_MMAP code.
jra@cygnus.com
(This used to be commit 8e9fe58991c32817142aa2a6caec1df0c4fa4b08)
1997-02-03 19:48:56 +00:00
Samba Release Account
ab1b1855bd Fixed const definitions for StrCaseXXX calls.
jra@cygnus.com
(This used to be commit cbb59639659476054571d4bd18b5df55b0e11a2e)
1997-02-03 19:41:59 +00:00
Samba Release Account
30ae26ba42 Fixed bug with NT and large directories.
jra@cygnus.com
(This used to be commit f0aa5e3ff05053224cffc8243237e7675e8b413b)
1997-02-03 19:40:15 +00:00
Samba Release Account
98bf10bc5d util.c: StrCaseCmp and StrnCaseCmp terminated incorrectly, giving false
answers when a string was partially identical.  this issue is still
outstanding, and needs to be investigated further.

loadparm.c: added lp_logon_path() parameter.
ipc.c: in NetUserGetInfo, lp_logon_path() can be returned instead of always
specifying \\SAMBA_SERVER\HOMES (which may not necessarily exist).
it is now possible to specify lp_logon_path() as \\ARBITRARY_SERVER\%U,
just like NT server can.  the default is \\SAMBA_SERVER\HOMES, just like
it used to be.

lkcl
(This used to be commit d5b6ad7cb87d6b1a9342f027ac4f57ffdb54b4f3)
1997-02-02 18:12:36 +00:00
Samba Release Account
2831c62774 line 1960 - call to atexit - address of higher order function killkids
not needed (address already specified).

lkcl
(This used to be commit c5ab2eb71afd2961dfb61da30984a8b0fc88e754)
1997-02-02 16:03:51 +00:00
Samba Release Account
c9180534ef JHT ===> Prepared now for release of samba-1.9.16p10 RedHat RPMS
(This used to be commit e6fa5669e99806f2b361f9f529ac6f08e51cac5d)
1997-01-31 15:18:47 +00:00
Samba Release Account
e7a1027a01 Fixed issue with null ypdomainname being used.
Jermy.
(This used to be commit 25175ce3113acad7fafb76e92f2f343d18ef4aea)
1997-01-29 22:28:10 +00:00
Samba Release Account
9e83cac78e Fixed proto problem with lp_veto_files().
Jeremy
(This used to be commit c43d192a361000f306622a28584cc87490070d48)
1997-01-29 21:53:26 +00:00
Samba Release Account
691632e555 Added fix for file descriptor re-use failing when
file_exists is false.
Jeremy (jra@cygnus.com).
(This used to be commit b587f18247537577764a1e28169bf6307ff292e9)
1997-01-23 19:39:57 +00:00
Samba Release Account
869f24e0b1 locking.c proto.h shmem.c smb.h status.c :
Changed shm_ prefixes to smb_shm_ prefixes as shm_ is a POSIX.4
prefix. Updated fd code in FAST_SHARE_MODE code
to work with new fd indirection.
quotas.c: Fixed #ifdef not on position zero.
Jeremy. (jra@cygnus.com).
(This used to be commit c9a9d56642cc34369a42f48a28116e466240d303)
1997-01-15 01:53:25 +00:00
Samba Release Account
586c6276ec Added an extra parameter for unix_convert. If present this is the
last component of the modified pathname before modification. This
is needed due to an exceptional condition in reply_mv when the
filesystem is case preserving, but not case sensitive and the
user wants to change the case of a filename. Code for this is
also added to reply.c
Jeremy (jra@cygnus.com).
(This used to be commit cdafa35f9dba6eb0073700e3a214348c432a3e84)
1997-01-13 19:41:08 +00:00
Samba Release Account
8bc7d6bebd Makefile: Changes to split Solaris into Solaris2.3 and previous, and 2.4 and after from Paul Eggert.
Makefile: Added AMIGA changes from Rask Ingemann Lambertsen <rask@k4315.kampsax.dtu.dk>.
charset.c: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at>
charset.h: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at>
clitar.c: Patch to re-sync after read fail from (lost contributor name, sorry).
includes.h: Patch for AMIGA from Rask Ingemann Lambertsen <rask@k4315.kampsax.dtu.dk>
includes.h: Patch for SunOS atexit by Jeremy (jra@cygnus.com)
interface.c: Patch for AMIGA from Rask Ingemann Lambertsen <rask@k4315.kampsax.dtu.dk>
kanji.h: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at>
locking.c: Patch to fix file locking from Jeremy (jra@cygnus.com)
locking.c: Patch to add granularity of lock files to usec by Jeremy (jra@cygnus.com)
pipes.c: Patch to fix file locking from Jeremy (jra@cygnus.com)
proto.h: Patch to fix file locking from Jeremy (jra@cygnus.com)
reply.c: Patch to fix file locking from Jeremy (jra@cygnus.com)
server.c: Patch to fix file locking from Jeremy (jra@cygnus.com)
server.c: Patch for FAST_SHARE_MODE fix from (lost contributor name, sorry).
smb.h: Patch to fix file locking from Jeremy (jra@cygnus.com)
smb.h: Patch to add granularity of lock files to usec by Jeremy (jra@cygnus.com)
status.c: Patch to fix file locking from Jeremy (jra@cygnus.com)
statuc.c: Patch to add granularity of lock files to usec by Jeremy (jra@cygnus.com)
system.c: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at>
trans2.c: Patch to fix file locking from Jeremy (jra@cygnus.com)
trans2.c: Patch to fix volume name reported to Win95 from Jeremy (jra@cygnus.com)
util.c: Patch for Western European Languages from Josef Hinteregger <joehtg@joehtg.co.at>
util.c: Patch to fix client_name from continuously returning UNKNOWN (from various contributors).
version.h: Update to 1.9.16p10.
(This used to be commit 03d28fa32eb094affa33133ebe2602fdb70f6361)
1997-01-09 18:02:17 +00:00
Samba Release Account
6847604079 JHT ==> Added just for RedHat support so I have a working copy of the RPM
aware makefile to generate the RPM source and binary distributions.
(This used to be commit d30c208c113143ad03810140823116f391c45f1f)
1997-01-03 12:17:12 +00:00
Samba Release Account
4bf19abcad JHT => Modified for RedHat Linux for DEC Alpha platform includes.
(This used to be commit 40fa8d4be629ccffa93ba7d969f2684907a058fa)
1997-01-02 04:50:59 +00:00
Samba Release Account
d613892674 JHT ==> Added extensions for PAM (Pluggable Authentication Module) support
for Linux and other little beasties that use PAM.
	Source: ftp.redhat.com/pub/Incoming/samba-1.9.16p9.src.rpm
	Originally from RedHat modifications to samba-1.9.15p8
(This used to be commit 79145bad569c71a7485b40a74e91eb93b52d6392)
1997-01-02 04:04:49 +00:00
Samba Release Account
9654c572fd Added Whistle veto file functions. Moved fcntl locking from
locking.c to util.c
jra@cygnus.com
(This used to be commit f2d481a2d3a9adca7c94427f291a379958c3c0da)
1996-12-10 18:03:44 +00:00
Samba Release Account
9db489ea55 Fixed for FreeBsd.
jra@cygnus.com
(This used to be commit 979acbc1096dda3f36f95eaed88de94931cfb164)
1996-12-10 18:02:08 +00:00
Samba Release Account
d68e27a3bc Added -f lockfile support.
jra@cygnus.com
(This used to be commit 84024a3df37df48865d6a53fbba0716d62819743)
1996-12-10 18:00:22 +00:00
Samba Release Account
53a9501444 Fixed quota support for FreeBsd.
jra@cygnus.com
(This used to be commit d1009c53517c3cfc536cb6436a702441c27be448)
1996-12-10 17:58:11 +00:00
Samba Release Account
3eb2945910 Added veto calls.
jra@cygnus.com
(This used to be commit 8167becd333dc0fd4327e4c3f29e4d4fd1302bdb)
1996-12-10 17:56:40 +00:00