summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-04-19selftest Add combined 'Samba' target moduleAndrew Bartlett4-3/+53
To work around environment variable handling, the initialisation of NSS_WRAPPER_WINBIND_SO_PATH is pushed in to Samba3.pm (the s3 autoconf build still overrides this) Andrew Bartlett
2011-04-19s4-selftest: Avoid duplicating the servers IP in the provision() sub arguments.Andrew Bartlett1-4/+9
This should make it easier to change the IP address. Andrew Bartlett
2011-04-19s3-selftest Rename s3 DC environment to s3dcAndrew Bartlett3-56/+56
This should avoid a clash with the s4 DC environment in a future combined 'make test'. Andrew Bartlett
2011-04-19s4-selftest: Stop creating netbios aliases everywhereAndrew Bartlett2-33/+9
This reduces some of the clutter when we have quite so many server configurations starting. The one case that actually needs an alias (dc environment for the test_nmblookup.sh test) will still keep it. Andrew Bartlett
2011-04-19selftest: put the target on the environmentAndrew Bartlett1-5/+11
This will allow us to have a 'switch' target type that creates environments from Samba3 or Samba4 as required. Andrew Bartlett
2011-04-19lib/socket_wrapper: allow up to 32 interfaces for a bigger 'make test'Andrew Bartlett1-1/+4
The combined s3/s4 'make test' needs more interfaces. Andrew Bartlett
2011-04-19Fix bug 8088 - rpccli_samr_chng_pswd_auth_crap segfaults if any input blobs ↵Jeremy Allison1-12/+9
are null. Correct fix - ensure we have enough length, and correctly null out passed in structs if not. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 19 00:17:08 CEST 2011 on sn-devel-104
2011-04-18s3 waf: Mimic the autoconf check for netgrentKai Blin1-3/+7
The autoconf check for netgrent headers makes sure that the compiler flag used (-Werror-implicit-function-declaration) is recognized by the compiler before using it for the test. Mimic this behaviour in the waf checks. Thanks to gd for noticing this. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Apr 18 16:24:15 CEST 2011 on sn-devel-104
2011-04-18s3 autobuild: Fix CFLAG check for netgrent testsKai Blin1-1/+1
In 45ac8ffd I accidently added the wrong flag check. Fix this. Thanks to gd for noticing. Signed-off-by: Günther Deschner <gd@samba.org>
2011-04-18s3: Fix the build of vfs_gpfs.cVolker Lendecke1-0/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 18 14:40:07 CEST 2011 on sn-devel-104
2011-04-17samba-tool: fix machinepw command so that we use the full path to the secret ↵Matthieu Patou1-3/+6
database and raise an error if secret can't be found Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Apr 17 13:12:27 CEST 2011 on sn-devel-104
2011-04-17s3: Use \0 instead of NULL when 0-terminating a stringVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 17 12:26:15 CEST 2011 on sn-devel-104
2011-04-16s3: guest sesssetup is only 13 wordsVolker Lendecke1-1/+1
(cherry picked from commit 69650a2aaa8649570261df7efccb35ad76d7cfc1) Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Apr 16 16:20:08 CEST 2011 on sn-devel-104
2011-04-16s3: Remove an unused variableVolker Lendecke1-3/+0
2011-04-16s3: Use tevent_req_nterror properly in a few placesVolker Lendecke1-12/+6
2011-04-16Remove broken link.Jelmer Vernooij1-4/+0
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Apr 16 14:59:15 CEST 2011 on sn-devel-104
2011-04-16util: Build samba-util without unresolved symbols.Brad Hards1-33/+60
This is useful for the Samba4 case where external users otherwise need to link to (private) libsamba-util-common. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Apr 16 12:29:33 CEST 2011 on sn-devel-104
2011-04-16s4-heimdal: Allow any kvno to match when searching the keytab.Andrew Bartlett1-2/+1
Windows does not use a KVNO when it checks it's passwords, and MIT doesn't check the KVNO when no acceptor identity is specified (looping over all keys in the keytab). Andrew Bartlett
2011-04-16s3-gse Allow GSSAPI wrapper to compile against HeimdalAndrew Bartlett1-1/+3
2011-04-16selftest: Allow the top level build to run the samba4 or samba3 testsAndrew Bartlett1-17/+33
This is selected with for example ./buildtools/bin/waf test --target=samba3 Andrew Bartlett
2011-04-16s4-heimdal_build: Add extra HAVE defines needed for the source3 krb5 codeAndrew Bartlett1-0/+3
2011-04-16selftest Remove selftest of the test subsystemAndrew Bartlett2-22/+0
The intereactions between selftest.pl and the target are now too complex to unit test like this any more. Andrew Bartlett
2011-04-16selftest: Move Samba4 selftest wscript to the top levelAndrew Bartlett2-2/+2
2011-04-16selftest Add binary mappings for samba3 selftestAndrew Bartlett8-32/+43
This will help us have a top level 'make test', working around the fact that the --eanble-s3build has different names for some of these binaries, without fixing the names forever (we can just change the mapping later). Andrew Bartlett
2011-04-16selftest: Start using the binary mapping at the python layer as wellAndrew Bartlett3-2/+12
2011-04-16selftest: Remove duplication between BUILDIR and BINDIRAndrew Bartlett21-32/+29
Just have BINDIR, and have it default to ./bin Andrew Bartlett
2011-04-16selftest: Remove unused BUILDDIR_ABS environment variableAndrew Bartlett1-1/+0
2011-04-16selftest: Provide a single bindir_path function across all targetsAndrew Bartlett5-62/+71
This will allow a mapping to be made between things like smbtorture4 -> smbtorture that is correct for the different build environments. Andrew Bartlett
2011-04-16Trying to track down the SMB2 error. Add an invariant test.Jeremy Allison1-1/+4
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 16 02:15:38 CEST 2011 on sn-devel-104
2011-04-15Use handle based xattr set if available.Jeremy Allison1-4/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Apr 15 22:11:12 CEST 2011 on sn-devel-104
2011-04-15Ensure vfs_chown_fsp() is safe against races.Jeremy Allison3-6/+74
2011-04-15s3-waf: only LIBNMB needs to linked against -lresolv.Günther Deschner1-26/+26
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 17:02:16 CEST 2011 on sn-devel-104
2011-04-15s4-dsdb: Add more information on why we don't check the SD controlMatthieu Patou1-0/+5
Signed-off-by: Nadezhda Ivanova <nivanova@samba.org> Autobuild-User: Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date: Fri Apr 15 16:16:27 CEST 2011 on sn-devel-104
2011-04-15s4-dsdb: If current attribute list is empty use the one from the requestMatthieu Patou1-1/+1
This will avoid overwritting attribute list made by upper modules. Signed-off-by: Nadezhda Ivanova <nivanova@samba.org>
2011-04-15s3-build: fix the --with-profiling-data build on mac os x.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 15 13:33:43 CEST 2011 on sn-devel-104
2011-04-15s3-waf: try to fix the non-ldap-but-krb5 build.Günther Deschner3-3/+6
Guenther
2011-04-15s3: Fix bug 8066, wrong output in smbgetVolker Lendecke1-4/+9
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Apr 15 09:32:55 CEST 2011 on sn-devel-104
2011-04-15s3-krb5 Move #ifdef HAVE_KRB5 above #include of libcli/auth/krb5_wrap.hAndrew Bartlett1-1/+2
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 15 01:22:51 CEST 2011 on sn-devel-104
2011-04-14Ensure change_dir_owner_to_parent() can't be raced.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 14 23:39:55 CEST 2011 on sn-devel-104
2011-04-14Fix bug #8083 - "inherit owner = yes" doesn't interact correctly with ↵Jeremy Allison1-3/+27
vfs_acl_xattr or vfs_acl_tdb module. If "inherit owner = yes", pass in the directory owner and group owner as the target for CREATOR_OWNER and CREATOR_GROUP substitutions, and also as the owner and primary group of the new security descriptor being applied to the object. Jeremy.
2011-04-14Optimization for change_file_owner_to_parent() and change_dir_owner_to_parent()Jeremy Allison1-0/+21
Don't do the chown if the owner is already correct.
2011-04-14s3: Fix Coverity ID 2471: UNINITVolker Lendecke1-2/+1
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 16:22:58 CEST 2011 on sn-devel-104
2011-04-14s3: Fix smbd with the async echo responderVolker Lendecke1-10/+13
We need to read from the echo socket, pass the socket to read from down to the read routines Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Apr 14 15:34:36 CEST 2011 on sn-devel-104
2011-04-14s3-build: make sure we pick up system tdb and talloc via #include.Günther Deschner4-6/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Apr 14 12:56:28 CEST 2011 on sn-devel-104
2011-04-14s3-includes: move readahead prototype to its only user.Günther Deschner2-4/+4
Guenther
2011-04-14s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Apr 14 11:55:56 CEST 2011 on sn-devel-104
2011-04-14libcli/auth Fix compile on hosts without krb5Andrew Bartlett1-2/+2
Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 11:08:49 CEST 2011 on sn-devel-104
2011-04-14lib/util Move alpha_strcpy() from s3 into common codeAndrew Bartlett4-100/+51
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 14 09:21:59 CEST 2011 on sn-devel-104
2011-04-14s3-auth Rename smb_krb5_open_keytab to avoid a conflict with s3Andrew Bartlett2-9/+9
The s3 function doesn't use the keytab_container concept. Andrew Bartlett
2011-04-14libcli/auth Move krb5 wrapper functions from s3 into commonAndrew Bartlett12-299/+166
This requires a small rework of the build system to ensure that the correct #define statements are made in both the s3 and top level builds. We now define the various HAVE_ macros in config.h at all times, using heimdal_build/wscript_configure when that is in use. Andrew Bartlett