Keresés

Aktív témák

  • body007

    addikt

    válasz ZCoyote #32339 üzenetére

    az én samba konfigomból ki tudod hámozni:

    [global]
    netbios name = LGM-Szerver
    server string = samba-server
    workgroup = lgm_network
    security = user
    hosts allow = 127. 192.168.0. 10.8.0.0/24
    interfaces = 127.0.0.1/8 192.168.0.0/24 10.8.0.1
    remote announce = 192.168.0.255
    remote browse sync = 192.168.0.255
    printcap name = /etc/printcap
    cups options = raw
    log file = /var/log/samba/samba.log
    max log size = 1000
    username level = 8
    password level = 8
    unix password sync = yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    local master = yes
    domain master = yes
    preferred master = yes
    os level = 99
    logon drive = m:
    logon home = \\%L\homes\%u
    logon path = \\%L\profiles\%u
    logon script = %G.bat
    name resolve order = wins lmhosts bcast
    wins server = yes
    dns proxy = no
    client use spnego = no
    client signing = no
    client schannel = no
    server schannel = no
    allow trusted domains = no
    obey pam restrictions = yes
    enable spoolss = yes
    follow symlinks = no
    update encrypted = yes
    passwd chat timeout = 120
    username map = /etc/samba/smbusers
    passwd program = /usr/bin/passwd '%u'
    passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
    add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
    add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
    add group script = /usr/sbin/groupadd '%g'
    delete user script = /usr/sbin/userdel '%u'
    delete user from group script = /usr/sbin/userdel '%u' '%g'
    delete group script = /usr/sbin/groupdel '%g'
    add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
    machine password timeout = 120
    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    template shell = /dev/null
    winbind use default domain = yes
    winbind separator = @
    winbind cache time = 360
    winbind trusted domains only = yes
    winbind nested groups = no
    winbind nss info = no

    ...

    [Iroda]
    path = /media/data/Iroda
    comment = Iroda
    valid users = szerver LGMadmin MN NG KB @szerver
    valid users = @puser @user
    write list = szerver LGMadmin MN NG KB @szerver
    write list = @puser @user
    admin users = @szerver @puser szerver LGMadmin
    writeable = yes
    share modes = no
    locking = no
    read only = no
    available = yes
    browseable = yes
    writable = no
    guest ok = no
    public = no
    printable = no
    share modes = no
    locking = no
    create mask = 777
    directory mode = 0775

    itt látszik szépen, h ki láthatja a könyvtárat

    Mindenkit egyforma külső inger ér, de egyén függő, h éljük meg :P

Aktív témák