search for: setexpiry

Displaying 20 results from an estimated 48 matches for "setexpiry".

2016 Apr 28
2
Password must change
What I want is to get definiri X user had the expiration date on a date and Y user on another date, but this date I could set. The date when you arrive, you have to change this password. When I use the command samba-tool user setexpiry USER - noexpiry it change the "Password must change: Tuesday, 19 Jan 2038 01:14:07 GMT" I would like to do this, so that setting the date. Em 28-04-2016 16:15, Rowland penny escreveu: > On 28/04/16 19:49, Carlos A. P. Cunha wrote: >> >> Hello! >> I had looked at t...
2020 Oct 09
2
samba-tool password edits
I have been searching around samba-tool --help under various options and I am not locating any adjustments to passwords. Like "User cannot change password" or "Password never expires". Granted these are W10 settings in 'user properties' (as examples.) Where would I find password edits or changes, etc.?
2023 May 24
1
samba-tool : how to remove expiry date of an account
Hi list :) I am looking for the right command to achieve my goal. I would like to remove the account expiry date of an ACCOUNT with a samba-tool command (account never expires) Options of "samba-tool user setexpiry" are : --filter=FILTER LDAP Filter to set password on --days=DAYS Days to expiry --noexpiry Unfortunately, the "noexpiry" parameter just set another option which is "the PASSWORD never expires" which is related to the passord, and so serve a totally different goal. AFAI...
2024 Mar 21
1
Remove account noexpiry and use PSO again
Hi Team, I am using fine-grained Password Settings Objects (PSOs), set with 'samba-tool domain passwordsettings pso' to determine a.o. password expiry (max. pw. age), they are set on a group. A while ago I have set one user to never expire: 'samba-tool user setexpiry myuser --noexpiry'. How do I remove 'noexpiry' from the user account and let the user follow the PSO on the group again? - Kees.
2024 Mar 22
1
Remove account noexpiry and use PSO again
...gt; > I am using fine-grained Password Settings Objects (PSOs), set with > 'samba-tool domain passwordsettings pso' to determine a.o. password > expiry (max. pw. age), they are set on a group. > > A while ago I have set one user to never expire: 'samba-tool user > setexpiry myuser --noexpiry'. > > How do I remove 'noexpiry' from the user account and let the user > follow the PSO on the group again? > > > - Kees. > > > When you set 'noexpiry' on an AD user, you are setting the 'DONT_EXPIRE_PASSWORD' flag on...
2023 May 24
1
samba-tool : how to remove expiry date of an account
...;> Hi list :) >> >> I am looking for the right command to achieve my goal. >> >> I >> would like to remove the account expiry date of an ACCOUNT with a >> samba-tool command (account never expires) >> >> Options of "samba-tool user >> setexpiry" are : >> --filter=FILTER LDAP Filter to set password >> on >> --days=DAYS Days to expiry >> --noexpiry >> >> Unfortunately, the "noexpiry" >> parameter just set another option which is "the PASSWORD never expires" >> which i...
2016 Aug 29
5
set UPN / SPN from samba-tool.
...The problem was as followed. ( and this probely dont applie to squid kerberos helpers only. )   samba-tool setup for squid i used, was as followed.   samba-tool user create squid1-service --description="Unprivileged user for SQUID1-Proxy Services" --random-password samba-tool user setexpiry squid1-service –noexpiry samba-tool spn add HTTP/proxy.internal.domain.tld squid1-service   Now this results in : My UPN was set to the username at internal.domain.tld  ( as it should ). My SPN was set to HTTP/proxyserver.internal.domain.tld at REALM ( as is should )    samba-tool spn lis...
2015 Sep 03
2
dhcp errors - Re: dhcp example
...homebase dhcpd: you can do this by typing the following commands Sep 3 19:27:09 homebase dhcpd: Administrator at EXAMPLE.COM Sep 3 19:27:09 homebase dhcpd: user create dhcpduser --description="Unprivileged user for DNS updates via ISC DHCP server" Sep 3 19:27:09 homebase dhcpd: user setexpiry dhcpduser --noexpiry Sep 3 19:27:09 homebase dhcpd: group addmembers DnsAdmins dhcpduser Sep 3 19:27:09 homebase dhcpd: execute: /usr/local/sbin/dhcp-dyndns.sh exit status 256 Is this what I need to do. That is create the dhcpduser? There is no 'user' command. Is this 'adduser...
2016 Apr 28
1
Password must change
...>> >> What I want is to get definiri X user had the expiration date on a >> date and Y user on another date, but this date I could set. >> The date when you arrive, you have to change this password. >> >> When I use the command >> >> samba-tool user setexpiry USER - noexpiry >> >> it change the "Password must change: Tuesday, 19 Jan 2038 01:14:07 GMT" >> >> I would like to do this, so that setting the date. >> >> >> Em 28-04-2016 16:15, Rowland penny escreveu: >>> On 28/04/16 19:49, Carlos A....
2016 Oct 12
2
Samba-tool password expiration and service accounts
Initially I had set password expiration to be 6 months using samba-tool, and used ADUC to tick the "password never expires" box on specific service accounts that I wanted to keep with the same password. What I found was that even with this box checked, the account's passwords did expire after 6 months. So it seems that the password settings configured by samba-tool apply to all
2015 Sep 04
1
further testing - Re: dhcp errors - Re: dhcp example
...0:35:33 homebase dhcpd: you can do this by typing the following commands Sep 3 20:35:33 homebase dhcpd: Administrator at home.htt Sep 3 20:35:33 homebase dhcpd: user create dhcpd --description="Unprivileged user for DNS updates via ISC DHCP server" Sep 3 20:35:33 homebase dhcpd: user setexpiry dhcpd --noexpiry Sep 3 20:35:33 homebase dhcpd: group addmembers DnsAdmins dhcpd Sep 3 20:35:33 homebase dhcpd: execute: /usr/local/sbin/dhcp-dyndns.sh exit status 256 So what is needed here for the user? And where is it being created? Is this in kerberos? Is there a separate kerberos daemo...
2017 Oct 08
1
bind9 and isc-dhcp-Server for dynamic DNS-updates Error
..."you can do this by typing the following commands" # echo "kinit Administrator@${REALM}" # echo "samba-tool user create dhcpduser --random-password --description=\"Unprivileged user for DNS updates via ISC DHCP server\"" # echo "samba-tool user setexpiry dhcpduser --noexpiry" # echo "samba-tool group addmembers DnsAdmins dhcpduser" # exit 1 #else # echo "TESTUSER: ${TESTUSER}" >> /tmp/Update.txt #fi Now when an IP address expires, the dns is not update. I execute manually the script and don't work /etc/d...
2015 Aug 05
5
LDAP bindpw password
Hi. I'm using Samba 4 on two Zentyal servers as Domain Controller and now I have to authenticate some services to it (Apache and PAM in particular). The LDAP integration asks me for a LDAP bind password, but I cannot find out where it is on Zentyal. Is there a way to check (or change it) directly on Samba 4? Or is it preferable to authenticate against Active Directory or Kerberos? Thank you
2016 Aug 26
2
samba-tool modifying AD
On Sat, 27 Aug 2016 08:33:02 +1200 Andrew Bartlett <abartlet at samba.org> wrote: > On Mon, 2016-08-22 at 09:21 +0100, Rowland Penny via samba wrote: > > On Mon, 22 Aug 2016 13:38:06 +1200 > > Andrew Bartlett via samba <samba at lists.samba.org> wrote: > > > > > > > > On Sat, 2016-08-20 at 18:29 -0700, David Bear via samba wrote: > > >
2015 Sep 01
3
ldbadd with kerberos ticket => 00002020: Operation unavailable without authentication
Hi, I'd like to use ldbadd with kerberos authentication using samba 4.2.3-SerNet-Debian-7.jessie, but it seems authentication is not being processed. Executing... kinit Administrator at INTERNAL.DOMAIN.TLD -k -t /etc/admin.keytab root at dc01:/# klist Ticket cache: FILE:/tmp/krb5cc_0 Default principal: Administrator at INTERNAL.DOMAIN.TLD Valid starting Expires Service
2015 Sep 04
0
dhcp errors - Re: dhcp example
...do this by typing the > following commands > Sep 3 19:27:09 homebase dhcpd: Administrator at EXAMPLE.COM > Sep 3 19:27:09 homebase dhcpd: user create dhcpduser > --description="Unprivileged user for DNS updates via ISC DHCP server" > Sep 3 19:27:09 homebase dhcpd: user setexpiry dhcpduser --noexpiry > Sep 3 19:27:09 homebase dhcpd: group addmembers DnsAdmins dhcpduser > Sep 3 19:27:09 homebase dhcpd: execute: > /usr/local/sbin/dhcp-dyndns.sh exit status 256 > > Is this what I need to do. That is create the dhcpduser? There is no > 'user' com...
2018 Jul 18
3
Samba AD 4.8.3 Windows Server 2016 Active Directory Users and Computers: The procedure number is out of range
...ba-config/v101/netlogon > read only = no fixed. > 'sysvol' is okay except it needs to be writeable. fixed as well. > You also do not set the maximum password age with pdbedit. I do, but you're saying I should not? I do in the shell script: /local/samba/bin/samba-tool user setexpiry Administrator --noexpiry -s ${SAMBACONFIG} /local/samba/bin/pdbedit -s ${SAMBACONFIG} -P "maximum password age" -C -1 While my active directories do not survive one week, I thought just to be on the safe side, I disable password aging. Is there a better way? > Yes try reading up on S...
2016 Feb 22
6
Kerberos Principal
Hi all, I’m looking to add in a kerberos principal on my server for the AD domain. I see there are ways to do this for user(s), but I don’t see how to add a principal for hosts. In general, I’ld like to add something like the following to me 4.3.4 Domain: ktpass -princ afpserver/fqdn at REALM -mapuser mapuser at domain +rndPass -out afpserver.keytab This is for a netatalk server. I’ve never
2013 Oct 26
2
lost with AD auth
...sers. All services are running on the Ubuntu server (samba AD/DC), no other linux box for now. 1 Windows VM has been setup on server to make AD tasks using Administrator account. Trying to use nslcd + kerberos : created a user in AD: samba-tool user add ldap My_secret_password samba-tool user setexpiry ldap --noexpiry created spn and exported keytab: samba-tool spn add nslcd/serveur.radiodjiido.nc ldap samba-tool domain exportkeytab /etc/krb5.nslcd.keytab --principal=ldap chown nslcd:root /etc/krb5.nslcd.keytab chmod 600 /etc/krb5.nslcd.keytab configured nslcd: grep ^[^#] /etc/nslcd.conf ->...
2015 Sep 03
7
samba_dlz: Failed to connect
On Thu, 3 Sep 2015, Rowland Penny wrote: > What are the permissions on /var/lib/samba/private/dns ? Also don't forget the permissions on /var/lib/samba/private If you're using sernet's packages, you'll have to chgrp it to to named or give it o+x perms.