1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
Commit Graph

1497 Commits

Author SHA1 Message Date
Herb Lewis
2a2cccabca IRIX compiler dies not like casts in macro args
(This used to be commit 1b3123df48)
2001-10-23 18:15:18 +00:00
Simo Sorce
b0152aaea0 ops, some testing code in compat function let only mangled name come back.
(This used to be commit e48eb7b572)
2001-10-22 23:25:11 +00:00
Jim McDonough
a443dea5d1 server support for RAP session list function
(This used to be commit d42c28fbad)
2001-10-22 18:14:42 +00:00
Simo Sorce
4e5eb48b07 lets try the new mangling code
all the calls go through a compatibility interface will
change that soon
a new mangle.tdb file will be set in the lock directory
it contains a static mapping longname<->manglename
(This used to be commit 1ffacd2068)
2001-10-22 06:53:28 +00:00
Andrew Tridgell
fba157123e - fixed link order of krb5 libs
- accept a wide range of principal names in session setup
(This used to be commit 672df66296)
2001-10-22 05:04:33 +00:00
Jeremy Allison
cfd68eaac4 Ok, I know it's a language thing and it shouldn't matter.... but a kerberos
name is a "principal", not a principle. English majors will complain :-).
Jeremy.
(This used to be commit b668d7d656)
2001-10-21 20:51:27 +00:00
Andrew Tridgell
51bc5f128c patch for neater output() function from vance
(This used to be commit 2472ecf7fc)
2001-10-21 06:04:46 +00:00
Andrew Tridgell
a0a42f2c1f change smbd to use HOST/hostname principle form until I work out how
to use the other form in netjoin

smb_wct is a char, not a word
(This used to be commit 3dbb48b188)
2001-10-21 03:27:13 +00:00
Andrew Tridgell
42a4e6890c change smbd to use HOST/hostname principle form until I work out how
to use the other form in netjoin
(This used to be commit 58cfa13d65)
2001-10-21 03:26:24 +00:00
Andrew Tridgell
cbe31055f8 support both old and new kerberos OIDs
(This used to be commit eac164c7e6)
2001-10-21 00:11:22 +00:00
Andrew Tridgell
b7331220c6 fixed the spnego detection code in session setup
this gets share mode working again
(This used to be commit 8286e5307c)
2001-10-21 00:10:16 +00:00
Tim Potter
7cd889f566 Converted a bunch of 0x85 constants to SMBkeepalive.
(This used to be commit b16a15a13e)
2001-10-20 23:34:40 +00:00
Jeremy Allison
88b55f47b4 Move from timestamp to gen count file id's for finding oplocked files
in a tdb.
Jeremy.
(This used to be commit 058ae6b58f)
2001-10-20 21:59:34 +00:00
Jim McDonough
e5868e1f57 Use asprintf, do bounds check, better rc logic
(This used to be commit 6a734158d9)
2001-10-20 21:50:51 +00:00
Andrew Tridgell
60747ab66e crude fix for anonymous session setup with extended security
negotiated
(This used to be commit b3caf21090)
2001-10-20 11:47:44 +00:00
Andrew Tridgell
93645be91f better krb5 error handling (thanks andrewb!)
(This used to be commit fd3a3daef3)
2001-10-20 06:50:24 +00:00
Andrew Tridgell
9884de2d3b finished auth when we get a valid kerberos ticket
smbd now works with kerberos authentication if you use a MIT KDC and
smbclient. Next step is to make it work with a windows client
(This used to be commit e0c99e1f37)
2001-10-20 06:31:25 +00:00
Andrew Tridgell
e82c34aab5 add non_root_mode() check
(This used to be commit 96f910bae5)
2001-10-20 06:29:52 +00:00
Andrew Tridgell
42fd55bd61 quick fix for krb5 compilation. I've told vance how to fix this module
properly and will wait for him to send a patch
(This used to be commit 7adad774d8)
2001-10-20 00:48:28 +00:00
Jim McDonough
d1006a96d0 Add RAP net share add support
(This used to be commit a70bc077a1)
2001-10-19 19:13:11 +00:00
Jean-François Micouleau
4be5c040b6 print in a human readable format when the password expired.
J.F.
(This used to be commit 255b197a5c)
2001-10-19 17:30:05 +00:00
Jeremy Allison
f1cd7f14e2 Fixed issues with changenotify only being called once in VC++.
Jeremy.
(This used to be commit ce59e4a772)
2001-10-19 09:41:35 +00:00
Jeremy Allison
4bb9cebf84 Tidy up debug in notify code.
Jeremy.
(This used to be commit 7707c5e073)
2001-10-19 08:37:32 +00:00
Jeremy Allison
6cc3953196 Restored old Bmpx code - actually used by OS/2.
Jeremy.
(This used to be commit 7c1688fd67)
2001-10-19 00:56:03 +00:00
Jeremy Allison
b49b5b9481 client : Fixed error return.
uid.c: Added missing void.
Jeremy.
(This used to be commit c2e06ed221)
2001-10-19 00:02:36 +00:00
Jeremy Allison
c416ff851b Merge the become_XXX -> change_to_XXX fixes from 2.2.2 to HEAD.
Ensure make_conection() can only be called as root.
Jeremy.
(This used to be commit 8d23a7441b)
2001-10-18 20:15:12 +00:00
Andrew Tridgell
904fca7684 got rid of start_background_queue()
THIS WAS A DISASTER!

it created hundreds of processes on the build farm machines, which we
can't kill.
(This used to be commit 04479db879)
2001-10-18 10:40:36 +00:00
Andrew Tridgell
5ad7448359 the beginnings of kerberos support in smbd. It doesn't work yet, but
it should give something for others to hack on and possibly find what
I'm doing wrong.
(This used to be commit 353c290f05)
2001-10-18 10:26:06 +00:00
Tim Potter
f0e0dd6507 Renamed vfs_init() to smbd_vfs_init() to allow vfs modules to compile.
(This used to be commit 7c3542ba87)
2001-10-18 00:27:20 +00:00
Andrew Tridgell
adfa547aab removed some debug code
(This used to be commit b9e1f05393)
2001-10-17 10:46:46 +00:00
Andrew Tridgell
b728042334 added basic NTLMSSP support in smbd. This is still quite rough, and
loses things like username mapping. I wanted to get this in then
discuss it a bit to see how we want to split up the existing
session setup code
(This used to be commit b74fda69bf)
2001-10-17 08:54:19 +00:00
Jeremy Allison
d731149a41 Fixed inconsistent definitions of InBuf/OutBuf/last_char.
Noticed by albert chin (china@thewrittenword.com) .
Jeremy.
(This used to be commit f5781f11eb)
2001-10-17 01:38:23 +00:00
Jean-François Micouleau
3f1d100842 very simple asynchronous "lpq" thread patch
To speed up operations with the lpq command, it's now run in a separate
asynchronous process.

Opening the Printers folder on NT is now fast ;-) I think even faster than
with a ** server

Jeremy, you should look at that patch to include it in 2.2.3

	J.F.
(This used to be commit 8ef9dff307)
2001-10-16 23:16:00 +00:00
Jeremy Allison
7acc2b977c Fix for connectinos.tdb error message from "Richard Bollinger" <rabollinger@home.com>
Jeremy.
(This used to be commit f1f1a14598)
2001-10-16 08:39:43 +00:00
Andrew Tridgell
0c0dd06dbd split session setup code out of reply.c in preparation for adding
NTLMSSP and kerberos support in smbd
(This used to be commit 38a43d75e2)
2001-10-15 07:50:21 +00:00
Simo Sorce
b7bd7ea153 introduce mangle backward compatibility functions
add talloc_asprintf()
(This used to be commit 7264d611ef)
2001-10-13 12:47:59 +00:00
Jeremy Allison
812dcab195 Made nt acl support a local parameter for w2ksp2 profile fix.
Jeremy.
(This used to be commit ebba334c15)
2001-10-12 22:00:38 +00:00
Tim Potter
2f7ce531ad fixed compiler warning.
(This used to be commit 2d5b0f7ad8)
2001-10-12 06:09:39 +00:00
Gerald Carter
cf167fe3c5 merge from 2.2
(This used to be commit 062bba07f2)
2001-10-11 16:44:17 +00:00
Simo Sorce
49307c2678 remove unused function in mangle.c
fix some alloc leaks spotted by andreas moroder.
(This used to be commit 39409a20f6)
2001-10-11 12:33:26 +00:00
Andrew Tridgell
81f56139b6 initial kerberos/ADS/SPNEGO support in libsmb and smbclient. To
activate you need to:

- install krb5 libraries
- run configure
- build smbclient
- run kinit to get a TGT
- run smbclient with the -k option to choose kerberos auth
(This used to be commit d330575856)
2001-10-11 07:42:52 +00:00
Jeremy Allison
76745313b1 Fixed bug when status=no and max smbd processes > 0.
Jeremy.
(This used to be commit d1adaee373)
2001-10-11 05:53:15 +00:00
Tim Potter
89731dce4a Fixed some compile warnings.
(This used to be commit c9b3e6c714)
2001-10-10 01:01:15 +00:00
Jeremy Allison
ed94aa9d61 Fixes from John Trostel (modified somewhat by me) to ensure that all lookup_XX
functions correctly deal with the SID_NAME_TYPE. One fix for connection user
lookup in LSA.
Jeremy.
(This used to be commit 29730027d8)
2001-10-09 20:54:56 +00:00
Simo Sorce
d02b5fefba tim suggested to add a copyright note :)
(This used to be commit c0bb484e0f)
2001-10-08 11:58:25 +00:00
Simo Sorce
494bb7b980 more fixing and testing.
added ucs2_to_dos83 function.
the code should be ok now.
further test with japanese and other languages is needed at this point.
(This used to be commit 74f746fee2)
2001-10-07 14:53:40 +00:00
Andrew Bartlett
36c7d52ed8 Fix up indenting in out SAM password check code.
(This used to be commit ac11a23125)
2001-10-06 01:51:57 +00:00
Simo Sorce
44cc559418 init only in test code.
remove unused structure for tdb data.
fixes.
(This used to be commit c82cf58ae2)
2001-10-04 08:32:29 +00:00
Andrew Tridgell
9bcd133e9e switched over to a new method of handling uppercase/lowercase mappings
for unicode strings. The new method relies on 3 files that are mmap'd
at startup to provide the mapping tables. The upcase.dat and
lowcase.dat tables should be the same on all systems. The valid.dat
table says what characters are valid in 8.3 names, and differs between
systems. I'm committing the japanese valid.dat here, in future we need
some way of automatically installing and choosing a appropriate table.

This commit also adds my mini tdb based gettext replacement in
intl/lang_tdb.c. I have not enabled this yet and have not removed the
old gettext code as the new code is still being looked at by Monyo.

Right now the code assumes that the upcase.dat, lowcase.dat and
valid.dat files are installed in the Samba lib directory. That is not
a good choice, but I'll leave them there until we work out the new
install directory structure for Samba 3.0.

simo - please look at the isvalid_w() function and think about using
it in your new mangling code. That should be the final step to
correctly passing the chargen test code from monyo.
(This used to be commit 1c221994f1)
2001-10-03 12:18:20 +00:00
Jeremy Allison
facbdd692d Fixed up the change password bug when not using PAM.
The problem is we were trying to use mask_match as a generic
wildcard matcher for UNIX strings (like the password prompts).
We can't do that - we need a unix_wild_match (re-added into lib/util.c)
as the ms_fnmatch semantics for empty strings are completely wrong.
This caused partial reads to be accepted as correct passwd change
responses when they were not....
Also added paranioa test to stop passwd change being done as root
with no %u in the passwd program string.
Jeremy.
(This used to be commit 9333bbeb76)
2001-10-02 21:58:09 +00:00