summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-04-07s3-test: disable ktest for nowAndrew Tridgell1-0/+1
the ktest tests are currently flakey. Once andrew has found the problem they can be re-enabled Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Apr 7 03:36:36 CEST 2011 on sn-devel-104
2011-04-06Fix bug 6966 - "allow trusted domains = no" not respected in winbind.Dmitry Butskoy1-6/+6
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 6 23:37:27 CEST 2011 on sn-devel-104
2011-04-06s3: Fix tldap_make_mod_blob_int() debug messagesSumit Bose1-3/+3
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 6 13:10:30 CEST 2011 on sn-devel-104
2011-04-06s3-net: Add delete op for net trust utilitySumit Bose1-53/+159
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-net: Add net trust utilitySumit Bose5-0/+561
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-pdb_ipa: Create DN for new objectSumit Bose1-0/+18
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-pdb_ipa: Add ipasam_create_dom_group()Sumit Bose1-29/+214
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-net: add IPA provisionSumit Bose1-20/+119
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-pdb_ipa: Add ipasam_create_user()Sumit Bose1-44/+297
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-pdb_ipa: Detect IPA serverSumit Bose1-1/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-pdb_ipa: Use new smbldap_make_mod_blob() without a return valueSumit Bose1-38/+9
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-smbldap: make octet_strings/DATA_BLOBs const.Sumit Bose2-6/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.Günther Deschner1-4/+4
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-smbldap: support storing octet_strings/DATA_BLOBs.Günther Deschner2-21/+95
Guenther Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06s3-pdb_ipa: Fix indentationSumit Bose1-13/+12
Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-06lib/crypto: rename the SHA256_ functions to samba_SHA256_Andrew Tridgell1-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>
2011-04-06tstream: make npa_tstream a private libraryAndrew Tridgell1-2/+2
this prevents symbol duplication of the npa_tstream symbols Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06lib: make asn1_util a private libraryAndrew Tridgell2-12/+12
this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06lib: moved data_blob.c into samba-util-commonAndrew Tridgell1-6/+2
this avoids a duplication of the data_blob symbols some binaries (eg. smbtorture) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06s3-selftest Add tests to show kerberos works across a password changeAndrew Bartlett4-1/+4
It is important that a machine account password change does not invalidate existing tickets. This is only for the default kerberos method with a password in secrets.tdb. The keytab based methods are still not tested. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 6 05:24:48 CEST 2011 on sn-devel-104
2011-04-06s3-librpc Fix creation of in-memory keytab for previous passwordAndrew Bartlett1-1/+1
We set the current password twice, rather than the current and old password. Andrew Bartlett
2011-04-06s3-auth: Make server_info const in create_local_token()Andrew Bartlett2-5/+5
Andreas Schneider <asn@samba.org> correctly points out that this input parameter should now be const, and that found a bug where I used then used it incorrectly as a talloc context. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 6 00:33:31 CEST 2011 on sn-devel-104
2011-04-05auth: Move auth_session_info into IDLAndrew Bartlett3-20/+33
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
2011-04-05Fix bug #7080 - Quota only shown when logged as root.Jeremy Allison3-7/+6
Remove the final incorrect uses of conn->session_info->utok.uid. When we're in the "admin users" list, then this value is not set to zero. Inspired by the comment on this bug by Dmitry Butskoy <dmitry@butskoy.name>. I'll create a different fix for 3.5.x. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 5 21:53:59 CEST 2011 on sn-devel-104
2011-04-05s3/vfs_gpfs: s/syncops/gpfsBjörn Jacke1-1/+1
as pointed out by Metze in bug #8031 Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue Apr 5 18:08:42 CEST 2011 on sn-devel-104
2011-04-05s3-waf: fix typo in ctdb checks.Günther Deschner1-1/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Apr 5 17:20:19 CEST 2011 on sn-devel-104
2011-04-05s3: Make vlp printing work by defaultVolker Lendecke1-8/+55
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 5 13:12:14 CEST 2011 on sn-devel-104
2011-04-05s3: Fix print_spool_endVolker Lendecke1-12/+0
We have to use the spoolss pipe instance opened in print_spool_open, otherwise the spoolss server won't be able to find the right printer and job.
2011-04-04s3-selftest Look only under source3 for smb.conf filesAndrew Bartlett1-1/+1
This test looks for any .conf file with [global] in it, and assumes it's a Samba3 format smb.conf file. If 'make test' has been run in the top level build, it was finding the smb.conf files it generated. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 4 23:50:06 CEST 2011 on sn-devel-104
2011-04-05s3-auth Rename user_session_key -> session_key to match auth_session_infoAndrew Bartlett13-47/+47
2011-04-05s3-auth use create_local_token() to transform server_info -> session_infoAndrew Bartlett9-183/+193
Before a auth_serversupplied_info struct can be used for authorization, the local groups and privileges must be calculated. create_local_token() now copies the server_info, and then sets the calulated token and unix groups. Soon, it will also transform the result into an expanded struct auth_session_info. Until then, the variable name (server_info vs session_info provides a clue to the developer about what information has been entered in the structure). By moving the calls to create_local_token within the codebase, we remove duplication, and ensure that the session key (where modified) is consistently copied into the new structure. Andrew Bartlett
2011-04-04Move SET_STAT_INVALID call added by Volker as fix for bug 8042 - Newly ↵Jeremy Allison1-3/+3
create files are always failed with NT_STATUS_FILE_IS_A_DIRECTORY Ensure we do this for all cases where the stat fails. Jeremy Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 4 20:08:45 CEST 2011 on sn-devel-104
2011-04-04Note that check_parent_exists() doesn't change the contents of smb_fname ↵Jeremy Allison1-1/+1
(add const).
2011-04-04s3-net: add command "net idmap check"Gregor Beck7-3/+1109
This is a tool to check the consistency of an idmap tdb database. The default mode is to scan the database and list invalid entries, e.g. records with an invalid format, or records which are valid but for which the reverse mapping entry is missing. With the "--repair" switch, one can enter an interactive repair mode which will prompt for each invalid entry found with the option to delete, skip or edit the record. There is also a non-interactive repair mode triggered by "--auto" which will remove all records with invalid content and fill up mappings which are missing the reverse entry. The "--test" parameter lets "net idmap check" only list the changes that would be written and not actually commit them to the database. The "--lock" option allows to lock the database already in the first reading traverse, in order to remove the race when the database has to be closed and reopened again before writing the changes. Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Apr 4 18:21:09 CEST 2011 on sn-devel-104
2011-04-04s3: add function srprs_quoted to parse strings written with cbuf_print_quotedGregor Beck2-1/+52
2011-04-04s3: add function cbuf_print_quotedGregor Beck2-1/+49
2011-04-04s3: add function dbwrap_traverseGregor Beck2-0/+12
2011-04-04s3: add function dbwrap_trans_traverseGregor Beck2-0/+33
2011-04-04s3: fix cbuf_swapptrGregor Beck1-0/+2
2011-04-04s3:idmap_tdb2: fix build of tdb2Michael Adam1-0/+1
The include of system/filesys.h was removed from includes.h. ...
2011-04-04s3-rpc_server Remove comment, yes the key is correct.Andrew Bartlett1-2/+0
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 4 13:31:52 CEST 2011 on sn-devel-104
2011-04-04s3-auth consolidate create_local_token() into make_server_info_krb5()Andrew Bartlett6-51/+19
This ensures that all callers don't need to each add builtin groups and privileges to the user's token Andrew Bartlett
2011-04-04s3-selftest Remove more instances of /tmp in test_smbclient_s3.shAndrew Bartlett1-4/+4
2011-04-04s3-selftest Add testing of kerberos loginAndrew Bartlett3-4/+15
This uses a pre-calculated credentials cache, that should be valid until 2036. Andrew Bartlett
2011-04-03s3: Remove some unused codeVolker Lendecke1-7/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 18:32:51 CEST 2011 on sn-devel-104
2011-04-03s3: Add a quick test for bug 8042Volker Lendecke6-0/+84
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
2011-04-03s3: Fix bug 8042: File creation on OS/XVolker Lendecke1-0/+3
With a case insensitive file system the stat cache lookup leaked the parent directorys stat information from unix_convert into the smb_filename. This led open_file_ntcreate to believe it just created a directory. In the case where we do the search we already invalidate the stat struct. Thanks to TAKAHASHI Motonobu for insisting! :-) Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 14:54:27 CEST 2011 on sn-devel-104
2011-04-03Fix for servers that don't put a path separator at the end of the service.Larry Reid1-4/+13
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 10:33:42 CEST 2011 on sn-devel-104
2011-04-02s3:waf: add cluster support / ctdb checks.Michael Adam1-0/+196
The checks are roughtly taken from the autoconf ctdb checks. I was not able to implement checks with CHECK_DECL, CHECK_TYPE, CHECK_HEADER and friends, because the ctdb headers seem to need too special a setup of includes and defines in order to compile. So I used CHECK_CODE() in all checks. In the long run, this should be changed. I supported a --with-ctdb-dir options to allow for building against a ctdb that is not installed into /usr (e.g. against a local git checkout). In order to implement this, I had to hand includes in to the CHECK_CODE function. Here I found a problem with CHECK_CODE (or even the core waf conf.check() function: The CHECK_CODE function does not expand the includes it gets (i.e. '#' is not expanded to the base dir, and relative paths are left relative). But the core check() function seems to ignore all include paths that are not absolute paths. Hence in particular the usual default '# .' for the includes is useless. So I preprocessed the list of includes for the cluster checks. But I assume that it would be useful to move this expansion into CHECK_CODE or even into the core waf check function. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 2 03:26:55 CEST 2011 on sn-devel-104
2011-04-02Fix bug #7987 - ACL can get lost when files are being renamed.Jeremy Allison3-1/+49
There is no reason for smbd with Windows ACLs to use chmod or fchmod unless it's a file opened with UNIX extensions or with posix pathnames. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 2 02:40:43 CEST 2011 on sn-devel-104