Searched refs:realm (Results 1 - 25 of 55) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libads/
H A Dads_struct.c27 char *ads_build_path(const char *realm, const char *sep, const char *field, int reverse) argument
34 r = SMB_STRDUP(realm);
68 realm of the form AA.BB.CC
71 char *ads_build_dn(const char *realm) argument
73 return ads_build_path(realm, ".", "dc=", 0);
84 ADS_STRUCT *ads_init(const char *realm, argument
93 ads->server.realm = realm? SMB_STRDUP(realm) : NULL;
97 /* we need to know if this is a foreign realm */
[all...]
H A Dldap_utils.c65 DEBUG(3,("Reopening ads connection to realm '%s' after error %s\n",
66 ads->config.realm, ads_errstr(status)));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/plugins/radius/
H A Dradrealms.c6 * allows selection of alternate set of servers based on the user's realm.
44 char *realm; local
55 realm = strrchr(user, '@');
57 if (realm) {
58 info("Looking up servers for realm '%s'", realm);
60 info("Looking up servers for DEFAULT realm");
62 if (realm) {
63 if (*(++realm) == '\0') {
64 realm
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libsmb/
H A Dnamequery_dc.c29 Find the name and IP address for a server in he realm/domain
32 static BOOL ads_dc_name(const char *domain, const char *realm, struct in_addr *dc_ip, fstring srv_name) argument
36 if (!realm && strequal(domain, lp_workgroup()))
37 realm = lp_realm();
39 ads = ads_init(realm, domain, NULL);
52 if (!ads->config.realm) {
158 BOOL get_dc_name(const char *domain, const char *realm, fstring srv_name, struct in_addr *ip_out) argument
168 if ( strequal(lp_workgroup(), domain) || strequal(lp_realm(), realm) )
174 if ( (our_domain && lp_security()==SEC_ADS) || realm ) {
175 ret = ads_dc_name(domain, realm,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/
H A Dnet_lookup.c28 " net lookup kdc [realm]\n\tgives IP of realm's kerberos KDC\n\n"
185 krb5_data realm; local
196 realm.data = (krb5_pointer) argv[0];
197 realm.length = strlen(argv[0]);
199 realm.data = (krb5_pointer) lp_realm();
200 realm.length = strlen(realm.data);
208 realm.data = (krb5_pointer) *realms;
209 realm
[all...]
H A Dnet_ads.c32 "\n\tjoins the local machine to a ADS realm\n"\
34 "\n\tremoves the local machine from a ADS realm\n"\
38 "\n\tlist, add, or delete users in the realm\n"\
40 "\n\tlist, add, or delete groups in the realm\n"\
47 "\nnet ads password <username@realm> <password> -Uadmin_username@realm%%admin_pass"\
49 "\n\t(note: use realm in UPPERCASE, prompts if password is obmitted)\n"\
83 } if (!ads->config.realm) {
84 ads->config.realm = opt_target_workgroup;
97 /* if netbios is disabled we have to default to the realm fro
1125 char *realm = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/misc/
H A Drtacct.c159 int realm; local
183 for (realm=0; realm<256; realm++) {
188 if (!(rmap[realm>>5] & (1<<(realm&0x1f))))
191 val = &kern_db->val[realm*4];
192 rate = &kern_db->rate[realm*4];
202 memcpy(&hist_db->val[realm*4], val, sizeof(*val)*4);
208 fprintf(fp, "%-10s", rtnl_rtrealm_n2a(realm, b
221 int k, realm; local
492 __u32 realm; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/uams/uams_krb4/
H A Dkuam.c34 * The "user", "instance", and "realm" arguments give the identity of
37 * to use. (The realm of the server is the same as the Kerberos server
63 * string realm client's realm
70 kuam_get_in_tkt(user, instance, realm, service, sinstance, life, rpkt )
73 char *realm;
106 (void) strcpy((char *)(pkt->dat+pkt->length),realm); /* realm */
107 pkt->length += 1 + strlen(realm);
124 if (kerror = send_to_kdc(pkt, rpkt, realm)) retur
[all...]
H A Duams_krb4.c59 static char realm[ REALM_SZ ]; variable
182 strcpy( realm, ad.prealm );
207 len = strlen( realm );
210 strcpy( p, realm );
216 if (krb_get_lrealm( realm, 1 ) != KSUCCESS ) {
217 LOG(log_error, logtype_default, "krb4_login: can't get local realm!" );
222 len = strlen( realm );
224 strcpy( p, realm );
320 lcase( realm );
321 strcpy( p, realm );
515 char realm[MAXKTCREALMLEN]; local
[all...]
H A Dsend_to_kdc.c67 * server(s) in the given realm and returns the reply message.
70 * The "realm" argument indicates the realm of the Kerberos server(s)
71 * to transact with. If the realm is null, the local realm is used.
73 * If more than one Kerberos server is known for a given realm,
81 * SKDC_CANT - can't get local realm
92 send_to_kdc(pkt,rpkt,realm)
95 char *realm;
109 * If "realm" i
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/uams/uams_krb4/
H A Dkuam.c34 * The "user", "instance", and "realm" arguments give the identity of
37 * to use. (The realm of the server is the same as the Kerberos server
63 * string realm client's realm
70 kuam_get_in_tkt(user, instance, realm, service, sinstance, life, rpkt )
73 char *realm;
106 (void) strcpy((char *)(pkt->dat+pkt->length),realm); /* realm */
107 pkt->length += 1 + strlen(realm);
124 if (kerror = send_to_kdc(pkt, rpkt, realm)) retur
[all...]
H A Duams_krb4.c59 static char realm[ REALM_SZ ]; variable
182 strcpy( realm, ad.prealm );
207 len = strlen( realm );
210 strcpy( p, realm );
216 if (krb_get_lrealm( realm, 1 ) != KSUCCESS ) {
217 LOG(log_error, logtype_default, "krb4_login: can't get local realm!" );
222 len = strlen( realm );
224 strcpy( p, realm );
320 lcase( realm );
321 strcpy( p, realm );
515 char realm[MAXKTCREALMLEN]; local
[all...]
H A Dsend_to_kdc.c67 * server(s) in the given realm and returns the reply message.
70 * The "realm" argument indicates the realm of the Kerberos server(s)
71 * to transact with. If the realm is null, the local realm is used.
73 * If more than one Kerberos server is known for a given realm,
81 * SKDC_CANT - can't get local realm
92 send_to_kdc(pkt,rpkt,realm)
95 char *realm;
109 * If "realm" i
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Drtm_map.c98 __u32 realm = 0; local
112 if (*arg && rtnl_rtrealm_a2n(&realm, arg))
114 *realms |= realm;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Drtm_map.c100 uint32_t realm = 0; local
114 if (*arg && rtnl_rtrealm_a2n(&realm, arg))
116 *realms |= realm;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dafs.c235 char realm[ MAXKTCREALMLEN ]; local
247 *name = *instance = *realm = '\0';
248 ka_ParseLoginName( ibuf, name, instance, realm );
249 ucase( realm );
250 if ( *realm == '\0' ) {
251 if ( krb_get_lrealm( realm, 1 ) != KSUCCESS ) {
291 "changing password for <%s>.<%s>@<%s>", name, instance, realm );
293 ka_StringToKey( oldpw, realm, &oldkey );
295 ka_StringToKey( newpw, realm, &newkey );
298 rc = ka_GetAdminToken( name, instance, realm,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dafs.c228 char realm[ MAXKTCREALMLEN ]; local
240 *name = *instance = *realm = '\0';
241 ka_ParseLoginName( ibuf, name, instance, realm );
242 ucase( realm );
243 if ( *realm == '\0' ) {
244 if ( krb_get_lrealm( realm, 1 ) != KSUCCESS ) {
284 "changing password for <%s>.<%s>@<%s>", name, instance, realm );
286 ka_StringToKey( oldpw, realm, &oldkey );
288 ka_StringToKey( newpw, realm, &newkey );
291 rc = ka_GetAdminToken( name, instance, realm,
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dhttp_digest.c119 WWW-Authenticate: Digest realm="testrealm", nonce="1053604598"
120 Proxy-Authenticate: Digest realm="testrealm", nonce="1053604598"
178 else if(Curl_raw_equal(value, "realm")) {
179 d->realm = strdup(content);
180 if(!d->realm)
358 A1 = unq(username-value) ":" unq(realm-value) ":" passwd
362 A1 = H( unq(username-value) ":" unq(realm-value) ":" passwd )
367 aprintf("%s:%s:%s", userp, d->realm, passwdp);
465 Authorization: Digest username="testuser", realm="testrealm", \
473 "realm
[all...]
H A Dkrb4.c78 char realm[REALM_SZ]; member in struct:krb4_data
176 char sname[SNAME_SZ], inst[INST_SZ], realm[REALM_SZ]; local
180 strlcpy(realm, krb_realmofhost(host), sizeof(realm));
181 ret = krb_mk_req(adat, sname, inst, realm, checksum);
186 strlcpy(realm, krb_realmofhost(host), sizeof(realm));
187 ret = krb_get_cred(sname, inst, realm, &cred);
238 infof(data, "Can't get address for realm %s\n",
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/include/openssl/
H A Dkssl.h152 krb5_data *realm, krb5_data *entity, int nentities);
161 krb5_principal *princ, int rlen, const char *realm,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/ssl/
H A Dkssl.h152 krb5_data *realm, krb5_data *entity, int nentities);
161 krb5_principal *princ, int rlen, const char *realm,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/include/openssl/
H A Dkssl.h158 krb5_data *realm, krb5_data *entity, int nentities);
167 krb5_principal *princ, int rlen, const char *realm,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/ssl/
H A Dkssl.h158 krb5_data *realm, krb5_data *entity, int nentities);
167 krb5_principal *princ, int rlen, const char *realm,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/include/
H A Dads.h17 char *realm; member in struct:__anon1563::__anon1564
21 int foreign; /* set to 1 if connecting to a foreign realm */
26 char *realm; member in struct:__anon1563::__anon1565
37 char *realm; member in struct:__anon1563::__anon1566
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/examples/misc/
H A Dadssearch.pl54 my $realm = "";
97 'realm|R=s' => \$opt_realm,
256 # this might fill up workgroup, machine, realm
272 # get the realm
273 $realm = $opt_realm ||
290 my $upn = sprintf("%s", gen_upn($opt_machine ? "$machine\$" : $user, $realm));
350 print "usage: $0 [--base|-b base] [--debug level] [--debug level] [--DN|-D binddn] [--extendeddn|-e] [--help] [--host|-h host] [--machine|-P] [--metadata|-m] [--nodiffs] [--notify|-n] [--password|-w password] [--port port] [--rawdisplay] [--realm|-R realm] [--rootdse] [--saslmech|-Y saslmech] [--schema|-c] [--scope|-s scope] [--simpleauth|-x] [--starttls|-Z] [--user|-U user] [--wknguid] [--workgroup|-k workgroup] filter [attrs]\n";
364 print "\t--realm|-R [realm]\
[all...]

Completed in 223 milliseconds

123