diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-10-17 08:54:19 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-10-17 08:54:19 +0000 |
commit | b728042334f67738fd1a6fdd03e619bdb78fe06a (patch) | |
tree | 2ae5e7d47a8c6f67789f671bc4ea3ea4a4546d72 /source3/param | |
parent | d731149a41d7563ab99acd3d3d20fff899e7de8f (diff) | |
download | samba-b728042334f67738fd1a6fdd03e619bdb78fe06a.tar.gz samba-b728042334f67738fd1a6fdd03e619bdb78fe06a.tar.bz2 samba-b728042334f67738fd1a6fdd03e619bdb78fe06a.zip |
added basic NTLMSSP support in smbd. This is still quite rough, and
loses things like username mapping. I wanted to get this in then
discuss it a bit to see how we want to split up the existing
session setup code
(This used to be commit b74fda69bf23207c26d8b2af23910d8f2eb89875)
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 80c9411fb0..f6abda4ac9 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -113,6 +113,7 @@ typedef struct char *szPasswordServer; char *szSocketOptions; char *szWorkGroup; + char *szRealm; char **szDomainAdminGroup; char **szDomainGuestGroup; char *szUsernameMap; @@ -650,6 +651,7 @@ static struct parm_struct parm_table[] = { {"path", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, FLAG_BASIC | FLAG_SHARE | FLAG_PRINT}, {"directory", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, 0}, {"workgroup", P_USTRING, P_GLOBAL, &Globals.szWorkGroup, NULL, NULL, FLAG_BASIC}, + {"realm", P_USTRING, P_GLOBAL, &Globals.szRealm, NULL, NULL, FLAG_BASIC}, {"netbios name", P_UGSTRING, P_GLOBAL, global_myname, handle_netbios_name, NULL, FLAG_BASIC}, {"netbios aliases", P_LIST, P_GLOBAL, &Globals.szNetbiosAliases, NULL, NULL, 0}, {"netbios scope", P_UGSTRING, P_GLOBAL, global_scope, NULL, NULL, 0}, @@ -1198,11 +1200,6 @@ static void init_globals(void) string_set(&Globals.szPasswdProgram, ""); string_set(&Globals.szPrintcapname, PRINTCAP_NAME); string_set(&Globals.szLockDir, LOCKDIR); -#ifdef WITH_UTMP - string_set(&Globals.szUtmpDir, ""); - string_set(&Globals.szWtmpDir, ""); - Globals.bUtmp = False; -#endif string_set(&Globals.szSocketAddress, "0.0.0.0"); pstrcpy(s, "Samba "); pstrcat(s, VERSION); @@ -1465,6 +1462,7 @@ FN_GLOBAL_STRING(lp_passwd_chat, &Globals.szPasswdChat) FN_GLOBAL_STRING(lp_passwordserver, &Globals.szPasswordServer) FN_GLOBAL_STRING(lp_name_resolve_order, &Globals.szNameResolveOrder) FN_GLOBAL_STRING(lp_workgroup, &Globals.szWorkGroup) +FN_GLOBAL_STRING(lp_realm, &Globals.szRealm) FN_GLOBAL_STRING(lp_username_map, &Globals.szUsernameMap) #ifdef USING_GROUPNAME_MAP FN_GLOBAL_STRING(lp_groupname_map, &Globals.szGroupnameMap) |