[Samba] smbpasswd to LDAP

Matt Lung matt.lung at midwest-tool.com
Fri Mar 18 16:38:54 GMT 2005


Quoting Paul Gienger <pgienger at ae-solutions.com>:

>
>
> >>>mess.  My question is Shouldn't I somehow be able to insert samba
> passwords
> >>>
> >>>
> >>into
> >>
> >>
> >>>the LDAP database and move on?  Or is it just past that point now?
> >>>
> >>>
> >>Well, you can do one of two things, as I see it:
> >>1. Try to run pdbedit with import/export flags and point it at your
> >>password file.  Note that I don't know what this will do with existing
> >>entries' data.
> >>
> >>
> >
> >Will not work.  All user passwords are already in LDAP in the current
> server.
> >
> >
> I don't think I was clear here, I didn't say to point it at your
> smbpasswd file, instead I said passsword file.  You already stated that
> you didn't have the windows passwords in LDAP so there shouldn't be any
> overlap there.  My concern was how it would handle if you had somehow
> gotten the sambaSamAccount objectClass on the users already.

I really do not follow what you suggested I try with the pdbedit command.  All
I'm interested in is the LM and NT hashes inside of the sambapassword file on
my production server.  How would the pdbedit command help me get those LM and
NT hashes into my LDAP database on my new server?

>
> --
> Paul Gienger                    Office: 701-281-1884
> Applied Engineering Inc.
> Systems Architect               Fax:    701-281-1322
> URL: www.ae-solutions.com       mailto: pgienger at ae-solutions.com
>
>
>


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the samba mailing list