summaryrefslogtreecommitdiff
path: root/source3/passdb/passdb.c
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
commite87f9a29b7e695a15a6cedb36e4a48821086d3e8 (patch)
tree1e12ed9d98c4b2ceb57644ff8a5daeb2ce081ee6 /source3/passdb/passdb.c
parenta5e8ba3c76c8a340d29299d43529ea9fef2dad59 (diff)
downloadsamba-e87f9a29b7e695a15a6cedb36e4a48821086d3e8.tar.gz
samba-e87f9a29b7e695a15a6cedb36e4a48821086d3e8.tar.bz2
samba-e87f9a29b7e695a15a6cedb36e4a48821086d3e8.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 (This used to be commit 21701876dc6c59ebfc51be708a98226a00a764e0)
Diffstat (limited to 'source3/passdb/passdb.c')
-rw-r--r--source3/passdb/passdb.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index bb40e38d0b..aa378ecd6e 100644
--- a/source3/passdb/passdb.c
+++ b/source3/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());