summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-05-02 08:03:25 +0000
committerSimo Sorce <idra@samba.org>2003-05-02 08:03:25 +0000
commit21701876dc6c59ebfc51be708a98226a00a764e0 (patch)
tree6a6b09058bf90d34f60836434d458042401ebb7f /source/passdb
parente954ca2ce8ec6b36794585c3bc948140cf9e7947 (diff)
downloadsamba-21701876dc6c59ebfc51be708a98226a00a764e0.tar.gz
samba-21701876dc6c59ebfc51be708a98226a00a764e0.tar.xz
samba-21701876dc6c59ebfc51be708a98226a00a764e0.zip
shouldn't wellknown group be well.. ..WKN_GRP ?
make a new sam_Account contain our domain by default, windows will complain on logon otherwise. fix stupid typo in idmap_util.c
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/passdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/passdb/passdb.c b/source/passdb/passdb.c
index bb40e38d0bd..aa378ecd6e0 100644
--- a/source/passdb/passdb.c
+++ b/source/passdb/passdb.c
@@ -291,8 +291,7 @@ NTSTATUS pdb_init_sam_new(SAM_ACCOUNT **new_sam_acct, const char *username)
return nt_status;
}
- /* this is a hack this thing should not be set
- here --SSS */
+ pdb_set_domain (*new_sam_acct, lp_workgroup(), PDB_DEFAULT);
/* set Domain Users by default ! */
sid_copy(&g_sid, get_global_sam_sid());