[Samba] Quotas + user.bat

samba at linuxpro.co.za samba at linuxpro.co.za
Mon Sep 15 13:26:18 GMT 2003


Please could someone advise me on how to setup quotes on users's home dirs
in samba.

My logon scripts aren't working (not launched at logon), please have a
look at my config and give a crit. and point me in the rite direction if
there are problems.
My main goal is to replace my current NT 4 PDC.

[global]
        browseable = yes
        add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/fals
        domain master = yes
        auto services = homes
        encrypt passwords = yes
        short preserve case = no
        wins support = true
        case sensitive = no
        logon script = %U.bat
        writeable = yes
        preserve case = yes
        loglevel = 3
        security = user
        domain logons = yes
        local master = yes
        workgroup = skills
        netbios name = penguin
        guest account = smbguest
        os level = 64
        locking = no
        default case = yes

[netlogon]
        comment = NETLOGON service
        path = /home/netlogon
        writeable = no
        public = no
        locking = no

[homes]
        path = %H
        valid users = %S
        comment = %U users data
        create mode = 0600
        wide links = no
        directory mode = 0765
        public = yes

[public]
        comment = general share
        path = /home/public
        browsable = yes
        writeable = yes
        create mode = 0660
        directory mode = 0770

[company_academy]
        comment = general share
        path = /home/company_shared
        valid users = @academy
        browsable = yes
        writeable = yes
        create mode = 0660
        directory mode = 0770


[company_vukani]
        comment = general share
        path = /home/company_shared
        valid users = @vukani
        browsable = yes
        writeable = yes
        create mode = 0660
        directory mode = 0770

[skillsfincon]
        comment = Skillslab accounts
        path = /home4/fincon
        writeable = yes
        valid users = @skillslabfincon
        create mode = 0660
        directory mode = 0770

[academypastel]
        comment = Academy accounts
        path = /home4/pastel
        writeable = yes
        valid users = @academypastel
        create mode = 0660
        directory mode = 0770

Many Thanks for time and effort
Gregory Machin




More information about the samba mailing list