diff options
author | Gerald Carter <jerry@samba.org> | 2003-07-03 03:56:16 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-07-03 03:56:16 +0000 |
commit | a31a2c159cd51112abdbe230c7a4df743fe14288 (patch) | |
tree | 6f699b3ca55f05125578a8a78ba19d85ac65a17d /source3/rpc_server | |
parent | 230724d4e3137ffef8136c4cc0b1738833472c22 (diff) | |
download | samba-a31a2c159cd51112abdbe230c7a4df743fe14288.tar.gz samba-a31a2c159cd51112abdbe230c7a4df743fe14288.tar.bz2 samba-a31a2c159cd51112abdbe230c7a4df743fe14288.zip |
well this was easy...
When winbindd is running on a PDC the SAM_ACCOUNT for a trusted user
has a username of DOMAIN\user. Make sure to trim the domain part
from the username when filling in the net_sam_logon reply.
This fixes the browsing issues i was seen across domain trusts.
(This used to be commit 62e36e6ede067ace23f5473d04917c7eeedf07e2)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_netlog_nt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c index fa19708773..0dcdf39158 100644 --- a/source3/rpc_server/srv_netlog_nt.c +++ b/source3/rpc_server/srv_netlog_nt.c @@ -732,8 +732,7 @@ NTSTATUS _net_sam_logon(pipes_struct *p, NET_Q_SAM_LOGON *q_u, NET_R_SAM_LOGON * init_net_user_info3(p->mem_ctx, usr_info, user_rid, - group_rid, - + group_rid, pdb_get_username(sampw), pdb_get_fullname(sampw), pdb_get_homedir(sampw), |