Comment 10 for bug 128548

Revision history for this message
Sebastien Estienne (sebest) wrote :

I noticed something strange that may not be directly related to net usershare:

from the man of "net usershare add":
The default if no "acl" is given is "Everyone:R", which means any authenticated user has read-only access.

so when i try to create a share without specifying the acl it's ok:
net usershare add mytest /home/sebest/tmp/ tmp

net usershare info mytest
[mytest]
path=/home/sebest/tmp/
comment=tmp
usershare_acl=S-1-1-0:R
guest_ok=n

but when i try to force it to Everyone:R (the default value from the man):
net usershare add mytest /home/sebest/tmp/ tmp Everyone:R
net usershare add: cannot convert name "Everyone" to a SID. Wrong Password.

Any idea where the issue comes from?

i noticed that this fails too:
 net usersidlist
[2007/08/28 14:01:56, 0] utils/net_rpc.c:net_usersidlist(4724)
  Could not get the user/sid list