1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-16 09:57:47 +03:00

1750 Commits

Author SHA1 Message Date
Günther Deschner
29a56dcc78 r24786: Fix another build warning.
Guenther
2007-10-10 12:30:21 -05:00
Günther Deschner
d8197aca5a r24785: Put checks in parentheses.
Guenther
2007-10-10 12:30:21 -05:00
Günther Deschner
fb9228b8d1 r24778: Make sure krb5 locator requests go to a separate locator winbind child.
Guenther
2007-10-10 12:30:20 -05:00
Günther Deschner
429496a4cc r24747: Add WINBINDD_DSGETDCNAME call.
Guenther
2007-10-10 12:30:17 -05:00
Günther Deschner
18b29763d1 r24746: As the winbindd pipe is officially broken since a while: split out request
specfic and generic flags in a winbindd_request.

It turns out that the WBFLAG_RECURSE flag is the only non-PAM specific flag we
put into the "flags" field of a winbind request anyway. Now each request
command can use the entire space of the "flags" field.

Guenther
2007-10-10 12:30:17 -05:00
Günther Deschner
a30549bbf4 r24740: Fix the build.
Guenther
2007-10-10 12:30:16 -05:00
Günther Deschner
8300aac494 r24737: Remove older TODO: Convert internal_resolve_name() and friends to NTSTATUS.
Guenther
2007-10-10 12:30:16 -05:00
Günther Deschner
f62292c5a1 r24734: Move nss_err_str() to a more public place.
Guenther
2007-10-10 12:30:16 -05:00
Gerald Carter
98fb5bcd57 r24722: Squashed commit of the following:
commit fb52f971986dd298abbcd9745ddf702820ce0184
Author: Gerald Carter <coffeedude@plainjoe.org>
Date:   Mon Aug 27 13:50:26 2007 -0500

    Check correct return type for pam_winbind_request_log() wnibind_upn_to_username

    which is an int and not NSS_STATUS.

commit 7382edf6fc0fe555df89d5b2a94d12b35049b279
Author: Gerald Carter <coffeedude@plainjoe.org>
Date:   Mon Aug 27 13:30:26 2007 -0500

    Allow wbinfo -n to convert a UPN to a SID

commit 8266c0fe1ccf2141e5a983f3213356419e626dda
Author: Gerald Carter <coffeedude@plainjoe.org>
Date:   Fri Aug 3 09:53:16 2007 -0500

    Merge some of Guenther UPN work for pam_winbind.c (check the winbind separator

    and better pam logging when converting a upn to a username).

commit 15156c17bc81dbcadf32757015c4e5158823bf3f
Author: Gerald Carter <coffeedude@plainjoe.org>
Date:   Fri Aug 3 08:52:50 2007 -0500

    Include Universal groups from the cached PAC/SamLogon info when

    generating the list of domain group SIDs for a user's token.

commit 979053c0307b051954261d539445102c55f309c7
Author: Gerald Carter <coffeedude@plainjoe.org>
Date:   Thu Aug 2 17:35:41 2007 -0500

    merge upnlogon patch from my tree
2007-10-10 12:30:15 -05:00
Günther Deschner
6a9af88a2d r24714: Fix confusing indent.
Guenther
2007-10-10 12:30:15 -05:00
Günther Deschner
750b52cb47 r24713: Fix obvious error in enum_dom_groups. We were returning NT_STATUS_OK when the realloc failed.
Guenther
2007-10-10 12:30:15 -05:00
Günther Deschner
5187157607 r24711: Remove unused talloc context from query_user_list rpc.
Guenther
2007-10-10 12:30:15 -05:00
Volker Lendecke
b7c0404893 r24649: Attempt to fix bug 4917. Simo, please check!
Thanks Patrick Rynhart for reporting this.
2007-10-10 12:30:13 -05:00
Michael Adam
0193a49223 r24629: Make read_sock return the total number of bytes read instead
of the number of bytes read in the last of possibly several
read calls.

This was noted by Metze.

Michael
2007-10-10 12:30:11 -05:00
Stefan Metzmacher
102bb0fc17 r24625: add '-D' option to winbindd
TODO: don't allow '-i -D' and '-D -i' on all
      server binaries in the SAMBA_3_2 branch!
      The &server_mode patch makes this difficult to check...

metze
2007-10-10 12:30:11 -05:00
Stefan Metzmacher
a95d9d1ef9 r24621: - deferr calling build_options();exit(0);
- use poptPrintUsage() to give the user more info

metze
2007-10-10 12:30:11 -05:00
Günther Deschner
1ce1958f7a r24615: Say for which domain the getdcname request failed.
Guenther
2007-10-10 12:30:10 -05:00
Stefan Metzmacher
8532e3182a r24599: patch from Karolin Seeger <ks@sernet.de>:
smbd, nmbd and winbindd can be started with invalid options currently.
The first patch attached would be a possible solution.
It contains an exit if an invalid option has been used. The main problem
is, that existing setups with wrong options or missing arguments in start
scripts will break (which is the right behaviour from my point of view).

metze
2007-10-10 12:30:09 -05:00
Günther Deschner
8c56ee2c58 r24584: Merge all pam post-processing code (in particular all extra_data code) into
append_data().

Guenther
2007-10-10 12:30:07 -05:00
Günther Deschner
8a493cce98 r24583: Make sure we don't accept invalid request options.
Thanks to Michael for his bit-magic.

Guenther
2007-10-10 12:30:07 -05:00
Günther Deschner
d5bd8b1d61 r24579: Merge error reporting to the end of winbindd_pam_auth().
Guenther
2007-10-10 12:30:07 -05:00
Günther Deschner
27ecb0df79 r24578: Fix build warning.
Guenther
2007-10-10 12:30:07 -05:00
Günther Deschner
adaa5e423d r24438: Use dump_data_pw() instead of dump_data() on sensitive data in winbindd.
Guenther
2007-10-10 12:29:47 -05:00
Günther Deschner
44c10bbe94 r24437: Remove "done" in winbindd_raw_kerberos_login() as well.
Guenther
2007-10-10 12:29:47 -05:00
Günther Deschner
98ffae031a r24434: Simplify winbindd_raw_kerberos_login().
Guenther
2007-10-10 12:29:46 -05:00
Günther Deschner
e6415c5232 r24420: Pure pedantism: the talloc_init could have failed...
Guenther
2007-10-10 12:29:44 -05:00
Kai Blin
f8560ea66c r24353: Add a getpwuid lookup to wbinfo.
Merged from my Samba4 GSoC branch.
Volker, can you check if that's done the way you thought?
2007-10-10 12:29:32 -05:00
Volker Lendecke
748fdfbd7b r24331: Fix an error where gid_t != 32 bit 2007-10-10 12:29:30 -05:00
Volker Lendecke
30fd903465 r24330: Fix a 64-bit error 2007-10-10 12:29:30 -05:00
Volker Lendecke
67ec6863dd r24329: Fix a 64-bit bug
enums are not necessarily represented as 32-bit uints. On assignment
(see line 1029) implicit conversion happens, but not when pointers are
taken.
2007-10-10 12:29:30 -05:00
Volker Lendecke
6c3813cf65 r24087: Fix bug 4836, patch by Matthijs Kooijman <matthijs@stdin.nl>. Thanks!
Volker
2007-10-10 12:29:04 -05:00
Stefan Metzmacher
12440efe0b r24017: merge from http://samba.org/~tridge/samba_3_2_ctdb/:
add add_trusted_domain() can return NULL

metze
2007-10-10 12:28:56 -05:00
Volker Lendecke
839d64add4 r23974: Fix Coverity ID 361. num_rids == 0 is caught on function entry 2007-10-10 12:28:51 -05:00
Michael Adam
2c2a1ff2c2 r23931: Use the new tdb_validate_and_backup function instead of pure tdb_validate
in winbindd cache validation.

Michael
2007-10-10 12:28:46 -05:00
Günther Deschner
1e1e480115 r23928: Merge all "copy-info3-groups-to-sid-array" blocks to a sid_array_from_info3()
function.

Guenther
2007-10-10 12:28:45 -05:00
Volker Lendecke
86476efc7a r23884: Fix Coverity ID 379 2007-10-10 12:28:38 -05:00
Andrew Tridgell
87c91e4362 r23801: The FSF has moved around a lot. This fixes their Mass Ave address. 2007-10-10 12:28:27 -05:00
Andrew Tridgell
727a6cf2cb r23800: LGPL is now called GNU Lesser General Public License
not GNU Library General Public License
2007-10-10 12:28:26 -05:00
Andrew Tridgell
c676a97114 r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 12:28:26 -05:00
Andrew Tridgell
f3df6cd87e r23794: convert more code from LGPLv2+ to LGPLv3+ 2007-10-10 12:28:25 -05:00
Andrew Tridgell
b6cbac3db3 r23791: found some more v2->v3 conversions 2007-10-10 12:28:25 -05:00
Andrew Tridgell
b0132e94fc r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text 2007-10-10 12:28:22 -05:00
Jeremy Allison
407e6e695b r23779: Change from v2 or later to v3 or later.
Jeremy.
2007-10-10 12:28:20 -05:00
Michael Adam
821bc84109 r23769: Move removal of the tdb from the generic tdb_validate function
to the caller (winbindd_validate_cache in this case).
Next, there will be a backup handling for the tdb files.

Michael
2007-10-10 12:23:55 -05:00
Michael Adam
0ae6ae4ee8 r23763: Fix a typo in DEBUG message.
Thanks to Karolin Seeger (ks@sernet.de)
2007-10-10 12:23:53 -05:00
Lars Müller
5be96d09a7 r23733: Limit LDAP lookup in lookup_usergroups_member() to security groups.
Credits to Ralf Haferkamp for the discussion and help on this.
2007-10-10 12:23:50 -05:00
Gerald Carter
dfb89dfcaa r23730: Squashed commit of the following:
commit 3941269fa01038fca242a197e8d7c1f234d45ea7
Author: Gerald (Jerry) Carter <jerry@samba.org>
Date:   Thu Jul 5 14:52:03 2007 -0500

    Two fixes for "winbind expand groups".

    (a) Update the counter for the number of new groups to resolve else
        we'll only expand one group member per level and drop the rest.
    (b) Don't reset the num_names counter in winbindd_ads.c:lookup_groupmem()
        or we'll drop the SIDs resolved to names via cache from the resulting
        list.
2007-10-10 12:23:49 -05:00
Lars Müller
d1d1baa264 r23708: - Add define for WINBIND_WARN_PWD_EXPIRE.
- Add parameter config_flag to get_config_item_int() and do the same
  check as in get_conf_item_string.
2007-10-10 12:23:47 -05:00
Lars Müller
3a82ec943a r23707: - Move the asprintf() call to create the key even in
get_conf_item_string() to the later if statement.
- Also move the key definition to the later if statement in
  get_conf_item_string() and get_conf_item_int().
2007-10-10 12:23:47 -05:00
Lars Müller
d26914c978 r23704: Add pam_pwd_expire feature as discussed on samba-technical.
This is a slightly modified version to set warn_pwd_expire to the
default value if 0, no, or a broken value is set.

This version also has one if statement less in get_config_item_int().

Thanks a lot to Andreas 'GlaDiaC' Schneider for this feature!
2007-10-10 12:23:46 -05:00