summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug 6966 - "allow trusted domains = no" not respected in winbind.Dmitry Butskoy2011-04-061-6/+6
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 6 23:37:27 CEST 2011 on sn-devel-104
* s3: Fix tldap_make_mod_blob_int() debug messagesSumit Bose2011-04-061-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
* s3-net: Add delete op for net trust utilitySumit Bose2011-04-061-53/+159
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-net: Add net trust utilitySumit Bose2011-04-065-0/+561
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Create DN for new objectSumit Bose2011-04-061-0/+18
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add ipasam_create_dom_group()Sumit Bose2011-04-061-29/+214
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-net: add IPA provisionSumit Bose2011-04-061-20/+119
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Add ipasam_create_user()Sumit Bose2011-04-061-44/+297
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Detect IPA serverSumit Bose2011-04-061-1/+7
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Use new smbldap_make_mod_blob() without a return valueSumit Bose2011-04-061-38/+9
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-smbldap: make octet_strings/DATA_BLOBs const.Sumit Bose2011-04-062-6/+6
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-ipasam: rename of smbldap_make_mod_blob to _smbldap_make_mod_blob.Günther Deschner2011-04-061-4/+4
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-smbldap: support storing octet_strings/DATA_BLOBs.Günther Deschner2011-04-062-21/+95
| | | | | | Guenther Signed-off-by: Günther Deschner <gd@samba.org>
* s3-pdb_ipa: Fix indentationSumit Bose2011-04-061-13/+12
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* 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-061-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-062-12/+12
| | | | | | | this prevents symbol duplication of the asn1 symbols in the service and ntvfs subsystems Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* lib: moved data_blob.c into samba-util-commonAndrew Tridgell2011-04-061-6/+2
| | | | | | | this avoids a duplication of the data_blob symbols some binaries (eg. smbtorture) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-selftest Add tests to show kerberos works across a password changeAndrew Bartlett2011-04-064-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
* s3-librpc Fix creation of in-memory keytab for previous passwordAndrew Bartlett2011-04-061-1/+1
| | | | | | | We set the current password twice, rather than the current and old password. Andrew Bartlett
* s3-auth: Make server_info const in create_local_token()Andrew Bartlett2011-04-062-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
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-053-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
* Fix bug #7080 - Quota only shown when logged as root.Jeremy Allison2011-04-053-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
* s3/vfs_gpfs: s/syncops/gpfsBjörn Jacke2011-04-051-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
* s3-waf: fix typo in ctdb checks.Günther Deschner2011-04-051-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
* s3: Make vlp printing work by defaultVolker Lendecke2011-04-051-8/+55
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 5 13:12:14 CEST 2011 on sn-devel-104
* s3: Fix print_spool_endVolker Lendecke2011-04-051-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.
* s3-selftest Look only under source3 for smb.conf filesAndrew Bartlett2011-04-041-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
* s3-auth Rename user_session_key -> session_key to match auth_session_infoAndrew Bartlett2011-04-0513-47/+47
|
* s3-auth use create_local_token() to transform server_info -> session_infoAndrew Bartlett2011-04-059-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
* Move SET_STAT_INVALID call added by Volker as fix for bug 8042 - Newly ↵Jeremy Allison2011-04-041-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
* Note that check_parent_exists() doesn't change the contents of smb_fname ↵Jeremy Allison2011-04-041-1/+1
| | | | (add const).
* s3-net: add command "net idmap check"Gregor Beck2011-04-047-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
* s3: add function srprs_quoted to parse strings written with cbuf_print_quotedGregor Beck2011-04-042-1/+52
|
* s3: add function cbuf_print_quotedGregor Beck2011-04-042-1/+49
|
* s3: add function dbwrap_traverseGregor Beck2011-04-042-0/+12
|
* s3: add function dbwrap_trans_traverseGregor Beck2011-04-042-0/+33
|
* s3: fix cbuf_swapptrGregor Beck2011-04-041-0/+2
|
* s3:idmap_tdb2: fix build of tdb2Michael Adam2011-04-041-0/+1
| | | | The include of system/filesys.h was removed from includes.h. ...
* s3-rpc_server Remove comment, yes the key is correct.Andrew Bartlett2011-04-041-2/+0
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 4 13:31:52 CEST 2011 on sn-devel-104
* s3-auth consolidate create_local_token() into make_server_info_krb5()Andrew Bartlett2011-04-046-51/+19
| | | | | | | This ensures that all callers don't need to each add builtin groups and privileges to the user's token Andrew Bartlett
* s3-selftest Remove more instances of /tmp in test_smbclient_s3.shAndrew Bartlett2011-04-041-4/+4
|
* s3-selftest Add testing of kerberos loginAndrew Bartlett2011-04-043-4/+15
| | | | | | | This uses a pre-calculated credentials cache, that should be valid until 2036. Andrew Bartlett
* s3: Remove some unused codeVolker Lendecke2011-04-031-7/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 18:32:51 CEST 2011 on sn-devel-104
* s3: Add a quick test for bug 8042Volker Lendecke2011-04-036-0/+84
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
* s3: Fix bug 8042: File creation on OS/XVolker Lendecke2011-04-031-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
* Fix for servers that don't put a path separator at the end of the service.Larry Reid2011-04-031-4/+13
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 10:33:42 CEST 2011 on sn-devel-104
* s3:waf: add cluster support / ctdb checks.Michael Adam2011-04-021-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
* Fix bug #7987 - ACL can get lost when files are being renamed.Jeremy Allison2011-04-023-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
* Fix bug #8047 - mdns registration doesn't work if "interfaces" is used in ↵Marc A. Dahlhaus2011-04-011-0/+7
| | | | | | | smb.conf Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 1 23:15:34 CEST 2011 on sn-devel-104