1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-15 16:59:09 +03:00
Commit Graph

15694 Commits

Author SHA1 Message Date
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 b1829da8f7)
2008-03-28 10:38:12 +11:00
de80e63efa Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 59d8d17093)
2008-03-28 10:19:21 +11:00
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 5a740f4daa)
2008-03-28 10:18:06 +11:00
e15b35e389 Remove define that appears to cause configure test breakage on Julien's machine.
(This used to be commit f47df57615)
2008-03-27 22:26:37 +01:00
677dc6aa89 provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file
(This used to be commit 19c29f4738)
2008-03-27 17:49:56 +01:00
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 4ae4692bc6)
2008-03-27 11:56:51 +01:00
d554590d33 Fix how we initialise the oplocks parameter.
Andrew Bartlett
(This used to be commit 08ec91958d)
2008-03-27 21:00:04 +11:00
91ae032c53 Actually call into lp_oplocks() in share_classic backend.
Andrew Bartlett
(This used to be commit 2c18482b19)
2008-03-27 20:50:39 +11:00
7f2927528c Fix references to ntvfs share config
Andrew Bartlett
(This used to be commit 4e4152dfd7)
2008-03-27 20:40:40 +11:00
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 7c7a1a2b1f)
2008-03-27 20:38:36 +11:00
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 f2c65f9907)
2008-03-27 20:32:02 +11:00
2c9ee20f15 selfteset: oplocks are enabled by default now
metze
(This used to be commit 9342c4f5ff)
2008-03-27 10:12:19 +01:00
71e2f7d260 opendb_tdb: enable oplocks per default
metze
(This used to be commit 225a9852ee)
2008-03-27 10:11:48 +01:00
83ea6d5f55 Prepare for Samba4 alpha3.
I need help with filling this list of changes out.

Andrew Bartlett
(This used to be commit 990476261c)
2008-03-27 17:34:25 +11:00
4bb658d5c8 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit e109567308)
2008-03-26 15:42:43 +11:00
d5a71ed633 Remove old js versions of newuser and provision.
Andrew Bartlett
(This used to be commit 861a85985d)
2008-03-26 15:42:20 +11:00
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 ba30e82d4e)
2008-03-26 15:18:17 +11:00
07251792d4 Add some more header properties as inline comments to the generated samba3 client.
Guenther
(This used to be commit 8ca4b0b094)
2008-03-25 17:42:08 +01:00
5738491674 Remove pointless cast
(This used to be commit 9a1466abbd)
2008-03-25 16:36:13 +11:00
dc49ae599e Remove useless extra argument to samdb_result_account_expires().
Andrew Bartlett
(This used to be commit bc607c334f)
2008-03-25 15:25:13 +11:00
2d08a03c50 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 3903ef9168)
2008-03-25 10:29:35 +11:00
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 8d44f997c8)
2008-03-21 10:36:58 +01:00
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 16b4a3685b)
2008-03-20 23:17:44 +01:00
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 eb459be878)
2008-03-20 23:17:37 +01:00
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 078a6fdb3f)
2008-03-20 23:15:46 +01:00
89870f2d9a Explain why this attribute should be skipped.
Andrew Bartlett
(This used to be commit 7503f93f2f)
2008-03-20 15:14:49 +11:00
21507f3b7d Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 7c4356084a)
2008-03-20 13:25:05 +11:00
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 2f2b110fb8)
2008-03-20 12:12:10 +11:00
028ba4682c ntlm_auth: Improve compliance to the Squid helper protocol.
This fixes bug #4235 for Samba4.
(This used to be commit b6bb762105)
2008-03-20 00:44:29 +01:00
3cdf0c64dd Extend the ldap.js test to prove faults with the LDAP backend.
Try to provide more information to see why OpenLDAP isn't quite up to
being a Samba4 Backend.

Andrew Bartlett
(This used to be commit 89458c7d8b)
2008-03-19 12:12:24 +11:00
79a25a648d Indent
Andrew Bartlett
(This used to be commit d2b5f40d80)
2008-03-19 12:06:37 +11:00
a08e951eb8 Remove unused variable.
(This used to be commit 1de21f5fdd)
2008-03-19 11:15:04 +11:00
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 8d4c831184)
2008-03-19 11:11:55 +11:00
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 b5dbdef158)
2008-03-19 11:10:19 +11:00
aaf62085dd Merge branch 'v4-0-logon' of git://git.id10ts.net/samba into 4-0-local
(This used to be commit 8252b51850)
2008-03-19 11:04:42 +11:00
b1b37e3776 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 400c16e700)
2008-03-19 10:18:35 +11:00
9e6b0c2871 Merge lorikeet-heimdal -r 787 into Samba4 tree.
Andrew Bartlett
(This used to be commit d88b530522)
2008-03-19 10:17:42 +11:00
52669d8472 lib/util: use LIBREPLACE_NETWORK as EXT_NSL doesn't exist anymore
metze
(This used to be commit b7dad8674a)
2008-03-18 18:04:23 +01:00
96197fa871 libndr: EXT_NSL doesn't exist anymore, but it wasn't needed anyway
metze
(This used to be commit 33347928e1)
2008-03-18 18:04:23 +01:00
d46636950d socket_wrapper: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 1dd8e37756)
2008-03-18 18:04:22 +01:00
0372704fa2 heimdal_build: use LIBREPLACE_NETWORK because EXT_SOCKET and EXT_NSL doesn't exist anymore
metze
(This used to be commit 0fb3d24621)
2008-03-18 18:04:22 +01:00
a310b0b843 libreplace: replace.c does not need system/network.h anymore.
Michael
(This used to be commit 2d3c2f34f3)
2008-03-18 17:50:23 +01:00
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 94ac8a25be)
2008-03-18 17:21:18 +01:00
7d336254ce ldb: not every shell supports '==' so use '='
metze
(This used to be commit b5eeaf9b27)
2008-03-18 16:53:21 +01:00
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 37c87acc9d)
(This used to be commit 5757d8dfe9)
2008-03-18 16:40:46 +01:00
6f6d38d24a Fix Coverity ID 554
(cherry picked from commit 471b1b0c58)
(This used to be commit effda48a26)
2008-03-18 16:40:46 +01:00
7fb3963032 Check the return value of fgets
(cherry picked from commit b8aaa9a69f)
(This used to be commit 8f58d39c0c)
2008-03-18 16:40:46 +01:00
4d16e17e04 libreplace: remove duplicate entry of inet_ntoa from README.
Michael
(This used to be commit 98ee8c8430)
2008-03-18 16:31:15 +01:00
4500b95c89 libreplace: remove trailing white spaces.
Michael
(This used to be commit 1f9ca7eed9)
2008-03-18 16:30:15 +01:00
87b48a8126 libreplace: replace inet_ntoa() when it is missing
...not only replace it when it is broken.

This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.

NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.

So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.

Michael
(This used to be commit 974c0c45ad)
2008-03-18 16:30:15 +01:00