View Issue Details

IDProjectCategoryView StatusLast Update
0000764Samba ServerBugpublic2022-07-09 22:54
Reporterdazarewicz Assigned Topsmedley  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
PlatformnVidia / AMD SMPOSArcaOSOS Version5.0.7
Summary0000764: The "guest" account does not work.
DescriptionUpon 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.
Additional Information[global]
    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
TagsNo tags attached.

Activities

psmedley

2022-07-09 21:31

administrator   ~0004459

have you re-run 'smbpasswd -a guest' for the guest account?

I assume guest exists in the klibc user management tool?

dazarewicz

2022-07-09 22:26

reporter   ~0004462

>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?

Yes.

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.

psmedley

2022-07-09 22:52

administrator   ~0004464

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.

psmedley

2022-07-09 22:54

administrator   ~0004465

Will need to be handled elsewhere, not a bug with samba per se.

Issue History

Date Modified Username Field Change
2022-07-09 15:42 dazarewicz New Issue
2022-07-09 21:31 psmedley Note Added: 0004459
2022-07-09 22:26 dazarewicz Note Added: 0004462
2022-07-09 22:52 psmedley Note Added: 0004464
2022-07-09 22:54 psmedley Assigned To => psmedley
2022-07-09 22:54 psmedley Status new => resolved
2022-07-09 22:54 psmedley Resolution open => no change required
2022-07-09 22:54 psmedley Note Added: 0004465
2024-01-19 21:01 psmedley Category 10 => Bug