search for: smbhash

Displaying 20 results from an estimated 42 matches for "smbhash".

Did you mean: mdhash
1997 Dec 11
0
cvs and smbdes.c
...have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ @@ -307,31 +304,31 @@ { unsigned char sp8[8] = {0x4b, 0x47, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; smbhash(p16, sp8, p14); - smbhash(p16+8, sp8, p14+7); + smbhash(p16+8, sp8, 0x53, 0x21, 0x40, 0x23, 0x24, 0x25}; + smbhash(p16, sp8, p14); + smbhash(p16 , sp8, p14 ); } void E_P24(unsigned char *p21, unsigned char *c8, unsigned char *p24) { smbhash(p24, c8, p21); -...
2005 Dec 02
1
Samba LDAP Tools and mkntpwd
...> 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" if I leave the defaults alone? -- Kevin L. Collins, MCSE Systems Manager Nesbitt Engineering, Inc.
2005 Mar 04
3
Missing rpms for samba-ldap script
...nt (really quite extensive, a rack full of servers and workstations!). When I run the script I get these messages, errors (I cut out the rpms it found or comes with): Gathering system information... Checking for perl-IO-Socket-SSL-0.92-8.k12ltsp.0.3.1.i386.rpm...not found. Checking for perl-Crypt-SmbHash-0.02-1.1.fc2.dag.noarch.rpm...not found. Checking for perl-Digest-SHA1-2.07-5.i386.rpm...not found. Checking for perl-XML-SAX-0.12-7.noarch.rpm...not found. Checking for perl-LDAP-0.31-5.noarch.rpm...not found. Checking for perl-XML-NamespaceSupport-1.08-6.noarch.rpm...not found. Checking for perl-...
2004 Aug 18
2
perl code for manipulating Samba LDAP attributes?
Since I manage the rest (unix side) of my ldap directory using Net::LDAP I was wondering if there are any perl modules/code out there to manipulate/calculate.... the Samba password attributes and the SID stuff? If no one comes forth I guess I will look at the code for smbpasswd and do it myself, but I would hate to re-invent the wheel. Jeff Saxton Sr. Support Engineer Addamark Technologies,
2005 Jul 18
1
smbldap-tools problem
Hi list, i want to install the smbldap-tools package on SLES 8. I get this error message: error: failed dependencies: perl(Crypt::SmbHash) is needed by smbldap-tools-0.9.1-1 perl(Digest::MD5) is needed by smbldap-tools-0.9.1-1 perl(Digest::SHA1) is needed by smbldap-tools-0.9.1-1 perl(Exporter) is needed by smbldap-tools-0.9.1-1 perl(File::Basename) is needed by smbldap-tools-0.9.1-1...
2005 Nov 29
1
Create rpm for Mandriva of Samba 3.0.21rc1 ?
Hi i want create the rpm of the 3.0.21rc1 release for my Mandriva. i have used the same spec of 3.0.20b but i have a small problems : Requires: perl-base >= 2:5.8.5 perl-base perl(Crypt::SmbHash) perl(Digest::MD5) perl(Digest::SHA1) perl(Exporter) perl(FindBin) perl(Getopt::Long) perl(Getopt::Std) perl(MIME::Base64) perl(Net::LDAP) perl(Net::LDAP::LDIF) Conflicts: smbldap-tools > 0.9.1 samba-server < 3.0.11-1mdk Erreur de construction de RPM: This rpm has build options ava...
2012 Aug 27
1
Centos 6.3 smbldap-tools installation issue
...n is useful : to add, modify and delete users and groups, and to change Unix and Samba : passwords. In those contexts they replace the system tools to manage users, : groups and passwords. And you can also directly install from off site # yum install perl-Crypt-SmbHash perl-Digest-SHA perl-LDAP # rpm -ivh http://download.gna.org/smbldap-tools/packages/el6/smbldap-tools-0.9.8-1.el6.noarch.rpm
2007 May 03
0
smbldap-tools Error in perl module decode.pm
...e-MapUTF8.noarch 1.09-5 dependency: config(smbldap-tools) = 0.9.2-3.fc4 provider: smbldap-tools.noarch 0.9.2-3.fc4 dependency: perl(smbldap_tools) provider: smbldap-tools.noarch 0.9.2-3.fc4 provider: samba.i386 3.0.23a-1.fc4.1 provider: samba.i386 3.0.14a-2 dependency: perl(Crypt::SmbHash) provider: perl-Crypt-SmbHash.noarch 0.12-2.fc4 dependency: samba provider: samba.i386 3.0.14a-2 provider: samba.i386 3.0.23a-1.fc4.1 dependency: perl(:MODULE_COMPAT_5.8.6) provider: perl.i386 3:5.8.6-15 provider: perl.i386 3:5.8.6-24 dependency: perl(vars) provider: perl.i3...
2010 Sep 22
1
rpcclient errors
I'm running Ubuntu 10.04 LTS and loaded (via apt-get) Samba version 2:3.4.7 as part of the effort to bring up Sambafax. A dpkg-query gives the following: # dpkg-query -l | fgrep samba ii libcrypt-smbhash-perl 0.12-3 generate LM/NT hash of a password for samba ii samba 2:3.4.7~dfsg-1ubuntu3.1 SMB/CIFS file, print, and login server for U ii samba-common 2:3.4.7~dfsg-1ubuntu3.1 common files used by both the Samba server a ii samba-c...
2004 Jun 21
3
Idealx script prerequisites?
I'm trying to setup a PDC (and later on a BDC as well) using samba 3.02a and openLDAP 2.2.13 and I'm having some trouble with the idealx scripts. When I run the command /usr/local/sbin/smbldap-useradd alex I get the message: Can't locate object method "new" via package "Net::LDAP" (perhaps you forgot to load "Net::LDAP"?) at
2003 Apr 27
2
smbpasswd via cgi
using samba and ldap - redhat 7.3 trying to work on a short cgi to update samba password (it is a url with attributes username and password). I am not very good at all with perl, so if someone can take a quick ponder and help me out, that would be great. I think that it fails in theory however, because to change other users password, you need to be root ... So I was wondering if anyone knows
2004 Nov 10
1
Program for encrypt passwords
Hello! At the University of Granada (Spain) we use a Samba Server for aprox. 1000 users and runs ok. But (there's always a but) we need to know how encript password for the smbpasswd file. I know that we can use the smbpasswd program but we need get the encrypted password in the stdout. Has someone a program than does this?? TIA.
2005 Feb 08
2
NTLM hash
I'm looking at the NTLM hash, I need to make my own. I was going to look at somehow using libsmb or something but don't really know how to. Can I do this in perl? I can make Unicode scalars and send those to md4_hex() to get the output, but I cannot get something to match what shows up in the /etc/samba/private/smbpasswd file. Ideas? Currently I try this: #!/usr/bin/perl -w use
2003 Nov 15
1
Samba and LDAP troubles
Hello. I have a LDAP database with user data. For that I use posixAccout schema. Now I installed Samba 3, and want to use it as a file server ( and wins server for network browsing of course ). after I added samba.schema to my LDAP database, LDAP wont start anymore.. then I saw that Samba needs SID in its schema. My question now is - what number should I enter for SID?? I don't use
2011 Aug 22
0
[HELP] Problem with oplocks break failed
Hi list, i'm have trouble with oplocks break failed for file xxx I'm using samba running in ubuntu natty 11.04 with separate ldap server : :~# dpkg -l | grep samba ii libcrypt-smbhash-perl 0.12-3 generate LM/NT hash of a password for samba ii samba 2:3.5.8~dfsg-1ubuntu2.2 SMB/CIFS file, print, and login server for Unix ii samba-common 2:3.5.8~dfsg-1ubuntu2.2 common files used by both the Samba server and client ii samba-c...
2019 Jul 25
3
Serverinfo Error
On 07/25/2019 11:12 AM, L. van Belle via samba wrote: > Hai, > > I've had look at you posts. > Im missing a lot of info, might be me.. > But can you get this file and run it. > https://raw.githubusercontent.com/thctlo/samba4/master/samba-collect-debug-i > nfo.sh I'm getting a 404 error on this link. -- Bob Wooldridge EDM Incorporated
2004 Jul 23
1
NT domain migration to LDAP/SAMBA
...XXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-00000000: tfairy:4294967295:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-00000000: For some reason, all the NT password information completely fails to migrate. Why? I've installed the Crypt::SmbHash module so perl can find it, which is what I thought the tools used. Is anyone else having these problems? I've been through every piece of documentation that I can find thus far, and although I believe I know what to do, no combination of steps actually seems to work properly. I've read th...
2008 Oct 28
0
samba 3.2.3: win2k join fails, xp join works
...problem still remains :( I would not to downgrade to 3.0.x but at the moment it seems to be the only solution :-/ any idea ? TIA, Simone ps. below my packages version / configuration. Packages version: samba 2:3.2.3-3 samba-common 2:3.2.3-3 smbclient 2:3.2.3-3 smbldap-tools 0.9.4-1 libcrypt-smbhash-perl 0.12-2 /etc/samba/smb.conf:: ---cut--- [global] workgroup = DOMINIO netbios name = srv-dominio server string = %h dns proxy = No bind interfaces only = Yes interfaces = lo, eth1 smb ports = 139 ### registra i logon via samba utmp = Yes utmp directory = /var/log/samba/utmp...
2007 May 11
0
BDC keeps taking over and not allowing logins from NT PDC
...collisions:0 txqueuelen:1000 RX bytes:74791511 (71.3 MiB) TX bytes:142754073 (136.1 MiB) Interrupt:169 # cat /etc/issue Ubuntu 6.10 \n \l # uname -a Linux files 2.6.17-11-server #2 SMP Tue Mar 13 23:33:44 UTC 2007 i686 GNU/Linux # dpkg -l |grep samba ii libcrypt-smbhash-perl 0.12-1 ii samba 3.0.22-1ubuntu4.1 ii samba-common 3.0.22-1ubuntu4.1
2004 Nov 20
0
smbpasswd produces INCORRECT sambaNTPasswd hash on ppc (yellowdog 4.0 on xserve G5)
...-L PDC-SMB3 -U testuser1%123456 added interface ip=192.168.1.253 bcast=192.168.1.255 nmask=255.255.255.0 Got a positive name query response from 192.168.1.5 ( 192.168.1.5 ) session setup failed: NT_STATUS_LOGON_FAILURE I thought I had resolved the problem by using smbldap-passwd, which uses Crypt::SmbHash and produces the correct sambaNTPassword, I can authenticate from the windows box and from the intel redhat box just fine, even though smbclient -L localhost -U testuser1%123456 from the Xserve fails, but alas when I try to add a windows XP box to the domain I get an access denied error. I've d...