summaryrefslogtreecommitdiffstats
path: root/source4/scripting/bin/nsupdate-gss
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2009-10-28 14:33:40 +0100
committerBjörn Jacke <bj@sernet.de>2009-10-28 14:45:49 +0100
commit0ba004dc7df8b4b3558d7fc4512c9491aa5a646d (patch)
tree638486f881c829d5604bba8e07156ce57f9655ee /source4/scripting/bin/nsupdate-gss
parentee13e9c0becc2b4a4d3b233613d5e3e9bfb54938 (diff)
downloadsamba-0ba004dc7df8b4b3558d7fc4512c9491aa5a646d.tar.gz
samba-0ba004dc7df8b4b3558d7fc4512c9491aa5a646d.tar.xz
samba-0ba004dc7df8b4b3558d7fc4512c9491aa5a646d.zip
s3:net: fix output of net rpc trustdom list
Move some messages from stderr to stdout. When some trusting DCs were unreachable we lacked \n's on stdout which screwed up whole the output.
Diffstat (limited to 'source4/scripting/bin/nsupdate-gss')
0 files changed, 0 insertions, 0 deletions
"hl opt">.mode = 0644, .proc_handler = proc_dointvec }, { .ctl_name = 0 } }; static struct ctl_path unix_path[] = { { .procname = "net", .ctl_name = CTL_NET, }, { .procname = "unix", .ctl_name = NET_UNIX, }, { }, }; int unix_sysctl_register(struct net *net) { struct ctl_table *table; table = kmemdup(unix_table, sizeof(unix_table), GFP_KERNEL); if (table == NULL) goto err_alloc; table[0].data = &net->unx.sysctl_max_dgram_qlen; net->unx.ctl = register_net_sysctl_table(net, unix_path, table); if (net->unx.ctl == NULL) goto err_reg; return 0; err_reg: kfree(table); err_alloc: return -ENOMEM; } void unix_sysctl_unregister(struct net *net) { struct ctl_table *table; table = net->unx.ctl->ctl_table_arg; unregister_sysctl_table(net->unx.ctl); kfree(table); }