Searched refs:ads (Results 1 - 25 of 77) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libads/
H A Dldap_utils.c30 ADS_STATUS ads_do_search_retry(ADS_STRUCT *ads, const char *bind_path, int scope, argument
40 if (!ads->ld &&
41 time(NULL) - ads->last_attempt < ADS_RECONNECT_TIME) {
53 status = ads_do_search_all(ads, bp, scope, expr, attrs, res);
56 expr, ads_count_replies(ads, *res)));
62 ads_msgfree(ads, *res);
65 DEBUG(3,("Reopening ads connection to realm '%s' after error %s\n",
66 ads->config.realm, ads_errstr(status)));
68 if (ads->ld) {
69 ldap_unbind(ads
93 ads_search_retry(ADS_STRUCT *ads, void **res, const char *expr, const char **attrs) argument
101 ads_search_retry_dn(ADS_STRUCT *ads, void **res, const char *dn, const char **attrs) argument
[all...]
H A Dads_struct.c3 ads (active directory) utility library
88 ADS_STRUCT *ads; local
90 ads = SMB_XMALLOC_P(ADS_STRUCT);
91 ZERO_STRUCTP(ads);
93 ads->server.realm = realm? SMB_STRDUP(realm) : NULL;
94 ads->server.workgroup = workgroup ? SMB_STRDUP(workgroup) : NULL;
95 ads->server.ldap_server = ldap_server? SMB_STRDUP(ldap_server) : NULL;
99 ads->server.foreign = 1;
102 ads->server.foreign = 1;
106 ads
114 ads_destroy(ADS_STRUCT **ads) argument
[all...]
H A Dldap.c3 ads (active directory) utility library
29 * @brief basic ldap client-side routines for ads server communications
32 * ads setups.
110 in the ads struct if successful
115 BOOL ads_try_connect(ADS_STRUCT *ads, const char *server, unsigned port) argument
128 ads->ld = ldap_open_with_timeout(srv, port, lp_ldap_timeout());
129 if (!ads->ld) {
133 ads->ldap_port = port;
134 ads->ldap_ip = *interpret_addr2(srv);
143 static BOOL ads_try_connect_uri(ADS_STRUCT *ads) argument
169 ads_find_dc(ADS_STRUCT *ads) argument
257 ads_connect(ADS_STRUCT *ads) argument
430 ads_do_paged_search(ADS_STRUCT *ads, const char *bind_path, int scope, const char *expr, const char **attrs, void **res, int *count, void **cookie) argument
568 ads_do_search_all(ADS_STRUCT *ads, const char *bind_path, int scope, const char *expr, const char **attrs, void **res) argument
617 ads_do_search_all_fn(ADS_STRUCT *ads, const char *bind_path, int scope, const char *expr, const char **attrs, BOOL(*fn)(char *, void **, void *), void *data_area) argument
658 ads_do_search(ADS_STRUCT *ads, const char *bind_path, int scope, const char *expr, const char **attrs, void **res) argument
722 ads_search(ADS_STRUCT *ads, void **res, const char *expr, const char **attrs) argument
738 ads_search_dn(ADS_STRUCT *ads, void **res, const char *dn, const char **attrs) argument
750 ads_msgfree(ADS_STRUCT *ads, void *msg) argument
761 ads_memfree(ADS_STRUCT *ads, void *mem) argument
772 ads_get_dn(ADS_STRUCT *ads, void *msg) argument
799 ads_find_machine_acct(ADS_STRUCT *ads, void **res, const char *machine) argument
956 ads_gen_mod(ADS_STRUCT *ads, const char *mod_dn, ADS_MODLIST mods) argument
994 ads_gen_add(ADS_STRUCT *ads, const char *new_dn, ADS_MODLIST mods) argument
1020 ads_del_dn(ADS_STRUCT *ads, char *del_dn) argument
1041 ads_ou_string(ADS_STRUCT *ads, const char *org_unit) argument
1066 ads_default_ou_string(ADS_STRUCT *ads, const char *wknguid) argument
1141 ads_get_kvno(ADS_STRUCT *ads, const char *machine_name) argument
1199 ads_clear_service_principal_names(ADS_STRUCT *ads, const char *machine_name) argument
1265 ads_add_service_principal_name(ADS_STRUCT *ads, const char *machine_name, const char *spn) argument
1370 ads_add_machine_acct(ADS_STRUCT *ads, const char *machine_name, uint32 account_type, const char *org_unit) argument
1650 ads_dump(ADS_STRUCT *ads, void *res) argument
1666 ads_process_results(ADS_STRUCT *ads, void *res, BOOL(*fn)(char *, void **, void *), void *data_area) argument
1724 ads_count_replies(ADS_STRUCT *ads, void *res) argument
1737 ads_join_realm(ADS_STRUCT *ads, const char *machine_name, uint32 account_type, const char *org_unit) argument
1787 ads_leave_realm(ADS_STRUCT *ads, const char *hostname) argument
1834 ads_set_machine_sd(ADS_STRUCT *ads, const char *hostname, char *dn) argument
1950 ads_first_entry(ADS_STRUCT *ads, void *res) argument
1961 ads_next_entry(ADS_STRUCT *ads, void *res) argument
1974 ads_pull_string(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg, const char *field) argument
2005 ads_pull_strings(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg, const char *field, size_t *num_values) argument
2050 ads_pull_strings_range(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg, const char *field, char **current_strings, const char **next_attribute, size_t *num_strings, BOOL *more_strings) argument
2171 ads_pull_uint32(ADS_STRUCT *ads, void *msg, const char *field, uint32 *v) argument
2196 ads_pull_guid(ADS_STRUCT *ads, void *msg, struct uuid *guid) argument
2226 ads_pull_sid(ADS_STRUCT *ads, void *msg, const char *field, DOM_SID *sid) argument
2253 ads_pull_sids(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg, const char *field, DOM_SID **sids) argument
2297 ads_pull_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg, const char *field, SEC_DESC **sd) argument
2330 ads_pull_username(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, void *msg) argument
2356 ads_USN(ADS_STRUCT *ads, uint32 *usn) argument
2403 ads_server_info(ADS_STRUCT *ads) argument
2489 ads_domain_sid(ADS_STRUCT *ads, DOM_SID *sid) argument
2519 ads_workgroup_name(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const char **workgroup) argument
[all...]
H A Dads_ldap.c28 NTSTATUS ads_name_to_sid(ADS_STRUCT *ads, argument
41 char *escaped_realm = escape_ldap_string_alloc(ads->config.realm);
55 rc = ads_search_retry(ads, &res, ldap_exp, attrs);
62 count = ads_count_replies(ads, res);
68 if (!ads_pull_sid(ads, res, "objectSid", sid)) {
73 if (!ads_pull_uint32(ads, res, "sAMAccountType", &t)) {
82 DEBUG(3,("ads name_to_sid mapped %s\n", name));
85 if (res) ads_msgfree(ads, res);
94 NTSTATUS ads_sid_to_name(ADS_STRUCT *ads, argument
122 rc = ads_search_retry(ads,
158 ads_sid_to_dn(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const DOM_SID *sid, char **dn) argument
[all...]
H A Dldap_user.c3 ads (active directory) utility library
28 ADS_STATUS ads_find_user_acct(ADS_STRUCT *ads, void **res, const char *user) argument
39 status = ads_search(ads, res, ldap_exp, attrs);
45 ADS_STATUS ads_add_user_acct(ADS_STRUCT *ads, const char *user, argument
63 if (!(upn = talloc_asprintf(ctx, "%s@%s", user, ads->config.realm)))
66 ads->config.bind_path)))
80 status = ads_gen_add(ads, new_dn, mods);
87 ADS_STATUS ads_add_group_acct(ADS_STRUCT *ads, const char *group, argument
102 ads->config.bind_path)))
113 status = ads_gen_add(ads, new_d
[all...]
H A Dutil.c25 ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_principal) argument
42 ret = kerberos_set_password(ads->auth.kdc_server, service_principal, password, service_principal, new_password, ads->auth.time_offset);
H A Dsasl.c3 ads sasl code
29 static ADS_STATUS ads_sasl_spnego_ntlmssp_bind(ADS_STRUCT *ads) argument
41 if (!ads->auth.password) {
66 rc = ldap_sasl_bind_s(ads->ld, NULL, "GSS-SPNEGO", &cred, NULL, NULL, &scred);
86 SMBencrypt(ads->auth.password, challenge,lmhash);
87 SMBNTencrypt(ads->auth.password, challenge,nthash);
99 ads->auth.user_name,
117 rc = ldap_sasl_bind_s(ads->ld, NULL, "GSS-SPNEGO", &cred, NULL, NULL, &scred);
138 static ADS_STATUS ads_sasl_spnego_krb5_bind(ADS_STRUCT *ads, const char *principal) argument
145 rc = spnego_gen_negTokenTarg(principal, ads
168 ads_sasl_spnego_bind(ADS_STRUCT *ads) argument
257 ads_sasl_gssapi_bind(ADS_STRUCT *ads) argument
428 ads_sasl_bind(ADS_STRUCT *ads) argument
[all...]
H A Dldap_printer.c3 ads (active directory) printer utility library
30 ADS_STATUS ads_find_printer_on_server(ADS_STRUCT *ads, void **res, argument
37 status = ads_find_machine_acct(ads, res, servername);
39 DEBUG(1, ("ads_find_printer_on_server: cannot find host %s in ads\n",
43 srv_dn = ldap_get_dn(ads->ld, *res);
45 ads_msgfree(ads, *res);
48 status = ads_search(ads, res, s, attrs);
56 ADS_STATUS ads_find_printers(ADS_STRUCT *ads, void **res) argument
67 return ads_search(ads, res, ldap_expr, attrs);
73 ADS_STATUS ads_mod_printer_entry(ADS_STRUCT *ads, cha argument
82 ads_add_printer_entry(ADS_STRUCT *ads, char *prt_dn, TALLOC_CTX *ctx, ADS_MODLIST *mods) argument
[all...]
H A Dkerberos_keytab.c36 int ads_keytab_add_entry(ADS_STRUCT *ads, const char *srvPrinc) argument
118 if (!ADS_ERR_OK(ads_add_service_principal_name(ads, global_myname(), srvPrinc))) {
139 kvno = (krb5_kvno) ads_get_kvno(ads, global_myname());
321 int ads_keytab_flush(ADS_STRUCT *ads) argument
363 kvno = (krb5_kvno) ads_get_kvno(ads, global_myname());
401 if (!ADS_ERR_OK(ads_clear_service_principal_names(ads, global_myname()))) {
435 int ads_keytab_create_default(ADS_STRUCT *ads) argument
450 ret = ads_keytab_add_entry(ads, "host");
455 ret = ads_keytab_add_entry(ads, "cifs");
515 ret = ads_keytab_add_entry(ads, princ_
[all...]
H A Dkerberos.c128 int ads_kinit_password(ADS_STRUCT *ads) argument
133 if (asprintf(&s, "%s@%s", ads->auth.user_name, ads->auth.realm) == -1) {
137 if (!ads->auth.password) {
141 ret = kerberos_kinit_password(s, ads->auth.password, ads->auth.time_offset,
142 &ads->auth.expire, NULL);
H A Dkrb5_setpw.c686 * @param ads connection to ads server
691 ADS_STATUS ads_set_machine_password(ADS_STRUCT *ads, argument
703 asprintf(&principal, "%s@%s", machine_account, ads->config.realm);
705 status = ads_krb5_set_password(ads->auth.kdc_server, principal,
706 password, ads->auth.time_offset);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/
H A Dnet_ads.c3 net ads commands
31 "\nnet ads join <org_unit>"\
33 "\nnet ads leave"\
35 "\nnet ads testjoin"\
37 "\nnet ads user"\
39 "\nnet ads group"\
41 "\nnet ads info"\
43 "\nnet ads status"\
45 "\nnet ads lookup"\
47 "\nnet ads passwor
71 ADS_STRUCT *ads; local
95 ADS_STRUCT *ads; local
136 ADS_STRUCT *ads; local
206 ADS_STRUCT *ads; local
220 ADS_STRUCT *ads; local
281 ADS_STRUCT *ads; local
355 ADS_STRUCT *ads; local
407 ADS_STRUCT *ads; local
449 ADS_STRUCT *ads; local
484 ADS_STRUCT *ads; local
533 ADS_STRUCT *ads; local
574 ADS_STRUCT *ads; local
603 ADS_STRUCT *ads; local
631 ADS_STRUCT *ads = NULL; local
662 ADS_STRUCT *ads = NULL; local
701 ADS_STRUCT *ads; local
892 ADS_STRUCT *ads; local
924 ADS_STRUCT *ads; local
975 ADS_STRUCT *ads; local
1055 ADS_STRUCT *ads; local
1122 ADS_STRUCT *ads; local
1194 ADS_STRUCT *ads; local
1263 ADS_STRUCT *ads; local
1323 ADS_STRUCT *ads; local
1383 ADS_STRUCT *ads; local
1397 ADS_STRUCT *ads; local
1412 ADS_STRUCT *ads; local
[all...]
H A Dnet_ads_cldap.c3 net ads cldap functions
278 int ads_cldap_netlogon(ADS_STRUCT *ads) argument
283 const char *target = opt_host ? opt_host : inet_ntoa(ads->ldap_ip);
285 sock = open_udp_socket(target, ads->ldap_port);
288 inet_ntoa(ads->ldap_ip),
289 ads->ldap_port);
294 ret = send_cldap_netlogon(sock, ads->config.realm, global_myname(), 6);
306 ads->config.ldap_server_name);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/nsswitch/
H A Dwinbindd_ads.c34 return our ads connections structure for a domain. We keep the connection
39 ADS_STRUCT *ads; local
43 ads = (ADS_STRUCT *)domain->private;
48 (uint32) ads->auth.expire, (uint32) time(NULL)));
49 if ( ads->config.realm && (ads->auth.expire > time(NULL))) {
50 return ads;
54 ads->is_mine = True;
55 ads_destroy( &ads );
64 ads
115 ADS_STRUCT *ads = NULL; local
217 ADS_STRUCT *ads = NULL; local
330 dn_lookup(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const char *dn, char **name, uint32 *name_type, DOM_SID *sid) argument
376 ADS_STRUCT *ads = NULL; local
459 ADS_STRUCT *ads; local
547 ADS_STRUCT *ads = NULL; local
649 ADS_STRUCT *ads = NULL; local
790 ADS_STRUCT *ads = NULL; local
897 ADS_STRUCT *ads; local
928 ADS_STRUCT *ads; local
[all...]
H A Dwinbindd_cm.c473 /* backup in case the ads stuff fails */
483 ADS_STRUCT *ads; local
486 ads = ads_init( realm, domainname, NULL );
487 ads->auth.flags |= ADS_AUTH_NO_BIND;
489 if ( !ads_try_connect( ads, inet_ntoa(ip), LDAP_PORT ) ) {
490 ads_destroy( &ads );
494 status = ads_server_info(ads);
496 ads_destroy( &ads );
500 fstrcpy(name, ads->config.ldap_server_name);
502 ads_destroy( &ads );
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libsmb/
H A Dnamequery_dc.c34 ADS_STRUCT *ads; local
39 ads = ads_init(realm, domain, NULL);
40 if (!ads)
47 ads->auth.flags |= ADS_AUTH_NO_BIND;
49 ads_connect(ads);
52 if (!ads->config.realm) {
53 ads_destroy(&ads);
57 fstrcpy(srv_name, ads->config.ldap_server_name);
59 *dc_ip = ads->ldap_ip;
60 ads_destroy(&ads);
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dwindfarm_smu_sensors.c62 struct smu_ad_sensor *ads = to_smu_ads(sr); local
64 kfree(ads);
91 struct smu_ad_sensor *ads = to_smu_ads(sr); local
96 rc = smu_read_adc(ads->reg, &val);
114 struct smu_ad_sensor *ads = to_smu_ads(sr); local
118 rc = smu_read_adc(ads->reg, &val);
135 struct smu_ad_sensor *ads = to_smu_ads(sr); local
139 rc = smu_read_adc(ads->reg, &val);
156 struct smu_ad_sensor *ads = to_smu_ads(sr); local
160 rc = smu_read_adc(ads
200 struct smu_ad_sensor *ads; local
437 struct smu_ad_sensor *ads; local
462 struct smu_ad_sensor *ads; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_flush.c107 int ad_copy_header(struct adouble *add, struct adouble *ads) argument
113 if ( ads->ad_eid[ eid ].ade_off == 0 ) {
121 len = ads->ad_eid[ eid ].ade_len;
131 memcpy( ad_entry( add, eid ), ad_entry( ads, eid ), len );
133 add->ad_rlen = ads->ad_rlen;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_flush.c107 int ad_copy_header(struct adouble *add, struct adouble *ads) argument
113 if ( ads->ad_eid[ eid ].ade_off == 0 ) {
121 len = ads->ad_eid[ eid ].ade_len;
131 memcpy( ad_entry( add, eid ), ad_entry( ads, eid ), len );
133 add->ad_rlen = ads->ad_rlen;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/printing/
H A Dnt_printing.c2676 static WERROR nt_printer_publish_ads(ADS_STRUCT *ads, argument
2692 ads_find_machine_acct(ads, &res, global_myname());
2697 srv_dn_utf8 = ldap_get_dn(ads->ld, res);
2699 ads_destroy(&ads);
2702 ads_msgfree(ads, res);
2706 ads_destroy(&ads);
2713 ads_destroy(&ads);
2719 ads_destroy(&ads);
2733 /* build the ads mods */
2743 ads_rc = ads_mod_printer_entry(ads, prt_d
2765 nt_printer_unpublish_ads(ADS_STRUCT *ads, NT_PRINTER_INFO_LEVEL *printer) argument
2798 ADS_STRUCT *ads = NULL; local
2869 ADS_STRUCT *ads = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/touchscreen/
H A Dads7846.c484 static void ads7846_rx(void *ads) argument
486 struct ads7846 *ts = ads;
562 static int ads7846_debounce(void *ads, int data_idx, int *val) argument
564 struct ads7846 *ts = ads;
599 static int ads7846_no_filter(void *ads, int data_idx, int *val) argument
604 static void ads7846_rx_val(void *ads) argument
606 struct ads7846 *ts = ads;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/
H A DMakefile35 --without-ads \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dfile.c1437 static int copy_fork(int eid, struct adouble *add, struct adouble *ads) argument
1445 sfd = ad_data_fileno(ads);
1449 sfd = ad_reso_fileno(ads);
1453 if ((off_t)-1 == lseek(sfd, ad_getentryoff(ads, eid), SEEK_SET))
1516 struct adouble ads, add; local
1527 ad_init(&ads, s_vol->v_adouble, s_vol->v_ad_options);
1528 adp = &ads;
2148 struct adouble ads; local
2208 ad_init(&ads, vol->v_adouble, vol->v_ad_options);
2209 if (!(adsp = find_adouble( path, &s_of, &ads))) {
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dfile.c1440 static int copy_fork(int eid, struct adouble *add, struct adouble *ads) argument
1448 sfd = ad_data_fileno(ads);
1452 sfd = ad_reso_fileno(ads);
1456 if ((off_t)-1 == lseek(sfd, ad_getentryoff(ads, eid), SEEK_SET))
1519 struct adouble ads, add; local
1530 ad_init(&ads, s_vol->v_adouble, s_vol->v_ad_options);
1531 adp = &ads;
2153 struct adouble ads; local
2213 ad_init(&ads, vol->v_adouble, vol->v_ad_options);
2214 if (!(adsp = find_adouble(vol, path, &s_of, &ads))) {
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wireless/libertas/
H A Dhostcmd.h628 struct cmd_ds_802_11_ad_hoc_start ads; member in union:cmd_ds_command::__anon6135

Completed in 215 milliseconds

1234