Jelmer Vernooij
3db545ece4
nss_winbind: Fix soname.
2010-09-14 12:48:57 +02:00
Volker Lendecke
4dcd5ac442
s3: Do not directly log off after a pam_logon
2010-09-13 10:05:42 -07:00
Volker Lendecke
2ef4acb2bd
s3: Fix wbinfo arg for --pam-logon
2010-09-13 10:05:41 -07:00
Matthieu Patou
6bd6fdcd72
s4:unittest: Test wbinfo --group-info and --gid-info
...
Signed-off-by: Matthias Dieter Wallnöfer <mdw@samba.org>
2010-09-11 19:13:46 +02:00
Matthias Dieter Wallnöfer
8a0db43ad8
test_wbinfo.c - count more possible failures
2010-09-11 19:13:13 +02:00
Andrew Tridgell
6d6158617c
nss-waf: use the right winbind pipe path
...
s4 uses a different location for the winbind pipe to s3
2010-09-11 22:32:43 +10:00
Andrew Tridgell
a82fe6f472
winbind-waf: the installed name is libnss_winbind.so.2
...
the .2 is what libc adds to the name for this version of the nss API
2010-09-11 22:32:43 +10:00
Volker Lendecke
8de2c15df3
s3: auth.krb5ccname and auth.unix_username are both fstrings
...
There's no point in checking for != NULL
2010-09-10 10:52:18 -07:00
Volker Lendecke
7277c9e5ad
s3: Fix messsssages
2010-09-09 14:59:07 -07:00
Stefan Metzmacher
14ffb7d699
nsswitch/libwbclient: LIBWBCLIENT depends on LIBWINBIND-CLIENT
...
metze
2010-09-03 13:31:05 +02:00
Günther Deschner
7ff7eb0b52
s3-build: only include nsswitch header where needed.
...
Guenther
2010-08-26 00:20:28 +02:00
Günther Deschner
d55e7e52f1
s4-waf: try to fix the s4 wbinfo build dependencies.
...
Guenther
2010-08-24 03:04:41 +02:00
Michael Adam
ccfe40c27f
s3:winbind: increase interface version after removing calls
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
3b56f7f6b5
s3:winbind: remove the method REMOVE_MAPPING from winbind's API
...
Michael
2010-08-14 02:10:34 +02:00
Michael Adam
474020b1ae
s3:winbind: remove the method SET_MAPPING from winbind's API
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
1ac8bf4ea8
libwbclient: unimplement wbcRemoveGidMapping()
...
Michael
2010-08-14 02:10:33 +02:00
Michael Adam
89100cb509
libwbclient: unimplement wbcRemoveUidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
788123ec2e
libwbclient: unimplement wbcSetGidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
2e65703508
libwbclient: unimplement wbcSetUidMapping()
...
Michael
2010-08-14 02:10:32 +02:00
Michael Adam
66e67c1bad
s3:winbind: remove SET_HWM from winbind's API.
2010-08-14 02:10:31 +02:00
Michael Adam
ec33a624a3
libwbclient: unimplement wbcSetGidHwm()
...
Michael
2010-08-14 02:10:31 +02:00
Michael Adam
e09a269bcc
libwbclient: unimplement wbcSetUidHwm()
...
Michael
2010-08-14 02:10:31 +02:00
Andreas Schneider
ce2a086119
s3-popt: Only include popt-common.h when needed.
2010-08-05 12:08:31 +02:00
Volker Lendecke
bd54969d9b
pam_winbind: Fix shadowing a global on FreeBSD
...
FreeBSD defines a function pam_error()
2010-07-17 21:48:35 +02:00
Matthieu Patou
b7a1dd6980
s4 pam_winbind: don't build if pam header are not installed
2010-07-17 21:46:04 +04:00
Matthieu Patou
dbbfad8286
s4-waf: add the missing bits for builing nss_winbind and pam_winbind
...
This is something that was not picked up during the migration to waf
2010-07-17 18:05:12 +04:00
Andrew Tridgell
6b266b85cf
s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
...
this converts all callers that use the Samba4 loadparm lp_ calling
convention to use the lpcfg_ prefix.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16 18:24:27 +10:00
Günther Deschner
309ad2b08f
s4-smbtorture: skip wbcChangeUserPassword test when no oldpass is set in environment.
...
Guenther
2010-07-08 15:59:44 +02:00
Volker Lendecke
e17ce247a3
wbinfo: Fix error messages
2010-07-03 22:42:52 +02:00
Andreas Schneider
f324036e76
s3-winbind: Make sure we crash if domain is really not found.
...
Found by clang-analyzer.
2010-06-29 11:12:12 +02:00
Andreas Schneider
790d01cb2e
wbinfo: Document the deprecated sequence option correctly.
...
I didn't find a way in popt to hide it.
2010-06-23 11:01:58 +02:00
Björn Jacke
a8c051b2f9
s3: readd h_errno struct member but rename it
...
as pointed out by metze this is a structure of fixed size, which should not be
changed.
2010-06-10 23:22:49 +02:00
Björn Jacke
ec94efb79d
s3: fix build on HP-UX
...
this struct member h_errno is not used in the HP-UX code paths, it was just
there because Solaris has it, too. As h_errno is a function call macro on HP-UX
when thread support is enabled we run into trouble here. Just commenting it out
should be okay as we don't use it anyway.
2010-06-10 17:24:18 +02:00
Günther Deschner
8a4525d9fa
waf: fix the build of nsswitch libwbclient.
...
Guenther
2010-05-20 23:40:30 +02:00
Andrew Tridgell
419873f2ee
s3-waf: All sorts of nasty hacks to finally get smbd to build/link
...
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-05-20 22:16:13 +02:00
Kai Blin
765e9c7c67
wbinfo: Add better libwbclient error reporting
2010-05-17 10:50:45 +02:00
Volker Lendecke
aa8d91ae8e
libwbclient: Fix a fd-leak at dlclose-time
...
__attribute__((destructor)) makes winbind_close_sock() being called at
dlclose() time.
Found while testing apache on Linux with mod_auth_pam.
Other platforms will have to find a different fix. One possibility would be to
always close the socket after each operation, but this badly sucks
performance-wise.
2010-05-10 14:11:14 +02:00
Andreas Schneider
b4c46bd7df
libwbclient: Fixed doxygen errors.
2010-05-05 15:36:10 +02:00
Volker Lendecke
d61b07253b
libwbclient: Talloc is no longer used
2010-04-25 10:16:11 +02:00
Volker Lendecke
4c7cc8bb63
Revert "nsswitch: Fix a memleak in wbinfo"
...
This reverts commit a97f2a0a9c
.
This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
2010-04-24 12:41:47 +02:00
Volker Lendecke
328ca041e0
libwbclient: Test WBC_CHANGE_PASSWORD_LEVEL_RESPONSE
2010-04-23 23:41:05 +02:00
Volker Lendecke
03115efae8
libwbclient: Actually copy something in wbcChangeUserPasswordEx
...
The length argument for memcpy was initialized to 0 and not initialized
2010-04-23 23:41:04 +02:00
Volker Lendecke
7574347e68
libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro calls
2010-04-23 23:41:04 +02:00
Volker Lendecke
ba537079cf
libwbclient: wbcFreeMemory deals fine with a NULL pointer
2010-04-19 16:31:03 +02:00
Volker Lendecke
89bbc41d02
libwbclient: Fix wbcListGroups against too small num_entries
...
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
2010-04-19 16:31:02 +02:00
Volker Lendecke
6d898b45a3
libwbclient: Fix wbcListUsers against too small num_entries
...
Thanks for the s4 winbind sending 0 here and Tridge to point it out to me :-)
2010-04-19 16:31:02 +02:00
Volker Lendecke
c04ce964e9
nsswitch: Add wbinfo --pam-logon
...
This does a wbcLogonUser with credential caching
2010-04-19 14:27:24 +02:00
Volker Lendecke
76972533da
libwbclient does not need talloc_free anymore
2010-04-19 14:27:24 +02:00
Volker Lendecke
7072cc0c9d
libwbclient: Make wbcListTrusts not use talloc
2010-04-19 14:27:23 +02:00
Volker Lendecke
d582caa175
libwbclient: Make wbc_create_error_info not use talloc
2010-04-19 14:27:23 +02:00