summaryrefslogtreecommitdiffstats
path: root/source/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-05-31 02:23:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:57:01 -0500
commit318c3db4cb1c85be40b2f812f781bcf5f1da5c19 (patch)
treef21ea0396024859b95fc35186257e751b2596c78 /source/utils
parentb01026674fddb4179a7f002c13f5e341eaaa0a1c (diff)
downloadsamba-318c3db4cb1c85be40b2f812f781bcf5f1da5c19.tar.gz
samba-318c3db4cb1c85be40b2f812f781bcf5f1da5c19.tar.xz
samba-318c3db4cb1c85be40b2f812f781bcf5f1da5c19.zip
r7130: remove 'winbind enable local accounts' code from the 3.0 tree
Diffstat (limited to 'source/utils')
-rw-r--r--source/utils/net_rpc_samsync.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/source/utils/net_rpc_samsync.c b/source/utils/net_rpc_samsync.c
index fa38004fe6f..84872897fc5 100644
--- a/source/utils/net_rpc_samsync.c
+++ b/source/utils/net_rpc_samsync.c
@@ -523,13 +523,7 @@ static NTSTATUS fetch_account_info(uint32 rid, SAM_ACCOUNT_INFO *delta)
add_ret = smbrun(add_script,NULL);
DEBUG(add_ret ? 0 : 1,("fetch_account: Running the command `%s' "
"gave %d\n", add_script, add_ret));
- } else {
- DEBUG(8,("fetch_account_info: no add user/machine script. Asking winbindd\n"));
-
- /* don't need a RID allocated since the user already has a SID */
- if ( !winbind_create_user( account, NULL ) )
- DEBUG(4,("fetch_account_info: winbind_create_user() failed\n"));
- }
+ }
/* try and find the possible unix account again */
if ( !(passwd = Get_Pwnam(account)) ) {