summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-11-07 07:19:10 +0000
committerJeremy Allison <jra@samba.org>2002-11-07 07:19:10 +0000
commitbf3eda82499c532d6d859673a7bae21e4db16d34 (patch)
treedc2beede037325a9abbf1e56c23962225125eb7c /source3/passdb/passdb.c
parentf3fe0aa48c0b86dff4e572a8e76c8fa3b1ea1d3a (diff)
downloadsamba-bf3eda82499c532d6d859673a7bae21e4db16d34.tar.gz
samba-bf3eda82499c532d6d859673a7bae21e4db16d34.tar.bz2
samba-bf3eda82499c532d6d859673a7bae21e4db16d34.zip
Jeremy the janitor again... keeping 3.0 in sync with tridge's changes this
time. Jeremy. (This used to be commit 3803324d3d49f81ef0a82c4a9fedae70d32cb409)
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 4ce5b93abd..de737f7df7 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -42,6 +42,9 @@ static void pdb_fill_default_sam(SAM_ACCOUNT *user)
{
ZERO_STRUCT(user->private); /* Don't touch the talloc context */
+ /* no initial methods */
+ user->methods = NULL;
+
/* Don't change these timestamp settings without a good reason.
They are important for NT member server compatibility. */