1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

10020 Commits

Author SHA1 Message Date
Richard Sharpe
e9a20f7419 More of coolo's changes for UTF-8 and some minor fixes of mine.
(This used to be commit 21a99fdec3)
2003-04-02 20:17:28 +00:00
Jelmer Vernooij
48dff2870c There's no need to use LDAP_CFLAGS, just use CFLAGS
(This used to be commit 5d2fd222a9)
2003-04-02 18:49:36 +00:00
Jelmer Vernooij
0ae1b49b21 Only use cflags and libs from krb5 when they appear to be working - fixes
build on BSD machines that have a krb5-config that returns @INCLUDE_des@ for
--cflags
(This used to be commit e05d78699c)
2003-04-02 18:45:47 +00:00
Richard Sharpe
63f153c808 Commit some more fixes for Coolo ...
(This used to be commit e1a159c55f)
2003-04-02 18:32:31 +00:00
Jelmer Vernooij
46a6e1f0de Add static
(This used to be commit 674d0ca5d8)
2003-04-02 17:10:05 +00:00
Jelmer Vernooij
494f339ca8 Add const (from a patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 8b5ad24231)
2003-04-02 17:04:33 +00:00
Jelmer Vernooij
35d546ecd1 Add KRB5LIBS to smbmount
(This used to be commit cdaa3bf12e)
2003-04-02 15:46:25 +00:00
Jelmer Vernooij
c64d654797 Link in lib/snprintf.o with editreg for use on systems that don't have snprintf
(This used to be commit 7cd2c44745)
2003-04-02 15:42:44 +00:00
Jelmer Vernooij
b5c7e3377f Add EDITREG_OBJ
(This used to be commit fef586d6cd)
2003-04-02 15:25:19 +00:00
Jelmer Vernooij
388af65857 Only link in popt when we need it
(This used to be commit a5a980eb3e)
2003-04-02 15:08:31 +00:00
Andrew Bartlett
75c1bf29a8 Map a useless error code to a useful one...
(This used to be commit 1afb2695a0)
2003-04-02 15:04:47 +00:00
Andrew Bartlett
de8a78e722 Print out the 'freindly' error message from winbind. Also print useful
information into it re the privilaged pipe.

Also clean up some bugs in winbindd_pam.c

Andrew Bartlett
(This used to be commit e73b01204a)
2003-04-02 15:03:07 +00:00
Jelmer Vernooij
8d9962f1d3 Only link in libs when they are actually used. Works great here and on
one of my other boxes. I'll watch the buildfarm.
(This used to be commit 266c3970df)
2003-04-02 14:59:21 +00:00
Jelmer Vernooij
22c6b5be5a Fix searching master ip by bcast when old master has gone away (based on patch by Stephan Kulow <coolo@kde.org>)
(This used to be commit 5c0e4b4dc6)
2003-04-02 14:11:51 +00:00
Andrew Bartlett
0d01c00f07 error_string, not error_message...
(This used to be commit ce197eae8d)
2003-04-02 13:49:51 +00:00
Andrew Bartlett
1a3f303029 Clean up ntlm_auth a bit, and add a --diagnositics swtich, to check that
the returned session key is the one that we expect to get for that each
of login.

Andrew Bartlett
(This used to be commit fa47e44b9c)
2003-04-02 13:34:53 +00:00
Jelmer Vernooij
4392be0a47 Add const
(This used to be commit 7dccd144b7)
2003-04-02 11:06:42 +00:00
Simo Sorce
a557af96e9 THE Idmap patch :-)
includes a --with-idmap=no switch to disable idmap usage if you find
problems.

cosmetic fixes and param aliases to separate winbind from idamp roles.

A temporarily remote idmap winbind compatibility backend.
As I have time I will further change code to not call directly winbind
(partly done but not tested) and a specilized module will be built in place
for the current glue hack.

The patch has been tested locally in my limited time, the patch is simple and
clear and should not reserve problems, if any just disable it.

As usual, comments and fisex are welcome :-)

Simo.
(This used to be commit 0278132047)
2003-04-02 10:36:02 +00:00
Andrew Bartlett
66806b53dc Fix a crash bug if LDAP doesn't fill in ld_error.
Andrew Bartlett
C VS: ----------------------------------------------------------------------
(This used to be commit d84a3fc522)
2003-04-02 08:28:32 +00:00
Jeremy Allison
f6f96c2966 Subtle changes to message handling after ENUMJOBS.
Jeremy.
(This used to be commit 48f3bf0ea5)
2003-04-02 02:26:01 +00:00
Andrew Bartlett
a4fe384f1d OHKAWA Yuichi (kuri@makino.ecei.tohoku.ac.jp) points out that using
decoded.length after it's been zero'ed out by data_blob_free() doesn't
give you the original length...

Andrew Bartlett
(This used to be commit 647a720cfb)
2003-04-02 00:03:52 +00:00
Gerald Carter
c5ff693082 fix potential handle leak in _spoolss_open_printer_ex(); final fix for CR2102; reviewed by jra
(This used to be commit 3d37e1ece9)
2003-04-01 14:58:42 +00:00
Jelmer Vernooij
916ef755d3 Fix build of shared xml/mysql modules
(This used to be commit 860e4c4561)
2003-04-01 11:25:34 +00:00
Andrew Tridgell
d84acbc8aa changed the order of checking whether a SID is a UID or a GID in posix
acls. This is needed because sid_to_uid always claims that the sid is
a user, due ot a change I made some months back.

This change was suggested by Chere Zhou, but is really an interim
measure. Chere is looking at a longer term solution.
(This used to be commit b3edfa9196)
2003-04-01 11:12:42 +00:00
Andrew Tridgell
65d7f6afba reversed the sense of the TCON test, now that we know that win2003
fixes this. This means that TCON fails on win2000, but passes on Samba
and win2003
(This used to be commit 591a500ed7)
2003-04-01 10:56:23 +00:00
Jelmer Vernooij
353b10b900 Remove useless popt options
(This used to be commit 861b2a464f)
2003-03-31 20:37:31 +00:00
Gerald Carter
b5733dd6ef fix potential smbd crash when we fail to alloacte a policy handle for a printer open; CR 2102 (reviewed by jreilly)
(This used to be commit a179c2cefb)
2003-03-31 17:39:21 +00:00
Alexander Bokovoy
9d3b00b4bf Fix vfs to work with P_LIST-ed lp_vfsobj() -- the traversal is reversed. Based on patch from Metze
(This used to be commit 2a86ef7828)
2003-03-31 16:27:11 +00:00
Jelmer Vernooij
96b5d5bdfd - Support absolute paths in vfs and charset modules
- Fix typo in Makefile.in
- Fix compatibility with older vfs modules (from patch by metze)
- Build some modules shared by default and some static (and fall
  back to static when dlopen() is not available)
(This used to be commit aa36f462d9)
2003-03-31 15:06:34 +00:00
Jelmer Vernooij
8bb5a02f8c Fix formatting of back traces - pathc by metze
(This used to be commit 9cc17bcfe6)
2003-03-31 12:29:50 +00:00
Volker Lendecke
b5622cd977 3 things:
* Remove 'ldap del only sam attr' after asking Lars Mueller from SuSE first.
  It is replaced by 'ldap delete dn'

* Fix a typo in docs.

* Document 'set primary group script'. Alexander, could you check the
  file in smbdotconf/ please? Thanks.

Volker
(This used to be commit f0a32b9c1b)
2003-03-31 11:02:22 +00:00
Volker Lendecke
5254875329 Waider's cosmetic change to print out the database type when
downloading stuff.

Volker
(This used to be commit b86ea50fa6)
2003-03-31 10:44:21 +00:00
Andrew Bartlett
1e4aaa5a72 Fix a botched merge from appliance-head...
We have an extra NULL here, which is (if I understand correctly) related
to a optional 'charset conversion' function.

In any case, as this is a variable args length function, the compiler
didn't pick it up.

Would it be possible to change applicance_head (or even HEAD) in such
a way that this extra arg would cause a warning?

Finding this by testing is getting painful...

Andrew Bartlett
(This used to be commit b4e52d90f8)
2003-03-31 08:14:37 +00:00
Tim Potter
836454ed58 Tidyup of winbindd client OS specific autoconf code.
(This used to be commit b20b8d050b)
2003-03-31 05:51:41 +00:00
Tim Potter
2f79b170c8 Placeholder for winbind aix client.
(This used to be commit 872b2ba35b)
2003-03-31 05:47:59 +00:00
Tim Potter
364519a843 autoconf change to compile winbindd for AIX. The client side code
is still under development.
(This used to be commit d110a56e43)
2003-03-31 05:46:32 +00:00
Tim Potter
6c33130c0f Cleanup of winbind client side code.
Mostly this consists of untangling the existing code and moving it in
to operating system specific files.  The winbind client code for all
supported operating systems is now in nsswitch/winbind_nss_OSNAME.[ch]
to make things a bit clearer.
(This used to be commit 93ea047a16)
2003-03-31 04:36:01 +00:00
Andrew Bartlett
8b48212245 NT4 is particularly fussy about getting this right.
Andrew Bartlett
(This used to be commit 055a499afb)
2003-03-31 02:30:49 +00:00
Tim Potter
4b664cfccb Break the current build dependency on perl. Perl is required for
include/tdbsam2_parse_info.h which is included by sam/gumm_tdb.c which
doesn't seem to be used anywhere.

It would be nice to have the tdbsam2 stuff hidden behind a --with
configuration parameter so it doesn't interfere with normal builds.

(One of the build farm machines doesn't have perl installed).
(This used to be commit 58924582e8)
2003-03-31 01:44:42 +00:00
Andrew Bartlett
663e5a380c Success is not a level-0 issue...
Andrew Bartlett
(This used to be commit 54e736e6f4)
2003-03-31 01:30:19 +00:00
Andrew Bartlett
ea279249c9 Don't try and dlsym or dlclose a NULL pointer.
The new modules system does not always dlopen() it's modules, and when it
does, it keeps them open for the life of the server, not the life of the
connection.

This caused a segfault on every tree disconnect!

Andrew Bartlett
(This used to be commit c76ecbae62)
2003-03-31 01:08:59 +00:00
Gerald Carter
47f230b761 add a few error checks in EnumPrinterData()
(This used to be commit 453813ec6e)
2003-03-31 01:00:34 +00:00
Tim Potter
f60980b3f2 distclean fixups from Paul Green.
(This used to be commit 3776840227)
2003-03-30 23:44:22 +00:00
Gerald Carter
750468d427 update copyright notice since it we are now almost 4 months into 2003
(This used to be commit 6a17c23a54)
2003-03-30 23:03:27 +00:00
Jelmer Vernooij
aef719f753 Fix installation of auth and charset modules (reported by Stephan Kulow)
(This used to be commit 2a281784c9)
2003-03-30 21:23:01 +00:00
Volker Lendecke
ad7364c840 This sets the domain for the user in vampire. Otherwise
we end up with an empty domain field, which a workstation
does not really like in sam_logon..

Volker
(This used to be commit e0cb325b99)
2003-03-30 16:46:28 +00:00
Volker Lendecke
332f6f9513 This fixes group updates in LDAP the same way as user updates
are handled, though we assume that always everything needs to
be updated in LDAP. PDB_IS_* is not done yet for groups.
Do we need it?

Volker
(This used to be commit 409a26282f)
2003-03-30 16:40:13 +00:00
Volker Lendecke
17d188d999 This changes our handling of invalid service types that the
client requested on tconx. We now return the same error
code like NT4SP6 and W2kSP3 return.

TCONDEV is a little test for this.

Volker
(This used to be commit 6ab88f31d6)
2003-03-30 16:36:21 +00:00
Jelmer Vernooij
7ea0ef92cb - Point users at the HOWTO Collection instead of 'README' in modules/mysql.c
- Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow
(This used to be commit 794d3ed036)
2003-03-30 12:42:18 +00:00
Andrew Tridgell
cb830f05ae added simple tests for SMBchkpath and SMBioctl
(This used to be commit ca982a9f1d)
2003-03-30 09:45:44 +00:00