git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7b5354
)
The new plugable password backend system needs to be initialised after
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 26 Jan 2002 06:16:36 +0000
(06:16 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 26 Jan 2002 06:16:36 +0000
(06:16 +0000)
lp_load().
Andrew Bartlett
(This used to be commit
168c712bf3b8be19e6e72b7bf4563ed3ae87c176
)
source3/utils/smbgroupedit.c
patch
|
blob
|
history
diff --git
a/source3/utils/smbgroupedit.c
b/source3/utils/smbgroupedit.c
index f32f7b712911a6ad446f569bffa22a52f9218d5e..d6b407fcce315ec6282efab4128e1778db1f0733 100644
(file)
--- a/
source3/utils/smbgroupedit.c
+++ b/
source3/utils/smbgroupedit.c
@@
-239,17
+239,17
@@
int main (int argc, char **argv)
return 0;
}
- if(!initialize_password_db(True)) {
- fprintf(stderr, "Can't setup password database vectors.\n");
- exit(1);
- }
-
if (!lp_load(dyn_CONFIGFILE,True,False,False)) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
dyn_CONFIGFILE);
exit(1);
}
+ if(!initialize_password_db(True)) {
+ fprintf(stderr, "Can't setup password database vectors.\n");
+ exit(1);
+ }
+
if(pdb_generate_sam_sid()==False) {
printf("Can not read machine SID\n");
return 0;