It is currently 19.01.2018 21:22


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Problem mit pam Authentifizierung per MySQL
PostPosted: 06.08.2007 11:32 
DES
DES

Joined: 06.08.2007 11:18
Posts: 2
Hallo zusammen

Ich habe erfolgreich einen OpenVPN Server aufgesetzt welcher momentan die User nur anhand der Zertifikate prüft. Das ist mir aber zu wenig. Ich will noch zusätzlich eine Abfrage nach Benutzername und Passwort. Die Daten sollten in einer MySQL-DB gespeichert werden.

Also habe ich das openvpn-auth-pam und libauthpam-mysql installiert. Das ganze habe ich dann wie folgt in OpenVPN eingebunden:

Laden des Moduls:
Code:
plugin /etc/openvpn/modules/openvpn-auth-pam.so openvpn


Die openvpn Datei sieht wie folgt aus:
Code:
auth required pam_mysql.so verbose=1 user=openvpn passwd=****** host=/var/run/mysqld/mysqld.sock db=openvpn table=users usercolumn=username passwdcolumn=password crypt=3
account required pam_permit.so



Aber jedes mal wenn ich die verbindng aufbauen will, bekomme ich folgenden Fehler:
Code:
Mon Aug  6 13:15:43 2007 us=942522 ********:45647 PLUGIN_CALL: POST /etc/openvpn/modules/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=1
Mon Aug  6 13:15:43 2007 us=942686 *********:45647 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /etc/openvpn/modules/openvpn-auth-pam.so


Könnt ihr mir da weiterhelfen?

Hier noch ein auszug aus dem Log von einem Verbindungsaufbau:
Code:
Mon Aug  6 13:28:36 2007 us=218605 Current Parameter Settings:
Mon Aug  6 13:28:36 2007 us=218722   config = '/etc/openvpn/server.conf'
Mon Aug  6 13:28:36 2007 us=218748   mode = 1
Mon Aug  6 13:28:36 2007 us=218763   persist_config = DISABLED
Mon Aug  6 13:28:36 2007 us=218776   persist_mode = 1
Mon Aug  6 13:28:36 2007 us=218789   show_ciphers = DISABLED
Mon Aug  6 13:28:36 2007 us=218801   show_digests = DISABLED
Mon Aug  6 13:28:36 2007 us=218813   show_engines = DISABLED
Mon Aug  6 13:28:36 2007 us=218825   genkey = DISABLED
Mon Aug  6 13:28:36 2007 us=218837   key_pass_file = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=218850   show_tls_ciphers = DISABLED
Mon Aug  6 13:28:36 2007 us=218862   proto = 0
Mon Aug  6 13:28:36 2007 us=218875   local = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=218887   remote_list = NULL
Mon Aug  6 13:28:36 2007 us=218900   remote_random = DISABLED
Mon Aug  6 13:28:36 2007 us=218913   local_port = 1194
Mon Aug  6 13:28:36 2007 us=218925   remote_port = 1194
Mon Aug  6 13:28:36 2007 us=218937   remote_float = ENABLED
Mon Aug  6 13:28:36 2007 us=218950   ipchange = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=218963   bind_local = ENABLED
Mon Aug  6 13:28:36 2007 us=218976   dev = 'tap0'
Mon Aug  6 13:28:36 2007 us=218989   dev_type = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=219002   dev_node = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=219014   tun_ipv6 = DISABLED
Mon Aug  6 13:28:36 2007 us=219026   ifconfig_local = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=219040   ifconfig_remote_netmask = '[UNDEF]'
Mon Aug  6 13:28:36 2007 us=219053   ifconfig_noexec = DISABLED
Mon Aug  6 13:28:36 2007 us=219065   ifconfig_nowarn = DISABLED
Mon Aug  6 13:28:36 2007 us=219077   shaper = 0
Mon Aug  6 13:28:36 2007 us=219089   tun_mtu = 1500
Mon Aug  6 13:28:36 2007 us=219102   tun_mtu_defined = ENABLED
Mon Aug  6 13:28:36 2007 us=219114   link_mtu = 1500
Mon Aug  6 13:28:36 2007 us=219126   link_mtu_defined = DISABLED
Mon Aug  6 13:28:36 2007 us=219139   tun_mtu_extra = 32
Mon Aug  6 13:28:36 2007 us=219152   tun_mtu_extra_defined = ENABLED
Mon Aug  6 13:28:36 2007 us=219165   fragment = 0
Mon Aug  6 13:28:36 2007 us=219178   mtu_discover_type = -1
Mon Aug  6 13:28:36 2007 us=219190   mtu_test = 0
Mon Aug  6 13:28:36 2007 us=219203   mlock = DISABLED
Mon Aug  6 13:28:36 2007 us=219215   keepalive_ping = 20
Mon Aug  6 13:28:36 2007 us=219227   keepalive_timeout = 180
Mon Aug  6 13:28:36 2007 us=219239   inactivity_timeout = 0
Mon Aug  6 13:28:36 2007 us=219251   ping_send_timeout = 20
Mon Aug  6 13:28:36 2007 us=219264   ping_rec_timeout = 360
Mon Aug  6 13:28:36 2007 us=219276   ping_rec_timeout_action = 2
Mon Aug  6 13:28:36 2007 us=219288   ping_timer_remote = ENABLED
Mon Aug  6 13:28:36 2007 us=219300   remap_sigusr1 = 0
Mon Aug  6 13:28:36 2007 us=219312   explicit_exit_notification = 0
Mon Aug  6 13:28:36 2007 us=219324   persist_tun = DISABLED
Mon Aug  6 13:28:36 2007 us=219336   persist_local_ip = DISABLED
Mon Aug  6 13:28:36 2007 us=219348 NOTE: --mute triggered...
Mon Aug  6 13:28:36 2007 us=219370 127 variation(s) on previous 50 message(s) suppressed by --mute
Mon Aug  6 13:28:36 2007 us=219384 OpenVPN 2.0.9 i486-pc-linux-gnu [SSL] [LZO] [EPOLL] built on Jan 21 2007
Mon Aug  6 13:28:36 2007 us=220835 PLUGIN_INIT: POST /etc/openvpn/modules/openvpn-auth-pam.so 'openvpn' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Mon Aug  6 13:28:36 2007 us=231679 Diffie-Hellman initialized with 1024 bit key
Mon Aug  6 13:28:36 2007 us=232685 TLS-Auth MTU parms [ L:1573 D:138 EF:38 EB:0 ET:0 EL:0 ]
Mon Aug  6 13:28:36 2007 us=232771 TUN/TAP device tap0 opened
Mon Aug  6 13:28:36 2007 us=232793 TUN/TAP TX queue length set to 100
Mon Aug  6 13:28:36 2007 us=232843 Data Channel MTU parms [ L:1573 D:1450 EF:41 EB:4 ET:32 EL:0 ]
Mon Aug  6 13:28:36 2007 us=233363 Socket Buffers: R=[109568->131072] S=[109568->131072]
Mon Aug  6 13:28:36 2007 us=233435 UDPv4 link local (bound): [undef]:1194
Mon Aug  6 13:28:36 2007 us=233448 UDPv4 link remote: [undef]
Mon Aug  6 13:28:36 2007 us=233476 MULTI: multi_init called, r=256 v=256
Mon Aug  6 13:28:36 2007 us=233577 IFCONFIG POOL: base=10.0.81.200 size=51
Mon Aug  6 13:28:36 2007 us=233657 Initialization Sequence Completed
Mon Aug  6 13:28:55 2007 us=520727 MULTI: multi_create_instance called
Mon Aug  6 13:28:55 2007 us=520806 ***.***.***.***:45889 Re-using SSL/TLS context
Mon Aug  6 13:28:55 2007 us=521102 ***.***.***.***:45889 Control Channel MTU parms [ L:1573 D:138 EF:38 EB:0 ET:0 EL:0 ]
Mon Aug  6 13:28:55 2007 us=521125 ***.***.***.***:45889 Data Channel MTU parms [ L:1573 D:1450 EF:41 EB:4 ET:32 EL:0 ]
Mon Aug  6 13:28:55 2007 us=521177 ***.***.***.***:45889 Local Options String: 'V4,dev-type tap,link-mtu 1573,tun-mtu 1532,proto UDPv4,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Mon Aug  6 13:28:55 2007 us=521190 ***.***.***.***:45889 Expected Remote Options String: 'V4,dev-type tap,link-mtu 1573,tun-mtu 1532,proto UDPv4,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Mon Aug  6 13:28:55 2007 us=521230 ***.***.***.***:45889 Local Options hash (VER=V4): '0ddbb6e3'
Mon Aug  6 13:28:55 2007 us=521253 ***.***.***.***:45889 Expected Remote Options hash (VER=V4): '2c50bd2c'
Mon Aug  6 13:28:55 2007 us=521322 ***.***.***.***:45889 UDPv4 READ [14] from ***.***.***.***:45889: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 [ ] pid=0 DATA len=0
Mon Aug  6 13:28:55 2007 us=521349 ***.***.***.***:45889 TLS: Initial packet from ***.***.***.***:45889, sid=65faf26e 2d485a84
Mon Aug  6 13:28:55 2007 us=521393 ***.***.***.***:45889 UDPv4 WRITE [26] to ***.***.***.***:45889: P_CONTROL_HARD_RESET_SERVER_V2 kid=0 [ 0 ] pid=0 DATA len=0
Mon Aug  6 13:28:55 2007 us=528438 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 0 ]
Mon Aug  6 13:28:55 2007 us=528729 ***.***.***.***:45889 UDPv4 READ [100] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=1 DATA len=86
Mon Aug  6 13:28:55 2007 us=544237 ***.***.***.***:45889 UDPv4 WRITE [126] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ 1 ] pid=1 DATA len=100
Mon Aug  6 13:28:55 2007 us=544322 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=2 DATA len=100
Mon Aug  6 13:28:55 2007 us=544370 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=3 DATA len=100
Mon Aug  6 13:28:55 2007 us=544417 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=4 DATA len=100
Mon Aug  6 13:28:55 2007 us=545980 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 1 ]
Mon Aug  6 13:28:55 2007 us=546029 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=5 DATA len=100
Mon Aug  6 13:28:55 2007 us=546137 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 2 ]
Mon Aug  6 13:28:55 2007 us=546179 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=6 DATA len=100
Mon Aug  6 13:28:55 2007 us=546241 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 3 ]
Mon Aug  6 13:28:55 2007 us=546292 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=7 DATA len=100
Mon Aug  6 13:28:55 2007 us=546336 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 4 ]
Mon Aug  6 13:28:55 2007 us=546376 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=8 DATA len=100
Mon Aug  6 13:28:55 2007 us=547768 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 5 ]
Mon Aug  6 13:28:55 2007 us=547810 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=9 DATA len=100
Mon Aug  6 13:28:55 2007 us=547863 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 6 ]
Mon Aug  6 13:28:55 2007 us=547903 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=10 DATA len=100
Mon Aug  6 13:28:55 2007 us=548061 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 7 ]
Mon Aug  6 13:28:55 2007 us=548102 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=11 DATA len=100
Mon Aug  6 13:28:55 2007 us=548197 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 8 ]
Mon Aug  6 13:28:55 2007 us=548238 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=12 DATA len=100
Mon Aug  6 13:28:55 2007 us=549582 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 9 ]
Mon Aug  6 13:28:55 2007 us=549623 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=13 DATA len=100
Mon Aug  6 13:28:55 2007 us=549675 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 10 ]
Mon Aug  6 13:28:55 2007 us=549714 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=14 DATA len=100
Mon Aug  6 13:28:55 2007 us=549872 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 11 ]
Mon Aug  6 13:28:55 2007 us=549912 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=15 DATA len=100
Mon Aug  6 13:28:55 2007 us=549963 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 12 ]
Mon Aug  6 13:28:55 2007 us=550001 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=16 DATA len=100
Mon Aug  6 13:28:55 2007 us=551292 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 13 ]
Mon Aug  6 13:28:55 2007 us=551332 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=17 DATA len=100
Mon Aug  6 13:28:55 2007 us=551491 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 14 ]
Mon Aug  6 13:28:55 2007 us=551530 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=18 DATA len=100
Mon Aug  6 13:28:55 2007 us=551689 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 15 ]
Mon Aug  6 13:28:55 2007 us=551728 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=19 DATA len=100
Mon Aug  6 13:28:55 2007 us=552125 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 16 ]
Mon Aug  6 13:28:55 2007 us=552164 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=20 DATA len=100
Mon Aug  6 13:28:55 2007 us=553261 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 17 ]
Mon Aug  6 13:28:55 2007 us=553299 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=21 DATA len=100
Mon Aug  6 13:28:55 2007 us=553358 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 18 ]
Mon Aug  6 13:28:55 2007 us=553396 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=22 DATA len=100
Mon Aug  6 13:28:55 2007 us=556304 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 19 ]
Mon Aug  6 13:28:55 2007 us=556342 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=23 DATA len=100
Mon Aug  6 13:28:55 2007 us=556593 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 20 ]
Mon Aug  6 13:28:55 2007 us=556631 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=24 DATA len=100
Mon Aug  6 13:28:55 2007 us=556695 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 21 ]
Mon Aug  6 13:28:55 2007 us=556732 ***.***.***.***:45889 UDPv4 WRITE [23] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=25 DATA len=9
Mon Aug  6 13:28:55 2007 us=557133 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 22 ]
Mon Aug  6 13:28:55 2007 us=558026 ***.***.***.***:45889 NOTE: --mute triggered...
Mon Aug  6 13:28:55 2007 us=611537 ***.***.***.***:45889 37 variation(s) on previous 50 message(s) suppressed by --mute
Mon Aug  6 13:28:55 2007 us=611571 ***.***.***.***:45889 VERIFY OK: depth=1, /C=**/ST=**/L=****/O=****/CN=****/emailAddress=****
Mon Aug  6 13:28:55 2007 us=611856 ***.***.***.***:45889 VERIFY OK: depth=0, /C=**/ST=**/L=****/O=****/CN=****/emailAddress=****
Mon Aug  6 13:28:55 2007 us=611940 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 19 ]
Mon Aug  6 13:28:55 2007 us=614182 ***.***.***.***:45889 UDPv4 READ [114] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=20 DATA len=100
Mon Aug  6 13:28:55 2007 us=614233 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 20 ]
Mon Aug  6 13:28:55 2007 us=614465 ***.***.***.***:45889 UDPv4 READ [114] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=21 DATA len=100
Mon Aug  6 13:28:55 2007 us=624713 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 21 ]
Mon Aug  6 13:28:55 2007 us=624770 ***.***.***.***:45889 UDPv4 READ [114] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=22 DATA len=100
Mon Aug  6 13:28:55 2007 us=625198 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 22 ]
Mon Aug  6 13:28:55 2007 us=625249 ***.***.***.***:45889 UDPv4 READ [51] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=23 DATA len=37
Mon Aug  6 13:28:55 2007 us=625387 ***.***.***.***:45889 UDPv4 WRITE [85] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ 23 ] pid=26 DATA len=59
Mon Aug  6 13:28:55 2007 us=626644 ***.***.***.***:45889 UDPv4 READ [126] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ 26 ] pid=24 DATA len=100
Mon Aug  6 13:28:55 2007 us=626693 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 24 ]
Mon Aug  6 13:28:55 2007 us=626846 ***.***.***.***:45889 UDPv4 READ [114] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=25 DATA len=100
Mon Aug  6 13:28:55 2007 us=626878 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 25 ]
Mon Aug  6 13:28:55 2007 us=627041 ***.***.***.***:45889 UDPv4 READ [114] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=26 DATA len=100
Mon Aug  6 13:28:55 2007 us=627073 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 26 ]
Mon Aug  6 13:28:55 2007 us=627488 ***.***.***.***:45889 UDPv4 READ [44] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=27 DATA len=30
AUTH-PAM: BACKGROUND: user 'milic' failed to authenticate: Error in service module
Mon Aug  6 13:28:55 2007 us=646521 ***.***.***.***:45889 PLUGIN_CALL: POST /etc/openvpn/modules/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=1
Mon Aug  6 13:28:55 2007 us=646559 ***.***.***.***:45889 PLUGIN_CALL: plugin function PLUGIN_AUTH_USER_PASS_VERIFY failed with status 1: /etc/openvpn/modules/openvpn-auth-pam.so
Mon Aug  6 13:28:55 2007 us=646582 ***.***.***.***:45889 TLS Auth Error: Auth Username/Password verification failed for peer
Mon Aug  6 13:28:55 2007 us=646735 ***.***.***.***:45889 UDPv4 WRITE [126] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ 27 ] pid=27 DATA len=100
Mon Aug  6 13:28:55 2007 us=646801 ***.***.***.***:45889 UDPv4 WRITE [114] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=28 DATA len=100
Mon Aug  6 13:28:55 2007 us=646838 ***.***.***.***:45889 UDPv4 WRITE [64] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=29 DATA len=50
Mon Aug  6 13:28:55 2007 us=648035 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 27 ]
Mon Aug  6 13:28:55 2007 us=648097 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 28 ]
Mon Aug  6 13:28:55 2007 us=649932 ***.***.***.***:45889 UDPv4 READ [22] from ***.***.***.***:45889: P_ACK_V1 kid=0 [ 29 ]
Mon Aug  6 13:28:55 2007 us=650410 ***.***.***.***:45889 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Mon Aug  6 13:28:55 2007 us=650478 ***.***.***.***:45889 [****] Peer Connection Initiated with ***.***.***.***:45889
Mon Aug  6 13:28:56 2007 us=757965 ***.***.***.***:45889 UDPv4 READ [104] from ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=28 DATA len=90
Mon Aug  6 13:28:56 2007 us=758085 ***.***.***.***:45889 PUSH: Received control message: 'PUSH_REQUEST'
Mon Aug  6 13:28:56 2007 us=758126 ***.***.***.***:45889 SENT CONTROL [*****]: 'AUTH_FAILED' (status=1)
Mon Aug  6 13:28:56 2007 us=758139 ***.***.***.***:45889 Delayed exit in 5 seconds
Mon Aug  6 13:28:56 2007 us=758194 ***.***.***.***:45889 UDPv4 WRITE [22] to ***.***.***.***:45889: P_ACK_V1 kid=0 [ 28 ]
Mon Aug  6 13:28:56 2007 us=758248 ***.***.***.***:45889 UDPv4 WRITE [104] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=30 DATA len=90
Mon Aug  6 13:28:58 2007 us=465368 ***.***.***.***:45889 UDPv4 WRITE [104] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=30 DATA len=90
Mon Aug  6 13:29:00 2007 us=687245 ***.***.***.***:45889 UDPv4 WRITE [104] to ***.***.***.***:45889: P_CONTROL_V1 kid=0 [ ] pid=30 DATA len=90
Mon Aug  6 13:29:01 2007 us=467587 ***.***.***.***:45889 SIGTERM[soft,delayed-exit] received, client-instance exiting


Gruss
ZeroEnna


Top
Offline Profile  
Reply with quote  
 Post subject:
PostPosted: 06.08.2007 19:15 
openvpn.eu Admin
openvpn.eu Admin
User avatar

Joined: 23.01.2006 08:05
Posts: 3321
Location: near Vienna
Hallo

Du solltest dir mal die Datei /var/log/messages (oder wohin auch immer dein syslog hinloggt) anschauen, da dort PAM auch Meldungen schreibt über die Authentifikation.

Auch solltest du mal crypt=0 versuchen und einen User mit Plaintext Password in die Datenbank einfügen.

_________________
regards,
note
Please take a look at our rules. Besucht mal unsere Wiki !


Top
Offline Profile  
Reply with quote  
 Post subject:
PostPosted: 07.08.2007 07:43 
DES
DES

Joined: 06.08.2007 11:18
Posts: 2
Hi

Hast recht, es lag an der Verschlüsselungsmethode. Habs jetzt auf 2 (mysql) umgestellt und siehe da, es funktioniert.

Vielen Dank für deine Hilfe.

Gruss
ZeroEnna


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderator: Moderators

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net