1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-05 21:57:51 +03:00

1176 Commits

Author SHA1 Message Date
Gerald Carter
24b43af642 r10556: BUG 3083: patch from Alex Deiter <tiamat@komi.mts.ru> to fix checking trusted account for winbindd running on a Samba PDC 2007-10-10 11:04:47 -05:00
Günther Deschner
9930013161 r10474: We better ignore builtin SIDs from the Active Directory DC to prevent
that AD's builtin groups mixup with our own builtin groups.

Guenther
2007-10-10 11:03:42 -05:00
Jeremy Allison
6795c818a3 r10321: Fix winbindd recursion bug found by Ingo Steuwer <steuwer@univention.de>.
Jeremy.
2007-10-10 11:03:40 -05:00
Günther Deschner
736dffb2a9 r10270: lowercase groupnames and groupmembers again.
Guenther
2007-10-10 11:03:40 -05:00
Jeremy Allison
e58d8ee055 r10268: Fix for bug #3095 - winbindd checking credentials.
Jeremy.
2007-10-10 11:03:40 -05:00
Volker Lendecke
72546f1856 r10267: Exit if winbind can't find or generate a SID -- there's no point in
continuing. Found during investigation of bug 3105.

Volker
2007-10-10 11:03:39 -05:00
Günther Deschner
ac3786a7a7 r10263: Fix debug which got more instead of less confusing.
Guenther
2007-10-10 11:03:39 -05:00
Günther Deschner
ec79971dc7 r10262: * Fix for getgrnam not returning builtin group (which is done by getent
group)
* Give a better debug message when returning builtin groups.

Guenther
2007-10-10 11:03:39 -05:00
Günther Deschner
d75bfce8cc r10261: Don't bother to peek rids in builtin-sids.
Guenther
2007-10-10 11:03:39 -05:00
Volker Lendecke
5232034b0d r10152: 64-bit fix for bug #3082. Thanks to Robin Hill for tracking this down with
valgrind.

Jerry, if this patch proves to fix his problem, it is definitely a candidate
for the recommended patches page.

Volker
2007-10-10 11:03:34 -05:00
James Peach
623d2e6931 r9780: Clean up a bunch of compiler warnings. 2007-10-10 11:03:26 -05:00
Gerald Carter
9fc539088e r9758: make sure to lower case usernames in winbindd's getpwnam() 2007-10-10 11:03:25 -05:00
Volker Lendecke
d79b179b7f r9709: Fix two bugs found by Brian Moran: Any request sent to winbind while the child
in question is still initializing overwrites domain->dcname. Only overwrite if
the parent actually has sent a dcname and thus really knows it. Second,
ntlm_auth needs the error code, not just the fact it failed.

Jerry, the 3_0 part might qualify as a "recommended patch".

Thanks,

Volker
2007-10-10 11:03:24 -05:00
Gerald Carter
e1de6f238f r9588: remove netsamlogon_cache interface...everything seems to work fine. Will deal with any fallout from special environments using a non-cache solution 2007-10-10 11:03:22 -05:00
Gerald Carter
e822a75390 r9366: patch from Toomas.Soome@mls.ee to include hosts lookups via the winbind pipe on solaris 2007-10-10 11:00:34 -05:00
Gerald Carter
f6b8af1ce1 r9362: formatting cleanup 2007-10-10 11:00:34 -05:00
Gerald Carter
dbdf8c6315 r9361: patch from Ed Plese to fix a faulty error in winbindd
caused by users with no supplementary groups.
2007-10-10 11:00:34 -05:00
Gerald Carter
4936d6d8b2 r9330: Remove the classic dual daemon since it was not being used.
It was already gone in trunk anyways.
working on fixing BUG 3000 which does work now but we are flying
without a cache.
2007-10-10 11:00:33 -05:00
Gerald Carter
c064609b94 r9322: fixing debug log and ensuring that we set the right winbind_methods
pointer in get_cache() by requiring that all domain structure be
initialized with the set_dc_type_and_flags().
2007-10-10 11:00:33 -05:00
James Peach
bb579141d8 r9301: Allow user-defined list and lookup timeouts on IRIX. Bugzilla bug #2284. 2007-10-10 11:00:32 -05:00
Jeremy Allison
c63ad85b8c r9252: 2 type fixes from Luke Mewburn <lukem@NetBSD.org>. Bugid #2934.
Jeremy.
2007-10-10 11:00:29 -05:00
Gerald Carter
c2f69827de r8800: grr...get logic right when checking #define 2007-10-10 11:00:18 -05:00
Gerald Carter
7588c32baa r8799: disabling schannel on samr and lsa until I figure out
the latest MS changes in 2003 sp1 and 2004 sp4 sr1
2007-10-10 11:00:17 -05:00
Gerald Carter
bc1443837c r8796: disable schannel on the lsa client pipe for now to deal with Windows 2003 sp1 and Windows 2000 SP4 SR1 2007-10-10 11:00:17 -05:00
Tim Potter
985dbb47d9 r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore. 2007-10-10 11:00:11 -05:00
Günther Deschner
91596330ea r8145: When inventing a new parameter for SFU-support, be aware of Volker's
upcoming changes for "unixinfo"-pipe.

Therefor (after speaking with Volker) replace "winbind sfu support" with
the list-parameter "winbind nss info" which defaults to "template". For
SFU-support set it to "winbind nss info = template sfu".

Note that nss_info_use() is just a dummy function at the moment.

Guenther
2007-10-10 10:58:12 -05:00
Günther Deschner
28b5969942 r7994: This adds support in Winbindd's "security = ads"-mode to retrieve the POSIX
homedirectory and the loginshell from Active Directory's "Services for Unix".

Enable it with:

        winbind sfu support = yes

User-Accounts without SFU-Unix-Attributes will be assigned template-based
Shells and Homedirs as before.

Note that it doesn't matter which version of Services for Unix you use (2.0,
2.2, 3.0 or 3.5). Samba should detect the correct attributes (msSFULoginShell,
msSFU30LoginShell, etc.) automatically.

If you also want to share the same uid/gid-space as SFU then also use PADL's
ad-idmap-Plugin:

        idmap backend = ad

When using the idmap-plugin only those accounts will appear in Name Service
Switch that have those UNIX-attributes which avoids potential uid/gid-space
clashes between SFU-ids and automatically assigned idmap-ids.

Guenther
2007-10-10 10:58:07 -05:00
Jeremy Allison
4d50029310 r7949: Work around for broken Solaris header files.
Jeremy
2007-10-10 10:58:04 -05:00
Volker Lendecke
bb884b0bf9 r7903: Attempt to fix the AIX build 2007-10-10 10:58:03 -05:00
Jeremy Allison
9506b8e145 r7882: Looks like a large patch - but what it actually does is make Samba
safe for using our headers and linking with C++ modules. Stops us
from using C++ reserved keywords in our code.
Jeremy
2007-10-10 10:58:00 -05:00
Volker Lendecke
7d1b890fea r7877: Attempt to fix a smb_panic reported by Pavel Rochnyack.
Volker
2007-10-10 10:58:00 -05:00
Volker Lendecke
7365c9accf r7785: This looks much larger than it is. It changes the top-level functions of the
parent winbind not to return winbindd_result. This is to hopefully fix all the
problems where a result has been scheduled for write twice.

The problematic ones have been the functions that might have been delayed as
well as under other circumstances immediately gets answered from the cache.

Now a request needs to be explicitly replied to with a request_error() or
request_ok().

Volker
2007-10-10 10:57:20 -05:00
Gerald Carter
c9c3e3c122 r7454: couple of winbindd fixes
* make sure to use our domain as the account name in the net_req_auth2()
  request when running on a Samba DC
* make sure to lookup the correct domain (not default to ours) when getting an async
  getpwnam() call
2007-10-10 10:57:09 -05:00
Gerald Carter
a112c5570a r7440: * merge registry server changes from trunk (so far) for more
printmig.exe work
* merge the sys_select_signal(char c) change from trunk
  in order to keeo the winbind code in sync
2007-10-10 10:57:09 -05:00
Volker Lendecke
e8fde1bd92 r7423: Fix the build on sol10 2007-10-10 10:57:09 -05:00
Gerald Carter
a0ac9a8ffd r7415: * big change -- volker's new async winbindd from trunk 2007-10-10 10:57:08 -05:00
Volker Lendecke
94acb93f57 r7243: Don't look at gencache.tdb for the trusted domains if winbind is around.
Volker
2007-10-10 10:57:05 -05:00
Jim McDonough
05c04cfd25 r7148: Fix #2736: winbind race condition with detecting idle clients
winbind idle connection closing logic is getting invoked under high loads for
clients which may already have commands in the pipe.  This race condition
causes clients to fail with NSS_STATUS_UNAVAIL sometimes.  We now retry several
times hoping (still not guaranteed, though) it will work.
2007-10-10 10:57:03 -05:00
Günther Deschner
ef80a49a85 r7145: reuse the WINBIND_REQUIRED_MEMBERSHIP constant.
This is just cosmetic but prevents people from thinking that the
pam_winbind "require_membership_of"-option is not yet implemented :)

Guenther
2007-10-10 10:57:03 -05:00
Gerald Carter
9727d05241 r7139: trying to reduce the number of diffs between trunk and 3.0; changing version to 3.0.20pre1 2007-10-10 10:57:02 -05:00
Gerald Carter
318c3db4cb r7130: remove 'winbind enable local accounts' code from the 3.0 tree 2007-10-10 10:57:01 -05:00
Gerald Carter
8104149e6f r6755: removing domain_sid() since it is not referenced anymore 2007-10-10 10:56:53 -05:00
Gerald Carter
2e0941ebc1 r6682: patch from Qiao Yang <qyang@stbernard.com> to use out own DC when getting the SID for a domain 2007-10-10 10:56:51 -05:00
Gerald Carter
8f78ee6aba r6643: fix some build issues on IRIX;l patch from james peach 2007-10-10 10:56:49 -05:00
Volker Lendecke
6a5a9f17fb r6627: Fix debug message 2007-10-10 10:56:48 -05:00
Gerald Carter
4615c96ccb r6566: fix a couple of local group bugs.
* ensure that we set full access on the handle
  returned from _samr_create_dom_alias() so that
  future set_alias commands succeed

* fix bug when looking for internal domains in winbindd
  (caused winbindd_getgrgid() for local groups to fail).
2007-10-10 10:56:45 -05:00
Gerald Carter
03ebf3ebfe r6450: * fix typo in htlm_auth help message
* add synonym for idmap_rid in better lining with
  other idmap backend names
* remove old debug messages when idmap {uid|gid} options
  are not defined
2007-10-10 10:56:41 -05:00
Volker Lendecke
fb561fe26c r6401: Fix a debug message 2007-10-10 10:56:40 -05:00
Volker Lendecke
f0bb44ac58 r6351: This is quite a large and intrusive patch, but there are not many pieces that
can be taken out of it, so I decided to commit this in one lump. It changes
the passdb enumerating functions to use ldap paged results where possible. In
particular the samr calls querydispinfo, enumdomusers and friends have
undergone significant internal changes. I have tested this extensively with
rpcclient and a bit with usrmgr.exe. More tests and the merge to trunk will
follow later.

The code is based on a first implementation by Günther Deschner, but has
evolved quite a bit since then.

Volker
2007-10-10 10:56:38 -05:00
Gerald Carter
88c2ed1534 r6296: add message about known interoperability issue with Windows 2003 SP1 DCs 2007-10-10 10:56:35 -05:00