search for: kpasswd

Displaying 20 results from an estimated 166 matches for "kpasswd".

Did you mean: passwd
2012 Aug 30
1
samba4 & kpasswd: refuses to change
hi after kpasswd paniced samba4 (debian wheezy packages, beta2) i've compiled the latest from git (Version 4.0.0beta8-GIT-5131359). It does not panic anymore but tells me the following: # kpasswd Password for user at TEST.DOMAIN: Enter new password: Enter it again: Password change rejected: Password must...
2014 May 09
1
samba4 : [kerberos part kinit work but no kpasswd
...on:/var/log/samba# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: administrator at TOTO.FR Valid starting?????? Expires????????????? Service principal 09/05/2014 09:23:42? 09/05/2014 19:23:42? krbtgt/TOTO.FR at TOTO.FR ??? renew until 10/05/2014 09:23:38 root at station:/var/log/samba# kpasswd [10 sec later ....] kpasswd: Cannot contact any KDC for requested realm getting initial ticket ? ? the smb.conf file is the following : ? [global] ??????? workgroup = TOTO ??????? realm = TOTO.FR ??????? netbios name = station ??????? server role = active directory domain controller ???????...
2019 May 14
2
Samba4 changing a user's password from linux workstation
...ions are a >> bit of a "mousetrap" game. When it works, you get the mouse. But if >> any of the many steps are even slightly worn, it becomes erratic or >> fails. >> > > > Update: In fact i succeeded in reseting user password from a linux workstation with kpasswd through pam_sssd. At the beginning I thought we were prompted directly for new password, but we had to first type in the old one before choosing a new one.
2019 May 14
2
Samba4 changing a user's password from linux workstation
...users password from the linux >>>> clients in a samba4 domain? >>>> >>>> Thanks for your help >>>> >>> What sort of Samba domain, NT4-style or AD >>> >>> Rowland >> We use AD style >> >> > > Try 'kpasswd' > > Rowland Yep I allready tried it, it ends with "kpasswd preauthentication failed getting initial ticket" I must precise we use pam_sssd against Samba4/AD to authenticate. Here is my /etc/sssd/sssd.conf: [sssd] config_file_version = 2 domains = mydomain.lan services = nss,...
2005 Jan 16
2
Sync password (with MIT-kerberos server) and migration
...Kerberos database. When user from Windows want to change his password, samba will use a custom script (not created yet ) to also so update the Kerberos password (if you have examples they're more then welcome). But the big problem is Linux users : If they want to update they password, they use kpasswd but it will not update samba password. Is one of you manage to create a script to update both DB form command line ? I not a kerberos/samba expert but I suppose it's possible to change samba password form linux command linux and then call the kerberos kpasswd to also change this password. Then...
2005 Apr 22
1
Samba as a PDC with LDAP and Kerberos
...So first question is, are sambaLMPassword and sambaNTPassword still needed in LDAP for each user? Here's the output from ksetup /dumpstate: Machine is not configured to log on to an external KDC. Probably a workgroup member EXAMPLE.COM: kdc = <kdc1 server> kdc = <kdc2 server> kpasswd = <kpasswd server> Realm Flags = 0x0 none No user mappings defined. Second, here's what I have in LDAP so far: dn: ou=Samba,dc=example,dc=com objectClass: organizationalUnit ou: Samba dn: sambaDomainName=EXAMPLE.COM,ou=Samba,dc=example,dc=com objectClass: top objectClass: sambaDomain...
2016 Jan 12
1
Allow self password change using LDAP(s) with Samba4
...ve the option to force to change the password in the next login checked, can't bind to the LDAP server in order to change their password. Is there any way to do this, using LDAP(s)? 2016-01-07 10:12 GMT+01:00 Roel van Meer <roel at 1afa.com>: > Hi Juan, > > you can use the 'kpasswd' utility: > > kpasswd user at YOUR.REALM > > It can be run as unprivileged user. > It first prompts you for your old password and the twice for the new > password. > > Cheers, > > Roel > > > > Juan Asensio Sánchez writes: > > Hi all >> >...
2018 Mar 31
2
How to change Domain password as normal user?
...rdExpiryTimeComputed before I reset the user pw from > > the domain administrator. Next time! > > > > In this thread I've been given 3 more ideas on how to do this: > > > > samba-tool -U <myuser> user password > > > > smbpasswd > > > > kpasswd > > > > I'll try each and see which works best for me. > > > > I'm having some issues with this problem. > > samba-tool -U <myuser> user password > > gives me the error: > > samba-tool: error: no such option: -U > > Perhaps my versi...
2018 Mar 29
2
How to change Domain password as normal user?
...ck either msDS-KeyVersionNumber or pwdLastSet or even ldbsearch to get msDS-UserPasswordExpiryTimeComputed before I reset the user pw from the domain administrator. Next time! In this thread I've been given 3 more ideas on how to do this: samba-tool -U <myuser> user password smbpasswd kpasswd I'll try each and see which works best for me.
2015 Aug 27
3
Samba AD firewalld services
...base on that, howto create a "samba4-ad" service with multiple ports in it. > or better, split it up in to.. > samba4-kerberos > samba4-smbd > samba4-nmbd > etc.. I have looked at the actual /usr/lib/firewalld/services xml files and find that I should use: samba kerberos kpasswd dns ldap ldaps And need to create services for tcp ports 135 (rpc) and 3268 (MS Global Catalog), or just do those as ports. Still to be worked out are: what about ldap and ldaps over udp? And do I need a rule for port 1024? thanks > > The only thing i cant see there in the "HAProx...
2015 Feb 18
2
How do I allow users to change their own passwords on GNU/Linux?
How do I configure my GNU/Linux system to allow users to change their own password? When I type in the passwd command as a domain user it prompts to change the kerberos password but doesn't allow them to change it. I get an error that say password changes may not permitted on this account.
2004 Mar 26
2
[Bug 819] patch to add kerberos password-changing
...8p1 Platform: UltraSparc OS/Version: Solaris Status: NEW Severity: enhancement Priority: P2 Component: Kerberos support AssignedTo: openssh-bugs at mindrot.org ReportedBy: buckh at pobox.com here's a patch that invokes kpasswd in the event the KDC fails to authenticate a user's kerberos-5 password b/c it's expired: it attempts to get a ticket for kadmin/changepw and, if that works, dumps the user into kpasswd instead of passwd note that i don't consider myself security-cognizant enough to have thought throug...
2013 Feb 05
1
Resetting a User Password From S3 or S4 Member Server
...owing the current password? I was able to do this with S3, though it was not truly a "member" server - I configured the server in question to have direct access to OpenLDAP in smb.conf. I have a member server joined to my S4 domain and a user can change his or her own password via passwd, kpasswd or smbpasswd, however I would like to have the ability to reset a user's forgotten password from this server myself. Thanks, Thomas
2016 Oct 08
2
Administrator password expired - cannot change password
...; samba-tool user setpassword Administrator New Password: Changed password OK [root at host] {~} > kinit administrator at DOMAINS's Password: kinit: Password incorrect Typing the right password. The password is still the old one and expired. The password doesn't even change when using kpasswd. Any ideas what I can do? Best regards, Ronny -- ___________________________________ Ronny Forberger ronnyforberger at ronnyforberger.de PGP: http://www.ronnyforberger.de/pgp/email-encryption.html
2018 Mar 31
3
How to change Domain password as normal user?
...t Kickoff Time is > set to Dec 31st, 1969 which is likely a zero in that field. Is that > the problem? When the users password expires it must be changed (hint, hint) ;-) Or an even bigger hint, the user needs to change their password before the 27th of June > > Why would passwd and kpasswd not reset that? I have no real idea, but it might have something to do with neither of having anything to do with AD. Rowland
2015 Aug 27
9
Samba AD firewalld services
...etter' done by opening services. So what do I need, for starters it seems: dns, dhcp, dhcpv6, samba, kerberos Here is the list of services: RH-Satellite-6 amanda-client bacula bacula-client dhcp dhcpv6 dhcpv6-client dns ftp high-availability http https imaps ipp ipp-client ipsec kerberos kpasswd ldap ldaps libvirt libvirt-tls mdns mountd ms-wbt mysql nfs ntp openvpn pmcd pmproxy pmwebapi pmwebapis pop3s postgresql proxy-dhcp radius rpc-bind samba samba-client smtp ssh telnet tftp tftp-client transmission-client vnc-server wbem-https I will only be running one AD, but a number of file se...
2019 May 14
2
Samba4 changing a user's password from linux workstation
Le 13/05/2019 à 18:44, Rowland penny via samba a écrit : > On 13/05/2019 16:11, Julien TEHERY via samba wrote: >> Hi >> >> I'm trying to find a way to change user passwords from ubuntu client >> workstation on a samba4 domain. >> I tried in CLI from the client workstation (ubuntu 14.04) with: >> >> - smbpasswd -U $user >> >> => In
2019 May 14
2
Samba4 changing a user's password from linux workstation
On Tue, May 14, 2019 at 3:42 AM Rowland penny via samba <samba at lists.samba.org> wrote: > > On 14/05/2019 08:30, Julien TEHERY via samba wrote: > > Yep I allready tried it, it ends with "kpasswd preauthentication > > failed getting initial ticket" What does "klist" say? And can you run "kinit" to ensure you have a valid ticket? One of my favorite failures is when the time settings between the local host, and the Samba or AD server, have drifted from each oth...
2015 Dec 30
4
Allow self password change using LDAP(s) with Samba4
Hi all I am trying to create a webapp to allow users to change their own passwords in Samba4 (perhaps, also in AD), using LDAP(s). But when I try to modify the user password using this code: dn: ........ changetype: modify replace: unicodePwd unicodePwd: "Temporal2" I get this error: 0x32 (Insufficient access; error in module acl: insufficient access rights during LDB_MODIFY (50))
2024 Jan 01
2
Unable to join domain when DC firewall is active
...n the domain controller, initially I only had firewall-cmd --permanent --add-service=samba but that didn't work. The computer couldn't join but when I turned off the firewall all-together I was able to join. I then tried firewall-cmd --permanent --add-service={samba,dns,ldap,ldaps,kerberos,kpasswd} but that didn't work either. Are there some other services and/or ports I need to open? I've also tried firewall-cmd --permanent --add-port={137,138,139,445}/tcp and firewall-cmd --permanent --add-port={137,138,139,445}/udp just to see if it would work but it didn't. ~~~~~~~~~~~~~~~...