sharing client user name and password

Scripts which allow the use of special authentication methods (LDAP, AD, MySQL/PostgreSQL, etc).

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
eric66300
OpenVPN Power User
Posts: 57
Joined: Fri Apr 15, 2011 12:05 pm

sharing client user name and password

Post by eric66300 » Wed May 18, 2011 2:19 pm

hi

we've got 3 vps server running and we want to share authentication from vps server 1 to vps server 3 can this idea possible?

thank you

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: sharing client user name and password

Post by janjust » Wed May 18, 2011 2:23 pm

I'd set up a shared LDAP server which stores all passwords; the downside is that if the LDAP server is down none of the servers can connect; an alternative solution is to set up a password file (either use pam + an /etc/shadow file or brew something yourself) and then replicate and sync that password DB across the three servers using rsync.

eric66300
OpenVPN Power User
Posts: 57
Joined: Fri Apr 15, 2011 12:05 pm

Re: sharing client user name and password

Post by eric66300 » Thu May 19, 2011 9:47 am

how can i share it?

do i need to purchase another server to use that function?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: sharing client user name and password

Post by janjust » Thu May 19, 2011 10:11 am

you can do this using your existing VPS servers: for LDAP , assign one of them to be the LDAP server also.
when using pam+passwords : rsync the password files across all three servers
when using a home-brewn solution : idem dito.

No need to purchase anything :)

eric66300
OpenVPN Power User
Posts: 57
Joined: Fri Apr 15, 2011 12:05 pm

Re: sharing client user name and password

Post by eric66300 » Fri May 20, 2011 2:38 am

hi

Sorry im kinda noob about this can you provide good tutorial about this issue?

thank you

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: sharing client user name and password

Post by janjust » Fri May 20, 2011 6:42 am

sorry, I don't have such a tutorial at hand.

eric66300
OpenVPN Power User
Posts: 57
Joined: Fri Apr 15, 2011 12:05 pm

Re: sharing client user name and password

Post by eric66300 » Fri May 20, 2011 11:46 am

thank you

whoda
OpenVpn Newbie
Posts: 2
Joined: Fri May 20, 2011 8:14 pm

Re: sharing client user name and password

Post by whoda » Fri May 27, 2011 4:54 pm

also interested about this, if theres any simple tut it would be awesome

User avatar
xauen
Forum Team
Posts: 80
Joined: Tue May 10, 2011 7:57 pm
Location: Manila, Philippines
Contact:

Re: sharing client user name and password

Post by xauen » Sun Nov 06, 2011 7:32 pm

Ang tanga mo naman Eric ang tagal tagal mo na dito 50+ post kana wala ka pang alam.
"Never be bullied into silence. Never allow yourself to be made a victim. Accept no ones definition of you"
-IDK

Post Reply