search for: mkntpwd

Displaying 20 results from an estimated 45 matches for "mkntpwd".

2005 Dec 02
1
Samba LDAP Tools and mkntpwd
I'm in the middle of Samba 3.0.9 ==> 3.0.14a migration testing. Because I'm using newer tools, I am also using a newer verions of the Samba LDAP Tools. My older version, 0.8.4, used the 'mkntpwd' utility to generate NT passwords. The new version, 0.9.1 defaults to using (what looks like) a Perl module called Crypt::SmbHash. My questions: Do I need to continue to use mkntpwd? Will I need to reset all the passwords for my users if I move to Crypt::SmbHash? Or will it "just work&...
2003 Nov 10
1
Win2k Password Hash
...is found in the LDAP backend but that getpwnam failed. The username does not exist on the Linux machine in any form. These usernames are ment to be for Windows only (at this time anyway). I set log level at 5 and tried again and I see that the Lanman and NT password checks fail. I used the mkntpwd that comes with samba 3.0 to create the passwords I put in the LDAP database, but obviously I've done something wrong. Is the mkntpwd program supposed to be for NT4.0 machines? Does Win2k use a different password algorithm? The entries in the LDAP database for a user have these fields:...
2005 Jan 24
3
changing ldap passwords?
Samba experts, I am using Samba 3.0.8 on an AIX 5.1 system with ldap authentication. I have ldap working so that users can authenticate in their samba account via ldap. However, I am trying to figure out the best method for allowing users to change their ldap samba account password. What is the best method to allow end users to change their LM/NT passwords for Samba via LDAP? Should
2004 Aug 18
1
LDAP and Password Values
I remain unclear regarding Samba and LDAP. It appears that mkntpwd is required to generate a viable sambaNTPassword and sambaLMPassword attribute values. But I believe I read that the current incarnation of smbpasswd can accomplish this. Lastly, when utilzing phpLDAPadmin, do the NT and LM password fields contain the values generated by mkntpwd? -- Raymond
2003 Dec 02
1
Samba 3 - LDAP - PDC -??
...x. now I'm tryint o get samba acting as a PDC for win clients. Questions : 1- do I must create idmap entries ? how ? 2- using smbclient only nobody (blank password) can log in, else I got : NT_STATUS_LOGON_FAILURE : any idea ? (of course I assigned the users with LM and NT passwords using mkntpwd from idealx) 3- is there someone who got it working ? :) thanks a lot. -- Zied Fakhfakh dot TN Tel|Fax : +216 71 70 22 65
2002 May 14
0
Bugfix for idealx smbldap-tools
...//learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.iso-top.de | Jabber: askwar@a-message.de iso-top.de - Die g?nstige Art an Linux Distributionen zu kommen Uptime: 3 hours 17 minutes -------------- next part -------------- Binary files sbin/mkntpwd and modified/mkntpwd differ diff -ur sbin/smbldap_conf.pm modified/smbldap_conf.pm --- sbin/smbldap_conf.pm 2002-05-14 08:05:54.000000000 +0000 +++ modified/smbldap_conf.pm 2002-05-14 08:13:54.000000000 +0000 @@ -117,13 +117,13 @@ # Samba defs # #$_userSmbHome = q(\\\\PDC-SRV\\homes); -$_userSmb...
2003 Feb 11
1
Samba LDAP - bug in ldapsync.pl
.../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 by mkntpwd or something? Jim C.
2003 May 28
0
Samba + LDAP problem
...ser 'test': authentication failed [2003/05/28 18:59:00, 3] smbd/error.c:error_packet(109) error packet at smbd/reply.c(1025) cmd=115 (SMBsesssetupX) NT_STATUS_LOGON_FAILURE [2003/05/28 18:59:00, 5] lib/util.c:show_msg(268) I guess the attributes are OK. The passwords where generated with mkntpwd (mkntpwd -L password -N password) Thanks a lot! Gabriel.
2002 Sep 08
2
sambaldap tools
...################################################################ ## # # SMBLDAP-TOOLS Configuration (default are ok for a RedHat) # ############################################################################ ## # 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"; $ldap_path = "/usr/bin"; $ldap_opts = "-x"; $ldapsearch = "$ldap_path/ldapsearch $ldap_opts -h $slaveLDAP -D...
2010 May 19
1
PHPLDAPAAdmin: SMB-Password not hashed
.... I have to do a "smbpasswd user" to get it work. when I use "smbldap-useradd user && smbldap-passwd user" everything is working fine. I tried this on three different installations (with Debian Lenny 5.0.3 through 5.0.4), always the same problem. I have installed the mkntpwd-Tool (as in former installations), but it is not longer needed and I cant even choose it in the phpldapadmin/config-File because there is no longer such a file ... :-( I have installed all the perl-crypt-modules, tried it with different settings in the smb.conf: unix password sync = yes ldap pas...
2003 Nov 11
1
Samba 3 Redhat 9 Openldap doc
...-1.25.tar.gz Configure create sldap.conf copy samba-3.0.0/examples/LDAP/samba.schema from samba source to /usr/local/etc/openldap/schema create smb.conf set smbpasswd -w LDAP_ROOTDN_PASSWORD to store the password for the LDAP rootdn smbldap_conf.pm --modify scrips as needed. make and extract the mkntpwd file to /usr/local/sbin/ ---To find sid net domainsid GQ Setup LDAP for Samba ---create user account for root in ldap with SIDxxxxxxxx-1000 and uid =0 Setup startup scripts /etc/init.d/smb /etc/init.d/ldap make sure there executable enable services in chkconfig Install smbldap-tools Populate...
2003 May 30
1
load password users in Ldap
Hello, I'm new in Samba Ldap. I use samba-2.2.3a and openldap2-2.1.4-46. I am going to load in Ldap a lot of users in a ldif file as it is shown below. But I don't know how to put samba password. I can use: smbpasswd juan1 and then the fields lmPassword and ntPassword are changed. In this way, after load all users in Ldap I would need a script to do a smbpasswd for each user
2005 Jan 31
2
mass user creation
Hi, i plan to mass creat user in ldap to use with samba I tried with ldiff like the structure below, the user is created but no home directory is created, user in not member on any groups. 1) how to do with ldiff file to put a user member of a group ? So i plan to use smbldap-useradd => home drectorie is created with the appropriated rights, user is member of "Domain Users" :
2004 Sep 22
1
Protocol negotation failed
...3; $_skeletonDir = q(/etc/skel); $_defaultMaxPasswordAge = 90; $_userSmbHome = q(\\\\_PDCNAME_\\homes); $_userProfile = q(\\\\_PDCNAME_\\profiles\\); $_userHomeDrive = q(H:); $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" ) { $ldap_opts = "-x -...
2003 May 29
0
Samba PDC - Adding machine to domain
...ecause the system's computer account in its primary domain is missing or the password on that account is incorrect". I've addded the machine by hand (not with an adduser script) so maybe I am missing some attribute, or setting the password wrong (I am using a random password made with mkntpwd -N randompwd, as I know there is no need for a LANMAN passowrd in a computer account). I have the guest and root accts in the LDAP directory, and root is in the Domain Administrators group. Here is a snip of the log (where i think the operation fails to complete) --------------snip---------------...
2003 Aug 14
1
Samba3/OpenLDAP2.1.x Tools
...9;s are created. Here is my latest output from the IDEALX smbldap-useradd.pl tool while trying to create a machine account. The posixAccount portion gets completed, but it fails to add the sambaSamAccount information: debian:/usr/local/sbin# smbldap-useradd.pl -w test sh: line 1: /usr/local/sbin/mkntpwd: No such file or directory ldapmodify: update failed: uid=test$,ou=Computers,dc=domain,dc=com ldap_modify: Invalid syntax (21) additional info: sambaLMPassword: value #0 invalid per syntax /usr/local/sbin/smbldap-useradd.pl: error while adding samba account to test$ PS I'm using OpenL...
2004 Feb 18
1
calculating passwords, and what to do with sambaLMPassword
Hi, I'm trying to calculate the passwords so i can change them from a php-gui, an as i see it, userPassword can have any form if the cryptation algorithm is stated before the hash, like "{md5}blahblah32bit". In the docs, it states that sambaNTPassword is a md4 hash, wich should be calculatable (haven't done it yet though). And last for the sambaLMPassword: I can't find
2004 Jun 29
1
mkntpasswd
Hi! I am currently follwoing this howto: http://www.samba.org/samba/docs/man/guide/happy.html#ch6-nss02 and i am stuck with: (..)You must compile the mkntpasswd tool and then install it into the /var/lib/samba/sbin directory, as shown here(...) Where can i get the mkntpasswd sources from? Or is there a rpm package for it? Thanks, Mario -- "Sie haben neue Mails!" - Die GMX Toolbar
2004 Aug 15
0
Error setting passwords using smbldap-passwd.pl
Hello, Im getting SO close on this one its driving me nuts. The platform is Solaris 9, with Sun One Directory server 5.1. Running Samba 3.0.5 - and when I use mkntpwd and cut and paste the passwords into LDAP I can log in to the machine via Samba from both Windows and Mac clients (can't join the domain, but I think that might be related to the fact that the bug still appears to be around where you cant have a separate ou=Machines). At any rate, the problem...
2004 Aug 30
0
Password problems
...ounts to LDAP I wrote a script to search LDAP on the master for an open UID then add the account information that I want added. These changes then replicate down to the slave LDAP servers. I don't use /etc/passwd for anything but the stock local accounts. I suppose I could write a script using mkntpwd that would update the master server, in that way the password changes would filter down to the LDAP slaves. Any suggestions would be appreciated. Thanks Kent Nasveschuk