Samba 1.9.18p8 shared read-only?

Timothy Reed treed at cpr.com
Fri Oct 16 04:33:23 GMT 1998


Hi,
I recently upgraded to 1.9.18p8 on Solaris 2.6 and am having a problem with
writable services other than [homes].  [apps] is one that's causing the most
difficulty.  Users are being logged into writable shares as user 'nobody' and
are not permitted write access.  The shares are set as 'writable' and 'write
ok'.  host equiv does not have an effect either.  All hosts are local to the
subnet which is explicitly allowed.  Hosts are win98.  This worked prior to the
upgrade of Samba. Let me know what else you need.  
Thanks!
Tim

Here's smbstatus:

treed at gyudon:samba [1214] /opt/samba/1.9.18p8/bin/smbstatus 

Samba version 1.9.18p8
Service      uid      gid      pid     machine
----------------------------------------------
treed        treed    root     11530   dorayaki (123.123.123.216) Thu Oct 15
23:47:44 1998
apps         nobody   nobody   11530   dorayaki (123.123.123.216) Thu Oct 15
23:47:47 1998

Locked files:
Pid    DenyMode   R/W        Oplock           Name
--------------------------------------------------
11530  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  .signature.txt   Thu Oct 15
23:50:16 1998
11530  DENY_NONE  RDONLY     EXCLUSIVE+BATCH  README.TXT   Thu Oct 15 23:47:50
1998

Share mode memory usage (bytes):
   102072(99%) free + 232(0%) used + 96(0%) overhead = 102400(100%) total

Here's a dump of smb.conf:
Load smb config files from /opt/samba/1.9.18p8/lib/smb.conf
Processing section "[homes]"
Processing section "[apps]"
Processing section "[printers]"
Processing section "[tmp]"
Processing section "[shar]"
Processing section "[www]"
Unable to open printcap file /etc/printcap for read!
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
        debuglevel = 2
        syslog = 1
        syslog only = No
        protocol = NT1
        security = SHARE
        max disk size = 0
        lpq cache time = 10
        announce as = NT
        encrypt passwords = Yes
        update encrypted = No
        getwd cache = Yes
        read prediction = No
        read bmpx = Yes
        read raw = Yes
        write raw = Yes
        use rhosts = No
        load printers = Yes
        null passwords = No
        strip dot = No
        interfaces = 
        bind interfaces only = No
        networkstation user login = Yes
        password server = 
        socket options = TCP_NODELAY
        netbios name = 
        netbios aliases = 
        smbrun = /opt/samba/1.9.18p8/bin/smbrun
        log file = /var/log/samba/log.%m
        config file = 
        smb passwd file = /opt/samba/1.9.18p8/private/smbpasswd
        hosts equiv = /etc/hosts.equiv.samba
        preload = 
        server string = Samba %v Server
        printcap name = /etc/printcap
        lock dir = /tmp/samba
        root directory = /
        default service = 
        message command = 
        dfree command = 
        passwd program = /opt/samba/1.9.18p8/bin/smbpasswd
        passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n
\n *changed*
        passwd chat debug = No
        valid chars = ö:Ö å:Å ä:Ä
        workgroup = BROOKLYN
        username map = 
        character set = 
        logon script = 
        logon path = \\%N\%U\profile
        logon drive = 
        logon home = \\%N\%U
        remote announce = 
        remote browse sync = 
        socket address = 0.0.0.0
        homedir map = 
        announce version = 4.2
        max log size = 5000
        mangled stack = 50
        max mux = 50
        max xmit = 65535
        max packet = 65535
        name resolve order = lmhosts host wins bcast
        packet size = 65535
        password level = 2
        username level = 0
        keepalive = 30
        deadtime = 0
        time offset = 0
        read size = 16384
        shared mem size = 102400
        coding system = 
        client code page = 850
        os level = 0
        max ttl = 14400
        max wins ttl = 259200
        min wins ttl = 21600
        lm announce = Auto
        lm interval = 60
        dns proxy = Yes
        wins support = No
        wins proxy = No
        wins server = 
        preferred master = No
        local master = Yes
        domain master = No
        domain logons = No
        browse list = Yes
        unix realname = No
        NIS homedir = No
        unix password sync = No
        time server = No
        printer driver file = /opt/samba/1.9.18p8/lib/printers.def


# Default service parameters
        comment = 
        copy = 
        include = 
        exec = 
        postexec = 
        root preexec = 
        root postexec = 
        alternate permissions = No
        revalidate = No
        default case = lower
        case sensitive = No
        preserve case = Yes
        short preserve case = No
        mangle case = No
        mangling char = ~
        browseable = Yes
        available = Yes
        path = 
        username = 
        guest account = nobody
        invalid users = 
        valid users = 
        admin users = 
        read list = 
        write list = 
        volume = 
        force user = 
        force group = 
        read only = Yes
        max connections = 0
        min print space = 0
        create mask = 0744
        force create mode = 00
        directory mask = 0755
        force directory mode = 00
        set directory = No
        status = Yes
        hide dot files = Yes
        delete veto files = No
        veto files = 
        hide files = 
        veto oplock files = 
        guest only = No
        guest ok = Yes
        print ok = No
        postscript = No
        map system = No
        map hidden = No
        map archive = Yes
        locking = Yes
        strict locking = Yes
        share modes = Yes
        oplocks = Yes
        only user = No
        wide links = Yes
        follow symlinks = Yes
        sync always = No
        mangled names = Yes
        fake oplocks = No
        printing = sysv
        print command = /usr/bin/lp -d %p %s
        lpq command = lpstat -o%p
        lprm command = cancel %p-%j
        lppause command = 
        lpresume command = 
        printer = 
        printer driver = NULL
        printer driver location = 
        hosts allow = 166.84.190.
        hosts deny = 
        dont descend = 
        magic script = 
        magic output = 
        mangled map = 
        delete readonly = No
        dos filetimes = No
        dos filetime resolution = No
        fake directory create times = No

[homes]
        comment = Home directories on gyudon
        read only = No
        create mask = 0755
        guest ok = No

[apps]
        comment = Windows apps
        path = /export2/windows
        read only = No
        create mask = 0755

[printers]
        comment = NeXT Printer
        path = /tmp
        read only = No
        print ok = Yes

[tmp]
        comment = tmp files
        path = /tmp
        read only = No

[shar]
        comment = Shell archives
        path = /export2/Users/Shar
        create mask = 0755

[www]
        comment = WWW File Location
        path = /var/spool/www
        read only = No
        create mask = 0755

[IPC$]
        comment = IPC Service (Samba %v Server)
        path = /tmp
        status = No


More information about the samba mailing list