summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-02-23s3:libsmb only log a dead connection if it was not closedChristian Ambach1-7/+12
in case the cli was closed before (e.g. via a dropped ip message) it can be expected that the read here returns with an error and so we should not log that a connection is dead when it was closed before Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 23 16:51:03 CET 2011 on sn-devel-104
2011-02-23s3: Fix 64-bit errorsVolker Lendecke1-4/+8
Casting those variables will lead to sscanf believing that it sees pointers to unsigned longs. These might be 64 bit long, thus sscanf will overwrite memory it should not overwrite. Assigning the vars later is okay, there we get automatic type conversion. C can be nasty ... Christian, please check!
2011-02-23s3: Fix an uninitialized variable useVolker Lendecke1-1/+2
The "goto error;" lead to the invalid talloc_free. Christian, please check!
2011-02-23s3:idmap:autorid prevent fatal configuration changesChristian Ambach1-2/+112
as the autorid module relies on a stable minimum uid/gid value and rangesize, it now saves the values used at first successful start and refuses to work if these values get changed in smb.conf later. Changing the values after the first mapping was done will result in unpredictable behaviour. Another check covers the maximum uid value. If this gets decreased later and domain range mappings already exist that would result in uid values higher than the new uid value, initialization will be aborted
2011-02-23s3-proto: remove some prototypes of non-existing functions.Günther Deschner6-51/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 15:42:35 CET 2011 on sn-devel-104
2011-02-23s3: Improve an error msg in vfs_gpfsVolker Lendecke1-1/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 23 14:12:39 CET 2011 on sn-devel-104
2011-02-23s3-waf: make use of LIBCLI_CLDAP subsystemStefan Metzmacher1-6/+4
metze Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 10:17:01 CET 2011 on sn-devel-104
2011-02-23Torture test added to run_opentest() to ensure we don't regress onJeremy Allison1-0/+26
the previous change. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 23 03:00:53 CET 2011 on sn-devel-104
2011-02-23Fix bug found against the new Mac client @ Connectathon. Mac clientsJeremy Allison1-1/+9
don't open with FILE_WRITE_ATTRIBUTES when just doing a write, so updating the write time on close fails as smb_set_file_time() now (correctly) checks for FILE_WRITE_ATTRIBUTES in the access_mask before allowing client time update. This is an internal time update being done on a close, not a handle-based client request.
2011-02-23s3-waf: move some parts of auth to AUTH_COMMON to avoid duplicate symbols ↵Günther Deschner2-16/+15
with winbindd. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Feb 23 02:16:23 CET 2011 on sn-devel-104
2011-02-23s3-waf: added SYMBOLCHECK support to source3 waf buildAndrew Tridgell1-0/+2
2011-02-23build: moved more files into samba-util-commonAndrew Tridgell1-18/+2
this removes UTIL_SRC from the s3 waf build, as it is now all in common with samba-util-common
2011-02-23build: created samba-util-common libraryAndrew Tridgell1-9/+1
this library will contain files that can be built in common between s3 and s4. Both samba-util and samba-util3 depend on it. Currently this library needs to be marked as allow_undefined_symbols, in order to allow s4 to build it. We can remove that flag once we have all the needed symbols in common Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22Revert "s3-waf: make use of LIBCLI_CLDAP subsystem"Günther Deschner1-3/+6
Metze, we need to cleanup deps to idtree and cli-ldap first. Guenther This reverts commit ac4497edae2800c3fc7c40f0e538b936f1965a75. Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 23:53:25 CET 2011 on sn-devel-104
2011-02-22s3-waf: add check for getspnam().Günther Deschner1-0/+5
Guenther
2011-02-22s3-waf: add check for TDB_ERR_NESTING.Günther Deschner1-0/+5
Guenther
2011-02-22s3-waf: add check for sendfile on AIX.Günther Deschner1-0/+23
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 22:36:53 CET 2011 on sn-devel-104
2011-02-22s3-waf: add check for sendfile on solaris.Günther Deschner1-0/+50
Guenther
2011-02-22s3-waf: add check for sendfile on hpux.Günther Deschner1-0/+37
Guenther
2011-02-22s3-waf: add check for sendfile on freebsd.Günther Deschner1-0/+24
Guenther
2011-02-22s3-waf: add check for sendfile on linux.Günther Deschner1-0/+45
Guenther
2011-02-22s3-waf: make sure ENABLE_BUILD_FARM_HACKS is enabled when run on the buildfarm.Günther Deschner1-0/+3
Guenther
2011-02-22s3-includes: move some chgpasswd related defines to the locations where they ↵Günther Deschner3-12/+12
are used. Guenther
2011-02-22s3-printing: move more printing structs to printing.hGünther Deschner3-40/+41
Guenther
2011-02-22s3-printing: only include printing where really needed.Günther Deschner9-30/+33
Guenther
2011-02-22s3-printing: fix pcacp prototypes and includes.Günther Deschner6-8/+10
Guenther
2011-02-22s3-printing: isolate print notification prototypes better.Günther Deschner7-63/+92
Guenther
2011-02-22s3-waf: make use of LIBCLI_CLDAP subsystemStefan Metzmacher1-6/+3
metze
2011-02-22s3: Fix filtering in pdb_ads_search_usersVolker Lendecke1-6/+19
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Feb 22 20:59:07 CET 2011 on sn-devel-104
2011-02-22s3: Fix some nonempty blank linesVolker Lendecke1-10/+10
2011-02-22s3: Fix a typoVolker Lendecke1-1/+1
2011-02-22s3-waf: add replacetort binary.Günther Deschner1-0/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 15:42:58 CET 2011 on sn-devel-104
2011-02-22s3-waf: add check for ftruncate extend.Günther Deschner1-0/+6
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Feb 22 13:35:48 CET 2011 on sn-devel-104
2011-02-22s3-waf: add check for realpath() NULL arg.Günther Deschner1-0/+21
Guenther
2011-02-22s3-waf: add check for makedev().Günther Deschner1-0/+11
Guenther
2011-02-22s3-waf: add check for TIME_T_MAX.Günther Deschner1-0/+25
Guenther
2011-02-22s3-waf: add check for /proc/sys/kernel/core_pattern.Günther Deschner1-0/+3
Guenther
2011-02-22selftest the raw.mux test is flaky:Andrew Bartlett1-0/+1
TESTING MULTIPLEXED LOCK/LOCK/UNLOCK establishing a lock the second lock will conflict with the first this will too, but we'll unlock while waiting unlock the first range recv the async reply async lock took 265.40 msec failed to trigger early lock retry UNEXPECTED(error): samba3.posix_s3.raw.mux.mux Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Feb 22 07:09:07 CET 2011 on sn-devel-104
2011-02-22s3:auth: change num_groups to from size_t to uint32_tStefan Metzmacher9-22/+22
This will help with the change from UNIX_USER_TOKEN to security_unix_token metze
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett70-892/+892
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-02-22selftest pass in srcdir into Samba3 target moduleAndrew Bartlett1-0/+2
2011-02-22smbtorture Remove random file name before we start RW2Andrew Bartlett1-0/+4
2011-02-22s3-selftest convert tests.sh to pythonAndrew Bartlett15-422/+293
This should allow us a much better chance of invoking the subunit wrappers in the right way, at the right level. Andrew Bartlett
2011-02-22s3-tests use $PREFIX to ensure tests don't work outside the test areaAndrew Bartlett2-11/+12
Andrew Bartlett
2011-02-22Add tests for various s3 auth modesAndrew Bartlett4-5/+51
2011-02-22s3-waf: build bin/smbclient3 for top level buildAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: no need to add suffix3 to smbpasswdAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: convert some subsystems into private librariesAndrew Tridgell2-85/+90
put some commonly used subsystems into private libraries to reduce the install size Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: work around broken cups-config --libs outputAndrew Tridgell1-2/+5
"cups-config --libs" returns -lgssapi_krb5, which ties it to the system krb5 library. It should get this via the indirect dependency of libcups.so instead. Work around this by using 'cups' as the library and avoid using --libs in the cups-config command Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-02-22s3-waf: added support for in-tree heimdal in source3 waf buildAndrew Tridgell1-3/+80
this sets up the right defines for a in-tree heimdal build Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>