search for: ntpassword

Displaying 20 results from an estimated 106 matches for "ntpassword".

Did you mean: nopassword
2008 Oct 22
1
BUG: Bad passwords from Vampire / NT migration
...c_samsync.c class calls rpc_vampire_internals, which calls libnet/libnet_samsync.c, which calls samsync_fix_delta_array() with rid_crypt always set to false. I think that's correct. But the second bug has carried through in the sam_account_from_delta() function: 208 if (memcmp(r->ntpassword.hash, zero_buf, 16) != 0) { 209 sam_pwd_hash(r->rid, r->ntpassword.hash, lm_passwd, 0); 210 pdb_set_lanman_passwd(account, lm_passwd, PDB_CHANGED); 211 } 212 213 if (memcmp(r->lmpassword.hash, zero_buf, 16) != 0) { 214...
2002 Oct 30
1
Samba <-> LDAP auth
...ped some code - retrieveing attributes.------------------------------- [[2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [lmPassword] = [<does not exist>] [2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(360) get_single_attribute: [ntPassword] = [81030A39A1C251FCAAD3B435B51404EE] [2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [acctFlags] = [<does not exist>] [2002/10/22 14:42:21, 4] smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user mdorofeev [2002/1...
2004 Apr 25
1
userpassword -> ntPassword conversion
Hi, I'd like to convert a number of userpassword ("posixAccount", crypt-ed) and create a ldif to update my Ldap server database. I've seen smbtools scripts in Samba sources but it seems there no tool to do that in there. What should I use to accomplish this ? Cheers, -- Michal Kurowski <mkur@poczta.gazeta.pl>
2007 Sep 16
2
LMPassword and NTPassword
Hallo, I have to transfer samba passwords from an LDAP installation to a non- LDAP installation, passwddb is smbpasswd. LDAP shows "sambaLMPassword" and "sambaNTPassword"; smbpasswd needs 2 password entries. Can I copy the above LDAP passwords? If yes: what is what? Viele Gruesse! Helmut
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 automatically, without prompt me for each one. ? How can I do to avoid prompting me ? I think it is better to put the real password in lmPassword and ntPassword but it doesn't work. Whi...
2015 Jun 01
4
[OT] recover/reset 'owner' password on win7 os
...password of a > windows system, this util is run by booting a cd or usb stick, and > directly modifies the 'SAM' in windows obviously you did not read all of what i posted. had you read paragraph following what you responded to, you would/may/might have become aware that i did pull *ntpassword*. note correct spelling. ;-) > (somewhat akin to booting a rescue CD on 'nix, and editing > /mnt/etc/shadow to remove passwords). if find such can be much easier by booting init level 1 to edit /mnt/etc/shadow. after which, 'init 2', logging in as root to run 'passwd' [p...
2002 Mar 06
1
ldap configurations
...lags: [UX ] userPassword: {crypt}BpM2ej8Rkzogo uid: gcarter uidNumber: 9000 cn: Gerald Carter loginShell: /bin/bash logoffTime: 2147483647 gidNumber: 100 kickoffTime: 2147483647 pwdLastSet: 1010179230 rid: 19000 homeDirectory: /home/tashtego/gcarter pwdCanChange: 0 pwdMustChange: 2147483647 ntPassword: 878D8014606CDA29677A44EFA1353FC7 Where do I get: ntPassword pwdMustChange lmPassword pwdLastSet logonTime kickoffTime logoffTime rid ?? Thank you for any clues...I am ok with generating some of these values from clear passwords, just need to know how.... -- Terry Davis http://approbation.org/
2005 Jun 04
3
smbldap-tools and joining workstation to domain
...oginShell: /bin/false uid: testhost3$ uidNumber: 1005 sambaPwdLastSet: 0 sambaLogonTime: 0 sambaLogoffTime: 2147483647 sambaKickoffTime: 2147483647 sambaPwdCanChange: 0 sambaPwdMustChange: 2147483647 description: Computer Account rid: 0 primaryGroupID: 0 lmPassword: 7582BF7F733351347D485E46C8E6306E ntPassword: 7582BF7F733351347D485E46C8E6306E acctFlags: [W ] Looking at smbldap-useradd script code I can see that sambaSAMAccount entrys are only added when -i switch is used (trusted workstation account). ----------- CODE SNIP -------------------- # MACHINE ACCOUNT if (defined($Options{'w&...
2015 Jun 01
2
[OT] recover/reset 'owner' password on win7 os
...ssworded, forgotten by previous owner. 'guest' is does not have a password. i want remove unneeded music software and files and other crud before i defrag the drive so as to have more room to dual boot linux. i would wipe win7, but not an option at this time. i booted laptop, pulled 'ntpassword', copied files to a usb stick, tried to run; X:syslinux.exe -ma X: as 'guest', it failed. how can i make usb stick bootable from linux? any/all suggestion/help is greatly appreciated. thanks in advance. -- peace out. If Bill Gates got a dime for every time Windows crashes......
2003 Jan 28
2
PAM Module for SMB-LDAP
...with holding passwords completely sync between *NIX-world and WIN-world when I use LDAP & Samba. If a user changes a password under Windows, with "passwd chat" the *NIX-Password (attribute: userPassword) can be changend very well besides the both Samba-LDAP-attributes lmPassword and ntPassword. But if a user from the *NIX-world wants to change his password over a service that uses PAM.D we have the following problem: pam_smbpass.so can authenticate UNIX Users via SMB-LDAP but it can not be used for "passwd" from UNIX-side!!! We read already the sourcecode and pam_smbpass.so a...
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...T 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: $lmpassword - changetype: modify replace: ntpassword ntpassword: $ntpassword - "; die "$0: error while modifying password for $user...
2003 May 23
0
LDAP tools for samba 3.24 schema
...=~ s/.$//s; @@ -205,18 +215,18 @@ changetype: modify objectclass: top objectclass: posixAccount -objectClass: sambaAccount -pwdLastSet: 0 -logonTime: 0 -logoffTime: 2147483647 -kickoffTime: 2147483647 -pwdCanChange: 0 -pwdMustChange: 2147483647 -acctFlags: [W ] -lmpassword: $lmpassword -ntpassword: $ntpassword -rid: $rid -primaryGroupID: 0 +objectClass: sambaSamAccount +sambaPwdLastSet: 0 +sambaLogonTime: 0 +sambaLogoffTime: 2147483647 +sambakickoffTime: 2147483647 +sambaPwdCanChange: 0 +sambaPwdMustChange: 2147483647 +sambaacctFlags: [W ] +sambaLMPassword: $lmpassword +sambaNTpassw...
2003 May 23
0
LDAP tools for SAMBA 3.24 corrected
...=~ s/.$//s; @@ -205,18 +215,18 @@ changetype: modify objectclass: top objectclass: posixAccount -objectClass: sambaAccount -pwdLastSet: 0 -logonTime: 0 -logoffTime: 2147483647 -kickoffTime: 2147483647 -pwdCanChange: 0 -pwdMustChange: 2147483647 -acctFlags: [W ] -lmpassword: $lmpassword -ntpassword: $ntpassword -rid: $rid -primaryGroupID: 0 +objectClass: sambaSamAccount +sambaPwdLastSet: 0 +sambaLogonTime: 0 +sambaLogoffTime: 2147483647 +sambakickoffTime: 2147483647 +sambaPwdCanChange: 0 +sambaPwdMustChange: 2147483647 +sambaacctFlags: [W ] +sambaLMPassword: $lmpassword +sambaNTpassw...
2003 May 23
1
Workstation xxxx$: no account in domain
...unt primaryGroupID: 2007 acctFlags: [DW ] uid: nomicro$ uidNumber: 1000 cn: nomicro$ loginShell: /bin/false logoffTime: 2147483647 gidNumber: 503 kickoffTime: 2147483647 pwdLastSet: 1053686926 rid: 3000 description: Computer homeDirectory: /dev/null pwdCanChange: 0 pwdMustChange: 2147483647 ntPassword: 4DA811CEF46834C8201960E47D39C07D samba log: [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:ldap_search_one_user(272) ldap_search_one_user: searching for:[(&(uid=nomicro$)(objectclass=sambaAccount))] [2003/05/23 12:48:48, 2] passdb/pdb_ldap.c:get_single_attribute(370) get_single_attribute: [u...
2002 Oct 22
0
iPlanet ldap authentication: NT password check failed
...354) get_single_attribute: [primaryGroupID] = [<does not exist>] [2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [lmPassword] = [<does not exist>] [2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(360) get_single_attribute: [ntPassword] = [81030A39A1C251FCAAD3B435B51404EE] [2002/10/22 14:42:21, 2] passdb/pdb_ldap.c:get_single_attribute(354) get_single_attribute: [acctFlags] = [<does not exist>] [2002/10/22 14:42:21, 4] smbd/password.c:smb_password_ok(475) smb_password_ok: Checking SMB password for user mdorofeev [2002/1...
2002 Mar 07
3
ldap problems
...47483647 kickoffTime: 2147483647 pwdCanChange: 0 pwdMustChange: 2147483647 displayName: User acctFlags: [UX] rid: 3004 primaryGroupID: 1401 homeDrive: H: smbHome: \\PDC-SRV\homes profilePath: \\PDC-SRV\profiles\administrator scriptPath: administrator.cmd lmPassword: D97250ED40513A79AAD3B435B51404EE ntPassword: 0386FBABCB8CF77E41C061AEA00E95A4 userPassword: {SSHA}BUcCgooxvfMJziKwhYF4vLXAyR91SGHm dn: uid=td,ou=People,dc=test,dc=org cn: td uid: td uidNumber: 1003 gidNumber: 100 homeDirectory: /home/td loginShell: /bin/bash gecos: User description: User objectClass: top objectClass: account objectClass: po...
2003 Feb 17
3
Novell EDirectory as LDAP backend
...andom notes but no real success story. Here is what I have achived so far. Maybe someone can give me some hints. I have tried the samba-nds.schema that comes with the 2.2.7a tar ball. While I was able to import/add it to EDir. it did not work for me, because the "lmPassword" and "ntPassword" attributes had a SyntaxID of "SYN_INTEGER" which I think is wrong, because samba tries to store some hex.Strings in these attributes. After changing them to "SYN_CI_STRING" I was able to authenticate against edir. The only thing that does not work is to ldapadd or ldif...
2003 Sep 16
4
Samba + LDAP + Password Expiry = Almost working...
...wd = 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 # *************************************************** # Modified on 05-04-03 by kevin Collins of NEI # --------------------------------------------------- # Added the modify "pwdMustChange" field for password # cha...
2011 Dec 07
1
postlogin script
Hi, I have Postfix + OpenLdap + DoveCot configuration, and it's running succesfuly, i wantto convert users pop3 password NTPassword and LMPassword, so i ne plain passwor dof users, how can i do that. (Normaly using perl's ntlmgen function i convert password , but in plain) thanks in advance
2003 Apr 12
1
eDirectory 8.7 and sambaAccount
...d. Also I can see in ndstrace that the search string is (&(objectClass=sambaAccount)(uid=WORKGROUP/test)) and not (&(objectClass=sambaAccount)(uid=test)). I have "ldap fileter = (&(cn=%u)(objectClass=sambaAccount)) in my smb.conf. Another thing I can see is that lmPassword and ntPassword are integers, which give me an invalid syntax if I add the password's through an ldif file. Regards/Casper