Bug 13151 - Freed frame error from "net usershare add"
Freed frame error from "net usershare add"
Status: ASSIGNED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools
4.6.8
Other Linux
: P5 normal
: ---
Assigned To: Jeremy Allison
Samba QA Contact
https://www.raspberrypi.org/forums/vi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-11-18 18:08 UTC by Frank Breitling
Modified: 2017-11-21 00:14 UTC (History)
2 users (show)

See Also:


Attachments
Proposed git-am fix for master. (1.06 KB, patch)
2017-11-21 00:14 UTC, Jeremy Allison
jra: review? (asn)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Breitling 2017-11-18 18:08:13 UTC
When using the net Tool for administration of Samba and remote CIFS servers, I get this error:

raspberrypi:~$ net usershare add
net usershare add [-l|--long] <sharename> <path> [<comment>] [<acl>] [<guest_ok=[y|n]>]
        Adds the specified share name for this user.
        <sharename> is the new share name.
        <path> is the path on the filesystem to export.
        <comment> is the optional comment for the new share.
        <acl> is an optional share acl in the format "DOMAIN\name:X,DOMAIN\name:X,...."
        <guest_ok=y> if present sets "guest ok = yes" on this usershare.
                "X" represents a permission and can be any one of the characters f, r or d
                where "f" means full control, "r" means read-only, "d" means deny access.
                name may be a domain user or group. For local users use the local server name instead of "DOMAIN"
                The default acl is "Everyone:r" which allows everyone read-only access.
        Add -l or --long to print the info on the newly added share.
Freed frame ../source3/utils/net.c:787, expected ../source3/utils/net_usershare.c:625.


It seems like a package error. I have installed the package

Samba version (2:4.5.12+dfsg-2)

on Raspbian GNU/Linux 9.1 (stretch).

raspberrypi:~$ net -V
Version 4.5.12-Debian

For further details see

https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=197976
Comment 1 Jeremy Allison 2017-11-21 00:14:25 UTC
Created attachment 13797 [details]
Proposed git-am fix for master.