summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s4-waf: get the version number right on private librariesAndrew Tridgell2010-12-084-18/+22
| | | | | | use the first digit of the version number for the library version Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* s4-dns: use ldb hooks for samba extensions in dlz_bind9Andrew Tridgell2010-12-081-49/+35
| | | | | | | this avoids linking dlz_bind9 directly to heimdal, which allows a RTLD_DEEPBIND in ldb module loading to find the right kerberos version Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-ldb: use RTLD_DEEPBIND if available for ldb modulesAndrew Tridgell2010-12-081-1/+13
| | | | | | | this allows us to avoid issues with ldb using heimdal while an application using ldb using MIT kerberos Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-dns: allow a remote ldap server to be used with dlz_bind9Andrew Tridgell2010-12-082-16/+67
| | | | | | | | | this allows for configs like this: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so -H ldap://10.0.0.4 -Uadministrator@v2.tridgell.net%penguin -k no"; };
* s4-dsdb: register samba handlers in dsdb moduleAndrew Tridgell2010-12-081-0/+6
|
* s4-ldb: ensure ldb_register_samba_handlers() is not done twiceAndrew Tridgell2010-12-081-2/+10
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wintest: use --add-ref for RODC replicationAndrew Tridgell2010-12-081-3/+18
| | | | | this forces the creation of the repsTo attribute, and allows more complete testing of RODC replication
* samba-tools: more reasonable defaults for samba-tool commandsAndrew Tridgell2010-12-0813-53/+79
| | | | | | - fallback to machine account where possible - default to local hostname where this is reasonable
* samba-tools: export doesn't need any credentialsAndrew Tridgell2010-12-081-2/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-provision Always run slaptest to convert the config fileAndrew Bartlett2010-12-081-13/+13
| | | | | | | | | | If the directory exists, it does not mean that it is configured - we may be on a re-run of the provision. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Dec 8 05:19:12 CET 2010 on sn-devel-104
* s4-provision Add an invalid names check for 'domain == netbiosname'Andrew Bartlett2010-12-081-1/+4
| | | | | | (This is also invalid) Andrew Bartlett
* build: fix hpux build pbMatthieu Patou2010-12-082-0/+57
| | | | | | | | | | | | | | | | | | Pair-Programmed-With: Thomas Nagy <tnagy2pow10@gmail.com> Fix the library extension from .so to .sl Add full path to library when linking this is needed due to a strange behavior of HP-UX: This command: gcc demo demo.c -L dir1/dir2/ -lsomelib will give a binary with a hard coded lib like dir1/dir2/libsomelib.sl. Somehow like a partial rpath, it has the first impact of fooling waf detection of wether the plateform support libraries or not (leading to being unable to compile samba on HPUX) and the impact of having non functionnal binaries. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Wed Dec 8 00:32:50 CET 2010 on sn-devel-104
* docs: clarify the idmap_rid manpage (bug #7788)Michael Adam2010-12-071-0/+18
| | | | | | | | | The idmap_rid module should not be used as a default backend. Also mention that the old snytax "idmap backend = rid:domain=range ..." is not supported any more. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 19:07:57 CET 2010 on sn-devel-104
* docs: clarify the idmap_ad manpage (bug #6322)Michael Adam2010-12-071-0/+17
| | | | The idmap_ad module can not be used as a default backend.
* libcli/auth: let spnego_write_mech_types() check the asn1_load() returnStefan Metzmacher2010-12-071-0/+4
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Dec 7 18:23:41 CET 2010 on sn-devel-104
* s3:ntlm_auth: support clients which offer a spnego mechs we don't supportStefan Metzmacher2010-12-071-110/+169
| | | | | | | | | | | | | Before we rejected the authentication if we don't support the first spnego mech the client offered. We now negotiate the first mech we support. This fix works arround problems, when a client sends the NEGOEX (1.3.6.1.4.1.311.2.2.30) oid, which we don't support. metze
* s3:ntlm_auth: free session key, as we don't use it (at least for now)Stefan Metzmacher2010-12-071-1/+2
| | | | metze
* s3:ntlm_auth: fix memory leak in the raw ntlmssp code pathStefan Metzmacher2010-12-071-0/+2
| | | | metze
* Make sure that user exists after running add user script before adding sam ↵Bjoern Baumbach2010-12-071-0/+5
| | | | | | | account. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 17:37:52 CET 2010 on sn-devel-104
* s3-waf: add configure/declaration checks for fdatasync, readahead and splice.Günther Deschner2010-12-071-0/+12
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Dec 7 16:50:23 CET 2010 on sn-devel-104
* s3-waf: add valgrind configure checks.Günther Deschner2010-12-071-0/+4
| | | | Guenther
* s4:libnet_samsync_ldb.c - simplify a talloc steal callMatthias Dieter Wallnöfer2010-12-071-2/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Dec 7 16:05:30 CET 2010 on sn-devel-104
* s4:libnet_samsync_ldb.c - introduce an error message on failed domain ↵Matthias Dieter Wallnöfer2010-12-071-3/+6
| | | | synchronisation
* s3:registry: improve debug messages about regdb refcount changesMichael Adam2010-12-071-5/+10
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Dec 7 15:18:03 CET 2010 on sn-devel-104
* s3-waf: build vfs_fileid module if possible.Günther Deschner2010-12-071-0/+9
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Dec 7 14:01:46 CET 2010 on sn-devel-104
* s3-waf: add support for --with-dnsupdate.Günther Deschner2010-12-072-2/+11
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Dec 7 13:07:51 CET 2010 on sn-devel-104
* s3-waf: fix the build of nsstest in the non-devel build.Günther Deschner2010-12-071-1/+1
| | | | Guenther
* s3-waf: fix library names (we installed liblibsmbclient, etc.)Günther Deschner2010-12-072-38/+38
| | | | Guenther
* s3-waf: fix pam dependencies of the RPC_SAMR server.Günther Deschner2010-12-072-0/+2
| | | | Guenther
* s3: Fix bug 7844: Race in winbindVolker Lendecke2010-12-061-4/+8
| | | | | | | | | | | | | | | | If a child dies, the parent process right away closes the socket. This is wrong, with tevent we still have events pending. This works fine for epoll but does not for at least the FreeBSD select variant. Tevent sticks a closed socket into the select masks. This then returns an error EBADF. When this happens, the parent winbind dies instead of forking a new child. This moves the socket close from the SIGCHLD cleanup function to the socket receiver. I could not reproduce the parent death anymore and it did not create an obvious fd leak. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 6 23:21:02 CET 2010 on sn-devel-104
* s3: Fix bug 7842: WINBIND_LOOKUPRIDS does not return the proper domain nameVolker Lendecke2010-12-063-1/+5
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Dec 6 21:18:07 CET 2010 on sn-devel-104
* s3: Fix bug 7841: WINBINDD_LOOKUPRIDS asks the wrong domainVolker Lendecke2010-12-061-1/+1
|
* s3: Fix bug 7843: Expand the local SAMs aliasesJeremy Allison2010-12-061-2/+2
|
* s3-waf: add pam configure checks.Günther Deschner2010-12-061-2/+69
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 6 17:34:45 CET 2010 on sn-devel-104
* s4-acl: Remove unused variables from aclread module.Nadezhda Ivanova2010-12-061-8/+0
| | | | | Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Dec 6 16:48:35 CET 2010 on sn-devel-104
* s4:acl_read LDB module - fix attributes listMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Dec 6 15:11:44 CET 2010 on sn-devel-104
* s4-acl: Some optimisation of the aclread moduleNadezhda Ivanova2010-12-061-58/+75
| | | | | | | | | Modified the aclread module to now insert the attributes needed to perform access checks in the same request, instead of doind a separate search per entry. Also, instanceType is now used to determine id the object has a parent instead of parentGUID, which saves one additional search in operational. Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Mon Dec 6 13:50:19 CET 2010 on sn-devel-104
* s4-acl: Moved aclread module below descriptor and acl.Nadezhda Ivanova2010-12-061-1/+1
| | | | | The aclread needs to be belod descriptor, as it needs to have the full nTsecurityDescriptor to make the checks, and the descriptor module may filter out parts of it if SD_FLAGS_CONTROL is provided.
* Revert "lib/util:tests/time.c - "test_timestring" - fix it on Solaris"Matthias Dieter Wallnöfer2010-12-061-5/+2
| | | | | | | | This reverts commit 654e0102ddb0acaaf45fb55c15818722235fcc9f. This should better be handled by the replace library. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Mon Dec 6 12:17:31 CET 2010 on sn-devel-104
* lib/util/fault.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
* s4:torture/locktest.c - fix "pid_t" printf warning on SolarisMatthias Dieter Wallnöfer2010-12-061-1/+1
| | | | | According to "http://www.ibm.com/developerworks/linux/library/l-solar/" it's generally a 32bit "int" - therefore this cast should fit.
* s4:torture/locktest.c - fix one indentationMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4:client/client.c - fix Solaris warning by a type castMatthias Dieter Wallnöfer2010-12-061-1/+1
|
* s4:fix some shadowed declaration warnings on Solaris by renaming the symbolsMatthias Dieter Wallnöfer2010-12-066-20/+26
|
* s4-dns: return the correct TTLAndrew Tridgell2010-12-061-6/+2
| | | | | | | | I've now patched the bind9 sdlz layer to cope with multiple TTLS on a name/type pair Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 08:12:11 CET 2010 on sn-devel-104
* s4-dns: support Samba command line options to the dlz_bind.so moduleAndrew Tridgell2010-12-062-1/+36
| | | | this allows setting of Samba command line options in named.conf
* s4-dns: added flags support for dlz_bind9Andrew Tridgell2010-12-062-1/+4
| | | | | | this will allow us to set the THREADSAFE flag if we make this threadsafe. For now we don't set that flag, and let bind9 do the locking for us.
* s4-dns: a dlz module for bind9Andrew Tridgell2010-12-063-0/+579
| | | | | | | | | | | | | | | | | | | this module can be loaded into bind9 if bind9 has been built with the --with-dlz-dlopen option. It provides access bind9 access to the DNS records in SAMDB. You can then start bind9 with this in named.conf: dlz "Samba zone" { database "dlopen /usr/lib/samba/modules/bind9/dlz_bind9.so"; }; See http://git.samba.org/tridge/bind9.git for a bind9 tree with the dlz_dlopen driver. See also the discussion on the bind-workers mailing list Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Dec 6 05:48:30 CET 2010 on sn-devel-104
* idtree: fix overflow for v. large ids on allocation and removalRusty Russell2010-12-061-1/+1
| | | | | | | | | | | | | Chris Cowan tracked down a SEGV in sub_alloc: idp->level can actually be equal to 7 (MAX_LEVEL) there, as it can be in sub_remove. (We unfairly blamed a shift of a signed var for this crash in commit 2db1987f5a3a). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Mon Dec 6 05:02:22 CET 2010 on sn-devel-104
* s4-repl_meta_data: Print function name when we can't find attribute in ↵Kamen Mazdrashki2010-12-061-1/+2
| | | | | | | | | | Schema cache Same error message is printed by linked_attributes.c module and it was really hard to tell where the error occurred Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Dec 6 00:05:59 CET 2010 on sn-devel-104