summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2011-03-30Fix convert_string() to take a *converted_size arg. and return a bool.Jeremy Allison1-6/+12
Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104
2011-03-30lib/util/charset Add tests for convert_string_talloc_handle()Andrew Bartlett2-0/+2
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 30 13:02:47 CEST 2011 on sn-devel-104
2011-03-30lib/util Move base64 functions into lib/util/base64.cAndrew Bartlett1-29/+2
Andrew Bartlett
2011-03-30s4:lib/policy/gp_ldap.c - make more use of LDB result constantsMatthias Dieter Wallnöfer1-13/+13
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 30 09:33:38 CEST 2011 on sn-devel-104
2011-03-30s4:lib/registry/registry.h - align a copyright line in header commentMatthias Dieter Wallnöfer1-1/+1
2011-03-30s4:smb_server/smb/trans2.c - "talloc_move" isn't strictly necessary hereMatthias Dieter Wallnöfer1-1/+1
Since the "set" will be free'd afterwards "talloc_steal" is enough. Reviewed-by: Tridge
2011-03-29Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison9-13/+26
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-29ldb: detect eof on ldif filesAndrew Tridgell2-0/+20
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-29s4-dsdb: allow modification of linked attribute targets with relaxAndrew Tridgell1-1/+2
this is used to help recover a corrupt database. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-cmdline: moved loadparm init after fault setupAndrew Tridgell1-2/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-param: set a default logfileAndrew Tridgell1-0/+5
setup a logfile for when one is not specified in smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-fsmo: say which role is being transferredAndrew Tridgell1-4/+4
this is particularly useful for "samba-tool fsmo transfer --role=all"
2011-03-29s4-fsmo: samba-tool fsmo transfer now gets full error codeAndrew Tridgell1-2/+2
We now wait for the transfer to succeed or fail Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-dsdb: perform FSMO transfers asynchronouslyAndrew Tridgell2-26/+43
this gives the administrator a proper error message on the command line Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-fsmo: make rootDSE modify for FSMO transfer asyncAndrew Tridgell1-12/+50
this gives the ldap client the error code from the transfer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-fsmo: nicer error messages on failed FSMO transfersAndrew Tridgell1-5/+12
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-drs: default hostname in samba-tool drs commandAndrew Tridgell1-2/+2
default to our hostname Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-dsdb: only allow administrators to trigger FSMO role transfersAndrew Tridgell1-0/+8
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-29s4-fsmo: samba-tool fsmo takes a URL, not a hostnameAndrew Tridgell2-5/+5
better to call the option --url Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-28Fix inspired by work done by David Disseldorp for bug #8040 - smbclient ↵Jeremy Allison1-4/+10
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-25lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett7-21/+21
This better reflects what this structure is Andrew Bartlett
2011-03-25libcli: created smb_constants.hAndrew Tridgell1-12/+1
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-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell19-44/+38
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-23librpc: bring more librpc prototypes in common.Günther Deschner1-13/+0
Guenther
2011-03-23fault: fixed call to fault_setup() to use new syntaxAndrew Tridgell1-1/+1
2011-03-22s4:python bindings - handle NULL returns from "loadparm_init_global"Matthias Dieter Wallnöfer3-0/+17
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-22s4:param/loadparm.c - check for OOMMatthias Dieter Wallnöfer1-0/+3
Return NULL if the loadparm context hasn't been allocated Reviewed-by: Jelmer
2011-03-22s4:auth/system_session.c - check for OOMMatthias Dieter Wallnöfer1-0/+2
Reviewed-by: Jelmer
2011-03-22s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()Stefan Metzmacher1-1/+1
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-21s4:ntvfs/posix: grant SEC_STD_DELETE if the parent grants SEC_DIR_DELETE_CHILDStefan Metzmacher1-10/+58
metze
2011-03-20pyldb: minor fixup, fix a memory leakMatthieu Patou1-2/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 20 12:13:50 CET 2011 on sn-devel-104
2011-03-20pyldb: add more tests for control manipulationMatthieu Patou1-0/+4
2011-03-20dsdb: read acl, sd can be null and ret == LDB_SUCCESSMatthieu Patou1-1/+1
2011-03-20dsdb: acl_read fix a missed talloc_stealMatthieu Patou1-0/+1
2011-03-20upgradeprovision: Fix typoMatthieu Patou1-1/+1
2011-03-20ldb:fix control parsing for dirsyncMatthieu Patou1-2/+3
2011-03-19rpc_server/remote: Add missing prototype.Jelmer Vernooij1-0/+1
2011-03-19lib/registry/tests: Fix prototypes.Jelmer Vernooij4-4/+4
2011-03-19source4/: Fix prototypes for all functions in various subsystems.Jelmer Vernooij10-0/+19
2011-03-19source4/lib: Fix prototypes for all functions.Jelmer Vernooij6-0/+12
2011-03-19source4/torture: Fix prototypes for all functions.Jelmer Vernooij7-0/+8
2011-03-19source4/auth: Fix prototypes for all functions.Jelmer Vernooij6-1/+17
2011-03-19source4/param: Fix prototypes for all functions.Jelmer Vernooij4-1/+8
2011-03-19source4/auth/ntlm: Fix prototypes for all functions.Jelmer Vernooij7-0/+13
2011-03-19source4/auth/gensec: Fix prototypes for all functions.Jelmer Vernooij7-1/+11
2011-03-19source4/winbind: Fix prototypes for all functions.Jelmer Vernooij3-0/+7
2011-03-19source4/torture/ndr: Fix prototypes for all functions.Jelmer Vernooij14-0/+14
2011-03-19source4/kdc: Fix prototypes for all functions.Jelmer Vernooij6-1/+13
2011-03-19source4/ntvfs: Fix prototypes for all functions.Jelmer Vernooij7-0/+14
2011-03-19source4/rpc_server: Fix prototypes for all functions.Jelmer Vernooij6-0/+7