Bug 4849 - net ads dns register gives invalid usage information
Summary: net ads dns register gives invalid usage information
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: net utility (show other bugs)
Version: 3.0.25a
Hardware: All All
: P3 normal
Target Milestone: none
Assignee: Jim McDonough
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-31 11:09 UTC by Matthijs Kooijman
Modified: 2007-07-31 14:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs Kooijman 2007-07-31 11:09:47 UTC
net ads dns register doesn't take any arguments anymore.

	# net ads dns register hostname.domain 10.0.0.1
	net ads dns register <name> <ip>

These arguments have been removed in r21194 (or actually, they got sync'd into SAMBA_3_0_25 at that rev).

The offending code is net_ads.c:1722 in net_ads_dns_register()

        if (argc > 0) {
                d_fprintf(stderr, "net ads dns register <name> <ip>\n");
                return -1;
        }
Comment 1 Volker Lendecke 2007-07-31 14:16:14 UTC
Fixed with r24107.

Thanks,

Volker