ira/wip.git
11 years agoFix dependencies when using shared libraries.
Jelmer Vernooij [Mon, 20 Apr 2009 10:28:02 +0000 (12:28 +0200)]
Fix dependencies when using shared libraries.

11 years agoStore winattrs in GPFS
Mathias Dietz [Wed, 27 May 2009 10:03:12 +0000 (12:03 +0200)]
Store winattrs in GPFS

    1. Store win attributes in gpfs instead of posix bits.
    2. use of path based winattr calls of gpfs.

Signed-off-by: Mathias Dietz <mdietz@de.ibm.com>
11 years agonss_wrapper: prefix function pointer names in struct nwrap_ops.
Günther Deschner [Tue, 2 Jun 2009 12:52:53 +0000 (14:52 +0200)]
nss_wrapper: prefix function pointer names in struct nwrap_ops.

Guenther

11 years agotorture: minor fixes to torture macro text output.
Günther Deschner [Tue, 2 Jun 2009 10:18:59 +0000 (12:18 +0200)]
torture: minor fixes to torture macro text output.

Guenther

11 years agonss_wrapper: resort calls to move public calls to the end.
Günther Deschner [Sun, 31 May 2009 00:20:29 +0000 (02:20 +0200)]
nss_wrapper: resort calls to move public calls to the end.

Guenther

11 years agonss_wrapper: add nwrap_ops function pointer table.
Günther Deschner [Sat, 30 May 2009 23:01:13 +0000 (01:01 +0200)]
nss_wrapper: add nwrap_ops function pointer table.

Guenther

11 years agonss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.
Günther Deschner [Sat, 30 May 2009 22:54:56 +0000 (00:54 +0200)]
nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.

Guenther

11 years agonss_wrapper: fix typo while checking for getgrid_r support.
Günther Deschner [Sat, 30 May 2009 22:50:42 +0000 (00:50 +0200)]
nss_wrapper: fix typo while checking for getgrid_r support.

Metze, this has been in here for a long time, please check.

Guenther

11 years agoAdd a "connectpath" operation to the shadow_copy2 module
Volker Lendecke [Mon, 2 Feb 2009 10:52:08 +0000 (11:52 +0100)]
Add a "connectpath" operation to the shadow_copy2 module

11 years agoAdd SMB_VFS_CONNECTPATH operation
Volker Lendecke [Thu, 28 May 2009 17:20:14 +0000 (19:20 +0200)]
Add SMB_VFS_CONNECTPATH operation

This is required for the shadow_copy2 module and "wide links = no". The file
system snapshots by nature are typically outside of share directory. So the
REALPATH result fails the wide links = no test.

11 years agoRemove a variable used just once
Volker Lendecke [Fri, 30 Jan 2009 14:04:44 +0000 (15:04 +0100)]
Remove a variable used just once

11 years agoFix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of "workgroup"
Jeremy Allison [Mon, 1 Jun 2009 21:36:34 +0000 (14:36 -0700)]
Fix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of "workgroup"
Unify the handling of the sessionsetup parsing so we don't get different
results when parsing a guest reply than an ntlmssp reply.
Jeremy.

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Mon, 1 Jun 2009 12:04:00 +0000 (22:04 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agouse the unique flag on ldb attributes to optimise & clauses
Andrew Tridgell [Mon, 1 Jun 2009 12:03:20 +0000 (22:03 +1000)]
use the unique flag on ldb attributes to optimise & clauses

When a attribute is marked unique we know that if we find a match
it will be the only possible match. This means that in a list of
subtrees connected by an &, it is best to first load the index values
for the unique entries, as if they find something then we know we
won't have to look any further.

This helps with searches like this:

  (&(objectclass=user)(samaccountname=tridge))

the old code would first have loaded the very large index for the
objectclass=user attribute, and then loaded the single entry for
samaccountname=tridge. Now we load the samaccountname=tridge entry
first, notice that it gives us a single result, and stop, thereby
skipping the load of the objectclass=user index record completely.

11 years agos4:mkproto: Add NET_API_STATUS return type.
Andrew Kroeger [Mon, 1 Jun 2009 09:36:50 +0000 (04:36 -0500)]
s4:mkproto: Add NET_API_STATUS return type.

The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type
for some functions.  The torture/libnetapi/proto.h private header that was being
generated by mkproto.pl did not include a prototype for the test_netuseradd()
function, as it did not know how to handle the NET_API_STATUS return type.

11 years agogitignore: Ignore additional auto-generated file
Andrew Kroeger [Mon, 1 Jun 2009 00:36:55 +0000 (19:36 -0500)]
gitignore: Ignore additional auto-generated file

11 years agowe don't need the unique checks in the samldb code now
Andrew Tridgell [Mon, 1 Jun 2009 06:37:28 +0000 (16:37 +1000)]
we don't need the unique checks in the samldb code now

These attributes now use the unique indexing flag

11 years agomark samAccountName, objectGUID and objectSID as unique indexed
Andrew Tridgell [Mon, 1 Jun 2009 06:36:56 +0000 (16:36 +1000)]
mark samAccountName, objectGUID and objectSID as unique indexed

11 years agoadded support for unique indexing in ldb
Andrew Tridgell [Mon, 1 Jun 2009 06:36:21 +0000 (16:36 +1000)]
added support for unique indexing in ldb

When a attribute is marked as LDB_ATTR_FLAG_UNIQUE_INDEX then attempts
to add a 2nd record that has the same attribute value for this
attribute as another record will fail.

This provides a much more efficient mechanism for ensuring that
attributes like objectGUID are unique

11 years agofix uninitialised use of samctx
Andrew Tridgell [Mon, 1 Jun 2009 03:42:51 +0000 (13:42 +1000)]
fix uninitialised use of samctx

11 years agooverallocate all records by 25%
Andrew Tridgell [Mon, 1 Jun 2009 03:13:07 +0000 (13:13 +1000)]
overallocate all records by 25%

This greatly reduces the fragmentation of databases where records
tend to grow slowly by a small amount each time. The case where this
is most seen is the ldb index records. Adding this overallocation
reduced the size of the resulting database by more than 20x when
running a test that adds 10k users.

11 years agoauto-repack in transactions that expand the tdb
Andrew Tridgell [Mon, 1 Jun 2009 03:11:39 +0000 (13:11 +1000)]
auto-repack in transactions that expand the tdb

The idea behind this is to recover from badly fragmented free
lists. Choosing the point where the file expands is fairly arbitrary,
but seems to work well.

11 years agowhen comp_num is zero, the case folded DN is always ""
Andrew Tridgell [Mon, 1 Jun 2009 02:58:48 +0000 (12:58 +1000)]
when comp_num is zero, the case folded DN is always ""

This fixes a bug where we would look at an uninitialised
dn->linearized

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Mon, 1 Jun 2009 00:39:30 +0000 (10:39 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoFix some nonempty blank lines
Volker Lendecke [Sun, 31 May 2009 09:14:06 +0000 (11:14 +0200)]
Fix some nonempty blank lines

11 years agoFix a C++ warning
Volker Lendecke [Sun, 31 May 2009 09:06:23 +0000 (11:06 +0200)]
Fix a C++ warning

11 years agonss_wrapper: try to fix the build of nss_wrapper on solaris.
Günther Deschner [Sat, 30 May 2009 20:43:17 +0000 (22:43 +0200)]
nss_wrapper: try to fix the build of nss_wrapper on solaris.

Guenther

11 years agoFix bug #6421 - POSIX read-only open fails on read-only shares.
Jeremy Allison [Sat, 30 May 2009 20:28:03 +0000 (13:28 -0700)]
Fix bug #6421 - POSIX read-only open fails on read-only shares.
The change to smbd/trans2.c opens up
SETFILEINFO calls to POSIX_OPEN only. The change to first smbd/open.c closes 2
holes that would have been exposed by allowing POSIX_OPENS on readonly shares,
and their ability to set arbitrary flags permutations. The O_CREAT ->
O_CREAT|O_EXCL change removes an illegal combination (O_EXCL without O_CREAT)
that previously was being passed down to the open syscall.
Jeremy.

11 years agoMove a comment where it belongs
Volker Lendecke [Sat, 30 May 2009 16:24:14 +0000 (18:24 +0200)]
Move a comment where it belongs

11 years agoMake it possible to change machine account sids
Simo Sorce [Sat, 30 May 2009 14:16:31 +0000 (10:16 -0400)]
Make it possible to change machine account sids

Fixes bug #6081

11 years agoRemove trailing whitespaces
Simo Sorce [Sat, 30 May 2009 13:48:38 +0000 (09:48 -0400)]
Remove trailing whitespaces

11 years agoSimplify the dropbox patch
Jeremy Allison [Sat, 30 May 2009 09:30:16 +0000 (11:30 +0200)]
Simplify the dropbox patch

11 years agoMove ads flags mapping to lib/
Volker Lendecke [Sat, 30 May 2009 08:12:53 +0000 (10:12 +0200)]
Move ads flags mapping to lib/

11 years agotalloc_strdup "dir" in wb_context_init
Volker Lendecke [Sat, 30 May 2009 07:54:14 +0000 (09:54 +0200)]
talloc_strdup "dir" in wb_context_init

11 years agoHandle EINTR in async_sock.c
Volker Lendecke [Sat, 30 May 2009 07:49:17 +0000 (09:49 +0200)]
Handle EINTR in async_sock.c

11 years agos3-selftest: Fix invalid /etc/group file used with nss_wrapper.
Günther Deschner [Sat, 30 May 2009 00:25:11 +0000 (02:25 +0200)]
s3-selftest: Fix invalid /etc/group file used with nss_wrapper.

Found by torture test.

Guenther

11 years agolibwbclient: Store the winbind socket dir to use in the wb_context
Kai Blin [Tue, 21 Apr 2009 07:58:42 +0000 (09:58 +0200)]
libwbclient: Store the winbind socket dir to use in the wb_context

11 years agolibwbclient: Silence a compiler warning
Kai Blin [Wed, 1 Apr 2009 12:22:05 +0000 (14:22 +0200)]
libwbclient: Silence a compiler warning

11 years agolibwbclient: Add async call framework.
Kai Blin [Thu, 16 Apr 2009 12:53:36 +0000 (14:53 +0200)]
libwbclient: Add async call framework.

11 years agoRe-Add the "dropbox" functionality with -wx rights on a directory
Volker Lendecke [Wed, 13 May 2009 13:46:35 +0000 (15:46 +0200)]
Re-Add the "dropbox" functionality with -wx rights on a directory

11 years agonss_wrapper: add test_nwrap_membership to testsuite.
Günther Deschner [Fri, 29 May 2009 07:21:11 +0000 (09:21 +0200)]
nss_wrapper: add test_nwrap_membership to testsuite.

Guenther

11 years agonss_wrapper: restructure parts of the testsuite.
Günther Deschner [Fri, 29 May 2009 20:37:07 +0000 (22:37 +0200)]
nss_wrapper: restructure parts of the testsuite.

Guenther

11 years agonss_wrapper: add support for getgrouplist.
Günther Deschner [Fri, 29 May 2009 07:19:16 +0000 (09:19 +0200)]
nss_wrapper: add support for getgrouplist.

Guenther

11 years agoMake cli_nt_delete_on_close() async.
Jeremy Allison [Fri, 29 May 2009 21:58:34 +0000 (14:58 -0700)]
Make cli_nt_delete_on_close() async.
Jeremy.

11 years agos3:pdbedit: fix "format not a string literal and no format arguments" warnings
Michael Adam [Fri, 29 May 2009 21:48:26 +0000 (23:48 +0200)]
s3:pdbedit: fix "format not a string literal and no format arguments" warnings

Michael

11 years agos3:add prototype of map_nt_error_from_wbcErr() to proto.h
Michael Adam [Thu, 28 May 2009 23:12:47 +0000 (01:12 +0200)]
s3:add prototype of map_nt_error_from_wbcErr() to proto.h

Michael

11 years agolibsmbclient: make SMBC_module_terminate() static.
Michael Adam [Thu, 28 May 2009 23:08:36 +0000 (01:08 +0200)]
libsmbclient: make SMBC_module_terminate() static.

Michael

11 years agos3:pam_smbpass: make smb_update_db() static.
Michael Adam [Thu, 28 May 2009 23:02:46 +0000 (01:02 +0200)]
s3:pam_smbpass: make smb_update_db() static.

Michael

11 years agoAdd smbldap_talloc_single_blob()
Volker Lendecke [Fri, 29 May 2009 19:27:53 +0000 (21:27 +0200)]
Add smbldap_talloc_single_blob()

11 years agos4-smbtorture: fix the build w/o libnetapi.
Günther Deschner [Fri, 29 May 2009 17:22:43 +0000 (19:22 +0200)]
s4-smbtorture: fix the build w/o libnetapi.

This is surely the wrong fix, but I could not figure out why the samba4 build
system adds the init function although the m4 macro had switched off the torture
libnetapi subsystem when the headers and libs were not found.

Can one of the samba4 build gurus please have a look ?

Guenther

11 years agoutil: Change license on tevent_unix to LGPLv3+
Volker Lendecke [Fri, 29 May 2009 16:28:36 +0000 (18:28 +0200)]
util: Change license on tevent_unix to LGPLv3+

11 years agos3 async wbclient: Change license to LGPLv3+
Volker Lendecke [Fri, 29 May 2009 12:15:51 +0000 (14:15 +0200)]
s3 async wbclient: Change license to LGPLv3+

11 years agoasync_sock: Change license to LGPLv3+
Volker Lendecke [Fri, 29 May 2009 12:14:50 +0000 (14:14 +0200)]
async_sock: Change license to LGPLv3+

11 years agos3 wbc_async: Fix copyright notice cut&paste error.
Kai Blin [Fri, 29 May 2009 12:06:50 +0000 (14:06 +0200)]
s3 wbc_async: Fix copyright notice cut&paste error.

Volker created all these prototypes, I just created the file and moved them over.

Signed-off-by: Kai Blin <kai@samba.org>
11 years agoRevert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."
Günther Deschner [Fri, 29 May 2009 16:11:39 +0000 (18:11 +0200)]
Revert "s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3."

This reverts commit 8da15dc29a920cd6f4d2ed96e8de4fbcd9d1ba11.

11 years agos3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.
Günther Deschner [Fri, 29 May 2009 14:59:35 +0000 (16:59 +0200)]
s3-selftest: enable NETAPI-INITIALIZE and NETAPI-USER against samba3.

Guenther

11 years agos4-smbtorture: add NETAPI-GROUP test.
Günther Deschner [Fri, 29 May 2009 14:49:29 +0000 (16:49 +0200)]
s4-smbtorture: add NETAPI-GROUP test.

Guenther

11 years agos4-smbtorture: add NETAPI-USER test.
Günther Deschner [Fri, 29 May 2009 14:39:04 +0000 (16:39 +0200)]
s4-smbtorture: add NETAPI-USER test.

Guenther

11 years agos3-passdb: fix uninitialized variable in local_password_change().
Günther Deschner [Fri, 29 May 2009 16:08:02 +0000 (18:08 +0200)]
s3-passdb: fix uninitialized variable in local_password_change().

Guenther

11 years agoConsolidate create/delete account paths in pdbedit
Simo Sorce [Sun, 17 May 2009 00:36:28 +0000 (20:36 -0400)]
Consolidate create/delete account paths in pdbedit

Use common paths like for smbpasswd, so that all utilities
behave the same way. As for smbpasswd this changes the behavior
of pdbedit to create/delete unix users is the add/delete user
scripts are provided, or ldapsam:editposix is configured.

Signed-off-by: Günther Deschner <gd@samba.org>
11 years agoConsolidate user create/delete paths in smbpasswd
Simo Sorce [Sat, 16 May 2009 22:10:39 +0000 (18:10 -0400)]
Consolidate user create/delete paths in smbpasswd

This patch changes the way smbpasswd behaves when adding/deleting users.
smbpasswd now calls pdb_create_user/pdb_delete_user, this means that if
add/delete user scripts are configured then they are used to create or
delete unix users as well. If the scripts are not defined the behavioris
unchanged.
This also allow to use smbpasswd -a/-x with ldapsam:editposix to allow
automatic creation/deletion of users.

Signed-off-by: Günther Deschner <gd@samba.org>
11 years agos4-smbtorture: add very basic LIBNETAPI testsuite.
Günther Deschner [Fri, 29 May 2009 14:36:44 +0000 (16:36 +0200)]
s4-smbtorture: add very basic LIBNETAPI testsuite.

Guenther

11 years agos3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.
Günther Deschner [Thu, 28 May 2009 14:14:18 +0000 (16:14 +0200)]
s3-selftest: enable LOCAL-NSS-WRAPPER test against samba 3.

Guenther

11 years agos4-smbtorture: add a very basic NSS-WRAPPER testsuite.
Günther Deschner [Thu, 28 May 2009 14:13:33 +0000 (16:13 +0200)]
s4-smbtorture: add a very basic NSS-WRAPPER testsuite.

Guenther

11 years agoutil: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.
Günther Deschner [Thu, 28 May 2009 14:08:04 +0000 (16:08 +0200)]
util: move add_gid_to_array_unique to toplevel and add add_uid_to_array_unique.

Guenther

11 years agos4-smbtorture: remove trailing whitespace.
Günther Deschner [Fri, 29 May 2009 11:18:23 +0000 (13:18 +0200)]
s4-smbtorture: remove trailing whitespace.

Guenther

11 years agos4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supporting
Günther Deschner [Fri, 29 May 2009 11:16:25 +0000 (13:16 +0200)]
s4-smbtorture: Fix test_SamLogon() for netlogon servers not yet supporting
validation level 6.

Guenther

11 years agos3-netlogon: Fix _netr_LogonSamLogon{Ex} with validation level != 3.
Günther Deschner [Fri, 29 May 2009 11:15:27 +0000 (13:15 +0200)]
s3-netlogon: Fix _netr_LogonSamLogon{Ex} with validation level != 3.

Guenther

11 years agos3-netlogon: return proper error code for unsupported validation class.
Günther Deschner [Fri, 29 May 2009 10:42:15 +0000 (12:42 +0200)]
s3-netlogon: return proper error code for unsupported validation class.

Guenther

11 years agos3-rpc_server: increase max number of open policy handles per pipe to 2048.
Günther Deschner [Fri, 29 May 2009 10:41:41 +0000 (12:41 +0200)]
s3-rpc_server: increase max number of open policy handles per pipe to 2048.

Guenther

11 years agos3/getdcname: Fix 'net' crash.
Kumar Thangavelu [Fri, 29 May 2009 09:27:38 +0000 (11:27 +0200)]
s3/getdcname:  Fix 'net' crash.

'net' command crashed when attempting to join a
domain. This occurred in a very specific case where
the DC had multiple IPs and one of the IPs was invalid.

Signed-off-by: Volker Lendecke <vl@samba.org>
11 years agos3/docs: Fix typo.
Karolin Seeger [Fri, 29 May 2009 07:49:49 +0000 (09:49 +0200)]
s3/docs: Fix typo.

This fixes bug #4341.
Thanks to Michael Cartmell <michael.cartmell [at] thomson.com> for reporting!

Karolin

11 years agoFix some nonempty blank lines
Volker Lendecke [Fri, 29 May 2009 07:42:31 +0000 (09:42 +0200)]
Fix some nonempty blank lines

11 years agoWin2k3 don't allow creating of domain trust accounts over SAMR
Andrew Bartlett [Fri, 29 May 2009 07:12:06 +0000 (17:12 +1000)]
Win2k3 don't allow creating of domain trust accounts over SAMR

11 years agos4:torture Don't try to Close a Deleted handle
Andrew Bartlett [Fri, 29 May 2009 07:02:19 +0000 (17:02 +1000)]
s4:torture Don't try to Close a Deleted handle

11 years agos4: Add additional 2-letter SID/RID mappings.
Andrew Kroeger [Fri, 29 May 2009 01:18:33 +0000 (20:18 -0500)]
s4: Add additional 2-letter SID/RID mappings.

Information from http://msdn.microsoft.com/en-us/library/aa379602(VS.85).aspx

11 years agos4: Add additional well-known SID's/RID's.
Andrew Kroeger [Fri, 29 May 2009 01:02:42 +0000 (20:02 -0500)]
s4: Add additional well-known SID's/RID's.

Information was found at http://support.microsoft.com/kb/243330

Not all well-known identifiers were included - only those necessary for
enhancing the 2-letter mappings used in SDDL strings were added.

11 years agos4:setup Remove generated attributes from provision_configuration
Andrew Bartlett [Fri, 29 May 2009 02:15:28 +0000 (12:15 +1000)]
s4:setup Remove generated attributes from provision_configuration

Incorrectly added in 95eeef91d3ed7daf8e19029eadcc610caf26db63, and
found by OpenLDAP backend tests run by Theodor Chirana <office@adaptcom.ro>

Andrew Bartlett

11 years agos4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGES
Andrew Bartlett [Thu, 28 May 2009 22:35:59 +0000 (08:35 +1000)]
s4:torture Don't run QueryDisplayInfo test for SAMR-USERS-PRIVILEGES

11 years agos4:torture Clean up users and groups added in RPC-SAMR-LARGE-DC
Andrew Bartlett [Thu, 28 May 2009 22:35:41 +0000 (08:35 +1000)]
s4:torture Clean up users and groups added in RPC-SAMR-LARGE-DC

11 years agos4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSET
Andrew Bartlett [Thu, 28 May 2009 04:49:29 +0000 (14:49 +1000)]
s4:torture Half the repeditive tests run by RPC-SAMR-PASSWORDS-PWDLASTSET

11 years agoExplicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow
Andrew Bartlett [Thu, 28 May 2009 04:13:11 +0000 (14:13 +1000)]
Explicitly list RPC-SAMR-PASSWORDS-PWDLASTSET and RPC-SAMR-USERS-PRIVILAGES as slow

11 years agos4:client Match Samba3 and remove smbmount from the distribution
Andrew Bartlett [Thu, 28 May 2009 01:44:44 +0000 (11:44 +1000)]
s4:client Match Samba3 and remove smbmount from the distribution

11 years agos4:torture Make the RPC-SAMR-PWDLASTET more efficient
Andrew Bartlett [Thu, 28 May 2009 00:42:28 +0000 (10:42 +1000)]
s4:torture Make the RPC-SAMR-PWDLASTET more efficient

By using SamLogonEx we avoid setting up the credentials chain for each
request.

(Needs to be pushed further up the stack, to only connect to NETLOGON once).

Andrew Bartlett

11 years agoFix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
Andrew Bartlett [Fri, 29 May 2009 00:34:00 +0000 (10:34 +1000)]
Fix incorrect RID for KRBTGT.  (was incorectly 514, should be 502)

Requires recompile of source4/kdc/*

Found by Andrew Kroeger <andrew@id10ts.net>

Andrew Bartlett

11 years agoFix incorrect RID for KRBTGT. (was incorectly 514, should be 502)
Andrew Bartlett [Fri, 29 May 2009 00:34:00 +0000 (10:34 +1000)]
Fix incorrect RID for KRBTGT.  (was incorectly 514, should be 502)

Requires recompile of source4/kdc/*

Found by Andrew Kroeger <andrew@id10ts.net>

Andrew Bartlett

11 years agoMake cli_posix_chown()/cli_posix_chmod() async.
Jeremy Allison [Thu, 28 May 2009 23:15:09 +0000 (16:15 -0700)]
Make cli_posix_chown()/cli_posix_chmod() async.
Jeremy.

11 years agos3 onefs: update the onefs module to be compliant with stat_ex
Tim Prouty [Thu, 28 May 2009 21:11:43 +0000 (14:11 -0700)]
s3 onefs: update the onefs module to be compliant with stat_ex

11 years agos3: Fix a few more users of stat to use stat_ex
Tim Prouty [Thu, 28 May 2009 21:11:17 +0000 (14:11 -0700)]
s3: Fix a few more users of stat to use stat_ex

11 years agos3 tdbtorture: Fix linking issue
Tim Prouty [Thu, 28 May 2009 20:34:28 +0000 (13:34 -0700)]
s3 tdbtorture: Fix linking issue

tdbtorture now calls the tdb transaction code and needs to link it appropriately

11 years agoMake cli_posix_stat() async.
Jeremy Allison [Thu, 28 May 2009 20:32:00 +0000 (13:32 -0700)]
Make cli_posix_stat() async.
Jeremy.

11 years agos3/auth map NULL domains to our global sam name
Steven Danneman [Thu, 28 May 2009 00:14:49 +0000 (17:14 -0700)]
s3/auth map NULL domains to our global sam name

This is an addendum to d8c54fdd, which made make_user_info_map() match
Windows behavior by mapping untrusted domains given to smbd on the wire
with the users credentials to smbd's global sam name.

This fix was being circumvented in the case where the client passed
a NULL domain.  Vista clients do this.  In that case smbd was always
remapping the name to the machine workgroup.  The NULL domain case
should also be mapped to the global sam name.

Removing the code in this patch, causes us to fall down to the logic
added in d8c54fdd and properly map the domain.

11 years agoMake getfacl async.
Jeremy Allison [Thu, 28 May 2009 20:05:50 +0000 (13:05 -0700)]
Make getfacl async.
Jeremy.

11 years agos3: fix building of pam_smbpass.
Bo Yang [Fri, 29 May 2009 08:10:19 +0000 (16:10 +0800)]
s3: fix building of pam_smbpass.

Signed-off-by: Bo Yang <boyang@samba.org>
11 years agos3-winbindd: fix remaining callers of sid_binstring().
Günther Deschner [Thu, 28 May 2009 13:32:55 +0000 (15:32 +0200)]
s3-winbindd: fix remaining callers of sid_binstring().

Guenther

11 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Andrew Tridgell [Thu, 28 May 2009 12:12:00 +0000 (22:12 +1000)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

11 years agoFix some nonempty blank lines
Volker Lendecke [Thu, 28 May 2009 12:09:44 +0000 (14:09 +0200)]
Fix some nonempty blank lines

11 years agos3:nmbd: fix typo
Björn Jacke [Wed, 27 May 2009 22:25:48 +0000 (00:25 +0200)]
s3:nmbd: fix typo

11 years agonss_wrapper: fix nss_wrapper build for solaris.
Günther Deschner [Thu, 28 May 2009 09:51:46 +0000 (11:51 +0200)]
nss_wrapper: fix nss_wrapper build for solaris.

Guenther

11 years agonss_wrapper: remove re-structuring leftovers (unused variables).
Günther Deschner [Thu, 28 May 2009 08:53:53 +0000 (10:53 +0200)]
nss_wrapper: remove re-structuring leftovers (unused variables).

Guenther