1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

21376 Commits

Author SHA1 Message Date
Jeremy Allison
7e17e54cb7 r21063: All case statements are now NTSTATUS returning
functions. Now to factor out the post processing
and make all cases behave the same (no mixture
of "early returns" and "break"s.
Jeremy
2007-10-10 12:17:32 -05:00
Jeremy Allison
1f3c2b2abc r21062: Should fix the build plus make all refactored
functions return NTSTATUS.
Jeremy.
2007-10-10 12:17:31 -05:00
Jeremy Allison
da4ce69d40 r21061: Refactoring all the cases into NTSTATUS returns.
Jeremy.
2007-10-10 12:17:31 -05:00
Jeremy Allison
461db3c8ed r21060: Start refactoring out the non-return case statements
into functions.
Jeremy.
2007-10-10 12:17:31 -05:00
Jeremy Allison
c961d5ce94 r21058: Finish the easy refactoring - split out all the case
statements that do early return. Next will be case
statements that need post processing, finally on to
qfilepathinfo and do the same.
Jeremy.
2007-10-10 12:17:31 -05:00
Jeremy Allison
fe2d7cb2dc r21057: More refactoring into functions.
Jeremy.
2007-10-10 12:17:31 -05:00
Günther Deschner
beed8b8b32 r21056: Moving the set_domain_online_request to fork_domain_child() (formerly
lived in trustdom_recv().

Jeremy, this is the better place I think but please check.

Guenther
2007-10-10 12:17:30 -05:00
Jeremy Allison
b6f43e9509 r21054: More function refactoring.
Jeremy.
2007-10-10 12:17:30 -05:00
Jeremy Allison
3c7a876c90 r21053: More refactoring and fix the tests (set position info
on a pathname is ignored).
Jeremy.
2007-10-10 12:17:30 -05:00
Jeremy Allison
9e31d7dba3 r21052: Refactoring.
Jeremy.
2007-10-10 12:17:30 -05:00
Jeremy Allison
5a8c9286c3 r21051: More function refactoring... Added #if 0 for
questionable practice (ignoring bad fsp on
handle based call).
Jeremy.
2007-10-10 12:17:30 -05:00
Jeremy Allison
3eca52ba43 r21050: Factor out SMB_SET_FILE_DISPOSITION_INFO. My
intent is to factor out all cases where we
always return from the case.
Jeremy.
2007-10-10 12:17:29 -05:00
Jeremy Allison
63bd8759fe r21049: Start to refactor some of the setpath set code
into separate functions (tridge mailed me a fresh
batch) to make it easier to add the POSIX open we'll
need soon.
Jeremy.
2007-10-10 12:17:29 -05:00
Jeremy Allison
01c659692c r21047: Hand marshalling hack from Martin Zielinski <mz@seh.de>
to allow Vista to upload printer drivers (it wants level 8
which we don't support yet). Downgrade in the same way
that Windows servers do.
Jeremy.
2007-10-10 12:17:29 -05:00
Gerald Carter
4fb57bce87 r21046: Backing out svn r20403 (Andrew's krb5 ticket cleanup
as this is causing the WRONG_PASSWORD error in the SetUserInfo()
call during net ads join).

We are now back to always list RC4-HMAC first if supported by
the krb5 libraries.
2007-10-10 12:17:29 -05:00
Gerald Carter
57160e3dd9 r21036: Fix the ad nss info backend to not abort the search when called outside the idmap daemon 2007-10-10 12:17:29 -05:00
Jeremy Allison
ec6033ad7c r21035: Remove unneeded checks on incoming uid/gid for
mknod (fifo) unix extensions code. Problem
discovered by Anders Karlsson <anders.karlsson@redhat.com>.
Jeremy.
2007-10-10 12:17:28 -05:00
James Peach
9e2118969d r21034: Don't force user to have pidl in their PATH. 2007-10-10 12:17:28 -05:00
Günther Deschner
0313edc0d6 r21033: To make the logs a bit more readable let the winbind dc connect child
write to a separate logfile.

Guenther
2007-10-10 12:17:28 -05:00
Günther Deschner
4e622572eb r21021: Fix memleak.
Guenther
2007-10-10 12:17:28 -05:00
Günther Deschner
c562095953 r21020: Some pam_winbind fixes:
* make debug_state also configurable from the config file
* minor code cleanup

Guenther
2007-10-10 12:17:28 -05:00
Günther Deschner
adb40884e0 r21019: Fix typo.
Guenther
2007-10-10 12:17:28 -05:00
Günther Deschner
ccd4812c0b r21018: Removing the set_domain_online_request again in trustdom_recv().
Jeremy, we really can't do that. There are setups with hundred and more
trusted domains out there, I have one customer who tells me it takes
more then half an hour for him after winbind is up and running. That
request registers the check_domain_online_handler which in turn forks
off the child immediately. Also discussed with Volker.

Guenther
2007-10-10 12:17:27 -05:00
Günther Deschner
46d23c72bf r21016: Fix pam_sm_setcred again.
Jerry, the switch statement must ignore the PAM_SILENT flag.

Guenther
2007-10-10 12:17:27 -05:00
Gerald Carter
f82a517530 r21015: fix typo that breaks the build 2007-10-10 12:17:27 -05:00
Gerald Carter
af5a2fa9ec r21014: move some functionss to winbindd_group.c and make static 2007-10-10 12:17:27 -05:00
Gerald Carter
ed794f0872 r21013: * Remove "inline" keyword
* Remove anpther check for PAM_SILENT that prevents logging to syslog
* Add missing check for TRY_FIRST_PASS when using authtok (missed
  from previous merge)
2007-10-10 12:17:27 -05:00
Gerald Carter
cc1a13a9f0 r21012: Patch from Danilo Almeida @ Centeris (via me):
Details: Improve PAM logging
- The improved logging is far tracking down PAM-related bugs
- PAM_SILENT was being mis-used to suppress syslog output instead of
  suppressing user output.  This lets PAM_SILENT still log to syslog.
- Allow logging of item & data state via debug_state config file option.
- Logging tracks the pam handle used.
2007-10-10 12:17:27 -05:00
Gerald Carter
402e859475 r21011: Another patch from Danilo Almeida @ Centeris (via me):
Details: Reset the "new password prompt required" state whenever
we do a new auth.  In more detail, in pam_sm_authenticate, if not
settting PAM_WINBIND_NEW_AUTHTOK_REQD, then clean any potentially
present PAM_WINBIND_NEW_AUTHTOK_REQD.
2007-10-10 12:17:26 -05:00
Gerald Carter
2d877e41d1 r21010: fix the pstring change in ntlm_auth for require-membership-of in ntlm_auth 2007-10-10 12:17:26 -05:00
Gerald Carter
4aca986489 r21009: Patch from Danilo Almeida @ Centeris (via me).
Patch details:

Support most options in pam_winbind.conf; support comma-separated names in
require-membership-of.  Details below:

1) Provides support for almost all config options in pam_winbind.conf
   (all except for use_first_pass, use_authtok, and unknown_ok).

 - That allows us to work well when invoked via call_modules from
   pam_unix2.conf as well as allowing use of spaces in names used
   w/require_membership_of.

2) Support for comma-separated list of names or SID strings in
   require_membership_of/require-membership-of.

 - Increased require_membership_of field in winbind request from fstring
   (256) to pstring (1024).

 - In PAM side, parse out multiple names or SID strings and convert
   all of them to SID strings.

 - In Winbind side, support membership check against multiple SID strings.
2007-10-10 12:17:26 -05:00
Herb Lewis
99172f56c0 r21007: move $(SOCKET_WRAPPER_OBJ) to OBJ definition instead of link line like
all other uses - merge from 3_0_24
2007-10-10 12:17:26 -05:00
Volker Lendecke
70c589a832 r21005: Add a debug message for EAGAIN error of setresuid.
Volker
2007-10-10 12:17:26 -05:00
Jim McDonough
61841b225c r21004: Patch from Mathias Dietz <MDIETZ@de.ibm.com> to fix multi-node
sharemodes in gpfs.
2007-10-10 12:17:26 -05:00
Günther Deschner
fb5830f87a r21003: Display LDAP base in debug statement.
Guenther
2007-10-10 12:17:25 -05:00
Herb Lewis
9d23cf0cc4 r21002: Get rid of unused macros - merge change from 3_0_24 2007-10-10 12:17:25 -05:00
Gerald Carter
2ba353848b r21001: * Use a simple '#define LDAPMessage void' to fix the build
problems in the nss_info interface when HAVE_LDAP is undefined.
* Revert previous ifdef HAVE_ADS brakets
* Remove an unused init function wrapper.
2007-10-10 12:17:25 -05:00
Volker Lendecke
a5a1c8c785 r20998: Fix debug message 2007-10-10 12:17:25 -05:00
Andrew Bartlett
91fdbd4cf5 r20996: Build fix from Kai Blin 2007-10-10 12:17:24 -05:00
James Peach
8052a18f29 r20994: Remove unused code. 2007-10-10 12:17:24 -05:00
Gerald Carter
8c23158f05 r20993: temporary build fix to get things going again on non-ADS systems 2007-10-10 12:17:24 -05:00
Gerald Carter
7011a1b5ab r20992: another attempt at fixing the build breakage 2007-10-10 12:17:24 -05:00
Gerald Carter
4982be3121 r20987: fix build farm breakage when ADS support is not present (caused by nss_info_methods API) 2007-10-10 12:17:24 -05:00
Gerald Carter
aaec0115e2 r20986: Commit the prototype of the nss_info plugin interface.
This allows a provider to supply the homedirectory, etc...
attributes for a user without requiring support in core
winbindd code.  The idmap_ad.c module has been modified
to provide the idmap 'ad' library as well as the rfc2307 and sfu
"winbind nss info" support.

The SID/id mapping is working in idmap_ad but the nss_info
still has a few quirks that I'm in the process of resolving.
2007-10-10 12:17:23 -05:00
Gerald Carter
2a7311db27 r20985: leave room for terminating NULL when printing password hashes via 'pdbedit -L -w' 2007-10-10 12:17:22 -05:00
Volker Lendecke
4984b0627c r20982: Fix a segfault -- I wonder why my make test did not show this earlier... 2007-10-10 12:17:22 -05:00
Volker Lendecke
4610465d7f r20979: Fix description, thanks to Michael Adam <ma@sernet.de> 2007-10-10 12:17:22 -05:00
Günther Deschner
5d4747fdf2 r20970: Allow to define workstation for samlogon in rpcclient (for testing).
Guenther
2007-10-10 12:17:22 -05:00
James Peach
029d4bb5e3 r20966: Only attempt to reload the config file atfer the fork point if we
are in daemon mode. If we are in inetd mode, there's really no point
in rechecking it so soon.
2007-10-10 12:17:22 -05:00
James Peach
0eb19b5728 r20965: Fix spelling. 2007-10-10 12:17:21 -05:00