1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-24 15:17:06 +03:00

1364 Commits

Author SHA1 Message Date
Jeremy Allison
6fb64d8b36 r1171: Patch from "Lu, Jianliang" <Jianliang.Lu@getronics.com> to
reset password counts when account is reset.
Jeremy.
2007-10-10 10:51:58 -05:00
Jeremy Allison
5e8237e306 r1115: Fix for #1427. Catch bad path errors at the right point. Ensure all
our pathname parsing is consistent.
Jeremy.
2007-10-10 10:51:56 -05:00
Jeremy Allison
894cc6d162 r1085: Now it's had some proper user testing, merge in the deferred open fix. I'm
still doing more testing, but it fixes a behaviour that we've been wrong
on ever since the start of Samba.
Jeremy.
2007-10-10 10:51:54 -05:00
Gerald Carter
e9f109d1b3 r991: Allow winbindd to use the domain trust account password
for setting up an schannel connection.  This solves the problem
of a Samba DC running winbind, trusting a native mode AD domain,
and needing to enumerate AD users via wbinfo -u.
2007-10-10 10:51:53 -05:00
Gerald Carter
066b9c4276 r925: add changes frpm trunk (r841 and r842) -- enable background queue update process and allow printers to have different sharenames from printernames 2007-10-10 10:51:49 -05:00
Jeremy Allison
735e49ddc3 r911: Patch from "Jerome Borsboom" <j.borsboom@erasmusmc.nl>, don't
overwrite error code.
Jeremy.
2007-10-10 10:51:48 -05:00
Jeremy Allison
c179451b07 r810: Fix from "Jerome Borsboom" <j.borsboom@erasmusmc.nl> to ensure error status
codes don't get overwritten.
Jeremy.
2007-10-10 10:51:46 -05:00
Jeremy Allison
d5fb5ba9df r805: Fix to stop smbd hanging on missing group member from "Jianliang Lu" <j.lu@tiesse.com>.
Jeremy.
2007-10-10 10:51:46 -05:00
Jeremy Allison
d97b9146a1 r801: Fix from "Jianliang Lu" <j.lu@tiesse.com> to return correct group
types.
Jeremy.
2007-10-10 10:51:46 -05:00
Jeremy Allison
4695cc95fe r786: Memory leak fixes in (mostly) error code paths from
kawasa_r@itg.hitachi.co.jp. A couple of mem leak fixes in
mainline code paths though :-).
Jeremy.
2007-10-10 10:51:38 -05:00
Gerald Carter
316ba5ad89 r704: BUG 1315: fix for schannel client connections to server's that don't support 128 bit encryption 2007-10-10 10:51:34 -05:00
Volker Lendecke
55fd1e490e r545: Handing a NULL blob to base64_encode_data_blob leads to an invalid write of a
0 in base64_encode_data_blob. I don't know what the base64 encoding of a NULL
string is, so fix the problematic caller I found. The real fix should go into
base64_encode_data_blob.

Volker
2007-10-10 10:51:28 -05:00
Jeremy Allison
7f837db6e4 r475: Don't add ss padding length to the sent length as this is compared
with the actual data to return.
Jeremy.
2007-10-10 10:51:24 -05:00
Jeremy Allison
038cae8a37 r473: Fix for Microsoft hotfix MS04-011 password change breakage.
Jeremy.
2007-10-10 10:51:24 -05:00
Volker Lendecke
fe7daa3b8a r238: Fix memleak 2007-10-10 10:51:15 -05:00
Volker Lendecke
b4429d9743 r229: Don't list domain groups from BUILTIN.
Volker
2007-10-10 10:51:15 -05:00
Gerald Carter
911a28361b r196: merging struct uuid from trunk 2007-10-10 10:51:13 -05:00
Volker Lendecke
6e18bed170 r145: pdb_create_alias now returns NTSTATUS. More of this to follow.
Volker
2007-10-10 10:51:11 -05:00
Gerald Carter
b393469d95 r116: volker's patch for local group and group nesting 2007-10-10 10:51:10 -05:00
Gerald Carter
1fae60ab20 r115: finally checking in tridge's winbindd_schannel patch for connections 2007-10-10 10:51:09 -05:00
Jim McDonough
68022f5ebc r91: Fix lsalookupnames. Previously we'd fail if we didn't find the name, but
we never checked if it was a domain user and didn't find a local one.
2007-10-10 10:51:08 -05:00
Andrew Bartlett
724e8d3f33 r69: Global rename of 'nt_session_key' -> 'user_session_key'. The session key could
be anything, and may not be based on anything 'NT'.  This is also what microsoft
calls it.
2007-10-10 10:51:06 -05:00
Gerald Carter
a7e2730ec4 r39: * importing .cvsignore files
* updateing WHATSNEW with vl's change
2007-10-10 10:51:05 -05:00
Jeremy Allison
ed653cd468 Added per-share parameter "store dos attributes". When set, will store
dos attributes in an EA. Based on an original patch from tridge, but
modified somewhat to cover all cases.
Jeremy.
-
Gerald Carter
1aeeb432c7 BUG 1023: surround get_group_from_gid() with become_unbecome_root() block -
Volker Lendecke
d01cb00aad Fix sambaUserWorkstations for network samlogons against us as DC. Strip
the \\ off the workstation.

Volker
-
Gerald Carter
17ecea4152 merging print change notify fix from HP appliance. Also might address some one the issues in BUG 1007 -
Jeremy Allison
80fde09fc4 Formatting reformat before I start to change anything here.
Jeremy.
-
Volker Lendecke
f0d99f318c There's a specific error message NT_STATUS_ALIAS_EXISTS. -
Jim McDonough
832674c099 more usrmgr fixes: display lockout timers in minutes, not seconds, for samr 2e -
Jim McDonough
fbf909926b quick for for usrmgr. unknown_6 is really max dimension of logon hours array. need to update passdb for this. -
Jim McDonough
840340bd96 Merge fields_present function from HEAD. Now, a field will not be updated
on setuserinfo levels which include this field, unless the corresponding
bit (defined in passdb.h) is turned on.  Without this, newer versions
of usrmgr break us pretty bad.
-
Volker Lendecke
540f625036 net_rpc.c: Don't complain if [add|del]mem was successful.
srv_samr_nt.c: Correctly report that a user is not member of an alias.

Volker
-
Jim McDonough
98833a82fa Do the query part of the previous fix...reset time and duration are set in minutes, not seconds. Works from usrmgr. -
Jim McDonough
700049d9ef reset time and duration are set in minutes, not seconds. Works from usrmgr. -
Jeremy Allison
a47127e90e Fixup correct (as per W2K3) returns for lookupsids as well as lookupnames.
Inspired by Volkers patch.
Jeremy.
-
Jeremy Allison
37a52c3168 Fix based on Volker's code to correctly return code from lsa_lookup_sids
on unmapped sids.
Jeremy.
-
Volker Lendecke
7a947ecdf5 Be able to set alias info for builtin as well.
Volker
-
Volker Lendecke
2863b21d8a In samr_lookup_names Windows does not return WKN_GRP(5) but ALIAS(4) when
you search in BUILTIN. Match that.

Volker
-
Volker Lendecke
04639e8862 Cosmetic fix: Use sid_is_in_our_domain instead of doing it per hand.
Volker
-
Jim McDonough
1976843345 More sync between passdb on 3.0 and HEAD.
Replace unknown_3 with fields_present.  Also causes rpc_samr structure field changes.
-
Gerald Carter
b60f6ec30d remerge andrew's cracklib patch from HEAD and fix a compile warnings -
Jeremy Allison
3a3e336030 Fix up name canonicalization (needed for krb5 keytab support later).
Remove source_env handler (no longer used in any codepath).
Jeremy.
-
Andrew Bartlett
2a2b1f0c87 This adds client-side support for the unicode/SAMR password change scheme.
As well as avoiding DOS charset issues, this scheme returns useful error
codes, that we can map back via the pam interface.

This patch also cleans up the interfaces used for password buffers, to
avoid duplication of code.

Andrew Bartlett
-
Gerald Carter
2fd2c07df4 Bug 381: check builtin (not local) group SID. Patch from Jianliang Lu <j.lu@tiesse.com> -
Gerald Carter
6202e0fa72 revert the cracklib changes until post 3.0.2 -
Andrew Bartlett
bc770edb78 First stab at cracklib support (password quality checking) in Samba 3.0
This adds a configure test, that tries to find out if we have a working
cracklib installation, and tries to pick up the debian hints on where
the dictionary might be found.  Default is per my Fedora Core 1 system -
I'm not sure how much it changes.

Andrew Bartlett
-
Gerald Carter
ebabf72a78 fix some warnings from the Sun compiler -
Andrew Bartlett
faddf5d8f9 Match Win2k, and return NT_STATUS_INVALID_PARAMETER
if this parameter is not an account type

Andrew Bartlett
-
Andrew Bartlett
f9e59f8bc0 JHT came up with a nasty (broken) torture case in preparing examples for
his book.

This prompted me to look at the code that reads the unix group list.  This
code did a lot of name -> uid -> name -> sid translations, which caused
problems.  Instead, we now do just name->sid

I also cleaned up some interfaces, and client tools.

Andrew Bartlett
-