summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-12-31 00:09:15 +0000
committerGerald Carter <jerry@samba.org>2001-12-31 00:09:15 +0000
commit85382100e41c4c97261c13980fca1fd92dc13595 (patch)
tree4b51527016a2045d5efc10ba1c9e4b341ea0310b
parent7fdb821ef32459b6cdcdf6f7656d14804d4c94ed (diff)
downloadsamba-85382100e41c4c97261c13980fca1fd92dc13595.tar.gz
samba-85382100e41c4c97261c13980fca1fd92dc13595.tar.bz2
samba-85382100e41c4c97261c13980fca1fd92dc13595.zip
remove samlogon_user
(This used to be commit a5f4559b2aade54f1c0f717eea21881f482faff2)
-rw-r--r--source3/passdb/pdb_ldap.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 408b22a629..2c5c9756c5 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -61,9 +61,6 @@ struct ldap_enum_info {
static struct ldap_enum_info global_ldap_ent;
-extern pstring samlogon_user;
-extern BOOL sam_logon_in_ssb;
-
/*******************************************************************
open a connection to the ldap server.
@@ -422,11 +419,9 @@ static BOOL init_sam_from_ldap (SAM_ACCOUNT * sampass,
get_single_attribute(ldap_struct, entry, "uid", username);
DEBUG(2, ("Entry found for user: %s\n", username));
- pstrcpy(samlogon_user, username);
-
pstrcpy(nt_username, username);
- pstrcpy(domain, lp_workgroup());
+ pstrcpy(domain, lp_workgroup());
get_single_attribute(ldap_struct, entry, "pwdLastSet", temp);
pass_last_set_time = (time_t) strtol(temp, NULL, 16);
@@ -452,8 +447,6 @@ static BOOL init_sam_from_ldap (SAM_ACCOUNT * sampass,
* that fits your needs; using cn then displayName rather than 'userFullName'
*/
- sam_logon_in_ssb = True;
-
if (!get_single_attribute(ldap_struct, entry, "cn", fullname)) {
get_single_attribute(ldap_struct, entry, "displayName", fullname);
}
@@ -495,8 +488,6 @@ static BOOL init_sam_from_ldap (SAM_ACCOUNT * sampass,
else
pdb_set_profile_path(sampass, profile_path, True);
- sam_logon_in_ssb = False;
-
get_single_attribute(ldap_struct, entry, "description", acct_desc);
get_single_attribute(ldap_struct, entry, "userWorkstations", workstations);
get_single_attribute(ldap_struct, entry, "rid", temp);