1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-17 15:33:16 +03:00
Commit Graph

15226 Commits

Author SHA1 Message Date
Jelmer Vernooij
ba91b609f5 Fix dependency on samba-hostconfig. 2008-04-01 15:53:45 +02:00
Jelmer Vernooij
873941d8a8 Add context pointer to secrets functions. 2008-04-01 15:26:00 +02:00
Jelmer Vernooij
d4272bc6bc Add userdata argument to reseed callback function. 2008-04-01 15:17:18 +02:00
Jelmer Vernooij
c46b7e90e3 Rename libsamba-config to libsamba-hostconfig. 2008-04-01 15:08:30 +02:00
Jelmer Vernooij
03226035aa Add README file explaining param/. 2008-04-01 15:03:24 +02:00
Jelmer Vernooij
2dc2bb800d Move ini-like file parser to the utility library. 2008-04-01 14:51:06 +02:00
Andrew Bartlett
d947310b94 On our way to alpha4... 2008-03-29 18:17:15 +11:00
Andrew Bartlett
e906ae041a Rework 'compleated' message in provision to be more useful.
In particular, this should draw attention to accidential 'standalone'
server provisions and therefore cause less frustration.

Andrew Bartlett
2008-03-29 17:17:56 +11:00
Andrew Kroeger
982acd6f80 Makefile: Allow "make" with no arguments to build all that will be installed. 2008-03-29 00:06:02 -05:00
Andrew Kroeger
7d4c02fdfc mkrelease: Add checks to ensure run from top-level directory of repository. 2008-03-28 22:53:01 -05:00
Andrew Bartlett
96eb3f1691 Add a few more safety catches to the mkrelease.sh script.
Andrew Bartlett
2008-03-29 14:37:09 +11:00
Andrew Bartlett
e06911de33 Don't leave release trees hanging around
Andrew Bartlett
2008-03-29 14:23:43 +11:00
Andrew Bartlett
f39af7c2c3 Merge branch 'v4-0-test' of git://git.id10ts.net/samba into 4-0-local 2008-03-29 14:14:25 +11:00
Andrew Kroeger
66efff41a7 mkrelease: Update to work with Git instead of SVN. 2008-03-28 21:55:09 -05:00
Andrew Bartlett
eefd46289b Fix more valgrind issues.
This passes down the timeout more consistantly, and ensures that no
matter how the modules screw up, we don't free() the memory we are
going to write into the ASN1 packet until we actually write it out.

Andrew Bartlett
2008-03-29 13:32:15 +11:00
Andrew Bartlett
95314f29a9 Fix some valgrind issues.
These small changes seem to fix some of the early issues in 'make
valgrindtest'

Previously, the subtree_delete code didn't pass on the timeout,
leaving it uninitialised.

The ldap_server/ldap_backend.c change tidies up the talloc hierarchy a
bit.

Andrew Bartlett
2008-03-29 11:18:00 +11:00
Andrew Bartlett
6e863e5fec Finally found the magic string to skip the python registry tests.
(I really do wish it was clear what strings should be used in this file)

Until these tests authenticate, we can't pass against Samba4, and they
never could pass against AD.

Andrew Bartlett
2008-03-29 09:43:58 +11:00
Andrew Bartlett
764b7879d2 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local 2008-03-28 22:04:52 +11:00
Andrew Bartlett
727ef40c2b Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
2008-03-28 21:57:15 +11:00
Stefan Metzmacher
326ae6ce9c torture: fix compiler warnings
metze
2008-03-28 09:40:08 +01:00
Stefan Metzmacher
91dd223bd4 libcli/security: fix compiler warnings
metze
2008-03-28 09:39:32 +01:00
Stefan Metzmacher
a6cd4e7509 cldap_server: fix compiler warning
metze
2008-03-28 09:39:03 +01:00
Stefan Metzmacher
89b7955733 libreplace(samba4): let LIBREPLACE depend on LIBREPLACE_NETWORK for now
This should fix the build on solaris.
Later this needs better fixing...

metze
2008-03-28 07:56:20 +01:00
Andrew Kroeger
ebe5e83994 Convert some more files to GPLv3. 2008-03-28 01:08:49 -05:00
Andrew Bartlett
2e14b4ea64 Add tool for enabling accounts 2008-03-28 03:46:23 +11:00
Andrew Bartlett
fbcaa622bd Make the setup/newuser and setup/setpassword scripts actually work...
These need a testsuite, but this will come soon.

Andrew Bartlett
2008-03-28 12:08:54 +11:00
Jelmer Vernooij
b6c61bee64 Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test 2008-03-28 01:00:48 +01:00
Andrew Bartlett
cd275862c6 No longer install SWAT files
Andrew Bartlett
2008-03-28 10:39:22 +11:00
Andrew Bartlett
b1829da8f7 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
2008-03-28 10:38:12 +11:00
Andrew Bartlett
59d8d17093 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local 2008-03-28 10:19:21 +11:00
Andrew Bartlett
5a740f4daa 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
2008-03-28 10:18:06 +11:00
Andrew Kroeger
ee9ad77009 provision: Increase max NetBIOS name length from 13 to 15.
Issue originally reported by user Julsa-FR on IRC.
2008-03-27 16:30:18 -05:00
Jelmer Vernooij
f47df57615 Remove define that appears to cause configure test breakage on Julien's machine. 2008-03-27 22:26:37 +01:00
Kai Blin
19c29f4738 provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file
2008-03-27 17:49:56 +01:00
Michael Adam
4ae4692bc6 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
2008-03-27 11:56:51 +01:00
Andrew Bartlett
08ec91958d Fix how we initialise the oplocks parameter.
Andrew Bartlett
2008-03-27 21:00:04 +11:00
Andrew Bartlett
2c18482b19 Actually call into lp_oplocks() in share_classic backend.
Andrew Bartlett
2008-03-27 20:50:39 +11:00
Andrew Bartlett
4e4152dfd7 Fix references to ntvfs share config
Andrew Bartlett
2008-03-27 20:40:40 +11:00
Andrew Bartlett
7c7a1a2b1f 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
2008-03-27 20:38:36 +11:00
Andrew Bartlett
f2c65f9907 Make oplocks a per-share option.
This even goes via the share options system (a very odd layer of indirection).

Andrew Bartlett
2008-03-27 20:32:02 +11:00
Stefan Metzmacher
9342c4f5ff selfteset: oplocks are enabled by default now
metze
2008-03-27 10:12:19 +01:00
Stefan Metzmacher
225a9852ee opendb_tdb: enable oplocks per default
metze
2008-03-27 10:11:48 +01:00
Andrew Bartlett
e109567308 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local 2008-03-26 15:42:43 +11:00
Andrew Bartlett
861a85985d Remove old js versions of newuser and provision.
Andrew Bartlett
2008-03-26 15:42:20 +11:00
Andrew Bartlett
ba30e82d4e 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
2008-03-26 15:18:17 +11:00
Günther Deschner
8ca4b0b094 Add some more header properties as inline comments to the generated samba3 client.
Guenther
2008-03-25 17:42:08 +01:00
Andrew Bartlett
9a1466abbd Remove pointless cast 2008-03-25 16:36:13 +11:00
Andrew Bartlett
bc607c334f Remove useless extra argument to samdb_result_account_expires().
Andrew Bartlett
2008-03-25 15:25:13 +11:00
Andrew Bartlett
3903ef9168 Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local 2008-03-25 10:29:35 +11:00
Volker Lendecke
8d44f997c8 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.
2008-03-21 10:36:58 +01:00