[Samba] The way things used to work...

Dragan Lukic ldrax at panline.net
Wed Feb 11 21:22:29 GMT 2009


I am fascinated!!!!!! 68 day from my last post, and 1142 more posts.... STILL 
no reply with even hint of solution.... 
In total 117 days and 1915 messages.... Nice score.... respectable.....

And what I want?? 

This:
- need share level of security
- need forcing of user who access that share
- need forcing of file/directory create mask
Goal: Allowing network (windows and linux) users (as well as local user) to 
access defined share via samba (and local user also via file manager), without 
any user/password prompt, and with granting 755 permissions 
on all files/directories under that share and with ownership of local 
user/group.
Of course, shared directory exists, it has permissions set up accordingly, and 
local user also exists, and have those permissions.
All these rules are matched with following smb.conf (real entries are replaced 
with foo/bar) and it is working on 3.0.25b and 3.0.28a versions of samba on 
mandriva 2008.0 and 2008.1.
Again, same ruleset IS NOT working on samba 3.2.3 on Mandriva 2009.0. (samba-
server-3.2.3-3mdv2009.0)

[global]                                                    
    workgroup = FOO
    server string = FOO Server
    security = share
    hosts allow = 192.168.125. 127.0.
    log file = /var/log/samba/%m.log
    max log size = 50
    local master = no
    os level = 33
    dns proxy = no
# ==================== Share Definitions ===================
[Share]
    path = /home/foobar/Documents/Share/
    public = yes
    force user = foobar
    force group = foobar
    create mask = 0755
    force create mode = 0755
    directory mask = 0755
    force directory mode = 0755
    writable = yes
    printable = no


In short, I want to use this config file above, and it just has to work as 
explained.

Please, can someone finally help me resolve this?

DraxNS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
Url : http://lists.samba.org/archive/samba/attachments/20090211/9503097d/attachment.bin


More information about the samba mailing list