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

26210 Commits

Author SHA1 Message Date
Günther Deschner
e8fe6661b4 pam_winbind: fix wbc_auth_error_to_pam_error().
Guenther
2008-10-10 15:42:23 +02:00
Günther Deschner
9448520828 pam_winbind: remove some unused macros.
Guenther
2008-10-10 15:42:16 +02:00
Günther Deschner
9a0860f93f pam_winbind: remove NETLOGON_CACHED_ACCOUNT and NETLOGON_GRACE_LOGON.
Guenther
2008-10-10 15:42:09 +02:00
Günther Deschner
4ff415dd15 pam_winbind: remove ACB_PWNOEXP.
Guenther
2008-10-10 15:42:01 +02:00
Günther Deschner
dde8046489 pam_winbind: use libwbclient for WINBINDD_PAM_AUTH.
Guenther
2008-10-10 15:41:25 +02:00
Günther Deschner
d3afd53429 pam_winbind: use libwbclient for WINBINDD_PAM_LOGOFF.
Guenther
2008-10-10 15:40:55 +02:00
Günther Deschner
3eae89dd77 pam_winbind: use libwbclient for WINBINDD_PAM_CHAUTHTOK.
Guenther
2008-10-10 15:40:23 +02:00
Günther Deschner
ed2b94c1a2 pam_winbind: use libwbclient for WINBINDD_LOOKUPNAME/LOOKUPSID.
Guenther
2008-10-10 15:39:39 +02:00
Günther Deschner
d397bafa0a pam_winbind: use libwbclient for WINBINDD_INFO.
Guenther
2008-10-10 15:39:20 +02:00
Günther Deschner
377e4f929a pam_winbind: use libwbclient for WINBINDD_GETPWNAM.
Guenther
2008-10-10 15:39:05 +02:00
Günther Deschner
b1282d720c pam_winbind: add _pam_check_remark_auth_err().
Guenther
2008-10-10 15:38:29 +02:00
Günther Deschner
0566164db0 pam_winbind: add wbc_auth_error_to_pam_error().
Guenther
2008-10-10 15:38:21 +02:00
Günther Deschner
0532291fe9 pam_winbind: add wbc_error_to_pam_error().
Guenther
2008-10-10 15:38:13 +02:00
Günther Deschner
7817ad4ae0 pam_winbind: prepare to use libwbclient inside pam_winbind.
Guenther
2008-10-10 15:38:04 +02:00
Günther Deschner
3bbffb9664 pam_winbind: convert to use talloc.
Guenther
2008-10-10 15:37:35 +02:00
Günther Deschner
65dc0c3e2f libwbclient: add wbcLogonUser().
Guenther
2008-10-10 15:37:00 +02:00
Günther Deschner
f33f888de7 libwbclient: add wbcLogoffUserEx().
Guenther
2008-10-10 15:36:43 +02:00
Günther Deschner
be6e21f9ea libwbclient: add wbcAddNamedBlob.
Guenther
2008-10-10 15:36:09 +02:00
Günther Deschner
4464011cea libwbclient: add wbcBlob and wbcNamedBlob.
Guenther
2008-10-10 15:35:58 +02:00
Günther Deschner
08d3918cf8 libwbclient: fix wbcAuthenticateUserEx() to not ignore provided flags field.
Guenther
2008-10-10 15:24:06 +02:00
Günther Deschner
83f55e0755 krb5_locator: use wbcLookupDomainControllerEx() for query.
Guenther
2008-10-10 11:13:04 +02:00
Tim Prouty
10f65cc4ca remove common lib object files on make cleanlib from source3
source4 already cleans up the object files on make clean.  This patch
modifies source3 to also do this.
2008-10-09 19:13:32 -07:00
Tim Prouty
9b331df412 Add support for autogen to take a --version-file argument 2008-10-09 19:12:36 -07:00
Jeremy Allison
decd04d946 Ensure we handle signals correctly during the async calls.
Jeremy.
2008-10-09 15:40:00 -07:00
Jeremy Allison
e5692d4cbe Remove SEC_ACCESS. It's a uint32_t.
Jeremy.
2008-10-09 09:49:03 -07:00
Volker Lendecke
45b359a77f Make use of ZERO_STRUCT (the first memset was actually wrong) 2008-10-09 17:34:52 +02:00
Jeff Layton
2c9df6401c mount.cifs: make return codes match the return codes for /bin/mount (try #3)
The manpage for /bin/mount specifies that the return code should be a
positive integer (actually, it's a bitfield). Clean up the return
codes from mount.cifs to make them match the expected return values
from /bin/mount. This necessary for proper integration with autofs.

This is the third attempt at this patch. The changes here are minor,
just changing some return's from main() into exit() calls for
consistency's sake.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-10-09 09:58:40 -04:00
Jeff Layton
dd9002cf49 mount.cifs: have uppercase_string return success on NULL pointer
We currently don't attempt to uppercase the device portion of the mount
string if there isn't a prefixpath. Fix that by making uppercase_string
return success without doing anything on a NULL pointer.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2008-10-09 09:58:39 -04:00
Günther Deschner
eb78e5c46f wbclient: add wbcLookupDomainControllerEx call.
Guenther
2008-10-09 12:48:13 +02:00
Günther Deschner
b28db15af8 wbclient: add wbcGuidToString and wbcStringToGuid helper functions.
Guenther
2008-10-09 12:45:46 +02:00
Günther Deschner
8fcb81ee99 wbclient: add wbcGuid structure.
Guenther
2008-10-09 12:45:35 +02:00
Günther Deschner
5a61f30d13 wbclient: add my copyright.
Guenther
2008-10-09 12:38:04 +02:00
Günther Deschner
bf5c80c8eb krb5-locator: fix dsgetdcname caller.
Guenther
2008-10-09 12:37:18 +02:00
Günther Deschner
4e04c5ae1b wbinfo: fix dsgetdcname caller.
Guenther
2008-10-09 12:37:18 +02:00
Günther Deschner
76a8da6f71 s3-winbindd: use new, richer structures in WINBINDD_DSGETDCNAME implementation.
Guenther
2008-10-09 12:37:18 +02:00
Volker Lendecke
1d83fbffae Remove a pointless level of indirection 2008-10-09 12:06:39 +02:00
Volker Lendecke
96a5d169dd Fix a typo 2008-10-09 12:06:38 +02:00
Günther Deschner
4c68f3cd9b build: add "make test_wbpad" for checking winbind 32/64bit structure padding.
Guenther
2008-10-09 11:46:02 +02:00
Günther Deschner
298a918e95 s3-winbindd: add dsgetdcname request and reply to winbind structure.
Guenther
2008-10-09 11:08:56 +02:00
Jeremy Allison
543c6a02ae For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bits
to specific bits every time a security descriptor is set. The S4 torture suite proves
that generic bits are not returned when querying an ACL set using them (ie. only
the specific bits are stored on disk).
Jeremy.
2008-10-08 18:06:58 -07:00
Tim Prouty
88a58ae0ee Fixed "might be uninitialized" warning 2008-10-08 16:38:38 -07:00
Jeremy Allison
646df8bec6 Deal with inheritance from parent directory when setting Windows
ACLs.
Jeremy.
2008-10-08 15:18:25 -07:00
Jeremy Allison
14f835ba4b Fix bug #5814 - Winbindd dumping core in a strange manner while doing "rescan_trusted_domain".
From analysis by hargagan <shargagan@novell.com> :
"The winbindd_child_died() is also getting called from process_loop() in case of
SIGCHLD signal. In this case it doesn't make the timeout_handler to NULL for
the first request. It then initiate a new request using
schedule_async_request() which installs a new timeout handler for the same
request. In such a case, for a badly unresponsive system both the timeout
handler can be called. For the first call the "private_data" will be cleared
and for another call the timeout handler will be detecting the double free. So,
for such a case as well, the winbindd_child_died() should make the
timeout_handler to NULL."
Jeremy.
2008-10-08 11:39:32 -07:00
Volker Lendecke
be63f86ce7 Remove unused CHECK_FSP macro 2008-10-08 13:01:22 +02:00
Jelmer Vernooij
08223692c6 fix libclinbtsrcdir variable. 2008-10-08 12:03:45 +02:00
Jeremy Allison
859facda89 Fix const warning.
Jeremy.
2008-10-07 17:56:32 -07:00
Jeremy Allison
ec5d09dbff Update vfs version as I've added a const to the security_descriptor paramter in fset_nt_acl().
Need to watch the build farm to make sure I haven't broken the AIX or Solaris ACL modules.
Jeremy.
2008-10-07 17:50:01 -07:00
Jeremy Allison
2024d87cf5 Make map_errno_from_nt_status() a generic call, not just a cli specific one.
Remove some unused calls from vfs_acl_xattr. Test for SD's on existing files.
Jeremy.
2008-10-07 14:43:42 -07:00
Tim Prouty
cde1b09d68 Fixed build warning "passing arg from incompatible pointer type"
The fix explicitly makes the conversion from timeval to time_t using the
existing time utility functions.

Compiling modules/vfs_smb_traffic_analyzer.c
modules/vfs_smb_traffic_analyzer.c: In function `smb_traffic_analyzer_send_data':
modules/vfs_smb_traffic_analyzer.c:173: warning: passing arg 1 of `localtime' from incompatible pointer type
2008-10-06 17:18:10 -07:00
Gerald (Jerry) Carter
2a35985283 idmap_adex: Add more debugging to the basic search function.
Log the dn of all located entries in order to verify search results.
2008-10-06 14:10:03 -05:00