Alexander Bokovoy [Wed, 19 Feb 2003 13:24:06 +0000 (13:24 +0000)]
Improve detection of iconv(3) for various platforms. M4 code is similar to what I use in Midgard for past few years, modified for Samba needs.
(This used to be commit
747d2d70a9eb4d9222d7b63e5fcec269eda76672)
Andrew Bartlett [Wed, 19 Feb 2003 12:19:52 +0000 (12:19 +0000)]
Missed one use of SETENV. (Compat macro no longer needed, as we have a
replace.c function).
(This used to be commit
adad4c66fcfe756277de8c325ac9f8010f9d6f9c)
Andrew Bartlett [Wed, 19 Feb 2003 12:05:21 +0000 (12:05 +0000)]
Now we have setenv() in replace.c, we don't need a seperate copy here.
Andrew Bartlett
(This used to be commit
c4834c46902380455d2ea1dd62661224e8d4eb11)
Andrew Bartlett [Wed, 19 Feb 2003 11:35:02 +0000 (11:35 +0000)]
Check return values of various join-related functions, and ensure we always
compare push_* returns with (size_t)-1, not < 0.
Andrew Bartlett
(This used to be commit
63f5e92536c6bcac54b796d6e91b755e7d328f66)
Andrew Bartlett [Wed, 19 Feb 2003 11:33:35 +0000 (11:33 +0000)]
Move to a in-memory ccache for winbind, and replace setenv() properly.
(According to the manpages, you cannot put a stack variable into putenv()).
Yes, this leaks memory.
Andrew Bartlett
(This used to be commit
50bced1e26434ecc7474964062746e2831e5f433)
Andrew Bartlett [Wed, 19 Feb 2003 11:30:52 +0000 (11:30 +0000)]
After a talloc_zero(), we don't need to ZERO_STRUCTP too..
(This used to be commit
4fe8066394143c64c79c052c00f0d747e872103a)
Andrew Bartlett [Wed, 19 Feb 2003 11:30:09 +0000 (11:30 +0000)]
Fix logfile formatting, we were missing a "\n"
(This used to be commit
53b8f8a44141a9f6d36ed1b237ff65c67119edd0)
Andrew Bartlett [Wed, 19 Feb 2003 10:12:14 +0000 (10:12 +0000)]
Only do a kinit if we got told to use kerberos.
Andrew Bartlett
(This used to be commit
6af9ec50e010d171cf5287f40ec774e79e4a93fe)
Jim McDonough [Wed, 19 Feb 2003 03:19:30 +0000 (03:19 +0000)]
Get non-krb systems to compile. How the heck do I keep something from being sucked into proto.h?
(This used to be commit
7e84497882df5bf933ab7ae7fe9af3728393202c)
Jeremy Allison [Wed, 19 Feb 2003 02:34:33 +0000 (02:34 +0000)]
Fix from Corny.Bondad@hp.com for missing if (setting_acls) on default
perms.
Jeremy.
(This used to be commit
ac96fa173cc3bd1c3226634154d6f99e4034179f)
Jeremy Allison [Wed, 19 Feb 2003 01:38:12 +0000 (01:38 +0000)]
Bit of a hack job to prevent smbprn.XXX jobs appearing in the queue if the
jobid is below the UNIX_JOB_START number.
Jeremy.
(This used to be commit
e8a9bf67cbe5b3e33f99e6793fe4ec445d6e8819)
Jim McDonough [Wed, 19 Feb 2003 01:16:40 +0000 (01:16 +0000)]
Try to get heimdal working with HEAD.
- Provide generic functions for
- get valid encryption types
- free encryption types
- Add encryption type parm to generic function create_kerberos_key_from_string()
- Try to merge the two versions (between HEAD and SAMBA_3_0) of kerberos_verify.c
I think this should work for both MIT and heimdal, in HEAD. If all goes smooth,
I'll move it over to 3.0 soon...
(This used to be commit
45e409fc8da9f26cf888e13d004392660d7c55d4)
Jim McDonough [Wed, 19 Feb 2003 00:50:38 +0000 (00:50 +0000)]
Add support for detecting method of listing encryption types (MIT v Heimdal)
(This used to be commit
48dcf5b97f2d53617c41237e09369ec678ab65e9)
Martin Pool [Wed, 19 Feb 2003 00:47:41 +0000 (00:47 +0000)]
Remove old listproc address; update instructions for subscribing to
the mailing list.
(This used to be commit
cab94c8a315ba7ad68e71c62c0d5fa3ab9a90661)
Jim McDonough [Wed, 19 Feb 2003 00:27:38 +0000 (00:27 +0000)]
base64_decode() with heimdal libs, so I've renamed it base64_decode_inplace().
(This used to be commit
8c69212eeb4a0ec144b960d76319fd4940b8c239)
Martin Pool [Wed, 19 Feb 2003 00:25:47 +0000 (00:25 +0000)]
Remove old listproc address and webmaster mailing address.
(Is this file actually still used? Perhaps it would be better to
include something from the web site instead. I'm not going to merge
this across because I think it's dead.)
(This used to be commit
7096d5feb2e8be204881bdcb76ad08cc5aa4a79a)
Martin Pool [Wed, 19 Feb 2003 00:16:25 +0000 (00:16 +0000)]
Remove tridge's old home address, and old samba-bugs adddress. He can
add the new one if he wants.
(I wonder if the new owners of that house wonder why pizza keeps
turning up? :-)
(This used to be commit
92ab401656ac96a255ba2ef4121823d9cd57ccf8)
Martin Pool [Wed, 19 Feb 2003 00:14:29 +0000 (00:14 +0000)]
Remove reference to obsolete samba-bugs address. Suggest people
report trouble in the first instance to samba@lists.
(This used to be commit
f2a4c51983636b90b8e2942cca765740592e08f7)
Martin Pool [Wed, 19 Feb 2003 00:13:23 +0000 (00:13 +0000)]
Remove reference to obsolete samba-bugs address.
(This used to be commit
8e5f2ac3ca0b4cfb910f38532efb63526f28b579)
Jelmer Vernooij [Tue, 18 Feb 2003 22:14:04 +0000 (22:14 +0000)]
Jelmer Vernooij [Tue, 18 Feb 2003 21:50:31 +0000 (21:50 +0000)]
Update to current status
(This used to be commit
424cfccec2acb9a96538b67100915bfb00f84fd4)
Jelmer Vernooij [Tue, 18 Feb 2003 21:49:00 +0000 (21:49 +0000)]
Jelmer Vernooij [Tue, 18 Feb 2003 21:44:34 +0000 (21:44 +0000)]
Few small cosmetic changes
(This used to be commit
a99e4bd2c0299851a1308158a50e24e69cab1158)
Jelmer Vernooij [Tue, 18 Feb 2003 21:32:26 +0000 (21:32 +0000)]
Use sgml syntax for warnings
(This used to be commit
73def167a806d482472fcb137c64ee9fe4b6400c)
Jelmer Vernooij [Tue, 18 Feb 2003 21:12:28 +0000 (21:12 +0000)]
Move all password database stuff to one document - hope this makes it somewhat
more understandable for the user. Comments are welcome!
(This used to be commit
847d05085147431de923c735b7ab6ea752e592c2)
Jelmer Vernooij [Tue, 18 Feb 2003 20:12:20 +0000 (20:12 +0000)]
Update introduction
(This used to be commit
46c99ff855ba273568785f118cd19a2788430c1e)
Jelmer Vernooij [Tue, 18 Feb 2003 18:43:59 +0000 (18:43 +0000)]
Add -V option (to print out version) to utilities where possible
(pdbedit already has a -V option..)
(This used to be commit
5de622968d95c1436dbd34edc8d0a9bbff68916b)
Jelmer Vernooij [Tue, 18 Feb 2003 18:34:48 +0000 (18:34 +0000)]
Use the new modules stuff to load dynrpc modules. Basically this means:
- calling the initialization function in the module init_module() instead of rpc_pipe_init()
- calling smb_load_module() to do the dlopen(), dlsym() and init_module() calls
I'll merge this to 3.0, together with the smb_load_module() function.
Discussed with Anthony.
(This used to be commit
3757ed8df06ca2b306bef336bdb9c7671f5e6a65)
Rafal Szczesniak [Tue, 18 Feb 2003 14:59:21 +0000 (14:59 +0000)]
Fix of two warnings.
pull_ucs2_talloc function takes char** pointer, not (here
explicitly casted) void** one.
Rafal
(This used to be commit
e77c44efd95d42a8194f5c3d36c043f8e84dfd1d)
Tim Potter [Tue, 18 Feb 2003 05:08:09 +0000 (05:08 +0000)]
We don't use mkproto stuff for the python extensions anymore.
(This used to be commit
8d166ae093655a5a14a7478c7a84474b43e8ee97)
Tim Potter [Tue, 18 Feb 2003 05:05:15 +0000 (05:05 +0000)]
Cleanup of header files for python extensions.
- combine py_foo_proto.h and py_foo.h
- move #include of Python.h into one place so we can get rid of that
annoying compiler warning about HAVE_FSTAT being redefined
(This used to be commit
0659351b251aee438bb9e92682bc445f164923a5)
Jeremy Allison [Tue, 18 Feb 2003 04:49:31 +0000 (04:49 +0000)]
Ensure we use getgrnam() unless BROKEN_GETGRNAM is defined. I now need
to set this for Tru64.
Jeremy.
(This used to be commit
e7c4616c45ea5ec7c04022d6cca49ac70adde121)
Gerald Carter [Tue, 18 Feb 2003 03:43:08 +0000 (03:43 +0000)]
set the various DsSpooler keys that are linked to PRINTER_INFO_2 fields; CR 985
(This used to be commit
9a4b7a86fdaab04328b5017c1dd42480753a9a10)
Martin Pool [Tue, 18 Feb 2003 02:01:38 +0000 (02:01 +0000)]
Remove obsolete comment.
(This used to be commit
e22465749dc7c2acd2441a897df592616fc275da)
Martin Pool [Tue, 18 Feb 2003 01:55:50 +0000 (01:55 +0000)]
Doxygen janitor. No other changes.
(This used to be commit
735c99dadbaffbb53662890e3dc8a668b211da9d)
Martin Pool [Tue, 18 Feb 2003 01:35:19 +0000 (01:35 +0000)]
cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDs
which are not valid.
(This used to be commit
bfb6104521bd75da71a09a6c56bd44560416116e)
Martin Pool [Tue, 18 Feb 2003 01:30:22 +0000 (01:30 +0000)]
init_dom_sid2s: Check return code from string_to_sid. Skip tokens
that are not valid SIDs.
(This used to be commit
5a597272782b74d28859ba98027fe9ff9c278086)
Martin Pool [Tue, 18 Feb 2003 01:09:19 +0000 (01:09 +0000)]
Check return code from string_to_sid.
(This used to be commit
fe449328b226a33ad1c64e087fe63e79f90ab4ac)
Martin Pool [Tue, 18 Feb 2003 01:05:56 +0000 (01:05 +0000)]
add_initial_entry should fail if string_to_sid fails.
(This used to be commit
bb095dc28d8369457286225ac63e03070889f394)
Andrew Bartlett [Tue, 18 Feb 2003 00:54:22 +0000 (00:54 +0000)]
Patch from vorlon@debian.org to split out our -lacl dependency to only smbd
and vfstest.
(This used to be commit
bcbc2213230e95d732a774b5aee67295fba4380b)
Martin Pool [Tue, 18 Feb 2003 00:52:42 +0000 (00:52 +0000)]
Doxygen janitor and some doc typo fixes.
(This used to be commit
82414706e6659c1638936d9b9afdb9329109f58f)
Martin Pool [Tue, 18 Feb 2003 00:41:13 +0000 (00:41 +0000)]
Doxygen janitor. No other changes.
(This used to be commit
fa38e7956c21b828ba208282ef0ac85c2b66ff22)
Andrew Bartlett [Tue, 18 Feb 2003 00:36:37 +0000 (00:36 +0000)]
The cli_send_tconX code already determines to send \\server\share to port 139
and share to 445, so doing this only confuses the issue (sending
\\server\\server\share to 139) and makes debugging specific error codes more
difficult.
Andrew Bartlett
(This used to be commit
1a723bcda72901dac00b36955e860e3af23c0dc6)
Martin Pool [Mon, 17 Feb 2003 23:49:01 +0000 (23:49 +0000)]
Update config.guess, config.sub to the versions from the GNU autotools
2003-01-10 release. This adds or improves detection for many host
platforms.
(This used to be commit
24fe55ea6d55a78d662942e78e192a84809fcba6)
Martin Pool [Mon, 17 Feb 2003 23:33:55 +0000 (23:33 +0000)]
Add comment explaining the -DDEVELOPER safe_strcpy overflow hack.
(This used to be commit
90e1d8bdfa9ec0a4f3795d9a89db1d2324447b68)
Jeremy Allison [Mon, 17 Feb 2003 21:19:09 +0000 (21:19 +0000)]
Correctly check for inet_addr fail. Patch from gregor.7@osu.edu.
Jeremy.
(This used to be commit
fb3548e5080812c037c2c134504cc9af4ecbfedd)
Volker Lendecke [Mon, 17 Feb 2003 21:12:21 +0000 (21:12 +0000)]
Dummy commit, I can't get through to samba-cvs@samba.org. It can't really
remember under what mail address I have to post.
My last commit to this file made it compile again, my fingers were a bit
too fast to really type this message.
Sorry for this confusion,
Volker
(This used to be commit
3b905f5a16dff8ce6742a92fd403cb720707f513)
Volker Lendecke [Mon, 17 Feb 2003 21:04:09 +0000 (21:04 +0000)]
Andrew Bartlett [Mon, 17 Feb 2003 12:33:24 +0000 (12:33 +0000)]
This is a very nice way to detect pstrcpy() into a malloc()ed string, but
it really is a developer hack...
Andrew Bartlett
(This used to be commit
3588ebb35b14422141d4070413185195b525038e)
Andrew Bartlett [Mon, 17 Feb 2003 12:27:34 +0000 (12:27 +0000)]
This patch fixes one of my longest-standing pet hates with Samba :-).
When we look see if a user is in a list, and we try to 'expand' an @group, we
should lookup the user's own list of groups, rather than looking for all the
members of a group.
I'm sure this will fix some nasty performance issues, particularly on large
domains etc. In particular, this avoids contacting winbind at all, if the
group is not a winbind group.
(This caused a deadlock on my winbind-on-PDC setup).
The groups list always includes the user's primary group, as per the
getgrouplist manpage, and my recent changes to our implementation.
Andrew Bartlett
(This used to be commit
9be21976f7662ebe6eb92fff7cecbdb352eca334)
Andrew Bartlett [Mon, 17 Feb 2003 12:20:20 +0000 (12:20 +0000)]
Don't leak a session_key worth of memory at the end of the NTLMSSP auth.
(This used to be commit
ae9765b84de0fd6eff790b3bff26dd3d43ec2bd6)
Andrew Bartlett [Mon, 17 Feb 2003 12:19:12 +0000 (12:19 +0000)]
Set the length back to zero when we free the data_blob.
(This used to be commit
4560594a67056ee1a5e51a122d1b254944e7c266)
Andrew Bartlett [Mon, 17 Feb 2003 12:04:09 +0000 (12:04 +0000)]
Try to make our getgrouplist replacement better match the 'real' implemenations.
In particular, make sure we include the primary gid in the list.
Andrew Bartlett
(This used to be commit
0cd4b339b7eff55019caaeaa998d5e70b2eed200)
Martin Pool [Mon, 17 Feb 2003 06:54:43 +0000 (06:54 +0000)]
Typo: /mized/mixed/
(This used to be commit
ada36d2fe38dbb07886a671a6d85b6317ab230a8)
Martin Pool [Mon, 17 Feb 2003 06:28:58 +0000 (06:28 +0000)]
Don't pstrcpy into an fstring. (Harmless in this case since it comes
from an environment variable.)
(This used to be commit
9f9077346bf9f7c96376169c60aa893f15fb9d2c)
Martin Pool [Mon, 17 Feb 2003 05:42:36 +0000 (05:42 +0000)]
Start reworking rpcclient to use popt rather than next_token to parse
command lines. This makes the code much simpler and also stops
trivial syntax errors from causing a crash.
Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
(This used to be commit
d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
Tim Potter [Mon, 17 Feb 2003 04:43:09 +0000 (04:43 +0000)]
Added SRVSVC pipe support. I've started implementing NetServerGetInfo()
(This used to be commit
8e0d781995b56dd1cd348baadd494bb8e64c10bc)
Tim Potter [Mon, 17 Feb 2003 04:41:08 +0000 (04:41 +0000)]
Add KRBCLIENT_OBJ to PYTHON_OBJ list.
(This used to be commit
651be759b3db98133feb6fe8c578964ec7b5cf71)
Tim Potter [Mon, 17 Feb 2003 04:35:32 +0000 (04:35 +0000)]
Return a WERROR instead of a NTSTATUS like the rest of the srvsvc
rpc calls.
(This used to be commit
619af61644ecc221c45e5cf69d562451b5b9f951)
Andrew Bartlett [Mon, 17 Feb 2003 00:58:47 +0000 (00:58 +0000)]
If we didn't make the server_info correctly, then don't segfault trying to
set the 'guest' bit.
Andrew Bartlett
(This used to be commit
960c53bf952de4431da4e90da035fcfbe98f1bd7)
Andrew Bartlett [Mon, 17 Feb 2003 00:07:38 +0000 (00:07 +0000)]
People were being tripped up by the fact that we havn't updated acconfig.h
as we don't need it for autoconf 2.53. Remove it from CVS, and assert the
newer autotools in configure.in
Andrew Bartlett
(This used to be commit
14b38c004f4bd5b695d04941b03e3bfa31372da3)
Andrew Bartlett [Sun, 16 Feb 2003 22:10:48 +0000 (22:10 +0000)]
Add the 'session key' output of the NTLMSSP exchange to the cli struct, so
it can be used for 'net rpc join'.
Also fix a bug in our server-side NTLMSSP code - a client without any domain
trust links to us may calculate the NTLMv2 response with "" as the domain.
Andrew Bartlett
(This used to be commit
ddaa42423bc952e59b95362f5f5aa7cca10d1ad4)
Richard Sharpe [Sun, 16 Feb 2003 17:16:06 +0000 (17:16 +0000)]
Recover much of my changes to editreg.c. Add some const and start coding
the regedit file parser etc.
(This used to be commit
5040b498675b91cd18bc7fe4456c94df0a8fa41d)
Gerald Carter [Sat, 15 Feb 2003 23:36:18 +0000 (23:36 +0000)]
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
messages being sent that have junk for strings;
fix in response to changes for CR 1504
(This used to be commit
043b9dff22e909fc290c34d879cad8b4c980fc13)
Alexander Bokovoy [Sat, 15 Feb 2003 22:51:15 +0000 (22:51 +0000)]
Third-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.
While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.
This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
(This used to be commit
643172ac1a9b53823d704690eb03120074bbef78)
Andrew Bartlett [Sat, 15 Feb 2003 21:41:01 +0000 (21:41 +0000)]
Don't return NULL pointers for now.
We should look into how to deal with NULL v "" strings, and the NTLMSSP code
underneath properly at some stage.
Andrew Bartlett
(This used to be commit
dc934412b0190ea75073cccddac45e74ebcd4a6b)
Simo Sorce [Sat, 15 Feb 2003 21:36:28 +0000 (21:36 +0000)]
fix dumb perror used without errno beeing set.
thanks to RedHat developers for the report
(This used to be commit
4a3c6c62d979707900b95e6c38b0132f522269ca)
Jelmer Vernooij [Sat, 15 Feb 2003 16:35:20 +0000 (16:35 +0000)]
Some small updates
(This used to be commit
10a97c22637ce5320b4d30d7724d200d25fbfd25)
Alexander Bokovoy [Sat, 15 Feb 2003 15:50:24 +0000 (15:50 +0000)]
When checking for tgetent, include libtinfo from recent Ncurses as well
(This used to be commit
c88a5b1abaaee9aea3ece5677fce8b79bcd00552)
Alexander Bokovoy [Sat, 15 Feb 2003 15:47:32 +0000 (15:47 +0000)]
Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found.
(This used to be commit
ca27334ba0f2ffbe0fd2a18ef5edf644d4e52190)
Jelmer Vernooij [Sat, 15 Feb 2003 14:44:25 +0000 (14:44 +0000)]
Add draft of universal passdb document that combines ENCRYPTION.sgml,
Samba-LDAP-HOWTO.sgml, pdb_mysql.sgml and pdb_xml.sgml
(This used to be commit
fc26d1bfd15e8762628f115dd18e9d716bbea0e8)
Jelmer Vernooij [Sat, 15 Feb 2003 14:17:03 +0000 (14:17 +0000)]
Remove obsolete textdocs - they have been migrated to SGML
(This used to be commit
327075d14f266170de140d728b4a4a4283e65026)
Jelmer Vernooij [Sat, 15 Feb 2003 14:13:55 +0000 (14:13 +0000)]
Fix *a lot* of syntax errors
(This used to be commit
41753997ae427bdca86c98d35f0aff7eb3293995)
Andrew Bartlett [Sat, 15 Feb 2003 12:20:22 +0000 (12:20 +0000)]
Move our NTLMSSP client code into ntlmssp.c. The intention is to provide a
relitivly useful external lib from this code, and to remove the dupicate
NTLMSSP code elsewhere in samba (RPC pipes, LDAP client).
The code I've replaced this with in cliconnect.c is relitivly ugly, and
I hope to replace it with a more general SPENGO layer at some later date.
Andrew Bartlett
(This used to be commit
b2b66909ac2e251f8189e0696b6075dbf748521a)
Jelmer Vernooij [Sat, 15 Feb 2003 02:04:41 +0000 (02:04 +0000)]
Use more portable @SHLIBEXT@ instead of .so
(This used to be commit
ba25db83f241a28200132f3dc52f7f5f93a3b00e)
Jelmer Vernooij [Sat, 15 Feb 2003 02:02:51 +0000 (02:02 +0000)]
Remove obsolete file lib/netatalk.c - We have a VFS module now
(This used to be commit
28653989cfe5d705b99a4888c0c3fb79d1f89162)
Jeremy Allison [Sat, 15 Feb 2003 01:34:34 +0000 (01:34 +0000)]
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
(This used to be commit
81f358b632dbf7043d2a716359b0fcf7c647af0a)
Jelmer Vernooij [Sat, 15 Feb 2003 01:08:08 +0000 (01:08 +0000)]
Add reference to example mysql.dump file
(This used to be commit
ed46cb9e64e5c58cef6e2469438bacaae9dcdce8)
Andrew Bartlett [Sat, 15 Feb 2003 00:29:21 +0000 (00:29 +0000)]
Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
users w/o full administrative access on computer accounts to join a
computer into AD domain.
The patch and detailed changelog is available at:
http://www.itcollege.ee/~aandreim/samba
This is a list of changes in general:
1. When creating machine account do not fail if SD cannot be changed.
setting SD is not mandatory and join will work perfectly without it.
2. Implement KPASSWD CHANGEPW protocol for changing trust password so
machine account does not need to have reset password right for itself.
3. Command line utilities no longer interfere with user's existing
kerberos ticket cache.
4. Command line utilities can do kerberos authentication even if
username is specified (-U). Initial TGT will be requested in this case.
I've modified the patch to share the kinit code, rather than copying it,
and updated it to current CVS. The other change included in the original patch
(local realms) has been left out for now.
Andrew Bartlett
(This used to be commit
ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
Andrew Bartlett [Sat, 15 Feb 2003 00:10:09 +0000 (00:10 +0000)]
Move our NTLMSSP code into easily seperated peices, not relying on the whole
of libsmb.
Andrew Bartlett
(This used to be commit
b5ec7efa80478187124c1cfa8c7fcc4036506a37)
Andrew Bartlett [Fri, 14 Feb 2003 23:34:32 +0000 (23:34 +0000)]
Oops, forgot the header file changes.
(This used to be commit
5492fc1144abac74959b7e0938ce1bb387fa7429)
Andrew Bartlett [Fri, 14 Feb 2003 23:13:05 +0000 (23:13 +0000)]
NTLMSSP parinoia - we really don't want to run over the end of our blob,
and make sure we can never get an 'authenticate' packet without a challenge.
Andrew Bartlett
(This used to be commit
4d94f8e6912c1339515cd1f68d1b698e7c699626)
Jeremy Allison [Fri, 14 Feb 2003 23:04:03 +0000 (23:04 +0000)]
Ensure that only parse_prs.c access internal members of the prs_struct.
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit
4c3ee228fcdb089eaeead95e79532a9cf6cb0de6)
Gerald Carter [Fri, 14 Feb 2003 22:24:49 +0000 (22:24 +0000)]
off by one bug in string length; CR 1159
(This used to be commit
4b5b0bcd9092a6003e3494dda949e03e803ec0aa)
Jim McDonough [Fri, 14 Feb 2003 20:10:43 +0000 (20:10 +0000)]
Put dynrpc modules as part of make all, when specified in configure.
(This used to be commit
b44be1c7c4b8c7a8c1d35fe8b24aeff0ff0af32b)
Andrew Bartlett [Fri, 14 Feb 2003 10:47:07 +0000 (10:47 +0000)]
Further extract our NTLMv2 code into smbencrypt.c, prior to merge into our
NTLMSSP client code.
Andrew Bartlett
(This used to be commit
eaa8e7d1f82b30e7af14a0a58d7ca3eb66a06053)
Martin Pool [Fri, 14 Feb 2003 06:34:59 +0000 (06:34 +0000)]
Tim Potter [Fri, 14 Feb 2003 05:07:05 +0000 (05:07 +0000)]
Simplify some return values in gencache functions:
- return ret == 0 ? True : False;
+ return ret == 0;
and
- return tdb_close(cache) ? False : True;
+ return tdb_close(cache) != -1;
(This used to be commit
026b988b132ec76fdd3821639960658e1d36cd43)
Tim Potter [Fri, 14 Feb 2003 00:23:31 +0000 (00:23 +0000)]
Fix for trusted domains scan not working inspired by Ken Cross.
(Sorry - I should have checked this in yesterday but forgot)
(This used to be commit
7420ddcda8e7189cedacb2c60f5ea265b8c35bda)
Rafal Szczesniak [Thu, 13 Feb 2003 21:40:35 +0000 (21:40 +0000)]
A few typo fixes Andrew eventually let off to me.
Rafal
(This used to be commit
16a66cf17a544a214b7c5b483c81c7568a18a779)
Jeremy Allison [Thu, 13 Feb 2003 19:42:50 +0000 (19:42 +0000)]
Removed unused variable.
Jeremy.
(This used to be commit
c9654c8ec71903c59ff5f66c3fd6ea1baa599133)
Alexander Bokovoy [Thu, 13 Feb 2003 16:29:12 +0000 (16:29 +0000)]
Fix typo in WIFSIGNALED (as per Waider's report)
(This used to be commit
4463ffeed91163314d2d903a271b29e87edaadcf)
Jeremy Allison [Thu, 13 Feb 2003 06:52:45 +0000 (06:52 +0000)]
Merge JohnR's patch.
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.
(This used to be commit
d079edf7327acba7f00b5868e7e6ce91ddc1eb14)
Martin Pool [Thu, 13 Feb 2003 04:46:55 +0000 (04:46 +0000)]
Add FIXME about checking exit code for popen'd commands.
Fix typo.
(This used to be commit
2b5664823e05e328c86051fb607182ad20d786d4)
Martin Pool [Thu, 13 Feb 2003 04:45:40 +0000 (04:45 +0000)]
waitstatus audit: Correctly handle case where smbmnt is killed by a
signal. Previously this was incorrectly treated as success.
(This used to be commit
fe5582c1b2e1c6a6ed5e048dd169a1fcf908069c)
Martin Pool [Thu, 13 Feb 2003 01:05:56 +0000 (01:05 +0000)]
Doc
Set HTML output directory
(This used to be commit
38b5a219eeec128db4630a9fb8d0615324cc74e7)
Martin Pool [Thu, 13 Feb 2003 00:37:35 +0000 (00:37 +0000)]
Update towards automatic building on dp.samba.org:
Remove features not supported by Doxygen 1.2.14 on RH7.3.
Remove dependence on dot tool, which is apparently not in Redhat, and
doesn't produce very interesting results for C code anyhow.
Make Doxygen --quiet to support running from cron.
Remove references to files which are gone from Samba
(CodingSuggestions).
Put HTML output in the right directory.
(This used to be commit
5904260f4842adb36e30b36b37cf7e6ed1bc03f2)
Jeremy Allison [Wed, 12 Feb 2003 23:51:05 +0000 (23:51 +0000)]
Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.
(This used to be commit
19f577e23ba3dd9101fb3e77a729906fdb8f5df7)
Jeremy Allison [Wed, 12 Feb 2003 20:38:02 +0000 (20:38 +0000)]
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
Jeremy.
(This used to be commit
ba0f47f78db488bd8dcd59023f48aa77a1cb2c27)
Gerald Carter [Wed, 12 Feb 2003 16:43:47 +0000 (16:43 +0000)]
adding more descriptions for nt status codes
(This used to be commit
dfceb0aab5d97df5b6b744143db254656398f0e9)