search for: get_dn

Displaying 4 results from an estimated 4 matches for "get_dn".

Did you mean: get_dp
2006 May 19
3
Ruby LDAP
..., 3 ) res=conn.bind(''cn=Manager,dc=domain,dc=com'',''password'') printf("connected %s",res) conn.search(''ou=people,dc=domain,dc=com'',LDAP::LDAP_SCOPE_SUBTREE,''cn=*'',[''cn'']) do |entry| dn=entry.get_dn printf("dn: %s\n",dn) end --- How could I get then the details of an entry, and modify them? Any help would be greatly appreciated. Stephane
2003 Feb 12
2
rsync & ldap authentication
...uffix(), LDAP_SCOPE_SUBTREE, filter, attrs, 0, &result) != LDAP_SUCCESS) { + rprintf(FERROR,"ldap: search_s failed\n"); + } else { + if (!(entry=ldap_first_entry(ld, result))) { + rprintf(FERROR,"ldap: first_entry failed or no user found\n"); + } else { + if (!(dn=ldap_get_dn(ld, entry))) { + rprintf(FERROR,"ldap: get_dn failed\n"); + } else { + if (ldap_compare_s(ld, group, lp_ldap_auth_users_attribute(module), dn) != LDAP_COMPARE_TRUE) { + rprintf(FERROR,"ldap: compare_s failed or \"%s\" is not member of \"%s\"\n", dn, grou...
2003 May 03
0
Storing rsync secrets in LDAP
...+ rprintf(FERROR,"ldap: search_s failed\n"); + } else { + if (!(entry=ldap_first_entry(ld, result))) { + rprintf(FERROR,"ldap: first_entry failed or no user found\n"); + } else { + if (!(dn=ldap_get_dn(ld, entry))) { + rprintf(FERROR,"ldap: get_dn failed\n"); + } else { + if (ldap_compare_s(ld, group, lp_ldap_auth_users_attribute(module), +dn) != LDAP_COMPARE_TRUE) { + rprintf(FERROR,"ldap: compare_s failed or \"...
2006 Jun 09
3
FXO registration and VegaStream
I am trying to configure a VegaStream 50 FXO to work with asterisk. The problem that I am having is that the VegaStream does not support incoming registration from asterisk. VegaStream only allows outbound registration. My question is does asterisk allow incoming registration from an FXO? If yes how? Or better yet, has anybody been able to make the VegaStream FXO work with asterisk? According