1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00

r26540: Revert my previous commit after concerns raised by Andrew.

(This used to be commit 6ac86f8be7)
This commit is contained in:
Jelmer Vernooij
2007-12-20 00:02:15 +01:00
committed by Stefan Metzmacher
parent 3e75f222bc
commit 0500b87092
37 changed files with 103 additions and 103 deletions

View File

@ -197,7 +197,7 @@ static int ejs_net_deleteuser(MprVarHandle eid, int argc, char **argv)
}
/* domain where the account is to be deleted */
userman_domain = (const char*)mprGetThisPtr(eid, "domain");
userman_domain = (struct libnet_context *)mprGetThisPtr(eid, "domain");
if (!userman_domain) {
ejsSetErrorMsg(eid, "domain property returns null pointer");
goto done;
@ -260,7 +260,7 @@ static int ejs_net_userinfo(MprVarHandle eid, int argc, char **argv)
}
/* domain where the user account is to be queried */
userman_domain = (const char *)mprGetThisPtr(eid, "domain");
userman_domain = (struct libnet_context *)mprGetThisPtr(eid, "domain");
if (userman_domain == NULL) {
ejsSetErrorMsg(eid, "domain property returns null pointer");
return -1;