16
Networking / Re: Samba groups are broken
« on: July 24, 2024, 05:54:42 pm »
I am also using password files I created on eCS.
I found that almost all of the user and groups commands will fail.
smbpasswd.exe is called for many user create, edit and delete functions from Samba Users and Groups.
Things work better if I edit smb.conf and change some of the lines to use forward slashes instead of backward slashes.
This should not be needed, of course. And groups still doesn't work. Maybe the answer is to move some functions back to an eCS virtual machine.
I found that almost all of the user and groups commands will fail.
smbpasswd.exe is called for many user create, edit and delete functions from Samba Users and Groups.
Things work better if I edit smb.conf and change some of the lines to use forward slashes instead of backward slashes.
Code: [Select]
add user script = E:/Programs/samba/usermod.cmd -a "%u"
rename user script = E:/Programs/samba/usermod.cmd -r "%uold" "%unew"
delete user script = E:/Programs/samba/usermod.cmd -x "%u"
add group script = E:/Programs/samba/groupmod.cmd -a "%g"
delete group script = E:/Programs/samba/groupmod.cmd -x "%g"
add user to group script = E:/Programs/samba/groupmod.cmd -j "%g" "%u"
delete user from group script = E:/Programs/samba/groupmod.cmd -l "%g" "%u"
set primary group script = E:/Programs/samba/usermod.cmd -p "%u" "%g"
add machine script = E:/Programs/samba/usermod.cmd -a "%u"
This should not be needed, of course. And groups still doesn't work. Maybe the answer is to move some functions back to an eCS virtual machine.