summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* lib/crypto: rename the SHA256_ functions to samba_SHA256_Andrew Tridgell2011-04-061-3/+3
| | | | | | | this prevents a symbol duplication with the openssl library, which may be linked in via a secondary library dependency Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* tstream: make npa_tstream a private libraryAndrew Tridgell2011-04-062-2/+2
| | | | | | this prevents symbol duplication of the npa_tstream symbols Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib: make asn1_util a private libraryAndrew Tridgell2011-04-063-3/+3
| | | | | | | this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4: Update/Set local USN only on attribute that have been modified/createdMatthieu Patou2011-04-061-9/+15
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* kdc: always ldb escape the realmAndrew Bartlett2011-04-051-1/+11
|
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-057-106/+103
| | | | | | | | | | This changes auth_session_info_transport to just be a wrapper, rather than a copy that has to be kept in sync. As auth_session_info was already wrapped in python, this required changes to the existing pyauth wrapper and it's users. Andrew Bartlett
* s4-auth: Always talloc_zero() the struct auth_session_infoAndrew Bartlett2011-04-051-1/+1
|
* s4 samba-tool: Implement "testparm" commandKai Blin2011-04-052-0/+208
| | | | | | | | This is a port of the existing "testparm" python script to a samba-tool command. Autobuild-User: Kai Blin <kai@samba.org> Autobuild-Date: Tue Apr 5 07:49:13 CEST 2011 on sn-devel-104
* s4-credentials Add a command line hook to set the kerberos credentials cacheAndrew Bartlett2011-04-041-1/+13
| | | | | | | | This allows this to be specified independent of the KRB5CCNAME environment variable (in this case, it's harder than it should be to set up in the make test for s3 that way). Andrew Bartlett
* s4-dsdb: implemented creation of conflict recordsAndrew Tridgell2011-04-041-48/+356
| | | | | | | | | | | | | | | when a record with the same DN gets created on two DCs at the same time, this creates a replication conflict. To resolve this conflict one of the DCs needs to create a conflict record, which is a rename of one of the two DNs, based on which one is newer. This prevents replication from failing when DCs are temporarily disconnected and then have conflicts when they next replicate Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Apr 4 03:27:07 CEST 2011 on sn-devel-104
* s4-samba-tool: give a bit better error on user delete failureAndrew Tridgell2011-04-041-1/+5
|
* s4-rpc: improved error mapping for several RPC server callsAndrew Tridgell2011-04-044-26/+22
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: added a ldb err -> NTSTATUS mappingAndrew Tridgell2011-04-041-0/+78
| | | | | | | this is not perfect, but its better than always giving NT_STATUS_UNSUCCESSFUL in our RPC servers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-krb5: be a bit less verbose about krb5 packetsAndrew Tridgell2011-04-041-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-loadparm: be a bit less verbose about smb.conf processingAndrew Tridgell2011-04-041-2/+2
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-libnet: honour convention of DEBUGLEVEL>=10 for NDR printAndrew Tridgell2011-04-042-0/+16
|
* Avoid uppercasing server role in error message.Jelmer Vernooij2011-04-031-1/+1
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 3 20:01:48 CEST 2011 on sn-devel-104
* Fix compilation without external heimdal.Jelmer Vernooij2011-04-032-0/+2
| | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Apr 3 17:18:56 CEST 2011 on sn-devel-104
* use system heimdal headers if possible, fix missing dependencies on hx509 ↵Jelmer Vernooij2011-04-033-5/+12
| | | | and krb5 libraries.
* lib/util/charset Add tests for strcasecmp_m(), talloc_strupper() et alAndrew Bartlett2011-03-311-0/+1
| | | | | | | | | | | | | | | | | | This adds tests for: strncasecmp_m strcasecmp_m strupper_talloc_n strlower_talloc strhaslower strhasupper The tests can certainly be improved with pre-calculated upper and lower case text, but this at least puts them though their paces. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Mar 31 14:24:22 CEST 2011 on sn-devel-104
* s4-dsdb: cope with failed searches in the linked attributes callbackAndrew Tridgell2011-03-311-16/+15
| | | | | | | | This fixes a bug where we try to add an empty backlink because the search for the forward link failed. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 31 13:37:36 CEST 2011 on sn-devel-104
* Fix convert_string() to take a *converted_size arg. and return a bool.Jeremy Allison2011-03-301-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
* lib/util/charset Add tests for convert_string_talloc_handle()Andrew Bartlett2011-03-302-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
* lib/util Move base64 functions into lib/util/base64.cAndrew Bartlett2011-03-301-29/+2
| | | | Andrew Bartlett
* s4:lib/policy/gp_ldap.c - make more use of LDB result constantsMatthias Dieter Wallnöfer2011-03-301-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
* s4:lib/registry/registry.h - align a copyright line in header commentMatthias Dieter Wallnöfer2011-03-301-1/+1
|
* s4:smb_server/smb/trans2.c - "talloc_move" isn't strictly necessary hereMatthias Dieter Wallnöfer2011-03-301-1/+1
| | | | | | Since the "set" will be free'd afterwards "talloc_steal" is enough. Reviewed-by: Tridge
* Ensure convert_string_XXX is always called with a valid converted_size pointer.Jeremy Allison2011-03-299-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
* ldb: detect eof on ldif filesAndrew Tridgell2011-03-292-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
* s4-dsdb: allow modification of linked attribute targets with relaxAndrew Tridgell2011-03-291-1/+2
| | | | | | this is used to help recover a corrupt database. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-cmdline: moved loadparm init after fault setupAndrew Tridgell2011-03-291-2/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-param: set a default logfileAndrew Tridgell2011-03-291-0/+5
| | | | | | setup a logfile for when one is not specified in smb.conf Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-fsmo: say which role is being transferredAndrew Tridgell2011-03-291-4/+4
| | | | this is particularly useful for "samba-tool fsmo transfer --role=all"
* s4-fsmo: samba-tool fsmo transfer now gets full error codeAndrew Tridgell2011-03-291-2/+2
| | | | | | We now wait for the transfer to succeed or fail Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: perform FSMO transfers asynchronouslyAndrew Tridgell2011-03-292-26/+43
| | | | | | | this gives the administrator a proper error message on the command line Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-fsmo: make rootDSE modify for FSMO transfer asyncAndrew Tridgell2011-03-291-12/+50
| | | | | | this gives the ldap client the error code from the transfer Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-fsmo: nicer error messages on failed FSMO transfersAndrew Tridgell2011-03-291-5/+12
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drs: default hostname in samba-tool drs commandAndrew Tridgell2011-03-291-2/+2
| | | | | | default to our hostname Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dsdb: only allow administrators to trigger FSMO role transfersAndrew Tridgell2011-03-291-0/+8
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-fsmo: samba-tool fsmo takes a URL, not a hostnameAndrew Tridgell2011-03-292-5/+5
| | | | | | better to call the option --url Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix inspired by work done by David Disseldorp for bug #8040 - smbclient ↵Jeremy Allison2011-03-281-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.
* lib/util/charset rename iconv_convenience to iconv_handleAndrew Bartlett2011-03-257-21/+21
| | | | | | This better reflects what this structure is Andrew Bartlett
* libcli: created smb_constants.hAndrew Tridgell2011-03-251-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)
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-2419-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
* librpc: bring more librpc prototypes in common.Günther Deschner2011-03-231-13/+0
| | | | Guenther
* fault: fixed call to fault_setup() to use new syntaxAndrew Tridgell2011-03-231-1/+1
|
* s4:python bindings - handle NULL returns from "loadparm_init_global"Matthias Dieter Wallnöfer2011-03-223-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
* s4:param/loadparm.c - check for OOMMatthias Dieter Wallnöfer2011-03-221-0/+3
| | | | | | Return NULL if the loadparm context hasn't been allocated Reviewed-by: Jelmer
* s4:auth/system_session.c - check for OOMMatthias Dieter Wallnöfer2011-03-221-0/+2
| | | | Reviewed-by: Jelmer
* s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()Stefan Metzmacher2011-03-221-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