1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

15201 Commits

Author SHA1 Message Date
Andrew Bartlett
786deaf928 Make the setup/newuser and setup/setpassword scripts actually work...
These need a testsuite, but this will come soon.

Andrew Bartlett
(This used to be commit fbcaa622bd1929399e32326349e96b6676a49b96)
2008-03-28 12:08:54 +11:00
Jelmer Vernooij
0cffe98049 Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test
(This used to be commit b6c61bee649734f6000fbf3fe3736d8c82155ac9)
2008-03-28 01:00:48 +01:00
Andrew Bartlett
4eb694389c No longer install SWAT files
Andrew Bartlett
(This used to be commit cd275862c65542ea1118cfb76d7d1b082427098a)
2008-03-28 10:39:22 +11:00
Andrew Bartlett
4ddce8c28c Don't specify what should be a default option in the generated smb.conf
Instead, sub in "", so that the default continued to come from the code.

Andrew Bartlett
(This used to be commit b1829da8f75175fcc569a3a9195f2358731055a9)
2008-03-28 10:38:12 +11:00
Andrew Bartlett
de80e63efa Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 59d8d17093efac3a177a032f2e121ea6f43a96c8)
2008-03-28 10:19:21 +11:00
Andrew Bartlett
b422a78df2 Fix 'oplocks' in loadparm.
I forgot one more place where I must specify the new config option.  I
wish this was more templated...

Andrew Bartlett
(This used to be commit 5a740f4daa79cf1b5fc9f24e424ae50e10932f4b)
2008-03-28 10:18:06 +11:00
Andrew Kroeger
b2c6ba69a4 provision: Increase max NetBIOS name length from 13 to 15.
Issue originally reported by user Julsa-FR on IRC.
(This used to be commit ee9ad77009ef5e36655a49c41730a4a963ba9d43)
2008-03-27 16:30:18 -05:00
Jelmer Vernooij
e15b35e389 Remove define that appears to cause configure test breakage on Julien's machine.
(This used to be commit f47df5761571dd5c36789fb2e225a1125ca0e8f7)
2008-03-27 22:26:37 +01:00
Kai Blin
677dc6aa89 provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file
(This used to be commit 19c29f473883be0a17fa740de9feb226f347df4a)
2008-03-27 17:49:56 +01:00
Michael Adam
35f33a2640 libreplace: fix coverity ID 517 - untangle close from open in test/os2_delete.c
This is not a proper bug but the code is clearer now
and we are tracking failure of open separate from that of close.

Michael
(This used to be commit 4ae4692bc6c6da15483a6f4a3363cdc23121efc7)
2008-03-27 11:56:51 +01:00
Andrew Bartlett
d554590d33 Fix how we initialise the oplocks parameter.
Andrew Bartlett
(This used to be commit 08ec91958d5d773dfc805869685094da749470e8)
2008-03-27 21:00:04 +11:00
Andrew Bartlett
91ae032c53 Actually call into lp_oplocks() in share_classic backend.
Andrew Bartlett
(This used to be commit 2c18482b1983b4e2764beccc20f08e9b3074816a)
2008-03-27 20:50:39 +11:00
Andrew Bartlett
7f2927528c Fix references to ntvfs share config
Andrew Bartlett
(This used to be commit 4e4152dfd70145a7a00bc42effcd07b607204926)
2008-03-27 20:40:40 +11:00
Andrew Bartlett
c24b8cbe53 Merge with metze's change for oplocks to be on by default
Andrew Bartlett
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local

Conflicts:

	source/ntvfs/common/opendb_tdb.c
(This used to be commit 7c7a1a2b1f69cb4623c8832b732e8a1343ebd109)
2008-03-27 20:38:36 +11:00
Andrew Bartlett
4fc27c9969 Make oplocks a per-share option.
This even goes via the share options system (a very odd layer of indirection).

Andrew Bartlett
(This used to be commit f2c65f9907760b8852b70c53637388f08751ba88)
2008-03-27 20:32:02 +11:00
Stefan Metzmacher
2c9ee20f15 selfteset: oplocks are enabled by default now
metze
(This used to be commit 9342c4f5ff2be16c9771fd07fbec87076af2e681)
2008-03-27 10:12:19 +01:00
Stefan Metzmacher
71e2f7d260 opendb_tdb: enable oplocks per default
metze
(This used to be commit 225a9852eeee66f22a4135a660f18b70666c1c5f)
2008-03-27 10:11:48 +01:00
Andrew Bartlett
4bb658d5c8 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit e1095673089d12e11a4e17a8d6c5b756cc9f427b)
2008-03-26 15:42:43 +11:00
Andrew Bartlett
d5a71ed633 Remove old js versions of newuser and provision.
Andrew Bartlett
(This used to be commit 861a85985d2d27f58cb8fa2fef0d445c7dac94c6)
2008-03-26 15:42:20 +11:00
Andrew Bartlett
ff8256ad6c Clean up the ldb python bindings to be 64 bit safe.
Thanks in particular to arkanes and KirkMcDonald on #python for their
assistance, suggesting breaking the DN check.

I eventually found it while trying to cut down on the number of gcc
warnings, which is why we also add printf annotations.

Andrew Bartlett
(This used to be commit ba30e82d4efcba23c49622de43d3d6fc9c800e35)
2008-03-26 15:18:17 +11:00
Günther Deschner
07251792d4 Add some more header properties as inline comments to the generated samba3 client.
Guenther
(This used to be commit 8ca4b0b0942564afa70b2e8a6d67d65ea8b75e43)
2008-03-25 17:42:08 +01:00
Andrew Bartlett
5738491674 Remove pointless cast
(This used to be commit 9a1466abbd4115f4a57d794006aca29aa0184ced)
2008-03-25 16:36:13 +11:00
Andrew Bartlett
dc49ae599e Remove useless extra argument to samdb_result_account_expires().
Andrew Bartlett
(This used to be commit bc607c334ff86624b891886a6f874da2bcff113e)
2008-03-25 15:25:13 +11:00
Andrew Bartlett
2d08a03c50 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 3903ef9168a18d34517c78536d34e147a9bc01cd)
2008-03-25 10:29:35 +11:00
Volker Lendecke
482f33077b Add my copyright
If I remember it right and when I look at the git log, then this way to do the
async functions was designed by me.
(This used to be commit 8d44f997c88b97fc40a88eebd50b6df720c0c10f)
2008-03-21 10:36:58 +01:00
Volker Lendecke
ce98599c14 Prove that a setuserinfo level 25 does set the pwdlastset field
Very likely this is not the full story, but as it happens so often this proof
is needed to fix a direct s3 bug.
(This used to be commit 16b4a3685bf59faee22882ee14ddb95918f64e22)
2008-03-20 23:17:44 +01:00
Volker Lendecke
21c7afd9b0 Add the workstation to the anon sessetup credentials
Without this patch the RPC-SAMBA3SESSIONKEY against W2k3 gives
INVALID_PARAMETER for the anonymous session setup
(This used to be commit eb459be878e98cb58c6b5779584e187cdcbf4f91)
2008-03-20 23:17:37 +01:00
Volker Lendecke
1c9fe1157c Fix a warning
Without this patch I get
./libcli/security/proto.h:45: warning: 'struct auth_session_info' declared inside parameter list
(This used to be commit 078a6fdb3f8e389102a07b81b6b8d87fa8bf17c3)
2008-03-20 23:15:46 +01:00
Andrew Bartlett
89870f2d9a Explain why this attribute should be skipped.
Andrew Bartlett
(This used to be commit 7503f93f2f07f81ada1b5d9ec8fdd3d5509376ae)
2008-03-20 15:14:49 +11:00
Andrew Bartlett
21507f3b7d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 7c4356084a389c3a4edc16f06906ce6127a3a59b)
2008-03-20 13:25:05 +11:00
Andrew Bartlett
9a1bec0801 More kludge ACLs!
Rather than killing off the nasty 'kludge ACLs' stuff, this patch
extends it, to ensure that LSA secrets and the registry are also
protected.

Andrew Bartlett
(This used to be commit 2f2b110fb870132099bad1d4c16ed8962affb3ce)
2008-03-20 12:12:10 +11:00
Kai Blin
028ba4682c ntlm_auth: Improve compliance to the Squid helper protocol.
This fixes bug #4235 for Samba4.
(This used to be commit b6bb7621053bccc9d06b1b2ee9f71b1b1acf3b70)
2008-03-20 00:44:29 +01:00
Andrew Bartlett
79a25a648d Indent
Andrew Bartlett
(This used to be commit d2b5f40d80008ca3269118915409333755b6eac3)
2008-03-19 12:06:37 +11:00
Andrew Bartlett
a08e951eb8 Remove unused variable.
(This used to be commit 1de21f5fdd9e377801af25b7ce461bdf7a16e1de)
2008-03-19 11:15:04 +11:00
Andrew Bartlett
5af56a613c More safety around ldb_dn C functions in python bindings.
Ensure that the ldb python binding 'TypeError dn not set' errors are
not in the SWIG wrapper's use of ldb functions, put some more error
checks in.

Andrew Bartlett
(This used to be commit 8d4c831184cff8bca85daf6cc711b189b5cf3a47)
2008-03-19 11:11:55 +11:00
Andrew Bartlett
576540b25c Supply HDB_DB_DIR macro
While we don't use the default HDB directories, the code needs this
macro defined.

Andrew Bartlett
(This used to be commit b5dbdef1580a58c0f208e83491946391cd08e570)
2008-03-19 11:10:19 +11:00
Andrew Bartlett
aaf62085dd Merge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local
(This used to be commit 8252b51850f108aa8f43ec25c752a411c32f9764)
2008-03-19 11:04:42 +11:00
Andrew Bartlett
b1b37e3776 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 400c16e7004bc3a881bb6efb99a273cdac87f70c)
2008-03-19 10:18:35 +11:00
Andrew Bartlett
9e6b0c2871 Merge lorikeet-heimdal -r 787 into Samba4 tree.
Andrew Bartlett
(This used to be commit d88b530522d3cef67c24422bd5182fb875d87ee2)
2008-03-19 10:17:42 +11:00
Stefan Metzmacher
52669d8472 lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymore
metze
(This used to be commit b7dad8674a3aaa27bc1103a83be75434d413239b)
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
96197fa871 libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
metze
(This used to be commit 33347928e17dead3485de7dcfb0915da4638da05)
2008-03-18 18:04:23 +01:00
Stefan Metzmacher
d46636950d socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 1dd8e3775686badfd35dca23d291af93d8cf5695)
2008-03-18 18:04:22 +01:00
Stefan Metzmacher
0372704fa2 heimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 0fb3d246212e2e7d68c1276dff1628ece9794283)
2008-03-18 18:04:22 +01:00
Michael Adam
a310b0b843 libreplace: replace.c does not need system/network.h anymore.
Michael
(This used to be commit 2d3c2f34f33338ff422047dae9cc262522689328)
2008-03-18 17:50:23 +01:00
Michael Adam
124f82efe1 libreplace: move rep_socketpair() to its own module.
Prototype is now in system/network.h,
implementation in socketpair.c, and
check in socketpair.m4.

Now the last networking function has vanished from replace.c.

Michael
(This used to be commit 94ac8a25be15b55f66eff96fdddc2fdc71a43b1e)
2008-03-18 17:21:18 +01:00
Stefan Metzmacher
7d336254ce ldb: not every shell supports '==' so use '='
metze
(This used to be commit b5eeaf9b27e0116e57825b664642d2b5cfd895f0)
2008-03-18 16:53:21 +01:00
Gerald W. Carter
1268be9f88 Fix macro name (no 's' in ifr_addr).
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(cherry picked from commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff)
(This used to be commit 5757d8dfe9e6cf7b662acdf5c3d825f0021822c0)
2008-03-18 16:40:46 +01:00
Volker Lendecke
6f6d38d24a Fix Coverity ID 554
(cherry picked from commit 471b1b0c58bc2def5d2fe9d98401def34724d447)
(This used to be commit effda48a2670325fed56e158539417c6f95381b8)
2008-03-18 16:40:46 +01:00
Volker Lendecke
7fb3963032 Check the return value of fgets
(cherry picked from commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
(This used to be commit 8f58d39c0c621e9da85308d721a146352cc4939e)
2008-03-18 16:40:46 +01:00
Michael Adam
4d16e17e04 libreplace: remove duplicate entry of inet_ntoa from README.
Michael
(This used to be commit 98ee8c84300757d778733a458c6ca3e6022b40ea)
2008-03-18 16:31:15 +01:00