Displaying 14 results from an estimated 14 matches for "krb5_get_init_creds_password".
2004 Dec 23
0
Is there a fix available for CAN-2003-0190(with test program)
...ry again.
senthil at 127.0.0.1's password:
Received disconnect from 127.0.0.1: 2: Too many authentication failures for
senthil
real 6.4
user 0.0
sys 0.0
Also the `if (problem) goto out;` loop doesn't introduce a time
difference, bcoz the krb5 library call krb5_get_init_creds_password()
fails for both
validuser+badpasswd and invaliduser+badpasswd. I hereby given a test
program which points that the above combinations have same fail sequence.
However when the program is invoked with validuser+goodkerberospasswd, it
will have different sequence.
So I like to know whether th...
2003 Mar 26
0
Password expiry in auth-krb5.c
...=0x8bec0, ent=0x84150, pent=0xffbeefbc) at monitor.c:371
#4 0x37244 in monitor_child_preauth (pmonitor=0x8bec0) at monitor.c:280
#5 0x1aaac in privsep_preauth () at sshd.c:603
#6 0x1d45c in main (ac=3, av=0xffbefaac) at sshd.c:1497
At first, I simply tried to add the stock Kerberos prompter to
krb5_get_init_creds_password:
problem = krb5_get_init_creds_password(authctxt->krb5_ctx, &creds,
authctxt->krb5_user, (char *)password, krb5_prompter_posix, NULL, 0, NULL, NULL);
however, this returned KRB5_LIBOS_CANTREADPWD due to the fact that fds 0 and
1 are closed and not connected to a socket.
2005 Feb 23
1
Krb5 options patch
...that we also use a patch that does Kerberos ticket passing
and our ticket lifetime is slightly higher than the default 10 hours.
Users experience different behavior when they login with a ticket
or if they acquire a new ticket while logging in with a password.
A quick investigation leads me to krb5_get_init_creds_password() in
auth-krb5.c not passing along the 'default_lifetime' option that can be
set in /etc/krb5.conf.
Thoughts?
-Mike
---------------------------------------------------
Mike Dopheide dopheide at ncsa.uiuc.edu
System Engineer Phone: 217.244.0299
NCSA, Univ...
2011 Oct 27
1
Issue with joing to ADS2003 domain
...: trying previously-entered password for 'ipillion', allowing libkrb5 to prompt for more
Oct 27 11:14:55 rhelads sshd[4190]: pam_krb5[4190]: authenticating 'ipillion at MYDOMAIN.COM' to 'krbtgt/MYDOMAIN.COM at MYDOMAIN.COM'
Oct 27 11:14:56 rhelads sshd[4190]: pam_krb5[4190]: krb5_get_init_creds_password(krbtgt/MYDOMAIN.COM at MYDOMAIN.COM) returned 0 (Success)
Oct 27 11:14:56 rhelads sshd[4190]: pam_krb5[4190]: validating credentials
Oct 27 11:15:16 rhelads sshd[4190]: pam_krb5[4190]: error guessing name of local host principal
Oct 27 11:15:36 rhelads sshd[4190]: pam_krb5[4190]: TGT failed verific...
2003 Oct 16
0
Cann't get Samba 3.0.0 installed on a SuSE 8.2
...c: In function `notify_hash':
smbd/notify_hash.c:91: warning: assignment discards qualifiers from pointer
target type
Compiling smbd/notify_kernel.c
...
Compiling libads/kerberos.c
(4)
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:84: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
Compiling libads/util.c
...
Compiling nsswitch/winbindd_acct.c
(5)
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbindd_acct.c:224: warning: passing arg 1 of `next_token' from
incompatible pointer type
Compiling sam/idmap....
2004 Oct 19
0
samba 3.0.7 make check fails in function strstr_m
...assing arg 1 of `next_token' from
incompatible pointer type
auth/pampass.c: In function `smb_setup_pam_conv':
auth/pampass.c:422: warning: assignment from incompatible pointer type
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:84: warning: passing arg 4 of
`krb5_get_init_creds_password' discards qualifiers from pointer target
type
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbindd_acct.c:225: warning: passing arg 1 of `next_token'
from incompatible pointer type
client/client.c: In function `do_get':
client/client.c:699: warning: passing arg 4...
2002 Oct 17
1
Compile failure samba3.0alpha20
...n answer, thanks!
Compiling libsmb/trust_passwd.c
Compiling libads/ldap.c
Compiling libads/ldap_printer.c
Compiling libads/sasl.c
Compiling libads/krb5_setpw.c
Compiling libads/kerberos.c
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:80: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
Compiling libads/ldap_user.c
Compiling libads/ads_struct.c
Compiling libads/ads_status.c
Compiling libads/disp_sec.c
Compiling libads/ads_utils.c
Compiling libads/ldap_utils.c
Compiling libads/ads_ldap.c
Compiling libads/util.c
Compiling libads/kerb...
2003 May 01
2
Kerberos password auth/expiry kbdint patch
...nd set up a KbdintDevice for Kerberos
password authentication/expiry. It took me a bit to wrap my head
around privsep, but I think it's working properly (code stolen
shamelessly from FBSD's PAM implementation :->).
The hardest part was working out how to get the interaction
between krb5_get_init_creds_password() (along with the prompter)
to work with the auth2_challenge routines, as the logic between the
two are very similar.
I ended up doing the following:
- using a state machine and some global data to communicate
between the KbdintDevice routines, krb5_g_i_c_p() and the
prompter
- rolle...
2015 Aug 28
3
FW: Questions about Samba 4
...roduce it on an X86_64 machine running Samba Version
4.2.3-SerNet-Debian-7.wheezy
I get this from gdb:
(gdb) bt
#0 0x00007f6449c6cf19 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f644ae45e43 in ?? ()
from /usr/lib/x86_64-linux-gnu/samba/libgse-samba4.so
#2 0x00007f644e25fc36 in krb5_get_init_creds_password ()
from /usr/lib/x86_64-linux-gnu/samba/libkrb5-samba4.so.26
#3 0x00007f644ae460ff in kerberos_kinit_password_ext ()
from /usr/lib/x86_64-linux-gnu/samba/libgse-samba4.so
#4 0x00007f64519fde1d in kerberos_return_pac ()
#5 0x00007f6451a1cb5f in winbindd_dual_pam_auth ()
#6 0x00007f6451a3...
2007 Sep 13
0
Compilation error when linking libsmbclient.so :-(
..._MIT'
/net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so:
undefined reference to `gss_display_status@gssapi_krb5_2_MIT'
/net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so:
undefined reference to `krb5_get_init_creds_password@krb5_3_MIT'
/usr/lib/libldap-2.3.so.0: undefined reference to
`__stack_chk_fail@GLIBC_2.4'
/net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so:
undefined reference to `krb5_use_enctype@k5crypto_3_MIT'
/net/172.17.8.206/usr/local/avinash/p4/...
2015 Aug 27
8
FW: Questions about Samba 4
This was a test on debian Jessie with sernet samba 4.2.3.
and the test was, "login" with a AD user on ssh.
this worked, fine, but this i noticed later.
Greetz,
Louis
>-----Oorspronkelijk bericht-----
>Van: Volker Lendecke [mailto:Volker.Lendecke at SerNet.DE]
>Verzonden: woensdag 26 augustus 2015 20:39
>Aan: L.P.H. van Belle
>CC: samba at lists.samba.org
2004 Jun 02
0
Re: samba Digest, Vol 18, Issue 3
...etpw.c:372: warning: passing arg 3 of `ngetpeername' from
incompatible pointer type
libads/krb5_setpw.c:374: warning: passing arg 3 of `ngetsockname' from
incompatible pointer type
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:84: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
nsswitch/winbindd_ads.c: In function `lookup_groupmem':
nsswitch/winbindd_ads.c:743: warning: passing arg 7 of
`ads_pull_strings_range' from incompatible pointer type
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbind...
2004 Jun 02
0
SAMBA 3.0.4 on AIX 5.2 configure usability question?
...etpw.c:372: warning: passing arg 3 of `ngetpeername' from
incompatible pointer type
libads/krb5_setpw.c:374: warning: passing arg 3 of `ngetsockname' from
incompatible pointer type
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:84: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
nsswitch/winbindd_ads.c: In function `lookup_groupmem':
nsswitch/winbindd_ads.c:743: warning: passing arg 7 of
`ads_pull_strings_range' from incompatible pointer type
nsswitch/winbindd_acct.c: In function `string2group':
nsswitch/winbind...
2002 Nov 10
2
Trying to join a Solaris 8 box to Windows 2000 AD.
...:96: warning: passing arg 4 of `ads_mod_strlist' from
incompatible pointer type
libads/ldap_printer.c:99: warning: passing arg 4 of `ads_mod_strlist' from
incompatible pointer type
libads/kerberos.c: In function `kerberos_kinit_password':
libads/kerberos.c:80: warning: passing arg 6 of
`krb5_get_init_creds_password' discards qualifiers from pointer target type
utils/net.c: In function `net_getlocalsid':
utils/net.c:348: warning: passing arg 1 of `secrets_fetch_domain_sid'
discards qualifiers from pointer target type
utils/net_ads.c: In function `net_ads_printer_info':
utils/net_ads.c:722: warn...