search for: lmpassword

Displaying 20 results from an estimated 89 matches for "lmpassword".

2008 Oct 22
1
BUG: Bad passwords from Vampire / NT migration
..._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 sam_pwd_hash(r->rid, r->lmpassword.hash, nt_passwd, 0); 215 pdb_set_nt_passwd(account, nt_passwd, PDB_CHANGED); If you look closely you'll see that the nt hash is going into the lm_passwd variable and the decrypted value i...
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&...
2002 Mar 06
1
ldap configurations
Hello folks, I am kinda confused as to how to get some values for ldap. For example, here is an ldif entry: dn: uid=gcarter, ou=people,dc=plainjoe,dc=org logonTime: 0 displayName: Gerald Carter lmPassword: 552902031BEDE9EFAAD3B435B51404EE primaryGroupID: 1201 objectClass: posixAccount objectClass: sambaAccount acctFlags: [UX ] userPassword: {crypt}BpM2ej8Rkzogo uid: gcarter uidNumber: 9000 cn: Gerald Carter loginShell: /bin/bash logoffTime: 2147483647 gidNumber: 100 kickoffTime: 2147483647 p...
2005 Jun 04
3
smbldap-tools and joining workstation to domain
...t3$ gidNumber: 553 homeDirectory: /dev/null loginShell: /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 -------------------- #...
2003 Jan 28
2
PAM Module for SMB-LDAP
...is some problem 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 p...
2004 Jan 14
0
Réf. : samba 2.2.8a PDC LDAP CTRL+ALT+DEL password change, not chaning Unix password
...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: $lmpassword - changetype: modify replace: ntpassword ntpassword:...
2003 May 23
0
LDAP tools for samba 3.24 schema
...name = $user; $name =~ 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:...
2003 May 23
0
LDAP tools for SAMBA 3.24 corrected
...name = $user; $name =~ 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:...
2003 May 23
1
Workstation xxxx$: no account in domain
...md4pw: Workstation nomicro$: no account in domain I've already googled for this problem - found something but o solution ? Can anyone tell me what can cause this error ? here my workstation ldif entry: dn: uid=nomicro$, ou=computers, dc=dialog-telekom,dc=at logonTime: 0 displayName: nomicro$ lmPassword: 6BCAC9BC98D80DE1AAD3B435B51404EE objectClass: account objectClass: posixAccount objectClass: sambaAccount primaryGroupID: 2007 acctFlags: [DW ] uid: nomicro$ uidNumber: 1000 cn: nomicro$ loginShell: /bin/false logoffTime: 2147483647 gidNumber: 503 kickoffTime: 2147483647 pwdLastSet: 105368...
2002 Mar 07
3
ldap problems
...unt pwdLastSet: 0 logonTime: 0 logoffTime: 2147483647 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 objectCl...
2003 Feb 17
3
Novell EDirectory as LDAP backend
...he archive and found some random 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...
2004 Apr 12
1
Samba / Ldap Password Issues - bump ;-)
...cos: Millen Mc uidNumber: 5063 userPassword: {crypt}PIsNAk2Yp2XmU gidNumber: 501 objectClass: account objectClass: posixAccount objectClass: sambaAccount objectClass: top objectClass: shadowAccount objectClass: inetorgperson objectClass: apple-user objectClass: extensibleObject objectClass: newberg lmPassword: 57E3A052197F90B0AAD3B435B51404EE homeDirectory: /data/students/mimc08 ntPassword: DF32985352318202CC224ECFD06B0599 cn: Millen Mc sn: null loginShell: /bin/false uid: mimc08 ------- Heres a copy of my smb.conf # Samba config file created using SWAT # from 0.0.0.0 (0.0.0.0) # Date: 2004/04/05 14:...
2003 Sep 16
4
Samba + LDAP + Password Expiry = Almost working...
...$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 # *************************************************** # Modified on 05-04-03 by kevin Collins of NEI # ------------------------------------------...
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
...I use smbpasswd. 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
2003 Jun 12
1
convertSambaAccount Problem
...description:: U3lzdGVtIFVzZXIN objectclass:: dG9wDQ== objectclass:: b3JnYW5pemF0aW9uYWxVbml0DQ== objectclass:: aW5ldE9yZ1BlcnNvbg0= objectclass:: cG9zaXhBY2NvdW50DQ== objectclass:: c2FtYmFBY2NvdW50DQ== dn:: dWlkPXNwdSwgb3U9dXNlcnMsIGRjPXRvdG8sZGM9YmUN logontime:: MA0= displayname:: U3lzdGVtIFVzZXIN lmpassword:: MzBDMDQyOTRCNkM3RDk1MjFBQTgxODM4MUU0RTI4MUIN primarygroupid:: MTIwMQ0= smbhome:: XFxBRE1JTjAxXGhvbWVzDQ== acctflags:: W1VYXQ0= scriptpath:: YWRtLmJhdA0= userpassword: {SSHA}oqF7dWp5XJPUA2ki5zauyCJ2O/UDmcyC mail:: c3RlcGhhbmUucHVybmVsbGVAdGlzY2FsaS5iZQ0= uid:: c3B1DQ== uidnumber:: MTAwMQ0= cn:: c3...
2003 Jul 12
0
Samba-2.2.8a & LDAP - Can't join Domain - SID mapping error
...H uid: root pwdLastSet: 1057974221 logonTime: 0 logoffTime: 2147483647 kickoffTime: 2147483647 pwdCanChange: 2147483647 pwdMustChange: 2147483647 displayName: root cn: root smbHome: \\MY_PDC\homes homeDrive: Z: scriptPath: logon.cmd profilePath: \\MT-PDC\profiles\root rid: 1000 primaryGroupID: 1001 lmPassword: 639C041927C79D99AAEJKHRJFHKRJKL ntPassword: 6E1766AB79DDFHGJDHFJJHBJFHBJRHR acctFlags: [UX ] The machine name is also in LDAP like this: dn: uid=MYMACHINE$,ou=Machine,dc=virginiabeach,dc=net objectClass: top objectClass: account objectClass: posixAccount objectClass: shadowAccount object...
2003 Sep 05
1
samba+ldap passwd sync
...ing works great except password synchronization. It is the only thing I need left to do before my server goes into production, so I'm really looking for help. What I need is to be able to synchronize the Windows passwords with the Unix passwords. All passwords are stored in LDAP (ntPassword, lmPassword, userPassword), so there're no real Unix accounts (I use pam_ldap+nss_ldap). I read a lot of docs, tried a lot of scripts (ldapsync, ldapchpasswd...) but I cannot make it work. First, I think "passwd program" is never launched, and second, I doubt those scripts work well with FreeB...
2003 Sep 20
1
smbldap-tools updates (diffs)
...local/samba/sbin root@localhost # for i in *.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: sa...