Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: Stefano on January 24, 2007, 02:59:49 PM
-
Hi all
I've finished my first contrib for Sme7
It creates a new panel in "Collaboration" section and it permits to:
- change passwordstrength for admin, ibays and user
- enable password ageing for users
you can set:
- password max age
- warning period
you can choose users to apply ageing settings.
when password age is > (max age - warning) users receive a mail with instructions to change their password.
if password age is > max age, admin receive mail with a warning
mail message to user can be modified editing a single file
currently only english and italian languages are supported
Todo:
- possibility to setup expiration period for account
- possibility to lock an account when password age > (max age + expiration time)
I've tested it on vmware and on real production servers successfully
Rpm can be found here:
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-02.noarch.rpm
Srpm:
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-02.src.rpm
If you have some suggestions or comments, I'm here ;-)
[/url]
-
Nice !!
Per
-
I found some typos. Do i fix them just for myself or should i write them here so you can fix them?
-
I found some typos. Do i fix them just for myself or should i write them here so you can fix them?
Hi...
well, as I said I'm here to improve my rpm :-)
so, please send me a mail or contact me via msn (I've added your account to my accounts list)
TIA
ciao
Stefano
-
Thanks to bpivk
* Wed Jan 24 2007 Blaz
- 1.0.0-03
- Cosmetics fixes
- English typos fixing
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.src.rpm
Ciao
Stefano
-
thanx man, haven't installed or looked at it yet, but was missing from my contrib favourites, so you're now added...
Keep up the good work...
1 request: Instead of sending emails, is it possible when the user logs onto the server, to redirect them to the /server/user-password page and refuse them the connection until they change their password?
also, a suggestion, haven't seen any other contribs that would in the server panel allow you to change the strength of the passwords needed... considering this might get you more followers :lol:
otherwise, like i said, keep up the good work
-
also, a suggestion, haven't seen any other contribs that would in the server panel allow you to change the strength of the passwords needed... considering this might get you more followers
Well this one does. I guess you need to install it and check it out. :lol:
You can set the password strength.
-
also, a suggestion, haven't seen any other contribs that would in the server panel allow you to change the strength of the passwords needed... considering this might get you more followers
Well this one does. I guess you need to install it and check it out. :lol:
You can set the password strength.
:lol: :lol: bpivk, so your the one that when off with my marbles :P
Thanks, busy doing 10million things at once, must have slipped...
I stand corrected...
-
Thanks to bpivk
* Wed Jan 24 2007 Blaz
- 1.0.0-03
- Cosmetics fixes
- English typos fixing
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.src.rpm
Ciao
Stefano
I think a lot of people will like this.
I think it's in the bug tracker how to get rpms into the smeaddons repository.
-
I think it's in the bug tracker how to get rpms into the smeaddons repository.
sort of, the process is still being developed
as you work your way through the steps
please add them here
http://smeserver.sourceforge.net/sme7/tech/Chapter3
thanks
-
1 request: Instead of sending emails, is it possible when the user logs onto the server, to redirect them to the /server/user-password page and refuse them the connection until they change their password?
Hi..
I'm working on the next release of my contrib..
your request is fine, but not so easy to be done; I was thinking about logon script (i.e. windows client) but it works only if client is in domain.. and, what if smeserver-loginscript rpm is installed?
mmmhhh.. the easiest way is email, but I'm open to every good idea about other solutions
ciao
Stefano
-
1 request: Instead of sending emails, is it possible when the user logs onto the server, to redirect them to the /server/user-password page and refuse them the connection until they change their password?
Hi..
I'm working on the next release of my contrib..
your request is fine, but not so easy to be done; I was thinking about logon script (i.e. windows client) but it works only if client is in domain.. and, what if smeserver-loginscript rpm is installed?
mmmhhh.. the easiest way is email, but I'm open to every good idea about other solutions
ciao
Stefano
Maybe send them the email with the link to the /user-password page, also CC admin or specified adress so that they know the user is ignoring system messages the moment they get the call saying their passwords are not accepted... :wink:
-
Well this is not a problem. When they can't access mail they won't ignore the message. :)
-
Very nice contrib ! Thanks a lot !!!
-
Stefano this is indeed a very nice contrib! Thank you for your work.
Craig
-
Hi,
very nice contrib indeed... :)
nenonano wrote:
Todo:
- possibility to setup expiration period for account
- possibility to lock an account when password age > (max age + expiration time)
I was playing around with the user-passwd-expiration script in
/etc/e-smith/events/actions/ executed by cron.daily.
I added the following in the script to lock a account when password is
expired :
system("/sbin/e-smith/signal-event", "user-lock", $name);
look for the following in the script and add the red one:
if ($time2warn >= $pwdwarn) {
system("/sbin/e-smith/signal-event", "user-lock", $name);
#message to admin is hardcoded in english; not so bad..
my $t1 = "To: admin\n";
With the Testsystem everything is working fine.
Maybe something to add to the contrib ?
Just my two cents.
Tschüss
Michael
-
Hi,
very nice contrib indeed... :)
Thanks.. :-)
I was playing around with the user-passwd-expiration script in
/etc/e-smith/events/actions/ executed by cron.daily.
I added the following in the script to lock a account when password is
expired :
system("/sbin/e-smith/signal-event", "user-lock", $name);
look for the following in the script and add the red one:
if ($time2warn >= $pwdwarn) {
system("/sbin/e-smith/signal-event", "user-lock", $name);
#message to admin is hardcoded in english; not so bad..
my $t1 = "To: admin\n";
With the Testsystem everything is working fine.
Maybe something to add to the contrib ?
Just my two cents.
Tschüss
Michael
well.. yes.. this is what I want to add in the next release, but:
- automatic locking has to be selectable by admin
- admin must have the possibility of reset last password modification date (think about automatic lock of all users if pwd age is older than the expiration)
- admin must receive a mail with locking notification
thanks again for your suggestions.. I'm working on this contrib but I have not much time to spend on it.. :-D
Ciao
Stefano
-
Hi,
total noob here, (took me 15 minutes to figure how to get the rpm installed) I just had to register and thank you for posting this rpm, this package single handedly got me back using sme! Thanks, keep up the good work!!!!
Cheers,
Federico
-
beautiful! thanks :D
-
Hi,
total noob here, (took me 15 minutes to figure how to get the rpm installed) I just had to register and thank you for posting this rpm, this package single handedly got me back using sme! Thanks, keep up the good work!!!!
Cheers,
Federico
Hi Federico,
How did you install?
-
Hi Federico,
How did you install?
Hi..
I'm not Federico.. :-)
it's pretty easy:
cd /root
mkdir myrpm
cd myrpm
wget http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.src.rpm
yum localinstall smeserver-password
After it, in server-manager, under "Collaboration" section, you'll find a link "passwords"..
HTH
Ciao
Stefano.
-
Hi Stefano,
Sorry bout that
Thanks for the info. But the option password does not show up.
I unistalled .03 and installed .02 but still didn't show up. I also created user stefano , becuase it was giving a warning when installing. So after I created user, I unistalled, (course booted) then installed . But didn't show up.
What is command line option to change to not strong passwords,this is all I need for the moment?
Thanks
RS
Hi..
I'm not Federico.. :-)
it's pretty easy:
cd /root
mkdir myrpm
cd myrpm
wget http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.src.rpm
yum localinstall smeserver-password
After it, in server-manager, under "Collaboration" section, you'll find a link "passwords"..
HTH
Ciao
Stefano.[/quote]
-
Hi Stefano,
Sorry bout that
Thanks for the info. But the option password does not show up.
hi..
as I said in the first post of this topic, only english and italian language (i.e. panels) are supported..
maybe your language is different?
let me know
ciao
Stefano
-
You will need to install the binary rpm, not the source though ;-)
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm (http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm)
-
You will need to install the binary rpm, not the source though ;-)
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm (http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm)
arghhhh...
I'm sorry.. :oops:
try the RIGHT rpm and let me know ;-)
and.. thanks to Craig
ciao
Stefano and 'maybe it's time to go to sleep' ;-)
-
Yep that worked, Thanks
RS
-
Hi 2 all.
I can't install this contrib on a fresh smeserver 7.2.
After i downloaded smeserver-password (1.0.0.3.noarch) i installed it with yum localinstall. But, after i make the signal-event reboot command, the password manager doesn't appear in the left menu.
What's is wrong?
I installed this contrib without problems on a 7.1.3 server! :?
-
Hi 2 all.
--------
Hello there!
I can't install this contrib on a fresh smeserver 7.2.
After i downloaded smeserver-password (1.0.0.3.noarch) i installed it with yum localinstall. But, after i make the signal-event reboot command, the password manager doesn't appear in the left menu.
What's is wrong?
I installed this contrib without problems on a 7.1.3 server!
-----
SME7.2 has a requirement of 7chars minimum. Even if you setprop passwordstrength to none. This is I think a limitation and not a bug. If you can do a work around please post.
-
Hi,
the password manager doesn't appear in the left menu.
SME7.2 has a requirement of 7chars minimum. Even if you setprop passwordstrength to none. This is I think a limitation and not a bug. If you can do a work around please post.
I guess this is none of his problem: he has no panel in the server-manager!
The-heck, I've tested this contribs under 7.2 succesfully. The panel appears in 'collaboration' menu in the server-manager...
i make the signal-event reboot command
That's not needed... But if something is wrong, you need # signal-event post-upgrade
# signal-event reboot
Try to reconfigure your server, maybe something is wrong elsewhere.
Again, this contribs runs very well under SME 7.2.
-
Something bad happened since upgrading to 7.3 and smeserver-password-1.0.0-04 contrib locked a user because password aged. Even though I reseted the password, when trying to login with the roaming profile I still get a "Account has been disabled. Please contact the administrator" from any PC, but it is possible to log in to webmail.
This may or may not be related to smeserver-password, but I somehow have the feeling that it's related to the latest samba update. Any ideeas?
Created bug http://bugs.contribs.org/show_bug.cgi?id=3755
It seems that this is a bug in 7.3, so anyone using this contrib try to set "Block account on password expiration?" to NO to avoid the same problem, have no clue yet how this can be fixed.
-
very nice contrib indeed... :)
A few suggestions.
Create a bugzilla component
A wiki page
Change section from collaboration to Security
& lodge in smecontribs
http://wiki.contribs.org/Releasing_Contribs
http://wiki.contribs.org/Package_Modification
Thanks
-
Installed and have to click refresh a few times to make it move from 'unknown' group in left server panel to 'Collaboration'.
However, shouldn't it be in 'Security' group in left frame of server-manager panels as it purpose is to set password strength and password aging?
I'll try to play with it (set/reset password strength,password aging) and report back to you if any problem encountered.
Great contrib indeed. Just what I need.
Thomas
-
i can't download the rpm from there...
http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-03.noarch.rpm
where i can find it?
thx a lot!!!
-
@xes.. try again, now you should not have problems to download it
@all: I have no much spare time to work on it.. if any of you wish to help me, please contact me..
ciao
Stefano
-
@all: I have no much spare time to work on it.. if any of you wish to help me, please contact me..
I added the rpm to smecontribs, if there are any changes please make them there
in a few days I'll patch the available translations
http://translate.contribs.org/projects/sme7cp/
http://translate.contribs.org/patches/contribs/
-
tnx a lot..
Stefano
-
Hi Stefano
I just built a new 7.3 load from scratch, and applied all of the updates through the Software Installer panel link.
Following that reboot, I applied your contrib:
[root@summer ~]# cd /root
[root@summer ~]# mkdir myrpm
[root@summer ~]# cd myrpm
[root@summer ~]# wget http://sviluppocms.no-ip.com/updates/smeserver-password-1.0.0-04.noarch.rpm
[root@summer ~]# yum localinstall smeserver-password-1.0.0-04.noarch.rpm
The response was :
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Setting up Local Package Process
Examining smeserver-password-1.0.0-04.noarch.rpm: smeserver-password - 1.0.0-04.noarch
Marking smeserver-password-1.0.0-04.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-password.noarch 0:1.0.0-04 set to be updated
--> Running transaction check
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
smeserver-password noarch 1.0.0-04 smeserver-password-1.0.0-04.noarch.rpm 24 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 24 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
smeserver trap pre-install: smeserver-password
Installing: smeserver-password ######################### [1/1]
Migrating existing database spamassassin
Migrating existing database backups
Migrating existing database configuration
Migrating existing database yum_updates
Migrating existing database yum_repositories
Migrating existing database domains
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database mailpatterns
Migrating existing database hosts
Migrating existing database networks
not well-formed (invalid token) at line 9, column 61, byte 215 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm line 187
Migrating existing database spamassassin
Migrating existing database backups
Migrating existing database configuration
Migrating existing database yum_updates
Migrating existing database yum_repositories
Migrating existing database domains
Migrating existing database yum_installed
Migrating existing database accounts
Migrating existing database yum_available
Migrating existing database mailpatterns
Migrating existing database hosts
Migrating existing database networks
not well-formed (invalid token) at line 9, column 61, byte 215 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm line 187
smeserver trap post-install: smeserver-password
Installed: smeserver-password.noarch 0:1.0.0-04
Complete!
==============================================================
WARNING: You now need to run BOTH of the following commands
to ensure consistent system state:
signal-event post-upgrade; signal-event reboot
You should run these commands unless you are certain that
yum made no changes to your system.
==============================================================
After performing the signal-event tasks (post-upgrade and reboot), I see the "Password" option under Collaboration, however, some of the other panel tools are now moved under an "unknown" section heading:
Collaboration
Passwords
Groups
Quotas
Information bays
Administration
Backup or restore
View log files
Security
Remote access
Local networks
Proxy settings
Configuration
Software installer
Date and time
Workgroup
Printers
Review configuration
Miscellaneous
Support and licensing
Create starter web site
Unknown
useraccounts
clamav
directory
qmailanalog
reboot
portforwarding
domains
pseudonyms
hostentries
emailsettings
This doesn't look right! Is the contrib ok for 7.3?
Server appears to be functionning correctly otherwise and the password contrib DOES work - very nice indeed.
Can you advise please on panel appearance? Have I done something incorrectly?
Thanks
Chris
-
Hi Stefano
I just built a new 7.3 load from scratch, and applied all of the updates through the Software Installer panel link.
Hi Chris
try:
rpm -e smeserver-password
yum --enablerepo=smecontribs install smeserver-password
signal-event post-upgrade
signal-event reboot
let me know
Ciao
Stefano
-
Superb!
All back in place.
Thank you Stafano and well done.
Regards
Chris
-
Just logged in to say thank you Stefano for your cool contrib!
Federico
-
Hi Federico
thank you..
just a question: how did you install smeserver-password? I hope you did it via
yum --enablerepo=smecontribs install smeserver-password
Ciao
Stefano
-
First I tried:
yum --enablerepo=smecontribs install smeserver-password
but it gave me an error message saying that there was nothing to do. I don't know why, I'm pretty sure the package was not already installed at that time.
Then I read your post:
http://forums.contribs.org/index.php/topic,42836.msg202712.html#msg202712 (http://forums.contribs.org/index.php/topic,42836.msg202712.html#msg202712)
and tried
yum --enablerepo=smecontribs install smeserver-password
and it actually installed it.
I tried to uninstall the package with
rpm -e smeserver-password
and install it again by using
yum --enablerepo=smecontribs install smeserver-password
and this time it worked. Again, don't know why/how.
Anyway now it works fine - that's the only important thing to me.
Thanks again, I think it's a very useful contrib, expecially considering ISO 9001-2008 rules about password managing&mantainment.
Federico