Displaying 6 results from an estimated 6 matches for "auth_ok".
Did you mean:
auth_
2003 Aug 09
0
Timing attacks and owl-always-auth
...eving revision 1.28
diff -u -p -r1.28 auth-passwd.c
--- auth-passwd.c 2003/07/22 13:35:22 1.28
+++ auth-passwd.c 2003/08/09 04:45:13
@@ -43,9 +43,17 @@ RCSID("$OpenBSD: auth-passwd.c,v 1.28 20
#include "servconf.h"
#include "auth.h"
-
extern ServerOptions options;
+int auth_ok;
+int
+auth_result(int result)
+{
+ if (result == 0)
+ auth_ok = 0;
+ return auth_ok;
+}
+
/*
* Tries to authenticate the user using password. Returns true if
* authentication succeeds.
@@ -54,42 +62,52 @@ int
auth_password(Authctxt *authctxt, const char *password)
{
struct passwd * pw...
1998 Jun 05
1
Simple password checker
...erver.
I'm getting pretty bogged down trying to work out how to do this -
it seems like it should be simple - just take the password and username
and ask the NT server if it's correct.
If anyone could point me in the right direction for doing this, please
do.
I think I just need to call
auth_ok = server_validate(user,domain,pass,passlen,ntpass,ntpasslen);
.. but I think I must do a little more than just call the function.
What's the difference between pass and ntpass ?
Thanks in advance,
Rik
--
/*
** Rik Hemsley
** Unix Admin
** Keyline Builders Merchants, Glasgow, UK
** X ? Naah....
2019 Aug 15
2
2.3.7 + stats
Is there any additional documentation/information around the new stats
module.
Have added some metrics just to see what they produce
##
## Metrics
###
metric imap {
??? event_name = imap_command_finished
??? #source_location = example.c:123
??? #categories =
??? fields = name args running_usecs bytes_in bytes_out
??? #filter {
??? #??? field_key = wildcard
??? #}
}
metric sql {
???
2006 Jul 02
0
Help with Icecast core dump
...from /usr/lib/libthread.so.1...done.
Loaded symbols for /usr/lib/libthread.so.1
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
#0 auth_new_listener (auth_user=0x63148) at auth.c:158
158 if (client->auth->authenticate (auth_user) != AUTH_OK)
(gdb) bt
#0 auth_new_listener (auth_user=0x63148) at auth.c:158
#1 0x000278ec in auth_run_thread (arg=0x44c00) at auth.c:203
#2 0x0002b234 in _start_routine (arg=0x63148) at thread.c:655
(gdb)
Thanks.
--
Charles Gagnon | My views are my views and they
http://unixrealm.com...
2004 Aug 06
4
No Duplicate Users - Patch
...nt)
{
auth_t *authenticator = source->authenticator;
@@ -71,7 +95,7 @@
password = tmp+1;
result = authenticator->authenticate(
- authenticator, username, password);
+ authenticator, source, username, password);
if(result == AUTH_OK)
client->username = strdup(username);
@@ -106,6 +130,7 @@
typedef struct {
char *filename;
+ int allow_duplicate_users;
rwlock_t file_rwlock;
} htpasswd_auth_state;
@@ -150,14 +175,20 @@
#define MAX_LINE_LEN 512
/* Not efficient; opens and scans the entire...
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers.
I just upgraded to samba-3.0.23 and I've noticed an alarming issue with
respect to my configuration.
I've been using the built-in keytab management and it looks like the updated
code no longer creates the userPrincipal in Active Directory.
Whether this is an issue for others or not, it would be nice to have