summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--WHATSNEW.txt34
-rw-r--r--source3/rpc_server/srv_srvsvc_nt.c15
2 files changed, 38 insertions, 11 deletions
diff --git a/WHATSNEW.txt b/WHATSNEW.txt
index bcdf56c166..d705dd9fa5 100644
--- a/WHATSNEW.txt
+++ b/WHATSNEW.txt
@@ -127,6 +127,34 @@ o Kai Blin <kai@samba.org>
* make test now supports more extensive SPOOLSS testing using vlp.
* Correctly handle mixed-case hostnames in NTLMv2 authentication.
+
+o Stefan Metzmacher <metze@samba.org>
+ * Fixes for libreplace.
+ * Build fixes.
+ * Add nss_wrapper support.
+ * Start and test winbindd by 'make test'
+ * Split up child_dispatch_table into domain, idmap and locator tables
+ in winbindd.
+ * Fix for a crash bug in pidl generated client code.
+ This could have happend with [in,out,unique] pointers
+ when the clients sends a valid pointer, but the server
+ reponse with a NULL pointer (as samba-3.0.26a do for some calls).
+ * Change NTSTAUS into enum ndr_err_code in librpc/ndr.
+ * Remove unused calls in the struct based winbindd protocol.
+ * Add --configfile option to wbinfo.
+ * Convert winbind_env_set(), winbind_on() and winbind_off() into macros.
+ * Return rids and other_sids arrays in WBFLAG_PAM_INFO3_TEXT mode.
+ * Implement wbcErrorString() and wbcAuthenticateUserEx()
+ * Convert auth_winbind to use wbcAuthenticateUserEx()
+
+
+o Karolin Seeger <ks@sernet.de>
+ * Improve error messages of net subcommands.
+ * Add 'net rap file user'.
+ * Change LDAP search filter to find machine accounts which
+ are not located in the user suffix.
+
+
Original 3.2.0pre1 commits:
---------------------------
o Michael Adam <obnox@samba.org>
@@ -168,7 +196,7 @@ o Gerald (Jerry) Carter <jerry@samba.org>
using remote idmap backends.
* Fix LookupNames and LookupSids to use the same resolution
heuristics as Windows XP.
- * Fix lookups in Winbind when running nscd.
+ * Fix lockups in Winbind when running nscd.
* UPN logon support in pam_winbind.
* Add support for GNU linker scripts when build shared libraries
(based on work by Julien Cristau <jcristau@debian.org> and James
@@ -235,10 +263,6 @@ o Jiri Sasek <Jiri.Sasek@Sun.COM>
o Karolin Seeger <ks@sernet.de>
* Add deletelocalgroup and unmapunixgroup subcommand to "net sam".
* Cleanup internal passdb functions.
- * Improve error messages of net subcommands.
- * Add 'net rap file user'.
- * Change LDAP search filter to find machine accounts which
- are not located in the user suffix.
o Simo Sorce <idra@samba.org>
diff --git a/source3/rpc_server/srv_srvsvc_nt.c b/source3/rpc_server/srv_srvsvc_nt.c
index f0680a89e5..37bd204f75 100644
--- a/source3/rpc_server/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srv_srvsvc_nt.c
@@ -1216,17 +1216,20 @@ done:
WERROR _srv_net_file_enum(pipes_struct *p, SRV_Q_NET_FILE_ENUM *q_u, SRV_R_NET_FILE_ENUM *r_u)
{
+ const char *username = NULL;
+
switch ( q_u->level ) {
- case 3: {
- char *username;
- if (!(username = rpcstr_pull_unistr2_talloc(
- p->mem_ctx, q_u->username))) {
- return WERR_NOMEM;
+ case 3:
+ if (q_u->username) {
+ username = rpcstr_pull_unistr2_talloc(
+ p->mem_ctx, q_u->username);
+ if (!username) {
+ return WERR_NOMEM;
+ }
}
return net_file_enum_3(username, r_u,
get_enum_hnd(&q_u->enum_hnd));
- }
default:
return WERR_UNKNOWN_LEVEL;
}