search for: to_unicod

Displaying 3 results from an estimated 3 matches for "to_unicod".

Did you mean: to_unicode
2011 Feb 22
1
problems with createrepo
...ackages) File "/usr/lib/python2.4/site-packages/createrepo/__init__.py", line 532, in writeMetadataDocs self.primaryfile.write(po.xml_dump_primary_metadata()) File "/usr/lib/python2.4/site-packages/yum/packages.py", line 1032, in xml_dump_primary_metadata msg += misc.to_unicode(self._dump_base_items()) File "/usr/lib/python2.4/site-packages/yum/packages.py", line 866, in _dump_base_items msg = """ UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 83: ordinal not in range(128) I didn't change anything on...
2005 Feb 08
2
NTLM hash
...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 strict; use Digest::MD4 qw(md4_hex); use Unicode::Map; my $map = new Unicode::Map("ISO-8859-1"); print md4_hex($map->to_unicode("password")); print "\n"; # end /djb
2004 Jan 01
1
[PATCH] Add winbind-backed NTLMSSP support to Cyrus-SASL
...word; /* user password */ + unsigned int free_password; /* set if we need to free password */ + unsigned int sent_password; /* set if we have told ntlm_auth the password already */ + const char *authid; + const char *domain; +}; -/* copy src to dst as unicode (in Intel byte-order) */ -static void to_unicode(u_char *dst, const char *src, int len) -{ - for (; len; len--) { - *dst++ = *src++; - *dst++ = 0; - } -} +static int fork_child(struct ntlm_context *context, + const char *prog, + char * const argv[], + const sasl_utils_t *utils) -/* copy unicode src (in Intel byte-ord...