diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-11-09 09:30:21 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-11-09 09:30:21 +0000 |
commit | 30d0680106c74901d6fc0c993c3c4770cd2efb22 (patch) | |
tree | 25bd70ff2a6e3155287c0ca1c8ca026f8298d5da /source3/rpc_server | |
parent | f9230c937b1304e6864aa020a4e102749ca6f8ae (diff) | |
download | samba-30d0680106c74901d6fc0c993c3c4770cd2efb22.tar.gz samba-30d0680106c74901d6fc0c993c3c4770cd2efb22.tar.bz2 samba-30d0680106c74901d6fc0c993c3c4770cd2efb22.zip |
Merge from 3.0:
source/passdb/pdb_get_set.c:
I agree with vl's #if 0 here, and am not quite sure what I was
thinking with regard to the original code.
Let's keep samba simple, and just remove it.
source/rpc_server/srv_netlog_nt.c:
Remove compleatly wrong comments. (There were correct, 2 years ago...)
source/intl/lang_tdb.c:
Add newline to debug message
Andrew Bartlett
(This used to be commit 2a8dbe03690b60f3d9c83de3cf6ce873aa0657bc)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index 66fa6e7678..5ba3dac669 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -581,8 +581,6 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * return NT_STATUS_INVALID_INFO_CLASS; } /* end switch */ - /* check username exists */ - rpcstr_pull(nt_username,uni_samlogon_user->buffer,sizeof(nt_username),uni_samlogon_user->uni_str_len*2,0); rpcstr_pull(nt_domain,uni_samlogon_domain->buffer,sizeof(nt_domain),uni_samlogon_domain->uni_str_len*2,0); rpcstr_pull(nt_workstation,uni_samlogon_workstation->buffer,sizeof(nt_workstation),uni_samlogon_workstation->uni_str_len*2,0); @@ -593,10 +591,6 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * fstrcpy(current_user_info.smb_name, nt_username); sub_set_smb_name(nt_username); - /* - * Convert to a UNIX username. - */ - DEBUG(5,("Attempting validation level %d for unmapped username %s.\n", q_u->sam_id.ctr->switch_value, nt_username)); status = NT_STATUS_OK; |