1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
Commit Graph

20117 Commits

Author SHA1 Message Date
Gerald Carter
63325b3687 r17403: add a helpful debug msg 2007-10-10 11:38:32 -05:00
Jeremy Allison
1e1fcb5eb2 r17402: Added lookup_name_smbconf() to be called when looking
up names from smb.conf. If the name is unqualified it
causes the lookup to be done in WORKGROUP\name, then
"Unix [users|groups]"\name rather than searching the
domain. Should fix the problems with "force user"
selecting a domain user by preference.
Jeremy.
2007-10-10 11:38:31 -05:00
Gerald Carter
92ccdec33f r17401: BUG 3855: remove bits of XML and SQL checks from aclocal.m4 2007-10-10 11:38:31 -05:00
Volker Lendecke
d12b08fc61 r17399: Some C++ warnings 2007-10-10 11:38:31 -05:00
Jeremy Allison
16ebccbc58 r17393: Remove Volker's ASSERT that num_groupsids > 0.
For guest connection they may well be zero.
This should fix up the buildfarm (fingers
crossed).
Jeremy.
2007-10-10 11:38:31 -05:00
Jeremy Allison
6d822b8567 r17392: Commit Volker's fix for the valid users problem.
Let's look at the build farm now... :-).
Jeremy.
2007-10-10 11:38:31 -05:00
Jeremy Allison
65003e1b25 r17391: Revert the second part of the valid users fix - the
netlogon code uses pdb_get_group_sid() which could
return a S-1-1-22 unix sid. Who knew.... :-(.
I'm going to test Volker's fix instead. Once
3.0.23b is out we *have* to rip out the pdb_set_group_sid()
code....
Jeremy.
2007-10-10 11:38:31 -05:00
Jeremy Allison
79b1e668e2 r17388: Fix the "valid users"/token issue for now. Volker,
please come in and fix it in a less ugly way once
you have some time. Thanks,
Jeremy.
2007-10-10 11:38:30 -05:00
Gerald Carter
c05e2bdc0c r17386: fix inverted logic pointed out by Volker. When deleting a printer return access denied if the printer still exists after the delete_printer_hook() is called 2007-10-10 11:38:30 -05:00
Gerald Carter
24de2d83ff r17383: Patch from Michael Adams <ma@sernet.de> to catch
some memory leaks on error paths in net_ads_join()
2007-10-10 11:38:29 -05:00
Jeremy Allison
0b5b2b53ec r17378: Fix the issues people have been having with mapped
users (username map) and failure to connect to a
share. Essentially, even on a standalone system
we were going into the create_token_from_username()
code (I think by mistake) if the username was mapped.
Fixes bug #3991.

Volker & Jerry - please go over this with a very careful eye
and let me know if this isn't correct (I think it is,
but this isn't my code and it's a dangerous area for
me to be playing in :-).

Jeremy
2007-10-10 11:38:29 -05:00
Jeremy Allison
e9e711fe37 r17376: Fix bug #3985 - ensure in msdfs we check for our
netbios aliases. Reported by Björn Jacke <bjoern@j3e.de>.
Probably needs to be in 3.0.23b (if Björn approves
of the fix).
Jeremy.
2007-10-10 11:38:29 -05:00
Volker Lendecke
795d06f427 r17375: If a field containts only whitespace, we need to do base64 as well.
Volker
2007-10-10 11:38:29 -05:00
Volker Lendecke
61e7ed593b r17374: Get rid of a silly "System User" default for "description", also fetch the
sambaProfilePath.

Volker
2007-10-10 11:38:29 -05:00
Jeremy Allison
330899ec30 r17367: Reverting the ab code. Note I'm not saying this
code is wrong or bad or anything, just that it
needs to be discussed & reviewed on the samba-technical
list before we add a platform-specific NFSv4 mapping.
That way lies a lot of future pain :-).
Jeremy.
2007-10-10 11:38:29 -05:00
Günther Deschner
b3ac5a586b r17366: Save the logon script path from the info3 in the PAM session allowing
other PAM modules to pick it up from there.

Guenther
2007-10-10 11:38:28 -05:00
Günther Deschner
62a8e0b089 r17365: Fix memleak.
Guenther
2007-10-10 11:38:28 -05:00
Volker Lendecke
f002a36338 r17364: Another NT4 join bug: The idealx tools set the primary group sid, and if we do
an update_sam_account later on, we want to also set it using the delete/add
method. As the idealx tools use the replace method, they don't care about what
has been in there before.

Jerry, this is a likely 3.0.23b candidate. Not merging, it's your call :-)

Volker
2007-10-10 11:38:28 -05:00
Volker Lendecke
fd82f185a2 r17363: Some C++ warnings 2007-10-10 11:38:28 -05:00
Alexander Bokovoy
c085355c32 r17358: Re-add JFS2 NFS4 ACLs support, move readme for it into AIX-specific examples directory. 2007-10-10 11:38:28 -05:00
Volker Lendecke
49ad0d4d0e r17356: Also transfer the sambaHomePath attribute.
Volker
2007-10-10 11:38:28 -05:00
Alexander Bokovoy
5b1db01514 r17354: Revert -r 17353 per Volker request while gpfs compatibility layer code will be released. 2007-10-10 11:38:27 -05:00
Alexander Bokovoy
72312cb2e2 r17353: Add support for JFS2 NFS4/AIXC and GPFS acls based on NFSv4 ACLs. 2007-10-10 11:38:27 -05:00
Volker Lendecke
ae6b9b34e5 r17348: Some C++ warnings 2007-10-10 11:38:27 -05:00
Volker Lendecke
641dac4f85 r17347: Some C++ warnings -- 271 left 2007-10-10 11:38:27 -05:00
Jeremy Allison
fcd798ca0c r17346: Add optimisation vl needs for the cluster code where
we don't get the chainlock when getting the byte range
lock record read-only.
Jeremy.
2007-10-10 11:38:27 -05:00
Volker Lendecke
21c8fa2fc8 r17345: Some C++ warnings 2007-10-10 11:38:26 -05:00
Alexander Bokovoy
c9f8fafad6 r17338: Add support for multiple shares test inspired by Samba 4 torture's --unclist option. Triggered by -b sharelist_file option.
Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?)
2007-10-10 11:38:26 -05:00
Volker Lendecke
e947f4bd91 r17335: Some more fixes to net rpc vampire ldif. Still not good though :-(
Volker
2007-10-10 11:38:26 -05:00
Volker Lendecke
8ae7ed1f3c r17334: Some C++ warnings 2007-10-10 11:38:26 -05:00
Volker Lendecke
be9aaffdac r17333: Some C++ warnings 2007-10-10 11:38:26 -05:00
Volker Lendecke
1e4ee728df r17316: More C++ warnings -- 456 left 2007-10-10 11:38:25 -05:00
Volker Lendecke
68c43191c8 r17315: Make talloc and tdb C++-warning-free. Would this also be interesting in talloc
and tdb "upstream"?

Volker
2007-10-10 11:38:25 -05:00
Jeremy Allison
a7a0b6ba50 r17314: Optimisation for POSIX locking. If we're downgrading
a POSIX lock (applying a read-lock) and we overlap
pending read locks then send them an unlock message,
we may have allowed them to proceed.
Jeremy.
2007-10-10 11:38:25 -05:00
Volker Lendecke
94cdd5d64c r17313: Non-Ascii attribute values need to be encoded as base64, with an attribute
name attr:: instead of attr:

German domains tend to have umlauts in group names.

More to come tomorrow.

Volker
2007-10-10 11:38:24 -05:00
Volker Lendecke
d00e73c49b r17312: Do some reformatting on net rpc samsync ldif. Not doing this checkin easily,
as this puts me into svn blame in places I'm not sure I want my name to show
up....

Volker
2007-10-10 11:38:24 -05:00
Jelmer Vernooij
86687b804a r17307: Add datarootdir setting (required for newer autoconfs) 2007-10-10 11:38:24 -05:00
Jeremy Allison
0661d4e266 r17296: Replace the understandable parts of the quota
code with become_root_uid_only()/unbecome_root_uid_only()
pairs. This code needs working on.....
Jeremy.
2007-10-10 11:38:24 -05:00
Jeremy Allison
b3e0f45488 r17295: Back out the become_root_uid_only change on the POSIX
acls code. I'm pretty sure this was safe, but become_root()
does other things to the token stack that become_root_uid_only()
does not, and as we're going into a vfs redirectred function
I decided it wasn't safe for now.
Jeremy.
2007-10-10 11:38:24 -05:00
Jeremy Allison
4143aa83c0 r17294: Make the code a little cleaner. Instead of using the two
calls make it :

become_root_uid_only()
operation
unbecome_root_uid_only()

saving errno across the second call. Most of our internal
change calls can be replaced with these simple calls.

Jeremy
2007-10-10 11:38:24 -05:00
Jeremy Allison
4ace291278 r17293: After the results from the cluster tests in Germany,
fix the messaging code to call the efficient calls :

save_re_uid()
set_effective_uid(0);

messaging_op

restore_re_uid();

instead of using heavyweight become_root()/unbecome_root()
pairs around all messaging code. Fixup the messaging
code to ensure sec_init() is called (only once) so that non-root
processes still work when sending messages.

This is a lighter weight solution to become_root()/unbecome_root()
(which swaps all the supplemental groups) and should be more
efficient. I will migrate all server code over to using this
(a similar technique should be used in the passdb backend
where needed).

Jeremy.
2007-10-10 11:38:24 -05:00
Jeremy Allison
f462daf02c r17292: Try and fix bug #3967 - signing problems on trans
calls introduced by signing code simplification.
Please test if you've seen signing problems with
3.0.23a.
Jeremy.
2007-10-10 11:38:23 -05:00
Jeremy Allison
deaac5bd46 r17291: Fix memory leaks on early exit path.
Jeremy.
2007-10-10 11:38:23 -05:00
Volker Lendecke
afa6e90946 r17279: conn->cnum is the tid we've given to the client. This has nothing to do with
our internal share number.

Funny that it worked at all :-)

Volker
2007-10-10 11:38:23 -05:00
Jeremy Allison
42dec2192c r17276: Don't change the POSIX lock ref count if posix locking = no.
Jeremy.
2007-10-10 11:38:23 -05:00
Gerald Carter
21d69dcb3c r17271: Fix a regression in the ldapsam uri syntax.
Allow multiple LDAP URIs to be grouped by  ""
2007-10-10 11:38:23 -05:00
Jeremy Allison
de1e3f7a7a r17262: After messages from Metze and traces from Karolin Seeger,
turns out that EDQUOTA must map to NT_STATUS_DISK_FULL
for Windows apps to work correctly. My mistake.
Jeremy.
2007-10-10 11:38:23 -05:00
Gerald Carter
c152d20e90 r17260: remove extra ;SAMBA_3_0_23/source/utils/netlookup.c 2007-10-10 11:38:22 -05:00
Gerald Carter
87be77bf35 r17258: Cleanup the 'net ads help join' output and document createupn
and createcomputer options
2007-10-10 11:38:22 -05:00
Volker Lendecke
3ef34468b5 r17254: Simple flattening of an if-statement, no logic change.
Jeremy, I'm sure you will look at this nevertheless :-)

Volker
2007-10-10 11:38:22 -05:00