search for: client_ref

Displaying 5 results from an estimated 5 matches for "client_ref".

Did you mean: client_unref
2006 Jan 27
4
find.collect problem.
Hi all. I am trying to populate a dropdown based on two values. def self.clientref( reference ) @bugclientrefs = self.find_all(["bug_id = ?", reference]).collect {|b| [ b.client_id.strip << " - " << b.client_ref.strip ]} end This works fine. However this returns the reference to the client. I want the full name using this function. class Bugclient < ActiveRecord::Base set_primary_key "bc_ref" def self.fullname( reference ) result = Bugclient.find(reference.strip) result.bc_name...
2006 Jan 19
0
Incorrect number of arguments.
...gsheet is an instance variable being used by the partial) <%= select("bugclientlink", "bug_id", Bugclientlink.listclients(@bugsheet.id)) Given the fact that Bugclientlink class contains: def self.listclients( reference ) result = Bugclientlink.find_by_sql["select client_ref from bugclientlink where bug_id = ?", reference ] result.push(Bugclientlink.new(''99999'', '' '')) end end Can anyone tell me why is it giving me the following error? Many thanks in advance, I am sure it is something simple I am...
2014 Mar 25
0
Disconnected (auth failed, 1 attempts)
...;>>>>>>>imap-login/client.c<<<<<<<<<< static void imap_client_input(struct client *client) { struct imap_client *imap_client = (struct imap_client *)client; if (!client_read(client)) return; client_ref(client); o_stream_cork(imap_client->common.output); for (;;) { if (!auth_client_is_connected(auth_client)) { /* we're not currently connected to auth process - don't allow any commands */...
2003 Nov 04
0
PATCH: make local IP address available to auth modules
The attached patch makes the local IP address to which the client connected available to the authentication modules; i.e., the local IP address is available for substitution as %i for the mysql and pgsql modules. We needed this feature to support thousands of our legacy accounts which are authenticated by username/local_part (not the full email address) and IP address (one per domain). Timo,
2004 Jul 01
3
[PATCH, RFC] add APOP authentication mechanism
...+ info.mech = "APOP"; + info.protocol = "POP3"; + info.flags = client_get_auth_flags(client); + info.local_ip = client->common.local_ip; + info.remote_ip = client->common.ip; + info.initial_resp_data = str_data(apop_data); + info.initial_resp_size = str_len(apop_data); + + client_ref(client); + client->common.auth_request = + auth_client_request_new(auth_client, &info, + login_callback, client, &error); + + if (client->common.auth_request != NULL) { + /* don't read any input from client until login is finished */ + if (client->common.io != NULL) { +...