summaryrefslogtreecommitdiffstats
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
* s4:dsdb/repl_meta_data: update replPropertyMetaData on originating renamesStefan Metzmacher2011-04-061-6/+122
| | | | | | | | | | | The version of the "name" attribute needs to change even if the value is the same. This also normalizes the rdn attribute name based on the schema. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Apr 6 19:55:50 CEST 2011 on sn-devel-104
* s4:dsdb/repl_meta_data: allow passing an explicit attribute list to ↵Stefan Metzmacher2011-04-061-4/+15
| | | | | | | | replmd_update_rpmd() This will be used for renames. metze
* s4:dsdb/repl_meta_data: normalize the rdn attribute name based on the schemaStefan Metzmacher2011-04-061-5/+15
| | | | metze
* 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>
* s4-test: fixed a problem with very verbose NDR debugAndrew Tridgell2011-04-063-4/+4
| | | | | | | | lp.get("log level") returns a string, not an integer. It needs to be cast to an integer for comparison with a number Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 08:58:05 CEST 2011 on sn-devel-104
* lib/crypto: rename the SHA256_ functions to samba_SHA256_Andrew Tridgell2011-04-065-24/+24
| | | | | | | 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-064-8/+9
| | | | | | 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-069-22/+23
| | | | | | | 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-062-8/+4
| | | | | | | this avoids a duplication of the data_blob symbols some binaries (eg. smbtorture) Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* This reverts commit 378c4b221a6be75e1d32cb6fb3a773ce5de6dbda.Volker Lendecke2011-04-061-15/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 6 08:11:53 CEST 2011 on sn-devel-104
* waf: a better way to detect duplicated symbolsAndrew Tridgell2011-04-061-20/+82
| | | | | | | | | | | | | | this detects when we have the same symbol linked in twice in any binary by using ldd and nm on the binary and its associated libraries. Some of these duplicates are caused by a subsystem being linked twice, and some are caused by two versions of the same function name being linked into a binary Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 06:44:14 CEST 2011 on sn-devel-104
* 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>
* s3-selftest Add tests to show kerberos works across a password changeAndrew Bartlett2011-04-065-5/+18
| | | | | | | | | | | | | 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-selftest names into DNS hosts file to avoid NBT lookupsAndrew Bartlett2011-04-061-0/+5
| | | | | | | | | | | | NBT lookups cause trouble and variablity in 'make test', so it's much better if we just use the fake DNS code. This code is only used by smbtorture4 at this time, but the other client tools are generally told to contact by IP address. We need to contact by name to test Kerberos, and this should make the kerberos tests much more reliable. Andrew Bartlett
* libcli/nbt Cope with blank lines in DNS hosts fileAndrew Bartlett2011-04-061-3/+3
|
* docs: fix the missing parameter description section in the smb.conf manpageMichael Adam2011-04-061-1/+9
| | | | | | | | | | | | | | | | | | | The smb.conf (5) manpage recently sometimes failed to contain the contents of the description of each parameter section. The reason was a unreliable chain of dependencies in the Makefile. The error can be reproduced by touching manpages-3/smb.conf.5.xml and then building the manpages. Then smb.conf.5.xml is newer than any of the smbdotconf/*/*.xml files and hence the intermediate inexistent parameters.*.xml don't get generated. This patch fixes this problem by introducing a phony "parameters" target referencing the parameters.*.xml targets, so that they get build unconditionally. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Apr 6 01:22:00 CEST 2011 on sn-devel-104
* packaging(RHEL-CTDB): Fix debuginfo buildsMichael Adam2011-04-061-0/+38
| | | | | | | | | At least on RHEL 5.5, we observed broken debuginfo packages when either old build directories were still present or old debuginfo packages (of samba) were installed. This patch removes the debuginfo samba RPMs and old RPM build directories, giving the user a 10 second chance to quit.
* packaging(RHEL-CTDB): add BuildRequires to ctdb-devel >= 1.2.25Michael Adam2011-04-061-1/+2
| | | | This should make sure we build against ctdb with SCHEDULE_FOR_DELETION control.
* packaging(RHEL-CTDB): replace Prereq by Requires.Michael Adam2011-04-061-3/+3
| | | | In RHEL6, Prereq is deprecated.
* 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
* kdc: always ldb escape the realmAndrew Bartlett2011-04-051-1/+11
|
* auth: Move auth_session_info into IDLAndrew Bartlett2011-04-0515-138/+231
| | | | | | | | | | 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
|
* pidl: Add support for the [ignore] propertyAndrew Bartlett2011-04-051-9/+22
| | | | | | | This is implemented to simply never push this pointer, but to push a NULL in it's place. Likewise a pull will simply return a NULL. Andrew Bartlett
* librpc/idl Add [nopython] to krb5pac ndrdump functionsAndrew Bartlett2011-04-051-5/+5
| | | | | | | These functions are not real RPC functions, but are used to help ndrdump operate. They don't need python bindings. 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: Add maintainers for s3/authVolker Lendecke2011-04-051-0/+15
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Apr 5 19:09:14 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.
* 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
* 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