diff options
author | Jean-François Micouleau <jfm@samba.org> | 2001-12-06 13:09:15 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2001-12-06 13:09:15 +0000 |
commit | e0066d2dd4d9a657d1fbcb474e66a304a64e2a31 (patch) | |
tree | f8b355b557e836a275cd427b967801c50b2b9ca9 /source3/smbd/message.c | |
parent | 0069985ce3e37ac35b4a3ba9fb8d58ceae0be152 (diff) | |
download | samba-e0066d2dd4d9a657d1fbcb474e66a304a64e2a31.tar.gz |
again an intrusive patch:
- removed the ugly as hell sam_logon_in_ssb variable, I changed a bit the
definition of standard_sub_basic() to cope with that.
- removed the smb.conf: 'domain admin group' and 'domain guest group'
parameters ! We're not playing anymore with the user's group RIDs !
- in get_domain_user_groups(), if the user's gid is a group, put it first
in the group RID list.
I just have to write an HOWTO now ;-)
J.F.
(This used to be commit fef52c4b96c987115fb1818c00c2352c67790e50)
Diffstat (limited to 'source3/smbd/message.c')
-rw-r--r-- | source3/smbd/message.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/smbd/message.c b/source3/smbd/message.c index 7cc53e082c4..a3625e37168 100644 --- a/source3/smbd/message.c +++ b/source3/smbd/message.c @@ -26,6 +26,8 @@ #include "includes.h" +extern userdom_struct current_user_info; + /* look in server.c for some explanation of these variables */ static char msgbuf[1600]; static int msgpos; @@ -84,7 +86,7 @@ static void msg_deliver(void) pstrcpy(s,lp_msg_command()); pstring_sub(s,"%f",alpha_strcpy(alpha_msgfrom,msgfrom,NULL,sizeof(alpha_msgfrom))); pstring_sub(s,"%t",alpha_strcpy(alpha_msgto,msgto,NULL,sizeof(alpha_msgto))); - standard_sub_basic(s); + standard_sub_basic(current_user_info.smb_name, s); pstring_sub(s,"%s",name); smbrun(s,NULL); } |