search for: getpassf

Displaying 7 results from an estimated 7 matches for "getpassf".

Did you mean: getpass
2008 Apr 17
3
DO NOT REPLY [Bug 5401] New: getpassf() should honor strict modes
https://bugzilla.samba.org/show_bug.cgi?id=5401 Summary: getpassf() should honor strict modes Product: rsync Version: 3.0.3 Platform: All OS/Version: OS/2 Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: steve53@e...
2002 Feb 20
2
[PATCH] rsync on cygwin - textmode config files
...7,7 @@ static int get_secret(int module, char * rprintf(FERROR,"secrets file must be owned by root when running as root (see strict modes)\n"); ok = 0; } +#endif } if (!ok) { rprintf(FERROR,"continuing without secrets file\n"); @@ -144,7 +156,11 @@ static char *getpassf(char *filename) if (!filename) return NULL; - if ( (fd=open(filename,O_RDONLY)) == -1) { + if ( (fd=open(filename,O_RDONLY +#ifdef __CYGWIN__ + | O_TEXT +#endif + )) == -1) { rsyserr(FERROR, errno, "could not open password file \"%s\"",filename); if (envpw)...
2003 Jan 26
1
[PATCH] open O_TEXT and O_BINARY for cygwin/windows
Ville Herva [mailto:vherva@niksula.hut.fi] wrote: > Of course, whether O_TEXT is defined or not does not > necessarily imply the availability of "t", but I > can't think of better alternative. Stratus VOS implements O_TEXT and O_BINARY but does not recognize "t". We have the options defined in ANS C and in POSIX. I'm at home and don't have my reference
2003 Feb 12
2
rsync & ldap authentication
...vals[0], len); + ok=1; + ldap_value_free(vals); + } /* get_values */ + } /* compare_s */ + free(dn); + } /* get_dn */ + ldap_msgfree(entry); + } /* first_entry */ + ldap_msgfree(result); + } /* search */ + } /* bind */ + } /* init */ + ldap_unbind(ld); + + return ok; +} +#endif + static char *getpassf(char *filename) { char buffer[100]; @@ -205,6 +302,7 @@ char *auth_server(int fd, int module, char *addr, char *leader) { char *users = lp_auth_users(module); + char *group = lp_ldap_auth_usergroup(module); char challenge[16]; char b64_challenge[30]; char line[MAXPATHLEN]; @@ -212,10 +...
2003 May 03
0
Storing rsync secrets in LDAP
...pare_s */ + free(dn); + } /* get_dn */ + ldap_msgfree(entry); + } /* first_entry */ + ldap_msgfree(result); + } /* search */ + } /* bind */ + } /* init */ + ldap_unbind(ld); + + return ok; +} +#endif + static char *getpassf(char *filename) { char buffer[100]; @@ -206,6 +303,7 @@ char *auth_server(int fd, int module, char *addr, char *leader) { char *users = lp_auth_users(module); + char *group = lp_ldap_auth_usergroup(module); char challenge[16]; char b64_challenge[30];...
2003 Jan 21
6
Please test rsync-2.5.6pre2
The second rsync-2.5.6 pre-release version is now available at: http://rsync.samba.org/ftp/rsync/preview/rsync-2.5.6pre2.tar.gz ftp://rsync.samba.org/pub/rsync/preview/rsync-2.5.6pre2.tar.gz rsync://rsync.samba.org/ftp/rsync/preview/rsync-2.5.6pre2.tar.gz There's also a corresponding '.sig' file that contains a gpg signature of the file; the public key is available on the
2003 Oct 03
2
Cygwin/rsync Hang Problem Testing Results
People of cygwin & rsync, I recently attempted to get cygwin and rsync working to solve a backup/mirroring need in my computer life. Well, as you might guess, I ran into a little but of trouble. Strangely enough, rsync seemed to be regularly hanging when I attempted to do a "get" (sycronize a remote to a local dir). Well, considering I want to automate this, that was not going