1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
Commit Graph

115612 Commits

Author SHA1 Message Date
Samba Release Account
9bc6d7f4d6 Changed definitions of prototypes to take uint16 vuid's not
int uid's. Part of the change for Samba to return an index+offset
into the registered users table rather than a raw unix uid.
Added casts to required prototypes for function pointers in
tables.
jra@cygnus.com
(This used to be commit ec2a3a1cf2)
1996-10-25 20:10:53 +00:00
Samba Release Account
57d8802356 debugging the dns lookup changes
lkcl
(This used to be commit 3f63dd6771)
1996-10-25 19:31:48 +00:00
Samba Release Account
186c119d6f debugged dns lookup / netbios name query code from yesterday.
lkcl
(This used to be commit 7c2f1da377)
1996-10-25 16:43:04 +00:00
Samba Release Account
3340bdcca1 Added faq directory under docs. Translated the whole of the current
FAQ into linuxdoc-sgml format. From now on we can change the file
sambafaq.sgml and then run sgml2txt and sgml2html to generate the
other files. (Home page for linuxdoc-sgml is
http://sunsite.unc.edu/mdw/Linuxdoc-SGML.html. Does cross references
and section management.)
(This used to be commit 2fedc53b4e)
1996-10-25 02:56:06 +00:00
Samba Release Account
e010ad006e dealing with name queries and dns lookups etc.
lkcl
(This used to be commit 98cb371244)
1996-10-24 17:48:06 +00:00
Samba Release Account
8a7c1bd335 preparing for release of 1.9.16p9
(This used to be commit 526e597d3c)
1996-10-24 00:11:14 +00:00
Andrew Tridgell
08d00eb68e - added support for TMPDIR env variable
- fixed fault.c for linux 2.1
- put back in the FIND_SELF failing code
- cleaned up casts in encryption
(This used to be commit 3af04f1580)
1996-10-24 00:09:08 +00:00
Andrew Tridgell
99ad4508a0 - fixed listproc mail address in faq
- added printer driver section to faq
(This used to be commit b8c397df87)
1996-10-23 23:49:27 +00:00
Samba Release Account
dc0d4d2efb Jeremy <jra@cygnus.com>
Removed AS_USER requirement for SMBulogoff. A valid TID (cnum) is not
given for this call, which become_user needs if it is not to return
an error. This fixes a specific case with NT4.0 which stops users
attaching to a Samba server using a different account to the one they
are logged in under.
(This used to be commit c65a2cdd83)
1996-10-23 19:12:47 +00:00
Samba Release Account
7ccb388e3f preparing for release of 1.9.16p8
(This used to be commit 09588edfec)
1996-10-23 18:44:19 +00:00
Samba Release Account
4ec574af76 wrong answer response resource record type expected, so the response packet
was being abandoned. oops.

lkcl
(This used to be commit cf2ed4183b)
1996-10-23 18:38:05 +00:00
Samba Release Account
44df12f236 code was added to stop samba from replying to queries for its own names (?! :-)
lkcl
(This used to be commit 92a3d0f3e1)
1996-10-23 18:28:52 +00:00
Samba Release Account
b0cd2aa5ce Did some editing, got frustrated, started converting to linuxdoc-sgml
(This used to be commit c9066072a6)
1996-10-18 14:50:39 +00:00
Samba Release Account
fb421186e6 the response packets are being received (fix to process_nmb() worked)
however dead_netbios_entry() is still thinking that no response has
been received when the response_record times out for the registration
with the WINS server. only print a debug message when no registration
response is _really_ received from the WINS server.

lkcl
(This used to be commit e9eb9d70e3)
1996-10-13 13:47:02 +00:00
Samba Release Account
280525df33 preparing for release of 1.9.16p7
(This used to be commit 998f8bae72)
1996-10-11 17:56:42 +00:00
Samba Release Account
eff62fd6db netbios registration and release response packets were being junked. a
BAD idea.

lkcl
(This used to be commit b790455aca)
1996-10-11 17:55:16 +00:00
Andrew Tridgell
c71c1ff55f - set default printer driver string to "NULL"
- fixed debug levels for name status parsing
(This used to be commit f2c5f1eab1)
1996-10-11 05:49:42 +00:00
Samba Release Account
0b031a3f41 preparing for release of 1.9.16p6
(This used to be commit fca0c5dc8e)
1996-10-09 15:10:16 +00:00
Andrew Tridgell
6dc1fe06c1 - correctly handle non-encrypted share mode session-setup. We were
losing the username due to the recent "handle broken password lengths"
patch.
(This used to be commit b006cd6f91)
1996-10-09 15:08:29 +00:00
Andrew Tridgell
681ce3254b - updated the ENCRYPTION.txt stuff to point to the newer des
libraries.

- updated the MIRRORS list
(This used to be commit fee34277ac)
1996-10-09 15:06:53 +00:00
Samba Release Account
2bb84baa5b preparing for release of 1.9.16p5
(This used to be commit 952918bdd5)
1996-10-07 15:06:26 +00:00
Andrew Tridgell
ec85f2e53d - revert to old idle dir code (marty pointed out a problem with the
new code)

- handle server level security in the new "detect NT password length
stuffups" code
(This used to be commit 7c135d4994)
1996-10-07 15:04:48 +00:00
Samba Release Account
426d930adb preparing for release of 1.9.16p4
(This used to be commit 13c3a05093)
1996-10-07 11:14:29 +00:00
Andrew Tridgell
dfa2b456c7 - continue when failing to load config file in nmblookup and smbclient
- fix important bug in nmbd where it set the return code for a
negative name response to 0 (which means success!)
(This used to be commit bfa816cc8f)
1996-10-07 11:06:34 +00:00
Andrew Tridgell
8781e4d787 - changed the default nmbd loop timout to 10 seconds (2 seconds was much
too short)

- got rid of many unnecessary calls to time(NULL) in nmbd. They were
causing it to chew too much CPU time when idle. Now we pass a time
value in from the top level.
(This used to be commit 3cd7303dbc)
1996-10-07 01:56:21 +00:00
Andrew Tridgell
21cdd72c33 - added an entry to the MIRRORS list
- minor fixes in man page
(This used to be commit 733c718657)
1996-10-07 01:53:25 +00:00
Samba Release Account
799172e830 preparing for release of 1.9.16p3
(This used to be commit 47212791c2)
1996-10-05 14:28:39 +00:00
Andrew Tridgell
e8b17deb5a add DEBUGLEVEL to replace.c
(This used to be commit b215a90206)
1996-10-05 14:27:00 +00:00
Andrew Tridgell
f6c9fed7ac - use waitpid for ultrix
- don't use wait4
(This used to be commit 2aa612d676)
1996-10-05 13:38:29 +00:00
Andrew Tridgell
f3c79936d7 - replace the base36 function with one that works on more systems
(compiler bugs were the problem)

- minor password cleanups (catch WfWG bug where it sets the password
to a space instead of a NULL)

- fix printing problem for kanji users

- minor cleanups
(This used to be commit 92566ecc31)
1996-10-05 13:13:31 +00:00
Andrew Tridgell
f615329360 - added a mirror entry and added a new Support.txt entry
(This used to be commit 975ddfd309)
1996-10-05 13:10:13 +00:00
Andrew Tridgell
e5893bdfbe I have fixed quite a few important bugs in this commit.
Luke, can you take special note of the bug fixes to nmbd so you can
propogate them to your new code.

- rewrote the code that used to use fromhost(). We now call
gethostbyaddr() only if necessary and a maximum of once per
connection. Calling gethostbyaddr() causes problems on some systems so
avoiding it if possible is a good thing :-)

- added the "fake oplocks" option. See the docs in smb.conf(5) and
Speed.txt

- fixed a serious bug in nmbd where it would try a DNS lookup on
FIND_SELF queries. This caused a lot of unnecessary (and incorrect)
DNS lookups to happen. FIND_SELF queries should only go to the
internal name tables.

- don't set FIND_SELF for name queries if we are a wins proxy, as we
are supposed to be answering queries for other hosts.

- fixed a bug in nmbd which had "if (search | FIND_LOCAL)" instead of
"if (search & FIND_LOCAL)". Luke, this was in nameservreply.c

- the above 3 bugs together meant that DNS queries were being cached,
but the cache wasn't being used, so every query was going to DNS, no
wonder nmbd has been chewing so much CPU time! Another side effect was
that queries on names in lmhosts weren't being answered for bcast
queries with "wins proxy" set.

- ignore the maxxmit for seconday session setups (see CIFS spec)

- close user opened files in a uLogoffX for user level security (see
CIFS spec)

- added uid into the files struct to support the above change
(This used to be commit ea472b7217)
1996-10-05 10:41:13 +00:00
Andrew Tridgell
c33d98d573 - added docs on the new "fake oplocks" option.
(This used to be commit 1303132113)
1996-10-05 10:26:31 +00:00
Andrew Tridgell
38087ccb40 - use workgroup from smb.conf in smbclient
- change debug level on clitar stuff

- define MAP_FILE if not defined

- ensure we never set authoritative on queries in nmbd

- fake a positive response to SMBioctl, apparently this is needed for
some WfWg printer drivers

- deny file access for non-fcbopen queries when (access_allowed == AREAD && flags == O_RDWR)

- add sys_waitpid()
(This used to be commit 61e3116e57)
1996-10-05 02:54:37 +00:00
Andrew Tridgell
32e9d441af - added a new support entry
- added THANKS entry for NEC
(This used to be commit dff891e69d)
1996-10-05 02:47:05 +00:00
Andrew Tridgell
e23f2b9cef - changed the umask handling. We now set the umask to 0 and explicitly
set the mode on all created files. I think this is a better policy.

- change the debug levels on some items

- fix a charset handling bug which affected foreign and extended
charset users

- no longer switch back to the original directory when idle, instead
switch to / as the original directory may not be readable by ordinary
users.

- fix some bugs where the create mode of files was not being
explicitly set (it was relying on the umask and using fopen). Not a
big bug as it only affected obscure commands like the messaging ops.

- got rid of the lock code in the lpq cache as its no longer needed

- rewrote smbrun to be faster and to remove the security hole. We now
don't actually need a external smbrun binary, its all done by smbd.

- add a more explicit warning about uids and gids of -1 or 65535
(This used to be commit 5aa735c940)
1996-10-04 09:31:07 +00:00
Samba Release Account
f60dec78f9 Added a version of tridge's comments on numbering to the faq.
Dan
(This used to be commit 53a4b8769e)
1996-10-03 03:40:32 +00:00
Andrew Tridgell
986edc0146 - fix the EALREADY bug so connections to slow hosts with smbclient get
through

- add workarounds to handle the win95 and WinNT bugs in handling
password lengths in sessionsetup
(This used to be commit 671b3a3a77)
1996-10-02 16:16:16 +00:00
Andrew Tridgell
afd08462ad backout all the changes to nmbd.
The 1.9.16 tree is now back to 1.9.16p2 as far as nmbd is concerned
apart from a small change that fixes the announce type in two places.
(This used to be commit 45e66a69d3)
1996-10-02 15:41:30 +00:00
Andrew Tridgell
5a2f52b79e - a huge pile of changes from Luke which implement the browse.conf
stuff and also fix a pile of nmbd bugs. Unfortunately I found it very
hard to disentangle the new features from the bug fixes so I am
putting in the new code. I hope this is the last big pile of changes
to the 1.9.16 series!
(This used to be commit 20b6203dac)
1996-10-02 14:09:22 +00:00
Andrew Tridgell
11d9539d75 - accept either NT or lanman passwords in tconX
(This used to be commit b6c1c60d72)
1996-10-02 14:06:17 +00:00
Samba Release Account
70c07c22b4 Dan
(This used to be commit 203f49a4e2)
1996-10-02 04:03:49 +00:00
Samba Release Account
0a9cb73466 Tyop.
Dan
(This used to be commit 55d7b06793)
1996-10-02 03:13:16 +00:00
Samba Release Account
a787988e48 Edited doc directory to remove anything that pointed to Karl Auer, since he
is still getting lots of email. Also updated some of the PROJECTS file. Luke,
you should do a quick paragraph or two there.
(This used to be commit 5a50e34169)
1996-10-02 02:57:59 +00:00
Samba Release Account
83cc885479 Updated to add the Windows NT password mechanism explaination.
Jeremy (jra@cygnus.com)
(This used to be commit fd428da770)
1996-09-06 04:52:57 +00:00
Andrew Tridgell
908771bb0f added debug info
(This used to be commit 4a988021a2)
1996-08-24 01:46:47 +00:00
Samba Release Account
9ad5a3fe36 removed all of lukes recent changes. I need to do a p2 release but
can't test the multi group changes.

I also found that some of lukes changes wiped out some recent bug
fixes. Is your CVS tree ok luke?
(This used to be commit 8b7fe224bc)
1996-08-24 01:41:46 +00:00
Samba Release Account
8c41ad5614 fixed dircahe bug
(This used to be commit 050f941e21)
1996-08-24 01:32:51 +00:00
Samba Release Account
1c1d83dde7 Doc updates
Dan
(This used to be commit e039a506e7)
1996-08-23 15:20:54 +00:00
Samba Release Account
5945be9718 - fixed bugs in nmb response packet checking.
- added multiple workgroup code - samba can register under different
  (unique) NetBIOS aliases, one per workgroup it joins.

lkcl
(This used to be commit f24e341e7e)
1996-08-23 10:17:30 +00:00