Any idea what that first crash was about? I did notice the tool is a bit
fragile, I got weird errors when I forgot to authenticate first, for
example. And in noble I also hit this, which I need to fix:

https://bugs.launchpad.net/ubuntu/+source/samba/+bug/2088094

# samba-tool gpo manage motd set {31B2F340-016D-11D2-945F-00C04FB984F9} 
"Welcome" -U Administrator
WARNING: Using passwords on command line is insecure. Installing the 
setproctitle python module will hide these from shortly after program start.
Password for [EXAMPLE\Administrator]:
ERROR(<class 'AttributeError'>): uncaught exception - 'ConfigParser' object has 
no attribute 'readfp'
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 279, in 
_run
    return self.run(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 3838, in run
    reg.increment_gpt_ini(machine_changed=True)
  File "/usr/lib/python3/dist-packages/samba/policies.py", line 177, in 
increment_gpt_ini
    parser.parse(data)
  File "/usr/lib/python3/dist-packages/samba/gp_parse/gp_ini.py", line 112, in 
parse
    super(GPTIniParser, self).parse(contents)
  File "/usr/lib/python3/dist-packages/samba/gp_parse/gp_ini.py", line 41, in 
parse
    self.ini_conf.readfp(StringIO(contents.decode(self.encoding)))
    ^^^^^^^^^^^^^^^^^^^^

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078854

Title:
  samba-gpupdate drops segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/2078854/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to