Bug 13572 - samba_gpoupdate tracebacks
Summary: samba_gpoupdate tracebacks
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 major (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-14 05:51 UTC by Amit Kumar
Modified: 2018-08-14 05:51 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 Amit Kumar 2018-08-14 05:51:23 UTC
samba_gpoupdate crashes if passed without argument.
Instead, it should display usage of the command.

# samba_gpoupdate 
Traceback (most recent call last):
  File "/usr/sbin/samba_gpoupdate", line 176, in <module>
    apply_gp(lp, creds, test_ldb, logger, store, gp_extensions)
  File "/usr/sbin/samba_gpoupdate", line 62, in apply_gp
    dc_hostname = get_dc_hostname(creds, lp)
  File "/usr/sbin/samba_gpoupdate", line 49, in get_dc_hostname
    nbt.NBT_SERVER_DS))
samba.NTSTATUSError: (3221225524, 'The object name is not found.')