s3/auth map NULL domains to our global sam name
authorSteven Danneman <steven.danneman@isilon.com>
Thu, 28 May 2009 00:14:49 +0000 (17:14 -0700)
committerSteven Danneman <steven.danneman@isilon.com>
Thu, 28 May 2009 20:21:15 +0000 (13:21 -0700)
commitfbca26923915a70031f561b198cfe2cc0d9c3aa6
treea471770c51b0944545c3000fe894c7cddd7cb532
parentd74e42e0eca0bb15c12fa51f125d905a6cee5db5
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.
source3/auth/auth_util.c