diff options
author | Gerald Carter <jerry@samba.org> | 2001-04-12 05:25:10 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2001-04-12 05:25:10 +0000 |
commit | e1955e0e6a7a1b8d8863e9c2977baf38ae6f815e (patch) | |
tree | 38c9bff365a9fdf27787e58e5a0c184b237f23c3 /source/web | |
parent | 931ff7820b60ece475f9a67ecaab937dcdb13163 (diff) | |
download | samba-e1955e0e6a7a1b8d8863e9c2977baf38ae6f815e.tar.gz |
merge from HEAD
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/swat.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/web/swat.c b/source/web/swat.c index cd11afc32a3..0497eeb12a2 100644 --- a/source/web/swat.c +++ b/source/web/swat.c @@ -161,13 +161,16 @@ static void show_parameter(int snum, struct parm_struct *parm) { int i; void *ptr = parm->ptr; + char* str; if (parm->class == P_LOCAL && snum >= 0) { ptr = lp_local_ptr(snum, ptr); } + str = stripspace(parm->label); + strupper (str); printf("<tr><td><A HREF=\"/swat/help/smb.conf.5.html#%s\" target=\"docs\">Help</A> %s</td><td>", - stripspace(parm->label), parm->label); + str, parm->label); switch (parm->type) { case P_CHAR: @@ -649,7 +652,7 @@ static BOOL change_password(const char *remote_machine, char *user_name, return ret; } - if(!initialize_password_db()) { + if(!initialize_password_db(True)) { printf("Can't setup password database vectors.\n<p>"); return False; } @@ -873,7 +876,7 @@ static void printers_page(void) printf("<H3>Important Note:</H3>\n"); printf("Printer names marked with [*] in the Choose Printer drop-down box "); printf("are autoloaded printers from "); - printf("<A HREF=\"/swat/help/smb.conf.5.html#printcapname\" target=\"docs\">Printcap Name</A>.\n"); + printf("<A HREF=\"/swat/help/smb.conf.5.html#PRINTCAPNAME\" target=\"docs\">Printcap Name</A>.\n"); printf("Attempting to delete these printers from SWAT will have no effect.\n"); if (cgi_variable("Advanced") && !cgi_variable("Basic")) |