summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-12-15 18:39:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:51 -0500
commit6f91e3a8629de97468357339f68d789ab01814ce (patch)
tree31c6878769c0ebfdc7dcf15efdafddf14c432e7f /source3/rpc_server/srv_samr_nt.c
parent91efc453ab420d51998e159d14264cc24be71558 (diff)
downloadsamba-6f91e3a8629de97468357339f68d789ab01814ce.tar.gz
samba-6f91e3a8629de97468357339f68d789ab01814ce.tar.bz2
samba-6f91e3a8629de97468357339f68d789ab01814ce.zip
r12262: * patch from Brian Moran to fix segv in eventlogadm when not eventlogs
are listed in smb.conf * initialize the local group description in set_alias_info() (This used to be commit 58f8b42069a69c0b61da2609e5706a6c0d512e09)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 880e1db388..c90b4d3660 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -4516,6 +4516,8 @@ NTSTATUS _samr_set_aliasinfo(pipes_struct *p, SAMR_Q_SET_ALIASINFO *q_u, SAMR_R_
ctr->alias.info3.description.string,
sizeof(info.acct_desc)-1 );
}
+ else
+ fstrcpy( info.acct_desc, "" );
break;
default:
return NT_STATUS_INVALID_INFO_CLASS;