search for: oldpass

Displaying 15 results from an estimated 15 matches for "oldpass".

2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...s*updated*successfully* passwd chat debug = Yes password level = 0 unix password sync = No machine password timeout = 604800 my smbldap-passwd.pl file =================== use FindBin; use FindBin qw($RealBin); use lib "$RealBin/"; use smbldap_tools; use smbldap_conf; my $user; my $oldpass; my $ret; my $arg; foreach $arg (@ARGV) { if ($< != 0) { die "Only root can specify parameters\n"; } else { if ( ($arg eq '-?') || ($arg eq '--help') ) { print "Usage: $0 [username]\n"; print " -?, --help show this help message\n";...
2003 Feb 11
1
Samba LDAP - bug in ldapsync.pl
In the course of correcting directory references for Mandrake in smbldap-tools I came acrossed the following: samba-2.2.7a/examples/LDAP/ldapsync.pl on line 72 we have: > $ntpwd = `/usr/local/sbin/smbencrypt '$oldpass'`; On Mandrake this would be: > $ntpwd = `/usr/sbin/smbencrypt '$oldpass'`; Except that I can't find anything by that name (i.e. smbencrypt ) in my rpm database. Can anyone tell me what it is? Should it perhaps be replaced by mkntpwd or something? Jim C.
2003 Sep 16
4
Samba + LDAP + Password Expiry = Almost working...
...s program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, # USA. # Purpose : # . ldap-unix passwd sync for SAMBA-2.2.2 + LDAP # . may also replace /bin/passwd use strict; use smbldap_tools; use smbldap_conf; my $user; my $oldpass; my $ret; my $arg; foreach $arg (@ARGV) { if ($< != 0) { die "Only root can specify parameters\n"; } else { if ( ($arg eq '-?') || ($arg eq '--help') ) { print "Usage: $0 [username]\n";...
2005 Oct 14
7
validates_confirmation_of not working
Hello, I''m having a weird problem in my user model. For the change_password method I have the following: def change_password(oldpass, newpass, confirmation) oldpass = self.class.myhash(oldpass) reload passhash = self.password self.password = newpass self.password_confirmation = confirmation if valid? and oldpass == passhash save! else # valid? method clears errors so we have to call this...
1999 Dec 08
2
Samba 2.0.5a vs 2.0.6 and password changing
Hi... I wonder if someone can shed some light onto a password changing problem I'm having with 2.0.6. I have a script that is launched using the 'unix sync' procedure which all worked fine in 2.0.5a which using a script like this. #!/bin/sh echo "Enter old password:" read $OLDPASS ... ... I've only listed the first two lines as this is where it's getting stuck. In 2.0.5a this works. In 2.0.6 - samba just stops for a few seconds and must reach some sort of timeout and abort. Is there anything that changed to affect this ? And what could I do about it ? Thanks....
2005 May 31
1
net password from OS/2 client
...3.1.15 server. However, I get an Invalid Password error whenever I run net password. I am certain that I am providing the correct password. With DEBUG_PASSWORD on in the build and tracing set to 100 I ran 'net view \\server' which authenticates correctly and I ran 'net password user oldpass netpass' which does not. Some important factors: 1. The selected protocol is LANMAN2.1 with either test. 2. When running net password the SessionSetup andX request is done anonymously (the username is blank in the request) but when running net view the SessionSetup andX does include the us...
2012 Aug 29
1
LDAP access to Samba 4
Hello, I am currently migrating from OpenLDAP to Samba 4 PDC, and I have a webpage (PHP/Apache) available for users so that they can change their password on the existing LDAP server. I attempted to adjust that script to change the password on the Samba 4 AD controller, but I get a "cannot connect" error to LDAP. The web server the password script is running on is not on the same
2007 Mar 11
1
samba+Ldap+smbldap-tools
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi, I have aproblem with the smbldap-tools...when I try to change the passwd fron a user in win...I get the error "....", and I know that the script of smbldap-tools fails when try to execute the next line: # non-root user if (!defined($oldpass)) { # prompt for current password system "stty -echo"; print "(current) UNIX password: "; chomp($oldpass=<STDIN>); ###(this line)### print "\n"; system "stty echo"; My smb.conf is : [global] workgroup = IRONMAN netbios name = S...
2018 Apr 04
2
How to change Domain password as normal user?
...018 11:42:07 -0400 > > Mark Foley via samba <samba at lists.samba.org> wrote: > > > > > On Sat, 31 Mar 2018 12:25:14 +0100 Rowland Penny > > > <rpenny at samba.org> wrote: > > > > > > > > This will then prompt the user for their 'oldpassword' and then > > > > the new password (twice). There is a gotcha though, as given it > > > > will only work on a DC, to do the password change from a Unix > > > > domain member, you need to add '--ipaddress=DCIPADDRESS' > > > > > >...
2003 Jul 08
2
How to change password on web?
Dear all I've to create a webpage that let user change both their linux & samba password. Would you give me any resource to achieve this requirement? Thanks Chris _________________________________________________________ ³Ì·s¹aÁn±À¤¶:¤Q­±®I¥ñ¡A¤dª÷¡A¤ß²H... http://ringtone.yahoo.com.hk
2019 Nov 28
5
IMAP Migration Tools
Hi, I am looking for tools to migrate Mails from one IMAP-Server to another. Until now I have always used imapsync, but it seems very slow. Even over a 2x10GB/s connection I only get speeds of about 600KiB/s, because the programm always pauses betweeen every single mail. Does anyone here have a suggestion for an alternative? Thanks in advance Julian
2003 Jun 02
4
quick poppassd question
...* begin added code */ if ((pw->pw_uid) < 1001) { syslog (LOG_ERR, "Priveleged user, %s", user); sleep (5); WriteToClient ("500 Old password is incorrect."); exit(1); } /* end added code */ if (chkPass (user, oldpass, pw) == FAILURE) { syslog (LOG_ERR, "Incorrect password from %s", user); sleep (5); WriteToClient ("500 Old password is incorrect."); exit(1); } --- cut --- Perhaps if this passes everyone's scrutiny, it could be added as y...
2018 Apr 04
0
How to change Domain password as normal user?
...gt; Mark Foley via samba <samba at lists.samba.org> wrote: > > > > > > > On Sat, 31 Mar 2018 12:25:14 +0100 Rowland Penny > > > > <rpenny at samba.org> wrote: > > > > > > > > > > This will then prompt the user for their 'oldpassword' and then > > > > > the new password (twice). There is a gotcha though, as given it > > > > > will only work on a DC, to do the password change from a Unix > > > > > domain member, you need to add '--ipaddress=DCIPADDRESS' > > >...
2002 Nov 01
3
[Bug 423] Workaround for pw change in privsep mode (3.5.p1)
http://bugzilla.mindrot.org/show_bug.cgi?id=423 ------- Additional Comments From michael_steffens at hp.com 2002-11-02 02:40 ------- Created an attachment (id=162) --> (http://bugzilla.mindrot.org/attachment.cgi?id=162&action=view) Patch: Workaround for pw change in privsep mode (3.5.p1) ------- You are receiving this mail because: ------- You are the assignee for the bug, or are
2018 Mar 31
3
How to change Domain password as normal user?
On Sat, 31 Mar 2018 11:42:07 -0400 Mark Foley via samba <samba at lists.samba.org> wrote: > On Sat, 31 Mar 2018 12:25:14 +0100 Rowland Penny <rpenny at samba.org> > wrote: > > > > This will then prompt the user for their 'oldpassword' and then the > > new password (twice). There is a gotcha though, as given it will > > only work on a DC, to do the password change from a Unix domain > > member, you need to add '--ipaddress=DCIPADDRESS' > > I'll try that after I've figured out what...