Jeremy Allison
0c5214e2eb
Ensure convert_string_XXX is always called with a valid converted_size pointer.
...
Preparation for cleaning up this API.
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Mar 29 21:01:49 CEST 2011 on sn-devel-104
2011-03-29 21:01:49 +02:00
Andrew Tridgell
bd9b2727ef
ldb: detect eof on ldif files
...
use feof() to detect parsing errors in ldif files
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue Mar 29 08:24:04 CEST 2011 on sn-devel-104
2011-03-29 08:24:03 +02:00
Andrew Tridgell
daeb6a02ea
s4-dsdb: allow modification of linked attribute targets with relax
...
this is used to help recover a corrupt database.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 07:37:04 +02:00
Andrew Tridgell
3351897924
s4-cmdline: moved loadparm init after fault setup
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00
Andrew Tridgell
77cc1610e0
s4-param: set a default logfile
...
setup a logfile for when one is not specified in smb.conf
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 06:17:03 +02:00
Andrew Tridgell
ef44794097
s4-fsmo: say which role is being transferred
...
this is particularly useful for "samba-tool fsmo transfer --role=all"
2011-03-29 00:00:23 +02:00
Andrew Tridgell
3600f2e250
s4-fsmo: samba-tool fsmo transfer now gets full error code
...
We now wait for the transfer to succeed or fail
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
b32f155bae
s4-dsdb: perform FSMO transfers asynchronously
...
this gives the administrator a proper error message on the command
line
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
358892e836
s4-fsmo: make rootDSE modify for FSMO transfer async
...
this gives the ldap client the error code from the transfer
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
f4e3ccfe9e
s4-fsmo: nicer error messages on failed FSMO transfers
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
07b6f75bc1
s4-drs: default hostname in samba-tool drs command
...
default to our hostname
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
fdd9540187
s4-dsdb: only allow administrators to trigger FSMO role transfers
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Andrew Tridgell
f4d581468c
s4-fsmo: samba-tool fsmo takes a URL, not a hostname
...
better to call the option --url
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29 00:00:22 +02:00
Jeremy Allison
52602e4f5a
Fix inspired by work done by David Disseldorp for bug #8040 - smbclient segfaults when a Cyrillic netbios name or workgroup is configured.
...
Change msrpc_gen to return NTSTATUS and ensure everywhere this is
used it is correctly checked to return that status.
Jeremy.
2011-03-28 23:12:07 +02:00
Andrew Bartlett
b5616adc8a
lib/util/charset rename iconv_convenience to iconv_handle
...
This better reflects what this structure is
Andrew Bartlett
2011-03-25 04:37:06 +01:00
Andrew Tridgell
5a20325c86
libcli: created smb_constants.h
...
this starts the (long!) process of moving some of the SMB constants
into common files. This just moves the FLAGS2_ defines, which are
needed for common string routines (for FLAGS2_UNICODE_STRINGS)
2011-03-25 04:37:06 +01:00
Andrew Tridgell
15e84a9a09
charcnv: removed the allow_badcharcnv and allow_bad_conv options to convert_string*()
...
we shouldn't accept bad multi-byte strings, it just hides problems
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
2011-03-24 01:47:26 +01:00
Günther Deschner
b903c28939
librpc: bring more librpc prototypes in common.
...
Guenther
2011-03-23 23:59:11 +01:00
Andrew Tridgell
43a07621bb
fault: fixed call to fault_setup() to use new syntax
2011-03-23 11:03:58 +11:00
Matthias Dieter Wallnöfer
3940777a14
s4:python bindings - handle NULL returns from "loadparm_init_global"
...
Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Tue Mar 22 19:52:57 CET 2011 on sn-devel-104
2011-03-22 19:52:57 +01:00
Matthias Dieter Wallnöfer
5d09acab7e
s4:param/loadparm.c - check for OOM
...
Return NULL if the loadparm context hasn't been allocated
Reviewed-by: Jelmer
2011-03-22 19:04:49 +01:00
Matthias Dieter Wallnöfer
bd25bc133a
s4:auth/system_session.c - check for OOM
...
Reviewed-by: Jelmer
2011-03-22 19:04:41 +01:00
Stefan Metzmacher
b8d0994627
s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()
...
That's why we have the 'container' parameter to indicate
the caller wants to create a directory.
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Mar 22 17:39:11 CET 2011 on sn-devel-104
2011-03-22 17:39:11 +01:00
Stefan Metzmacher
3dc999e38b
s4:ntvfs/posix: grant SEC_STD_DELETE if the parent grants SEC_DIR_DELETE_CHILD
...
metze
2011-03-21 22:35:17 +01:00
Matthieu Patou
def1fcb089
pyldb: minor fixup, fix a memory leak
...
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Sun Mar 20 12:13:50 CET 2011 on sn-devel-104
2011-03-20 12:13:50 +01:00
Matthieu Patou
88d907189c
pyldb: add more tests for control manipulation
2011-03-20 11:27:26 +01:00
Matthieu Patou
4a15c7e750
dsdb: read acl, sd can be null and ret == LDB_SUCCESS
2011-03-20 11:27:26 +01:00
Matthieu Patou
cbb0f881ac
dsdb: acl_read fix a missed talloc_steal
2011-03-20 11:27:26 +01:00
Matthieu Patou
d2e976e32c
upgradeprovision: Fix typo
2011-03-20 11:27:25 +01:00
Matthieu Patou
d4c78b66c2
ldb:fix control parsing for dirsync
2011-03-20 11:27:25 +01:00
Jelmer Vernooij
c296748cba
rpc_server/remote: Add missing prototype.
2011-03-19 15:34:45 +01:00
Jelmer Vernooij
01b0f45d52
lib/registry/tests: Fix prototypes.
2011-03-19 15:33:29 +01:00
Jelmer Vernooij
0b4eb47e27
source4/: Fix prototypes for all functions in various subsystems.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
bd0eced7d5
source4/lib: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
fc720be5a2
source4/torture: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
7e039c7dda
source4/auth: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
42eb3ab54d
source4/param: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
557f830c4f
source4/auth/ntlm: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
8823aeaf24
source4/auth/gensec: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
942c6eedf7
source4/winbind: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
7628fb2396
source4/torture/ndr: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
a68b59e9a6
source4/kdc: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
f5c3742a4c
source4/ntvfs: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
d415a7f788
source4/rpc_server: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
8b271e4328
source4/dsdb/samdb: Fix prototypes for all functions.
2011-03-19 03:20:05 +01:00
Jelmer Vernooij
c104e4ca54
source4/smbd: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Jelmer Vernooij
e02f1cd9b1
source4/ntvfs/posix: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Jelmer Vernooij
be9f1ca1c6
source4/torture/basic: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Jelmer Vernooij
6dfd88ab0a
source4/torture/raw: Fix prototypes for all functions.
2011-03-19 03:20:04 +01:00
Günther Deschner
9d813406e6
s4-libcli/rap: add NDR_RAP dependency to LIBCLI_RAP.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Fri Mar 18 14:10:57 CET 2011 on sn-devel-104
2011-03-18 14:10:57 +01:00