[Samba] smbpasswd to LDAP

Matt Lung matt.lung at midwest-tool.com
Fri Mar 18 14:56:55 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.

> 2. Grab the password hashes out of the file and manually insert them.

This did work.  I'll have to write a script to take care of this for our site
here.  Thanks for all the help.

>
> Naturally 1 would be easier.
>
>
> --
> 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