search for: tmpldif

Displaying 5 results from an estimated 5 matches for "tmpldif".

Did you mean: tmpldir
2019 Nov 15
3
Account locked and delayed user data propagation...
...hey press 2-3 time 'OK' too much wrong password try get done, and account get locked. This policy is under revision, but for now get is as-is, this is not the problem. Account get unlocked automatically after 10 minutes, but sometime it urges. So i've setup a script that barely do: TMPLDIF=$(mktemp /tmp/smbunlock.ldif.XXXXXXXXXX) UTENTE_DN=$(get_user_dn "${UTENTE}") echo "dn: ${UTENTE_DN}" > $TMPLDIF echo "changetype: modify" >> $TMPLDIF echo "-" >> $TMPLDIF echo "replace: userAccountControl" >> $TMPLDIF ech...
2019 Nov 15
0
Account locked and delayed user data propagation...
...password try get done, and account get locked. > This policy is under revision, but for now get is as-is, this is not > the problem. > > > Account get unlocked automatically after 10 minutes, but sometime it > urges. > > So i've setup a script that barely do: > > TMPLDIF=$(mktemp /tmp/smbunlock.ldif.XXXXXXXXXX) > UTENTE_DN=$(get_user_dn "${UTENTE}") > echo "dn: ${UTENTE_DN}" > $TMPLDIF > echo "changetype: modify" >> $TMPLDIF > echo "-" >> $TMPLDIF > echo "replace: userAccountControl&quo...
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...h_smbpasswd = 1 or specify \$mk_ntpasswd\n"; exit(1); } my $ntpwd = `$mk_ntpasswd '$pass'`; chomp(my $lmpassword = substr($ntpwd, 0, index($ntpwd, ':'))); chomp(my $ntpassword = substr($ntpwd, index($ntpwd, ':')+1)); # change nt/lm passwords my $tmpldif = "$dn_line changetype: modify replace: lmpassword lmpassword: $lmpassword - changetype: modify replace: ntpassword ntpassword: $ntpassword - "; die "$0: error while modifying password for $user\n" unless (do_ldapmodify($tmpldif) == 0); undef $tmpldif; } else {...
2003 Sep 16
4
Samba + LDAP + Password Expiry = Almost working...
...*************** # Modified on 05-04-03 by kevin Collins of NEI # --------------------------------------------------- # Added the modify "pwdMustChange" field for password # changes. See Modification note above for reasons. # *************************************************** my $tmpldif = "$dn_line changetype: modify replace: pwdMustChange pwdMustChange: $chgdate - changetype: modify replace: lmpassword lmpassword: $lmpassword - changetype: modify replace: ntpassword ntpassword: $ntpassword - "; die "$0: error while modifying password for $user\n"...
2003 May 03
1
Adding computers to SAMBA/LDAP
We are running samba 2.2.8a as a PDC with openLDAP Using the tools that come from IDEALX we have created several machine accounts Then we have attempted to join the windows domain and login with varying results. One machine acts as expected and we can log in and out freely A second machine let's one user log in but if that user changes his password, he like all the other users is told