search for: newpassword

Displaying 20 results from an estimated 64 matches for "newpassword".

2006 Jun 16
0
rake spec controller test output hideus.
...e contents of that object and that is no small matter when the object is a HTTP request response. Here is the example of the spec. specify "should not allow new users without the correct fields" do post :signup, :user => { :login => "newbob", :password => "newpassword", :password_confirmation => "wrong" , :email => "newbob@mcbob.com"} response.should.be.success response.session[:user].should.be.nil User.find_by_login("newbob").should.be.nil end And here is the actual error it gives me to &quot...
2003 Feb 26
2
Scripting with smbpasswd
...ct to read the information from a file. I execute: /usr/local/samba/bin/smbpasswd -r ldap.domain.org -s -U maarten < /tmp/password.txt and the file password.txt contains the old password, and twice (or once, also doesn't seem to matter) the new password formatted like this: oldpassword newpassword newpassword. The output from smbpasswd is: 'Password changed for user maarten', which looks quite OK to me. But... the encrypted password does not at all look like the encrypted 'newpassword' as would be generated by a 'manual' run of smbpasswd. Worse, every time I use a...
2014 Apr 30
2
Changing active directory user password via LDAP
Hello, lists. I'm struggling to find out, how one can change password of an active directory (based on samba4) user via LDAP. The problem is that if I try to use userPassword parameter: dn: CN=John Smith,cn=Users,DC=domain,DC=com changetype: modify replace: userPassword userPassword: newPassword ldapmodify -v -c -a -f filename.ldif -H ldaps://server.domain.com -D\ administrator at domain.com -W \ ldap_initialize( ldaps://server.domain.com:636/??base ) Enter LDAP Password: replace userPassword: newPassword modifying entry "CN=John Smith,cn=Users,DC=domain,DC=com" modify...
2019 Oct 25
3
Old samba password is valid after setting the new one.
...39;ve detected a very strange behavior on samba 4.8.9 and 4.10.6. After setting a new password for a user with samba-tool the old password remains valid. The user can use both passwords. After setting the third password become the first password invalid: :~ # samba-tool user setpassword extisadm --newpassword=12AbCdEf Changed password OK :~ # samba-tool user setpassword extisadm --newpassword=12AbCdEG Changed password OK :~ # smbclient -L admin -U extisadm%12AbCdEf Sharename Type Comment --------- ---- ------- sysvol Disk groups...
1998 May 30
0
SAMBA digest 1703
I'm not a perl guru, and this is off the top of my head, but did you try something like this: #!/bin/perl open(PIPE, "|smbpasswd") print PIPE "$oldpassword\n" print PIPE "$newpassword\n" print PIPE "$newpassword\n" close PIPE regards, Rob Coward >------------------------------ > >Date: Fri, 29 May 1998 15:54:42 -0500 >From: "Davenport, Todd S. " <davent@eglin.af.mil> >To: samba@samba.anu.edu.au >Subject: Encrypted passwords >...
2015 Nov 19
3
Problem setting password: : failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL
Hello, I am stuck with a error when setting password for a couple of specific users. This error makes impossible to set the password for the affected users. In Windows I get an operation error but the samba-tool output is more informative: samba-tool user setpassword user2 --newpassword= New Password: ndr_pull_error(11): Pull bytes 2 (../librpc/ndr/ndr_basic.c:103) ERROR: Failed to set password for user 'user2': (1, 'setup_supplemental_field: failed to pull old supplementalCredentialsBlob: NT_STATUS_BUFFER_TOO_SMALL') File "/opt/samba4/lib/python2.7/site-pac...
2019 Apr 29
2
Difficulties retrieving randomly assigned password for newly created Samba user acounts
...thus cannot login. Ultimately since I couldn't retrieve the random password for stephenellwood I then attempted to reset stephenellwood's password manually myself to a known string value using samba-tool. Unfortunately this also didn't seem to work: sudo samba-tool user password --newpassword="$NEWPASSWORD" -U "Administrator" Password for [OSSL\Administrator]: ERROR: Failed to change password : (-1073741716, "samr_ChangePasswordUser3 for 'OSSL\\Administrator' failed: NT_STATUS_PASSWORD_RESTRICTION") I would really appreciate any help and advice...
2006 Nov 28
1
vm_change_password shell?
In Asterisk 1.2.13 in app/app_voicemail.c, line 4700 ext_pass_cmd is checked to decide whether to use vm_change_password or vm_change_password_shell to change a user's password for his voicemail account. I wonder, what is the difference between vm_change_password and vm_change_password_shell - what is that shell? The only reference I found on the Internet was the following bug report:
2019 Jul 26
2
'samba-tool user setpassword', PwdLastSet and expiration...
...script 'infrastructure' that manage password propagation between some domains/password sources. When, in my AD domains, i ''consume'' a passord caming from another domain, i run: samba-tool user setpassword ${USER} --option="check password script"="" --newpassword="$mypassword" and the script exit with status 0 and print 'Changed password OK', but sometimes does not update PdwLastSet, and so users (if password are expired) cannot login, eg, with ssh (pam/winbind). If i logon on windows, PdwLastSet get updated. There's something i ca...
2003 Apr 27
2
smbpasswd via cgi
using samba and ldap - redhat 7.3 trying to work on a short cgi to update samba password (it is a url with attributes username and password). I am not very good at all with perl, so if someone can take a quick ponder and help me out, that would be great. I think that it fails in theory however, because to change other users password, you need to be root ... So I was wondering if anyone knows
2019 Mar 11
4
classicupgrade, net rpc rights grant NT_STATUS_IO_TIMEOUT and NT_STATUS_INTERNAL_ERROR
...eBasePriorityPrivilege \ SeLoadDriverPrivilege SeCreatePagefilePrivilege \ SeIncreaseQuotaPrivilege SeChangeNotifyPrivilege SeUndockPrivilege \ SeManageVolumePrivilege SeImpersonatePrivilege SeCreateGlobalPrivilege \ SeEnableDelegationPrivilege" samba-tool user setpassword Administrator \ --newpassword="$SAMBA_NT_ADMIN_PASS" echo "$SAMBA_NT_ADMIN_PASS" | kinit Administrator for priv in $PRIVS ; do while ! net rpc rights grant "${SAMBA_DC_ADMIN_GROUP_CHOICE}" $priv \ -U "Administrator%$SAMBA_NT_ADMIN_PASS" ; do echo "Failed to grant $p...
2016 Apr 27
1
why samba-tool allows password reset against Windows DC ?
...fy the password connected to a DC samba4, but the problem is when I try the same with the Windows DC. I'm using a LDAP java library. My question is: what is the samba-tool authentication method that you can reset password connected to a Windows DC using "samba-tool user setpassword Admin --newpassword=PASSWORD -H ldap://10.0.0.3 -U Admin" or how can I do the ssl connection using the port 636
2006 Jul 31
0
validates_confirmation_of won''t work
...---------------------------- class User < ActiveRecord::Base ... validates_confirmation_of :password ... ________________________________ class UserTest < Test::Unit::TestCase ... def test_test u = User.new( :username => "newbob", :password => "newpassword", :email => "newbob@mcbob.com" ) u.password_confirmation = "newpassword" assert u.save #(this is line 17) end ---------------------------- this yields: $ ruby test/unit/user_test.rb Loaded suite test/unit/user_test Started F. Finished in 0.34...
1998 May 29
2
Encrypted passwords
Is there a tool, either for Perl or C, that will add/change the NT and LM encrypted passwords in the smbpasswd file? I know about the smbpasswd command, but I can't use that function from a script. I tried #!/bin/perl system("smbpasswd \< $oldpassword\n$newpassword\n$newpassword\n"); and some other things, but I couldn't get it to work. TSD
2003 Jul 04
1
use of silent option with smbpasswd
Hello everyone unfortunatly i haven't been able to figure out how to use smbpasswd from a shell script with the -s option. Anyone able to provide me with an example how to change a password for a user on a remote PDC? as root calling smbpasswd -r ntserv username newpassword asks me for the old password. i didn't get it to work with -s. All help very appreciated Kind regards from Germany Phil p.s. i'm using debian woody with no local samba server installed (i only installed samba-common)
2014 Feb 17
1
ldap_modify change password
Hello, I would like to change samba4 AD user's password using php. Here's my code: function UpdateLdapPassword($username, $newpassword) { global $ds; global $rdn; $entry["clearTextPassword"][0]=base64_encode(iconv('UTF-8','UTF-16LE',$newpassword)); $bReturn= ldap_modify ($ds, $rdn, $entry); Debug ("msg:'".ldap_error($ds)...
2012 Jun 15
1
voicemail password with phone instrument
...rd has been changed. During google I found that uniqueid column must not be changed so it is not changed. Please guide on this. During debug log I found below but in mysql db new password is not getting updated, [Jun 15 13:54:07] VERBOSE[6418] file.c: -- <SIP/123-00000005> Playing 'vm-newpassword.gsm' (language 'en') [Jun 15 13:54:10] DEBUG[6418] channel.c: Set channel SIP/123-00000005 to write format ulaw[Jun 15 13:54:15] VERBOSE[6418] file.c: -- <SIP/123-00000005> Playing 'vm-reenterpassword.gsm' (language 'en')[Jun 15 13:54:22] DEBUG[6418] app_voicem...
2005 Aug 03
1
Voicemail Password crashing
...>} 0x40189930 <wcslen> (gdb) backtrace #0 0x40189938 in wcslen () from /lib/libc.so.6 #1 0x4018ab72 in wcsrtombs () from /lib/libc.so.6 #2 0x401584a3 in vfprintf () from /lib/libc.so.6 #3 0x401600af in fprintf () from /lib/libc.so.6 #4 0x4074489a in vm_change_password (vmu=0xbd7f88e4, newpassword=0xbd7f7574 "123") at app_voicemail.c:662 #5 0x4074334d in vm_options (chan=0x8140e58, vmu=0xbd7f88e4, vms=0xbd7f8d34, fmtc=0x4074ba00 "wav49|gsm|wav") at app_voicemail.c:4389
2018 Mar 28
5
How to change Domain password as normal user?
...08:08:53 +0200 Michael Wandel <m.wandel at t-online.de> wrote: > > > > Am 26.03.2018 um 06:31 schrieb Mark Foley via samba: > > > As a normal user, I want to change my Domain Password. I've tried: > > > > > > $ samba-tool user setpassword myuserId --newpassword='mynewpassword' > > > > > > but get the error: > > > > > > ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file > > > /var/lib/samba/private/sam.ldb: Permission denied > > > > > > Unable to open tdb ...
2004 Mar 21
1
Password change from WinXP (PAM Error)
...Roaming profiles/HomeDirs logon path = \\%L\%U\profiles logon home = \\%L\%U\profiles # logon drive = Y: # Password change obey pam restrictions = no pam password change = yes passwd program = /usr/bin/passwd %u passwd chat = Newpassword* %n Re-enternewpassword %n *passwd:allauthenticationtokensupdatedsuccessfully update encrypted = Yes passwd chat debug = yes # Additional unix password sync = yes admin users = markus domain admin group = @smbadm domain logons = yes...