1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-11 17:58:16 +03:00

7223 Commits

Author SHA1 Message Date
Jeremy Allison
e943ace4f0 Fix for extra capabilities from Urban Widmark <urban@teststation.com>.
Jeremy.
-
Jeremy Allison
5700cbbd3f Patch from dan_thibadeau@hp.com to allow domain set in authfile.
Jeremy.
-
Jean-François Micouleau
589aa4fe22 added info level 1 to samr_query_alias() -
Jeremy Allison
7b8fb8d85c Fixup JF's weird SID return :-).
Jeremy
-
Jeremy Allison
2a1b531a1c Tidyup utmp code to cope with hostname = NULL.
Jeremy
-
Andrew Tridgell
2c54cfbc47 fixed handling of empty or dead domain in wbinfo -g -
Tim Potter
c15dec74a3 A fix to override the location of a user's home directory if it is
specified in the [homes] section of the smb.conf file.

Jeremy, can you take a look at this?  This is in response to someone on the
samba mailing list worrying about it.


Tim.

From: Phil Thompson <philnanne@mediaone.net>
To: samba@lists.samba.org
Subject: Different [homes] behavior in 2.2.2
X-Original-Date: Mon, 17 Dec 2001 23:09:28 -0500


Is it possible to configure samba to disregard the home directory in the
passwd file when using [homes]?  Even though an alternate "path" is set
in [homes], the service fails since the unix home directory is invalid
(nonexistent) on the server.

[...]

This behavior of validating the user's home dir as set in the passwd
files appears to be new
in 2.2.2 and the latest CVS. Anyway to work around this?
-
Tim Potter
5095941dcb Fixed uninitialised variable warning. -
Tim Potter
f26e8205cf Removed unused function, delete_fn() -
Tim Potter
5e0f0716ca Fixed bad args to debug statements. -
Jeremy Allison
dd13daf52b I'm pretty sure we need to return our netbios name for LSA_QUERY_INFO
level 5 when we're a standalone server. This makes the security dialogs
return correct info. JF - please check !
Jeremy.
-
Jeremy Allison
d5fdb1f096 Return NT_STATUS_OBJECT_NOT_FOUND or ERRbadpipe if pipe name not found.
Jeremy.
-
Jeremy Allison
9f2b6a0742 Fixed the bug with descending into mangled directories.
The problem is that name_map_mangle can *change* the length of a patchname.
Ensure that all the character pointer messing about can cope with changing
sizes of components. This code is too ugly to live.....
This also needs *lots* of testing.
Jeremy.
-
Jean-François Micouleau
1fbb01868b in lsa_query_info at level 5 in member mode, we must reply our machine
name and not our domain name.

I thought it has been already fixed !

	J.F.
-
Jean-François Micouleau
49764852c5 fixing bug I introduced.
J.F.
-
Jean-François Micouleau
cb61606b8e initialise strings -
Jean-François Micouleau
a217c4e4ff there is no unknown field in LSA_SEC_QOS
some cleanup of the lsa_open_policy and lsa_open_policy2 parser. the
length fields are not correct but that's what NT send. We don't anymore
underflow or overflow the decoding.

added the domain admins group to the default SD.

we are now checking the desired access flag in the lsa_open_policy_X()
calls and in most functions also.

        J.F.
-
Jean-François Micouleau
c44f4e9e33 tidy up debug
J.F.
-
Jeremy Allison
f6d6825bc8 Made "hide unreadable" work much more reliably (just for Volker :-).
Jeremy.
-
Jim McDonough
477309b1e6 make sure we pass the lm and nt data in the right order. They were swapped, and somehow this worked when both were provided, but not when only one was. -
Samba Release Account
24ad6962fc preparing for release of 3.0-alpha9 -
Andrew Tridgell
f1231c2b54 allow selection of the organisational unit when joining a realm -
Andrew Tridgell
505a1bdd15 obey "use mmap" on case tables -
Andrew Tridgell
bed269e6d4 removed unused variable -
Tim Potter
b596c0b171 Replaced some hardcoded hex numbers with constants.
Made a note about NOTIFY_OPTION_TYPE and NOTIFY_OPTION_TYPE_DATA - they are
actually one structure.  The latter is just the deferred referrant of the
former.
-
Tim Potter
6b20d863b7 Added some constants for registry data types. -
Jeremy Allison
32dffa0ba7 Moved fchown_acl change to the point where we *really* know if we
created the file or not.
Jeremy.
-
Jeremy Allison
2405385854 Ensured filetimes set (by name) after close. Ignore errors. This is the
correct way to ensure times set in 'pending modtime' and 'time close'
are always set correctly. Inspired by patch from Juergen Hasch.
Jeremy.
-
Jeremy Allison
ad9a5a26e0 Allow HPUX to link with new ACL code.
Jeremy.
-
Jeremy Allison
6d03184f8c Added HPUX ACL code.
Jeremy.
-
Jeremy Allison
59e01a22c5 Added the group enum code from 2.2
Jeremy.
-
Jim McDonough
07ea83e6f0 If domain SID can't be fetched, we shouldn't return NT_STATUS_NO_MEMORY. It causes a confusing client error. Changed to NT_STATUS_CANT_ACCESS_DOMAIN_INFO. -
Gerald Carter
096d06a961 ChangeID fixe from APPLIANCE_HEAD -
Simo Sorce
d0614b2e66 I see no reasons why we should limit username lenght while checking
see bug 22130

jeremy, probably this should be fixed also in 2_2
-
Jean-François Micouleau
84289a9bf4 add lsa_query_secobj server code. level 4 is the ACL, level 1 is the
owner. that's basic stuff.

got the POLICY_ define from TNG but they are also in an include file in
the NT SDK.

	J.F.
-
Jeremy Allison
064a3e0fc4 Updated Solaris link options from DaveCB.
Jeremy.
-
Jean-François Micouleau
c26623671e Rafal (mimir) patch for trusts r. -
Tim Potter
dbdbf7cd07 FALSE -> False -
Tim Potter
af24b1036c Display a nice error message if the user%password specified for net rpc
join does not have administrator privileges.
-
Tim Potter
60eb4dc7b1 Display a nice error message for NT_STATUS_LOGON_FAILURE in connect_to_ipc() -
Samba Release Account
fc468838bf preparing for release of 3.0-alpha8 -
Jim McDonough
882e5e3bb8 More help/messages/formatting cleanup. -
Tim Potter
3789c8c707 Merge from 2.2 to allow net rpc join -U to complete even if the workstation
account already exists.

# net rpc join --user=Administrator%password

It's kind of weird seeing the mix of NET.EXE style of options (net command
subcommand /arg:value) with the GNU-style long options.  I think it works.
-
Jim McDonough
e135320e05 Restoration of at least some help function and format. First round of cleanup. Printq function cannot exactly mimic windows output using d_printf...oh well. Add some more command-specific options back into help. -
Tim Potter
3c927e39e7 Set the debuglevel after the call to lp_load() so the change sticks. -
Andrew Tridgell
0839cf03a9 don't use -u switch to /bin/date - too many systems don't honor it -
Tim Potter
594634ff1a Added comment. -
Jeremy Allison
f0d8b7573f Patch for string legths from TAKAHASHI, Motonobu(monyo).
Jeremy.
-
Jean-François Micouleau
c99bc30559 update the ldap support code. it compiles.
Ignacio you can update your howto ;-)

samsync: a small patch to try chaning challenges.

	J.F.
-
Gerald Carter
5b4b3323a3 merge from 2.2 -