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

9994 Commits

Author SHA1 Message Date
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
Andrew Bartlett
bcd9a08802 Don't modify the incoming packet when checking the signiture.
Andrew Bartlett
(This used to be commit 7064edf853)
2003-03-30 02:52:47 +00:00
Andrew Tridgell
6fca8cc8a7 fixed the -B option as well
(This used to be commit 0c12a206bb)
2003-03-30 00:00:10 +00:00
Andrew Tridgell
097a7b52e7 fixed the -U option in nmblookup
please remember to *test* your changes before committing them. This is
especially the case when you receive patches from outside the team -
before you commit you must make sure that the patch actually works.
(This used to be commit 1d3c7e7fb6)
2003-03-29 23:55:54 +00:00
Andrew Tridgell
19a384a54c updated the TCON test so that win2000 passes. Samba now fails this
test.

It is an interesting test because it shows that win2000 completely
ignores the TID and VUID fields in a SMBwriteX. In Samba it is hard to
do this as we check the VUID and TID fields before we call the SMB
specific reply functions.

The test also shows that the list of open files must be global to the
socket, not specific to a tcon.
(This used to be commit be98069c4e)
2003-03-29 23:30:53 +00:00
Andrew Tridgell
dfcf1634bc added a simple test for the old SMBtcon interface
(This used to be commit c95ae394c5)
2003-03-29 12:44:42 +00:00
Richard Sharpe
a6fad1ca72 More patches from coolo. One of these functions needs to be moved
elsewhere so other code can use it.
(This used to be commit b988e16b7d)
2003-03-28 21:41:27 +00:00
Richard Sharpe
250b5f83e9 Some fixes to URL syntax from coolo.
(This used to be commit de49c3f48f)
2003-03-28 21:07:44 +00:00
Gerald Carter
6cc35405ab fix CIDR hosts allow/deny notation
(This used to be commit 0dc6115694)
2003-03-28 15:42:57 +00:00
Andrew Bartlett
a959e5c44a Merge from HEAD - get better error strings from the ldap server in pdb_ldap.
Andrew Bartlett
(This used to be commit 5dc29b10b0)
2003-03-28 10:02:43 +00:00
Andrew Bartlett
87e2a1b9db Allow the new modules system to function with builtin vfs modules.
If we don't have a vfs path set, just pass the original file name.

In future, we need to seperate the default path as a seperate paramater.

Andrew Bartlett
(This used to be commit 93c91a2e9d)
2003-03-28 05:24:21 +00:00
Gerald Carter
d9eef2fbc2 don't include proto.h during autoconf tests since it doesn't exist yet; fixed getsmbpass replacement test
(This used to be commit ff43a292b9)
2003-03-28 02:02:32 +00:00
Gerald Carter
0995fb1eef fix up IPC/LPT:/A: devicetype in tcon_and_X
(This used to be commit a9ccae314f)
2003-03-28 02:00:19 +00:00
Andrew Tridgell
893cbb7592 it is possible for some of the real time signals to be used by glibc,
which then changes SIGRTMIN. It is also possible for bash to leave
some real time signals blocked at startup. This fixes both problems.
(This used to be commit 8d45bf644a)
2003-03-28 01:05:32 +00:00
Andrew Tridgell
0e1ad952fb its VFS_NETATALK_OBJ not VFS_NETATALK
(This used to be commit 662e1bea1b)
2003-03-28 00:28:55 +00:00
Andrew Tridgell
d4b4e02fb8 removed a duplicate lump of module stuff in configure.in
(This used to be commit 0502c8a06e)
2003-03-28 00:21:01 +00:00
Jelmer Vernooij
28f7d7588a Compile @VFS_STATIC@ into smbd and vfstest
(This used to be commit 0133c0a2ee)
2003-03-27 23:36:16 +00:00
Jelmer Vernooij
6d620e0e00 Also rebuild smbd/vfs.o after reconfiguring
(This used to be commit afda828b38)
2003-03-27 23:31:15 +00:00
Jelmer Vernooij
85a1207a47 Put backwards compatibility support for old modules in a seperate function
(This used to be commit 2dd00078ee)
2003-03-27 16:33:59 +00:00
Volker Lendecke
7c6a4de6f9 This is no functional change. It just makes pdb_ldap.c a bit
easier to understand by moving the logic for init_ldap_from_sam
and friends around.

Volker
(This used to be commit 124c80facb)
2003-03-27 14:30:10 +00:00
Andrew Bartlett
75d4193e63 local_gid_to_sid() could use pdb_ldap, which for now requires ROOT.
(This used to be commit a51ce67e32)
2003-03-27 12:54:50 +00:00
Jelmer Vernooij
11db21cc1c Use the new modules system in VFS. If a module can't be loaded with the
new modules system, we still fall back to the old system.
(This used to be commit cebe8d8b42)
2003-03-27 12:08:46 +00:00
Christopher R. Hertel
e6df31f14b The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
The definition of pstrcpy_base(), and the preceeding comments, were given
twice (probably a cut/paste error).
(This used to be commit 5306f6f7c8)
2003-03-27 05:11:25 +00:00
Jeremy Allison
1556b9b53c Fix DOS del command with widelinks = False.
Jeremy.
(This used to be commit ae754e9355)
2003-03-26 22:15:37 +00:00
Jelmer Vernooij
4c74bfcbda Remove LDAP_LIBS and just use LIBS again as before. I'll
fix this better later.
(This used to be commit c6807d2045)
2003-03-26 20:16:48 +00:00
Jeremy Allison
43c5f197ef Add defines for platforms that need them.
Jeremy.
(This used to be commit f81128bc01)
2003-03-26 19:42:51 +00:00
Jeremy Allison
4d7388641a Fix extra NULL arg added during app-head merge.
Jeremy.
(This used to be commit 4868633bc8)
2003-03-26 19:31:44 +00:00