svn commit: samba r24853 - in branches/SAMBA_3_2/source/utils: .
mimir at samba.org
mimir at samba.org
Fri Aug 31 21:25:55 GMT 2007
Author: mimir
Date: 2007-08-31 21:25:53 +0000 (Fri, 31 Aug 2007)
New Revision: 24853
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24853
Log:
Rename function as Jerry asked.
s/net_use_upn_machine_account/net_use_krb_machine_account/
rafal
Modified:
branches/SAMBA_3_2/source/utils/net.c
branches/SAMBA_3_2/source/utils/net_ads.c
Changeset:
Modified: branches/SAMBA_3_2/source/utils/net.c
===================================================================
--- branches/SAMBA_3_2/source/utils/net.c 2007-08-31 19:06:30 UTC (rev 24852)
+++ branches/SAMBA_3_2/source/utils/net.c 2007-08-31 21:25:53 UTC (rev 24853)
@@ -341,10 +341,10 @@
}
/****************************************************************************
- Use the local machine account (upn) and password for this session.
+ Use the local machine account (krb) and password for this session.
****************************************************************************/
-int net_use_upn_machine_account(void)
+int net_use_krb_machine_account(void)
{
char *user_name = NULL;
@@ -1066,7 +1066,7 @@
/* it is very useful to be able to make ads queries as the
machine account for testing purposes and for domain leave */
- net_use_upn_machine_account();
+ net_use_krb_machine_account();
}
if (!opt_password) {
Modified: branches/SAMBA_3_2/source/utils/net_ads.c
===================================================================
--- branches/SAMBA_3_2/source/utils/net_ads.c 2007-08-31 19:06:30 UTC (rev 24852)
+++ branches/SAMBA_3_2/source/utils/net_ads.c 2007-08-31 21:25:53 UTC (rev 24853)
@@ -882,7 +882,7 @@
return NT_STATUS_ACCESS_DENIED;
}
- net_use_upn_machine_account();
+ net_use_krb_machine_account();
status = ads_startup(True, &ads);
if (!ADS_ERR_OK(status)) {
@@ -2187,7 +2187,7 @@
return -1;
}
- net_use_upn_machine_account();
+ net_use_krb_machine_account();
use_in_memory_ccache();
More information about the samba-cvs
mailing list