Searched refs:newpwd (Results 1 - 6 of 6) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/examples/pdb/ |
H A D | test.c | 91 static NTSTATUS testsam_update_sam_account (struct pdb_methods *methods, struct samu *newpwd) argument 101 static NTSTATUS testsam_add_sam_account (struct pdb_methods *methods, struct samu *newpwd) argument
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/bin/afppasswd/ |
H A D | afppasswd.c | 67 /* if newpwd is null, convert buf from hex to binary. if newpwd isn't 68 * null, convert newpwd to hex and save it in buf. */ 70 static void convert_passwd(char *buf, char *newpwd, const int keyfd) argument 76 if (!newpwd) { 94 if (newpwd) { 95 ecb_encrypt((C_Block *) newpwd, (C_Block *) newpwd, schedule, 104 if (newpwd) { 109 buf[j] = hextable[(newpwd[ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/passdb/ |
H A D | pdb_smbpasswd.c | 593 static char *format_new_smbpasswd_entry(const struct smb_passwd *newpwd) argument 599 new_entry_length = strlen(newpwd->smb_name) + 1 + 15 + 1 + 32 + 1 + 32 + 1 + 604 newpwd->smb_name )); 608 slprintf(new_entry, new_entry_length - 1, "%s:%u:", newpwd->smb_name, (unsigned)newpwd->smb_userid); 611 pdb_sethexpwd(p, newpwd->smb_passwd, newpwd->acct_ctrl); 616 pdb_sethexpwd(p, newpwd->smb_nt_passwd, newpwd->acct_ctrl); 623 pdb_encode_acct_ctrl(newpwd 633 add_smbfilepwd_entry(struct smbpasswd_privates *smbpasswd_state, struct smb_passwd *newpwd) argument [all...] |
H A D | pdb_tdb.c | 1237 static BOOL tdb_update_samacct_only( struct samu* newpwd, int flag ) argument 1247 if ( (data.dsize=init_buffer_from_sam (&buf, newpwd, False)) == -1 ) { 1254 fstrcpy(name, pdb_get_username(newpwd)); 1259 pdb_get_user_rid(newpwd))); 1288 static BOOL tdb_update_ridrec_only( struct samu* newpwd, int flag ) argument 1294 fstrcpy(name, pdb_get_username(newpwd)); 1302 slprintf(keystr, sizeof(keystr)-1, "%s%.8x", RIDPREFIX, pdb_get_user_rid(newpwd)); 1322 static BOOL tdb_update_sam(struct pdb_methods *my_methods, struct samu* newpwd, int flag) argument 1331 if ( !pdb_get_group_rid(newpwd) ) { 1333 "without a primary group RID\n", pdb_get_username(newpwd))); 1365 tdbsam_update_sam_account(struct pdb_methods *my_methods, struct samu *newpwd) argument 1377 tdbsam_add_sam_account(struct pdb_methods *my_methods, struct samu *newpwd) argument [all...] |
H A D | pdb_ldap.c | 1530 struct samu *newpwd, char *dn, 1537 if (!newpwd || !dn) { 1574 if (!(pdb_get_acct_ctrl(newpwd)&(ACB_WSTRUST|ACB_SVRTRUST|ACB_DOMTRUST)) && 1576 need_update(newpwd, PDB_PLAINTEXT_PW) && 1577 (pdb_get_plaintext_passwd(newpwd)!=NULL)) { 1595 if (push_utf8_allocate(&utf8_password, pdb_get_plaintext_passwd(newpwd)) == (size_t)-1) { 1635 pdb_get_plaintext_passwd(newpwd)); 1651 pdb_get_username(newpwd), ldap_err2string(rc), ld_error?ld_error:"unknown")); 1656 DEBUG(3,("ldapsam_modify_entry: LDAP Password changed for user %s\n",pdb_get_username(newpwd))); 1658 DEBUG(100,("ldapsam_modify_entry: LDAP Password changed to %s\n",pdb_get_plaintext_passwd(newpwd))); 1529 ldapsam_modify_entry(struct pdb_methods *my_methods, struct samu *newpwd, char *dn, LDAPMod **mods, int ldap_op, BOOL (*need_update)(const struct samu *, enum pdb_elements)) argument 1746 ldapsam_update_sam_account(struct pdb_methods *my_methods, struct samu * newpwd) argument 1905 ldapsam_add_sam_account(struct pdb_methods *my_methods, struct samu * newpwd) argument [all...] |
H A D | pdb_interface.c | 1139 static NTSTATUS pdb_default_add_sam_account (struct pdb_methods *methods, struct samu *newpwd) argument 1144 static NTSTATUS pdb_default_update_sam_account (struct pdb_methods *methods, struct samu *newpwd) argument 1159 static NTSTATUS pdb_default_update_login_attempts (struct pdb_methods *methods, struct samu *newpwd, BOOL success) argument
|
Completed in 74 milliseconds