Hello 

"You cannnot currently do this via tools, but see 
discussions on this list for examples of code that can set the magic 
flags to allow this." 

I m sorry but I dont find the "magic" code for injected {SSHA}password when I 
create user ? 

I extract user password from LDAP Zimbra for syncro with SAMBA4 AD ... 

My english is realy poor ... I'm sorry ! 

Can you help me ? 

Thank you 


-- 


        Ville de Gières 
        Bruno Defrance 
technicien cartographe SIG / technicien informatique 
Mairie de Gières 
04 76 89 36 36 


----- Mail original -----

De: "Andrew Bartlett" <abart...@samba.org> 
À: "sergio.conrad" <sergio.con...@laposte.net> 
Cc: samba@lists.samba.org 
Envoyé: Mercredi 16 Janvier 2013 12:05:56 
Objet: Re: [Samba] samba 4 samba-tool user encrypted password 

On Wed, 2013-01-16 at 10:41 +0100, sergio.conrad wrote: 
> Hello, 
> 
> thanks with the good job with samba 4. 
> I was wondering, is there a possibility to use an already encrypted password 
> like sambaNTPassword or {SSHA} encrypted password with samba-tool user 
> command ? 

We need the plaintext because we need to make not only arcfour-hmac-md5 
key (the unicodePwd, the NT hash), but also AES keys and (if configured) 
DES keys. 

You can set only the unicodePwd if you must, to the NT hash value, but 
not a {SSHA} value. You cannnot currently do this via tools, but see 
discussions on this list for examples of code that can set the magic 
flags to allow this. 

Andrew Bartlett 

-- 
Andrew Bartlett http://samba.org/~abartlet/ 
Authentication Developer, Samba Team http://samba.org 


-- 
To unsubscribe from this list go to the following URL and read the 
instructions: https://lists.samba.org/mailman/options/samba 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to