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
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 sebest/ tmp/ acl=S-1- 1-0:R
[mytest]
path=/home/
comment=tmp
usershare_
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: rpc.c:net_ usersidlist( 4724)
net usersidlist
[2007/08/28 14:01:56, 0] utils/net_
Could not get the user/sid list