Don't #ifdef an AFS option with WITH_ADS. Thanks, jerry!
authorVolker Lendecke <vlendec@samba.org>
Wed, 24 Sep 2003 06:42:32 +0000 (06:42 +0000)
committerVolker Lendecke <vlendec@samba.org>
Wed, 24 Sep 2003 06:42:32 +0000 (06:42 +0000)
Volker
(This used to be commit a6c54cbe205a6882d49fc77c04ed21b4f1de4396)

source3/param/loadparm.c

index a334590e512de5805cb5e43c96d34c5e048b664a..0efa2796c36e08f74b7c22c9633efa2d0a16b35f 100644 (file)
@@ -764,8 +764,8 @@ static struct parm_struct parm_table[] = {
        {"workgroup", P_USTRING, P_GLOBAL, &Globals.szWorkgroup, handle_workgroup, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD}, 
 #ifdef WITH_ADS
        {"realm", P_USTRING, P_GLOBAL, &Globals.szRealm, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD}, 
-       {"afs username map", P_USTRING, P_GLOBAL, &Globals.szAfsUsernameMap, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD}, 
 #endif
+       {"afs username map", P_USTRING, P_GLOBAL, &Globals.szAfsUsernameMap, NULL, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD}, 
        {"netbios name", P_USTRING, P_GLOBAL, &Globals.szNetbiosName, handle_netbios_name, NULL, FLAG_BASIC | FLAG_ADVANCED | FLAG_WIZARD}, 
        {"netbios aliases", P_LIST, P_GLOBAL, &Globals.szNetbiosAliases, handle_netbios_aliases,  NULL, FLAG_ADVANCED}, 
        {"netbios scope", P_USTRING, P_GLOBAL, &Globals.szNetbiosScope, handle_netbios_scope,  NULL, FLAG_ADVANCED},