1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

48320 Commits

Author SHA1 Message Date
Jelmer Vernooij
75a36a9a54 Add some simple tests for lib/util/time.c 2008-10-11 23:25:35 +02:00
Jelmer Vernooij
bb33097fb7 Make sure x_fdup compiles on Samba 4. 2008-10-11 22:23:07 +02:00
Jelmer Vernooij
06cdfb17b9 Support "make test-X" to run all tests that match regex X. 2008-10-11 22:22:29 +02:00
Jelmer Vernooij
e439b3e7ab Use xfile from common lib/util in Samba 3.
Conflicts:

	source3/Makefile.in
2008-10-11 21:52:55 +02:00
Jelmer Vernooij
7a27c07a27 Remove duplicate copy of dlinklist.h. 2008-10-11 21:48:00 +02:00
Jelmer Vernooij
f01500e18d Fix merged build locations. 2008-10-11 21:42:45 +02:00
Jelmer Vernooij
2911b792ca Fix include, clean up .o files in ../lib and ../libcli
Conflicts:

	source4/Makefile
2008-10-11 21:33:55 +02:00
Jelmer Vernooij
5c44ed6954 Clean up properly. 2008-10-11 21:33:15 +02:00
Jelmer Vernooij
a19719ccea Fix libutil path. 2008-10-11 21:32:48 +02:00
Jelmer Vernooij
9565999755 Fix include paths to new location of libutil. 2008-10-11 21:31:42 +02:00
Jelmer Vernooij
caa4e42860 Move lib/util from source4 to top-level libutil.
Conflicts:

	source4/Makefile
2008-10-11 21:05:38 +02:00
Jelmer Vernooij
4604ca4302 Provide malloc_array() in Samba 4. 2008-10-11 21:03:12 +02:00
Jelmer Vernooij
621cf3c9bf Use data_blob() for now, since it seems to be the only function available in both Samba 3 and Samba 4. 2008-10-11 21:02:13 +02:00
Jelmer Vernooij
2c4391e950 Provide the same set of helper functions for DEBUG in Samba 3 and Samba
4, even though the macros are still different.

This makes it possible to use object code compiled with one DEBUG()
macro from the other sourceX directory.
2008-10-11 20:44:19 +02:00
Jelmer Vernooij
a85f663485 Make sure to allocate copy for arc4 data, to avoid problems freeing
later.
2008-10-11 20:26:40 +02:00
Jelmer Vernooij
033bc4682b Prevent errors with data_blob() being a macro in s4 and function in s3. 2008-10-11 16:17:14 +02:00
Jelmer Vernooij
6a78e56277 Merge branch 'master' of ssh://git.samba.org/data/git/samba into arc4 2008-10-11 14:44:10 +02:00
Volker Lendecke
f0a2706486 Make use of talloc_tos() 2008-10-11 09:02:18 +02:00
Volker Lendecke
200b0deaef Fix some nonempty blank lines 2008-10-11 09:02:18 +02:00
Volker Lendecke
80faa78a91 Fix a "nexted extern declaration" warning 2008-10-11 08:56:01 +02:00
Jeremy Allison
47f7ef8f39 Initialize near creation of resource. Makes code clearer.
Jeremy.
2008-10-10 16:48:18 -07:00
Jeremy Allison
1d151b3161 Ensure we do reinit_after_fork().
Jeremy.
2008-10-10 16:43:13 -07:00
Jeremy Allison
4cbb3b23a4 Allow data flow to be debugged and only log on error. All seems ok now.
Jeremy.
2008-10-10 16:29:14 -07:00
Jeremy Allison
430cc44390 Async is trickier than it looks :-). Don't use a stack variable for a private data ptr.
Jeremy.
2008-10-10 15:55:49 -07:00
Jeremy Allison
eada8f8abe If you have a large number of cups printers, then scanning for print info can cause a client to timeout
(it takes longer than 30 seconds to enumerate them). Make scanning for printers async with a callback
from the main loop. This fixes a bug that was irritating *me* :-).
Jeremy.
2008-10-10 11:55:14 -07:00
Günther Deschner
5b75aa3406 pam_winbind: document mkhomedir option.
Guenther
2008-10-10 15:43:04 +02:00
Günther Deschner
042df7f0b7 pam_winbind: re-add mkhomedir option.
Guenther
2008-10-10 15:42:56 +02:00
Günther Deschner
d9efd52fd0 pam_winbind: remove unused pam_winbind_request().
Guenther
2008-10-10 15:42:30 +02:00
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
Jelmer Vernooij
63291018df Use const. 2008-10-10 15:00:35 +02:00
Jelmer Vernooij
aa22ab1404 Fix executability of samba3-srv. 2008-10-10 15:00:30 +02:00