search for: userp

Displaying 8 results from an estimated 8 matches for "userp".

Did you mean: user
2009 Jun 06
2
expire-tool --test: timestamps
...c void expire_run(bool testrun) } else if (!testrun) dict_set(trans, key, new_value); else { - i_info("%s: timestamp %s (%s) -> %s (%s)", - userp, value, ctime(&expire_time), - new_value, ctime(&oldest)); + char *expire_ctime = i_strdup(ctime(&expire_time)); + char *oldest_ctime = i_strdup(ctime(&oldest)); +...
2009 Aug 09
1
Wiki entry for expire plugin, PostgreSQL trigger needs update
...T_EXPIRE_PREFIX, DICT_ITERATE_FLAG_RECURSE | DICT_ITERATE_FLAG_SORT_BY_VALUE); /* We'll get the oldest values (timestamps) first */ while (dict_iterate(iter, &key, &value) > 0) { /* key = DICT_EXPIRE_PREFIX<user>/<mailbox> */ userp = key + strlen(DICT_EXPIRE_PREFIX); [...] T_BEGIN { username = t_strdup_until(userp, p); If this code does somehow iterate usernames which are not present in the dict, I apologize. Cheers Stefan
2004 Jan 31
1
netgroups patch for rsync 2.6.0
...ss.c 2003-07-30 16:12:27.000000000 +1000 +++ ../rsync-2.6.0-Linux/access.c 2004-01-31 23:15:37.000000000 +1100 @@ -22,10 +22,31 @@ */ #include "rsync.h" +#include <netdb.h> static int match_hostname(char *host, char *tok) { + char netgroup[512]; + char *machinep; + char *userp; + char *domainp; + + if(strlen(tok)){ + if(tok[0]=='@'){ + strcpy(netgroup, ""); + sscanf(tok, "@%s", netgroup); + setnetgrent(netgroup); + while(getnetgrent(&machinep, &userp, &domainp)){ + if(machinep!=NULL){ + if(strcmp(host, machinep)==0)...
2002 Jul 31
2
privsep+kerb5+ssh1
...TOK, + MONITOR_REQ_KRB5, MONITOR_ANS_KRB5, MONITOR_REQ_TERM }; --- openssh-3.4p1/monitor_wrap.c.krb Tue Jul 23 15:15:43 2002 +++ openssh-3.4p1/monitor_wrap.c Tue Jul 23 15:18:23 2002 @@ -1040,3 +1040,38 @@ return (success); } + +#ifdef KRB5 +int +mm_auth_krb5(void *ctx, void *argp, char **userp, void *resp) +{ + krb5_data *tkt, *reply; + Buffer m; + int success; + + debug3("%s entering", __func__); + tkt = (krb5_data *) argp; + reply = (krb5_data *) resp; + + buffer_init(&m); + buffer_put_string(&m, tkt->data, tkt->length); + + mm_request_send(pmonitor->m_recvfd...
2015 May 06
3
Add users to samba using a list.
Hi! I'm trying to create a script wich allows me to add users to samba based on a list. The list got the structure: user1 user2 user3 (one value on each line) Is there a simple way to add these users (with home folders) to the samba-system with the password "BasicPassword" ? Thanks :)
2006 Feb 16
1
file_column problem
...@user = User.new(@params[:user]) redirect_to :action => ''account'', :id => @user end 4. Form looks like this: <%= form_tag({ :action => ''updateyourpic'' , :id => @user }, :multipart => true) %> <%= render_partial ''userpic'', :user => @user, :submit => true %> <%= end_form_tag %> in my subform I have... <%= file_column_field "user", "image" %><br /> <br /> <%= submit_tag ''Upload it!'' %> 5. The file shows up in the tempora...
2009 May 19
2
expire-tool segmentation fault
Hi! I'm using Dovecot 1.1.15 on OpenBSD 4.4. How can I debug this? # /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire- tool Segmentation fault (core dumped) # gdb /usr/local/sbin/dovecot (gdb) run --exec-mail ext /usr/local/libexec/dovecot/expire-tool Starting program: /usr/local/sbin/dovecot --exec-mail ext /usr/local/libexec/dovecot/expire-tool Program received
2012 Jul 19
1
kernel panic caused by zfs/sa.c
Hello, I'm experiencing a kernel panic that appears to be caused by zfs. No errors are making it into /var/log/messages, but here is the error message that appears on my screen after panic (transcribed): panic solaris assert BSWAP_32(sa_hdr_phys->sa_magic) == SA_MAGIC, file: /src/sys/modules/zfs/../../cddl/contrib/opensolaris/uts/common/fs/zfs/sa.c, line 1262 I can reproduce this by