Displaying 6 results from an estimated 6 matches for "ntpwd".
Did you mean:
ntpd
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...ot;;
exit (10);
}
# only modify smb passwords if smb user
if ($samba == 1) {
if (!$with_smbpasswd) {
# generate LanManager and NT clear text passwords
if ($mk_ntpasswd eq '') {
print "Either set \$with_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: $...
2003 Feb 11
1
Samba LDAP - bug in ldapsync.pl
In the course of correcting directory references for Mandrake in
smbldap-tools I came acrossed the following:
samba-2.2.7a/examples/LDAP/ldapsync.pl
on line 72 we have:
> $ntpwd = `/usr/local/sbin/smbencrypt '$oldpass'`;
On Mandrake this would be:
> $ntpwd = `/usr/sbin/smbencrypt '$oldpass'`;
Except that I can't find anything by that name (i.e. smbencrypt ) in my
rpm database. Can anyone tell me what it is? Should it perhaps be
replaced...
2003 Sep 16
4
Samba + LDAP + Password Expiry = Almost working...
...e Windows users must change thier account passwords
# every 90 days.
# *****************************************************
if ($mk_ntpasswd eq '') {
print "Either set \$with_smbpasswd = 1 or specify
\$mk_ntpasswd\n";
exit(1);
}
my $ntpwd = `$mk_ntpasswd '$pass'`;
my $neidate = `/bin/date +%s`;
my $chgdate = $neidate+7776000;
chomp(my $lmpassword = substr($ntpwd, 0, index($ntpwd, ':')));
chomp(my $ntpassword = substr($ntpwd, index($ntpwd, ':')+1));
# change nt/lm passwords
# *...
2003 Sep 20
1
smbldap-tools updates (diffs)
...*.p*; do echo $i; diff $i
/usr/local/src/samba-3.0.0rc4/examples/LDAP/smbldap-tools/$i; done
smbldap-groupadd.pl
smbldap-groupdel.pl
smbldap-groupmod.pl
1,2d0
< #!/usr/bin/perl
<
smbldap-groupshow.pl
smbldap-migrate-accounts.pl
45,46c45,46
< sambaLMPassword: $lmpwd
< sambaNTPassword: $ntpwd
---
> lmpassword: $lmpwd
> ntpassword: $ntpwd
smbldap-migrate-groups.pl
smbldap-passwd.pl
smbldap-populate.pl
119c119
< objectClass: sambaSamAccount
---
> objectClass: sambaSAMAccount
146c146
< objectClass: sambaSamAccount
---
> objectClass: sambaSAMAccount
smbldap-useradd.pl
275c...
2004 Jan 07
3
smbpasswd -w account
Hi,
I've setup Samba NT based networks with OpenLDAP database.
But to make sambas operations works fetching data to LDAP, it should have
an account on LDAP that able to write some objects, such as passwords
(when changing passwd) or object creation (when registering or joining to
directory) .The scope of this account is strong enough to any containers
on the directory, such as
2000 Jul 05
1
NIS+ trouble
I'm a little less new to samba now - but having a heck of a time
getting authentication to work. I'm running NIS+, configured samba
with --with-nisplus --with-nisplus-home and --with-automount.
Does anyone have some good nis/samba references? I'm striking
out.
The smbpasswd file *does* have to become smbpasswd.org_dir for
samba to work. I first created the smbpasswd file using