search for: unipwd

Displaying 1 result from an estimated 1 matches for "unipwd".

Did you mean: unipd
2009 Feb 25
1
Samba4: programmatic account creation via LDAP (unicodePwd)
...I've tried using a template user that has a known password and then duplicating that users nTSecurityDescriptor, but that doesn't seem to work. I've tried creating a unicodePwd entry with the following code: my $charmap = Unicode::Map8->new('latin1') or die $!; my $unipwd = $charmap->tou(qq{"$passwd"})->byteswap()->utf16(); But that doesn't seem to work either. I was wondering if anyone working with samba4 could recommend a way to create users programmatically. If a mechanism does not exist, perhaps someone could point me in the right direc...