Hello Guido,
> I’m newbie on Subversion and I have a few questions about some particular
> configurations on SVN.
>
> Let me gives you the scenario.
>
> We have a subversion installed on a Linux box and its working fine! We have
> some repos there that developers across the company use to store code and
> some other things.
>
> We also have SVN configured to use LDAP authentication to allow users to use
> the right repo.
>
> But we are facing a problem that when users account expire they don’t get
> any message saying that is about to expire and then, of course, they can’t
> login because of that.
>
> So my question is if there is a way to configure apache to allow users to
> change their password when is about to expire.
VisualSVN Server can help you here. However it's Windows-only
Subversion server package: http://www.visualsvn.com/server/. Do you
have some special technical requirement to install Apache Subversion
server on a Linux box?
* If you are in Active Directory environment you can benefit from
Windows authentication which allows users to access VisualSVN Server
with their Windows credentials.
Windows authentication relies on Active Directory users and groups so
you can manage authorization settings based on existing AD accounts.
In other words you don't need to manage separate user list. So when
user's Windows password expires he will be prompted to change on
Windows logon (as usual, in fact).
Integrated Windows Authentication, which is available in Enterprise
edition, enables AD Single Sign-On and improves password security. I
advise you to check the feature description at
http://www.visualsvn.com/server/features/windows-auth/.
* If you want to use Subversion authentication and maintain separate
users list VisualSVN Server can also help you.
You can change user's password using WMI because VisualSVN Server can
be managed via WMI (Windows Management Instrumentation) interface:
http://msdn.microsoft.com/library/aa394582.
This PowerShell script sample will set 'qwerty123' password for
Subversion user 'user' on a VisualSVN Server instance located on
'computer.contoso.com' on your network.
[[
$svnuser = Get-WmiObject -Namespace Root\VisualSVN -ComputerName
computer.contoso.com -query "select * from VisualSVN_User where name =
'user'"
$svnuser.SetPassword('qwerty123')
]]
MOF file which describes the VisualSVN Server interface resides in the
%VISUALSVN_SERVER%\WMI on the computer where VisualSVN Server is
installed. Using this file as a reference you can write a script to
locally and/or remotely manage VisualSVN Server on a various
programming languages.
Thank you.
--
With best regards,
Pavel Lyalyakin
VisualSVN Team
Received on 2013-03-07 13:16:03 CET