Bug 6336 - "net groupmap set" always cause segmentation fault
Summary: "net groupmap set" always cause segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.3
Classification: Unclassified
Component: User & Group Accounts (show other bugs)
Version: 3.3.4
Hardware: x86 Linux
: P3 minor
Target Milestone: ---
Assignee: Karolin Seeger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 01:45 UTC by TAKAHASHI Motonobu
Modified: 2009-05-07 08:42 UTC (History)
0 users

See Also:
kai: review+


Attachments
propsed patch (1011 bytes, patch)
2009-05-07 03:14 UTC, Volker Lendecke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description TAKAHASHI Motonobu 2009-05-07 01:45:10 UTC
"net groupmap set" always cause segmentation fault:

-----
# /usr/local/samba/bin/net groupmap set sambag3 -C test -D
Segmentation fault
-----

While "net groupmap modify" works well: 

-----
#  /usr/local/samba/bin/net groupmap modify ntgroup=sambag3 -C test type=domain
Updated mapping entry for sambag3
-----

Level 10 log says nothing about that...
Comment 1 Volker Lendecke 2009-05-07 03:14:27 UTC
Created attachment 4127 [details]
propsed patch
Comment 2 Kai Blin 2009-05-07 04:22:46 UTC
Looks good.
Comment 3 Karolin Seeger 2009-05-07 04:42:20 UTC
Can you confirm that the attached patch fixes the issue?

Thanks!
Comment 4 TAKAHASHI Motonobu 2009-05-07 08:31:12 UTC
I checked this patch #1 againt Samba 3.3.4 and found the bug is fixed. Thanks!
Comment 5 Karolin Seeger 2009-05-07 08:42:35 UTC
Thanks a lot!

Patch is upstream and will be included in 3.3.5.