Displaying 5 results from an estimated 5 matches for "passhash".
2008 Aug 02
4
related, but off-topic: how to allow users to change password?
My dovecot is currently configured to authenticate vs. a userdb/passdb
passwd-file that contains, for each user:
username:passhash:5000:5000::/path/to/home::userdb_mail=/path/to/maildir
Is it possible to let users authenticate and change their passwords? There
are some webmail client add-ons that allow such things if users are system
accounts or in a MySQL/LDAP db. Does anyone else u...
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 after it
errors.add_to_base ''Invalid current password'' unless ol...
2020 May 15
6
Problems with groups, minimum gidnumber?
I have succesfully migrated our users (~3900) from our Samba 3 DC/OpenLDAP,
complete with passwords.
I have some 300 + groups that I'm trying to get migrated to our Samba 4 AD.
I can create the groups, but it looks from the domain-member's side that
groups don't work as I expect them to.
- Not all groups seems to be visible by using 'getent group'. It looks like
groups
2020 May 15
0
Problems with groups, minimum gidnumber?
...l user create $username Some2pass/e --use-username-as-cn
> --nis-domain=sad --unix-home=$home --uid-number=$uid
> --login-shell=/bin/bash --gid-number=100 --given-name="${givenname}"
> --surname="${surname}" --gecos "$gecos"
>
> pdbedit --set-nt-hash=$passhash $username
Two things wrong with that, you do not need to use pdbedit? to set the
users password, the samba-tool command does it for you and you have set
the every users gidNumber to '100'. The '100' comes from idmap.ldb on a DC:
dn: CN=S-1-5-21-1768301897-3342589593-1064908849-5...
2020 May 15
3
Problems with groups, minimum gidnumber?
...me Some2pass/e --use-username-as-cn
>> --nis-domain=sad --unix-home=$home --uid-number=$uid
>> --login-shell=/bin/bash --gid-number=100 --given-name="${givenname}"
>> --surname="${surname}" --gecos "$gecos"
>>
>> pdbedit --set-nt-hash=$passhash $username
>
> Two things wrong with that, you do not need to use pdbedit? to set the users
> password, the samba-tool command does it for you and you have set the every
> users gidNumber to '100'. The '100' comes from idmap.ldb on a DC:
If there's a way to copy th...