View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000764||Samba Server||10||public||2022-07-10 01:12||2022-07-10 08:24|
|Status||resolved||Resolution||no change required|
|Platform||nVidia / AMD SMP||OS||ArcaOS||OS Version||5.0.7|
|Summary||0000764: The "guest" account does not work.|
|Description||Upon switching from Samba server v3.6.25-OS/2 v1.3.0-1011 to Samba server 4.11.6-ArcaNoae the guest account does not work anymore. The server does not balk at the guest user command in smb.conf, but it does not work. "Does not work" means that my Mac cannot login using "guest". This exact setup used to work correctly with Samba server v3.6.25-OS/2 v1.3.0-1011 but no longer works with Samba server 4.11.6-ArcaNoae.|
workgroup = AZARNET
server string = David A
# security = SHARE
null passwords = Yes
guest account = guest
username map = D:\MPTN\ETC\samba\private\smbusermap
log file = D:\MPTN\ETC\samba\log\log.smbd.%U.%M
time server = Yes
load printers = No
printcap name = E:\etc\printcap
enumports command = E:\samba\enumports.cmd
add user script = E:\samba\usermod.cmd -a "%u"
rename user script = E:\samba\usermod.cmd -r "%uold" "%unew"
delete user script = E:\samba\usermod.cmd -x "%u"
add group script = E:\samba\groupmod.cmd -a "%g"
delete group script = E:\samba\groupmod.cmd -x "%g"
add user to group script = E:\samba\groupmod.cmd -j "%g" "%u"
delete user from group script = E:\samba\groupmod.cmd -l "%g" "%u"
set primary group script = E:\samba\usermod.cmd -p "%u" "%g"
add machine script = E:\samba\usermod.cmd -a "%u"
lm announce = Yes
wins support = Yes
add share command = E:\samba\addshare.cmd
change share command = E:\samba\changeshare.cmd
delete share command = E:\samba\delshare.cmd
lock directory = D:\MPTN\ETC\samba\lock
nmbd bind explicit broadcast = No
comment = David A
create mask = 0777
ea support = Yes
store dos attributes = Yes
|Tags||No tags attached.|
have you re-run 'smbpasswd -a guest' for the guest account?
I assume guest exists in the klibc user management tool?
>have you re-run 'smbpasswd -a guest' for the guest account?
No. Why would I even think of this? It is the exact same system and exact same files that were previously working. Note that all of my other user accounts are working correctly. It is only the guest account that stopped working.
I have a *working* samba 3.6 system. I have 2 directories, one with the v3.6 server binaries and one with the v4.11 server binaries. The v3.6 server is running and the guest account works. I stop the v3.6 server and start the v4.11 server and the guest account stops working. I stop the v4.11 server and start the v3.6 server and the guest account works again. I stop the v3.6 server and start the v4.11 server and the guest account stops working. I stop the v4.11 server and start the v3.6 server and the guest account works again. There was every reason to think that the v4.11 server was broken and no reason to even consider re-running anything, and no documentation to suggest otherwise.
>I assume guest exists in the klibc user management tool?
Note that I do *not* run the samba client. I only run the samba server.
Nevertheless, I tried running 'smbpasswd -a guest' and now it appears that the guest account works with the v4.11 server. A cursory check appears to show that all my other user accounts are still intact.
The system has gone from 3.6 released in 2011, to 4.11 released in 2019. Other OS probably have migration tools as the Samba version has been increased - we don't.
Nobody should expect to dropin new executables over the top of an obsolete, insecure configuration and expect it to be seamless.
Obviously this is something that will need to be handled in the AOS migration of an old setup.
||Will need to be handled elsewhere, not a bug with samba per se.|
|2022-07-10 01:12||dazarewicz||New Issue|
|2022-07-10 07:01||psmedley||Note Added: 0004459|
|2022-07-10 07:56||dazarewicz||Note Added: 0004462|
|2022-07-10 08:22||psmedley||Note Added: 0004464|
|2022-07-10 08:24||psmedley||Assigned To||=> psmedley|
|2022-07-10 08:24||psmedley||Status||new => resolved|
|2022-07-10 08:24||psmedley||Resolution||open => no change required|
|2022-07-10 08:24||psmedley||Note Added: 0004465|