search for: krb5_sname_to_princip

Displaying 12 results from an estimated 12 matches for "krb5_sname_to_princip".

2003 Oct 30
1
Patch to make sshd work on multihomed systems
...socketname) { + strlcpy(localname, socketname, MAXHOSTNAMELEN); + xfree(socketname); + } else if (gethostname(localname, MAXHOSTNAMELEN)) { + problem = -1; + goto out; + } + problem = krb5_init(authctxt); if (problem) goto out; @@ -123,7 +135,7 @@ if (problem) goto out; - problem = krb5_sname_to_principal(authctxt->krb5_ctx, NULL, NULL, + problem = krb5_sname_to_principal(authctxt->krb5_ctx, localname, NULL, KRB5_NT_SRV_HST, &server); if (problem) goto out; diff -u -r src.old/gss-genr.c src/gss-genr.c --- src.old/gss-genr.c Thu Oct 30 15:02:46 2003 +++ src/gss-genr.c Thu Oct 3...
2009 Feb 05
2
Problem with Kerberos auth on AIX 5.3
...the daemon rejects it with the following message: debug1: Kerberos password authentication failed: Not enough space. If you try again the message changes to: debug1: Kerberos password authentication failed: There is not enough memory available now. I tracked that down to auth-krb5.c and a call to krb5_sname_to_principal(). If you comment out that call kerberos password authentication works just fine. Unfortunately, that's not a good long term solution. It smells like some crazy AIX memory allocation problem to me. The ulimit settings appear fine and that's about the limit of my AIX knowledge. Any th...
2002 Sep 11
0
samba-3.0-alpha19 can't compile
...context.o(.text+0x124e): undefined reference to `krb5_mk_rep' accept_sec_context.o(.text+0x17c5): undefined reference to `krb5_mk_error' /usr/src/krb5-1.2.5/src/lib/libgssapi_krb5.a(acquire_cred.o): In function `acquire_accept_cred': acquire_cred.o(.text+0x68): undefined reference to `krb5_sname_to_principal' /usr/src/krb5-1.2.5/src/lib/libgssapi_krb5.a(gssapi_krb5.o): In function `kg_get_context': gssapi_krb5.o(.text+0x10d): undefined reference to `krb5_ser_context_init' gssapi_krb5.o(.text+0x12e): undefined reference to `krb5_ser_auth_context_init' gssapi_krb5.o(.text+0x14f): unde...
2002 Jul 06
1
Compile error with kerberos and samba
...t': accept_sec_context.o(.text+0x123e): undefined reference to `krb5_mk_rep' accept_sec_context.o(.text+0x17b5): undefined reference to `krb5_mk_error' /usr/lib/libgssapi_krb5.a(acquire_cred.o): In function `acquire_accept_cred': acquire_cred.o(.text+0x68): undefined reference to `krb5_sname_to_principal' /usr/lib/libgssapi_krb5.a(gssapi_krb5.o): In function `kg_get_context': gssapi_krb5.o(.text+0xf1): undefined reference to `krb5_ser_context_init' gssapi_krb5.o(.text+0x112): undefined reference to `krb5_ser_auth_context_init' gssapi_krb5.o(.text+0x13a): undefined reference to `k...
2002 Oct 17
1
Compile failure samba3.0alpha20
...39; accept_sec_context.o(.text+0x16be): undefined reference to `krb5_mk_rep' accept_sec_context.o(.text+0x1c45): undefined reference to `krb5_mk_error' /usr/local/lib/libgssapi_krb5.a(acquire_cred.o): In function `acquire_accept_cred': acquire_cred.o(.text+0x68): undefined reference to `krb5_sname_to_principal' /usr/local/lib/libgssapi_krb5.a(gssapi_krb5.o): In function `kg_get_context': gssapi_krb5.o(.text+0x10d): undefined reference to `krb5_ser_context_init' gssapi_krb5.o(.text+0x12e): undefined reference to `krb5_ser_auth_context_init' gssapi_krb5.o(.text+0x14f): undefined reference...
2002 Nov 19
1
problems compiling samba3.0alpha20 on SOLARIS 7
Hi list, I'm trying to compile samba3.0alpha20 on a SOLARIS 7 machine, everything looks quite OK until I end up with this, there seems to be a couple of kerberos related functions missing (?) Undefined first referenced symbol in file krb5_sname_to_principal /usr/krb5-1.2.6/lib/libgssapi_krb5.a(acquire_cred.o) krb5_free_cksumtypes /usr/krb5-1.2.6/lib/libgssapi_krb5.a(init_sec_context.o) krb5_mk_error /usr/krb5-1.2.6/lib/libgssapi_krb5.a(accept_sec_context.o) krb5_fwd_tgt_creds /usr/krb5-1.2.6/lib/libgssapi_krb5.a(ini...
2002 May 20
0
Openssh 3.2.2p1 KRB5 addition
...ost.h" #ifdef KRB5 #include <krb5.h> *************** *** 80,85 **** --- 81,87 ---- krb5_data reply; krb5_ticket *ticket; int fd, ret; + char *localname; ret = 0; server = NULL; *************** *** 108,114 **** if (problem) goto err; ! problem = krb5_sname_to_principal(authctxt->krb5_ctx, NULL, NULL , KRB5_NT_SRV_HST, &server); if (problem) goto err; --- 110,118 ---- if (problem) goto err; ! localname=get_local_hostname(fd); ! ! problem = krb5_sname_to_principal(authctxt->krb5_ctx, localname, NULL , KRB...
2003 Jan 16
1
Samba PDC + 2K/XP
Hey, I am just wondering how you enforce security (such as permissions) on local workstations while running Samba 2.2.x as a PDC with 2K/XP workstations? As some of us don't have or want 2000 Server to enforce things like policies etc... how do you all do it. E.g. If we want 'Administrator' to have access to all start menu etc... yet standard users to have only programs, no settings
1999 Nov 25
4
compile error
Hi, I'm trying to get Samba-2.1.0-prealpha compiled but I always get stuck at the following error message: root@pc2:/usr/src/samba-2.1.0-prealpha/source > make Using LIBS = -lcrypt Linking bin/rpcclient rpcclient/rpcclient.o: In function `process': rpcclient/rpcclient.o(.text+0x4c3): undefined reference to `wait_keyboard' collect2: ld returned 1 exit status make: ***
2012 Apr 18
0
ANNOUNCE: cifs-utils release 5.4 is ready for download
...to decide whether to ignore unknown mount options, warn, or error out. Signed-off-by: Jeff Layton <jlayton at samba.org> commit c5dcf26c0d87d9e8342d2c946e039066de29d30a Author: Jeff Layton <jlayton at samba.org> Date: Thu Mar 29 09:11:29 2012 -0400 cifs.upcall: use krb5_sname_to_principal to construct principal name Currently, we build the string by hand then then construct the principal name with krb5_parse_name. That bypasses the domain_realm section in krb5.conf however. Switch the code to use krb5_sname_to_principal instead which is more suited to...
2007 May 24
2
[Bug 1318] New: There is no way to really cancel dns queries from the client
...dTo: bitbucket at mindrot.org ReportedBy: eyal.lotem at gmail.com The option "CheckHostIP no" cancels ssh's lookup, but the ssh clinet still calls gss_import_name with the parameter GSS_C_NT_HOSTBASED_SERVICE. This call creates a name lookup internally (via gss's call to krb5_sname_to_principal). This causes "ssh" to always attempt to backresolve IP addresses. It only gives up after about 10 seconds. This means that all ssh-based traffic (ssh, sftp, etc) requires a 10 second initiation time (!) before it can work, unless adding the private network IP addresses to /etc/hosts....
2007 Sep 13
0
Compilation error when linking libsmbclient.so :-(
...mpare@k5crypto_3_MIT' /net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so: undefined reference to `krb5_us_timeofday@krb5_3_MIT' /lib/libssl.so.6: undefined reference to `krb5_rc_default@krb5_3_MIT' /lib/libssl.so.6: undefined reference to `krb5_sname_to_principal@krb5_3_MIT' /net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so: undefined reference to `krb5_kt_free_entry@krb5_3_MIT' /net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so: undefined reference to...