Displaying 18 results from an estimated 18 matches for "mk_ntpasswd".
2004 Sep 22
1
Protocol negotation failed
...hanks,
Misty
smbldap_conf.pm:
use strict;
package smbldap_conf;
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP
$masterLDAP
$slavePort $masterPort $ldapSSL $slaveURI $masterURI
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapmodify $suffix $usersdn
$computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLoginShell $_userHomePrefix $_userGecos...
2002 Sep 08
2
sambaldap tools
...the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapsearch $ldapsearchnobind
$ldapmodify $ldappasswd $ldapadd $ldapdelete $ldapmodrdn
$suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLoginShell $_userHomePrefix $_userGecos
$_defaultUserGid $_defaultComputerGid
$...
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...>);
print "\n";
system "stty echo";
if ($pass ne $pass2) {
print "New passwords don't match!\n";
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...
2003 Sep 16
4
Samba + LDAP + Password Expiry = Almost working...
...t
# the "pwdMustChange" field can be set to a value of 90
# days in the future from today.
#
# It is hoped that by changing this field in this way,
# the 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 =...
2003 Dec 01
1
Fw: PDC/LDAP/SAMBA3/NT4
...30, Boston, MA 02111-1307,
# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$slavePort $masterPort $ldapSSL $slaveURI $masterURI $with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapmodify $suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLoginShell $_userHomePrefix $_userGecos
$_defaultUserGid $_defaultComputerGid
$_skeletonDir $_userSmbHome
$_userProfile $_userHomeDrive
$_userScript $user...
2002 May 14
0
Bugfix for idealx smbldap-tools
...PDCNAME_\\%u);
$_userProfile = q(\\\\_PDCNAME_\\profiles\\);
$_userHomeDrive = q(H:);
# not used; current script name is $_userName.cmd
#$_userScript = q(startup.cmd); # make sure script file is edited under dos
-
+$_userScript = q(logon.bat);
$smbpasswd = "/usr/bin/smbpasswd";
$mk_ntpasswd = "/usr/local/sbin/mkntpwd";
diff -ur sbin/smbldap-passwd.pl modified/smbldap-passwd.pl
--- sbin/smbldap-passwd.pl 2002-05-14 08:05:54.000000000 +0000
+++ modified/smbldap-passwd.pl 2002-05-14 08:14:29.000000000 +0000
@@ -166,7 +166,7 @@
}
}
# change unix password
-$ret = system &q...
2004 Jun 11
2
Samba 3.0.3 on FC2: windows machine cannot join domain
...ot;513"
defaultComputerGid="553"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="45"
userSmbHome=""
userProfile=""
userHomeDrive="logondrive"
userScript=""
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/sbin/mkntpwd"
--- End smbldap.conf ---
--- Begin smbldap_bind.conf ---
slaveDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
slavePw="_hidden_"
masterDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
masterPw="_hidden_"
--- End smbldap_bind.conf ---
6. Started up...
2004 Sep 23
1
Re: Samba 3.0.3 on FC2: windows machine cannot join domain
...ot;513"
defaultComputerGid="553"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="45"
userSmbHome=""
userProfile=""
userHomeDrive="logondrive"
userScript=""
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/sbin/mkntpwd"
--- End smbldap.conf ---
--- Begin smbldap_bind.conf ---
slaveDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
slavePw="_hidden_"
masterDN="cn=Manager,dc=soil,dc=ncsu,dc=edu"
masterPw="_hidden_"
--- End smbldap_bind.conf ---
6. Started up...
2004 Dec 09
0
Samba / LDAP on OpenBSD
...(/bin/sh);
$_userHomePrefix = q(/home/);
$_userGecos = q(System User);
$_defaultUserGid = 513;
$_defaultComputerGid = 553;
$_userSmbHome = q(\\\\LDAP\\homes);
$_userProfile = q(\\\\LDAP\\profiles\\);
$_userHomeDrive = q(U:);
$with_smbpasswd = 0;
$smbpasswd = "/usr/bin/smbpasswd";
$mk_ntpasswd = "/sbin/mkntpwd";
$slaveURI = "ldap://$slaveLDAP:$slavePort";
$masterURI = "ldap://$masterLDAP:$masterPort";
$ldap_path = "/usr/local/bin";
#$ldapsearch = "$ldap_path/ldapsearch $ldap_opts -H $slaveURI -D
'$slaveDN' -w '$slavePw'&qu...
2003 Jun 04
2
Samba LDAP Primary Domain Controller
...ftware
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
# USA.
# Purpose :
# . be the configuration file for all smbldap-tools scripts
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS
$UID_START $GID_START $smbpasswd $slaveLDAP $masterLDAP
$with_smbpasswd $mk_ntpasswd
$ldap_path $ldap_opts $ldapsearch $ldapsearchnobind
$ldapmodify $ldappasswd $ldapadd $ldapdelete $ldapmodrdn
$suffix $usersdn $computersdn
$groupsdn $scope $binddn $bindpasswd
$slaveDN $slavePw $masterDN $masterPw
$_userLoginShell $_userHomePrefix $_userGecos
$_defaultUserGid $_defaultComputerGid
$...
2005 Nov 01
3
Samba domains with ldap
Skipped content of type multipart/mixed
2004 May 06
0
having problems with samba 3 + net groupmap
...t;
defaultUserGid="513"
defaultComputerGid="553"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="45"
userSmbHome="\\pdc\\home"
userProfile=""
userHomeDrive="X:"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/local/sbin/mkntpwd"
slaveURI="ldap://$slaveLDAP:$slavePort"
masterURI="ldap://$masterLDAP:$masterPort"
ldap_path="/usr/bin"
*/etc/smbldap-tools/smbldap_bind.conf file
*
slaveDN="cn=root,dc=nijacol,dc=net"
slavePw="nethawk"
masterDN=...
2005 Feb 12
1
Any ideas - samba3+openldap2.2.15-5: problems loggin users onto domain
...kel"
defaultMaxPasswordAge="55"
userSmbHome="\\glasgow\homes"
userProfile="\\glasgow\profiles"
userHomeDrive="F:"
userScript="\\drivef\rede\public\.dominio\winnt\profile.cmd"
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/local/sbin/mkntpwd"
2004 Mar 02
0
smbldap-useradd hangs in RH9
...serGid="513"
defaultComputerGid="553"
skeletonDir="/etc/skel"
defaultMaxPasswordAge="55"
userSmbHome=""
userProfile=""
userHomeDrive=""
userScript=""
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/local/sbin/mkntpwd"
--------------------------------------------------------------------------------------------------
[root@sist11 smbldap-tools]# grep -v ^# /etc/ldap.conf | grep -v ^$
host 127.0.0.1
base o=senado.es
uri ldap://127.0.0.1/
binddn cn=Manager,o=senado.es
bindpw secre...
2005 Oct 18
0
Error join samba PDC from XP
...quot;
##############################################################################
#
# SMBLDAP-TOOLS Configuration (default are ok for a RedHat)
#
##############################################################################
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/sbin/mkntpwd"
And the logfiles...
/var/log/samba/log.nmbd
[2005/10/18 10:43:45, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server FILESERVER is now a local master browser for workgroup
FASITET on subnet 82.96.47.55 <http://82.96.47.55>
**...
2005 Oct 18
0
Error joining Win Xp to Samba PDC
...quot;
##############################################################################
#
# SMBLDAP-TOOLS Configuration (default are ok for a RedHat)
#
##############################################################################
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/sbin/mkntpwd"
And the logfiles...
/var/log/samba/log.nmbd
[2005/10/18 10:43:45, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
*****
Samba name server FILESERVER is now a local master browser for workgroup
FASITET on subnet 82.96.47.55 <http://82.96.47.55>
**...
2004 Feb 20
1
problems on join domain on Samba3 + ldap
...t)
#
##############################################################################
# Allows not to use smbpasswd (if $with_smbpasswd == 0 in smbldap_conf.pm) but
# prefer mkntpwd... most of the time, it's a wise choice :-)
with_smbpasswd="0"
smbpasswd="/usr/bin/smbpasswd"
mk_ntpasswd="/usr/local/sbin/mkntpwd"
# those next externals commands are kept fot the migration scripts and
# for the populate script: this will be updated as soon as possible
slaveURI="ldap://$slaveLDAP:$slavePort"
masterURI="ldap://$masterLDAP:$masterPort"
ldap_path="/us...
2004 Apr 12
1
Initial samba + ldap howto
...etc/skel);
$_defaultMaxPasswordAge = 45;
$_userSmbHome = q(\\\\LAVIE\\homes);
$_userProfile = q(\\\\LAVIE\\profiles\\);
$_userHomeDrive = q(H:);
$_userScript = q(startup.cmd); # make sure script file is edited under dos
$with_smbpasswd = 0;
$smbpasswd = "/usr/local/samba/bin/smbpasswd";
$mk_ntpasswd = "/usr/local/sbin/mkntpwd";
$slaveURI = "ldap://$slaveLDAP:$slavePort";
$masterURI = "ldap://$masterLDAP:$masterPort";
$ldap_path = "/usr/bin";
if ( $ldapSSL eq "0" ) {
$ldap_opts = "-x";
} elsif ( $ldapSSL eq "1" ) {...