fileserver with samba enabled

Discussion in 'Installation/Configuration' started by bmayock, May 20, 2006.

  1. bmayock

    bmayock New Member


    i am configuring this fileserver with samba with quotas enabled on the users. there are like 50 users with a 1gb quota each.

    i created a user, myself brian with yast. then i modified my etc/fstab which is listed below. hda3 which i partioned as / is like 110gb. and thats where i want the users to be with the quotas.

    dev/hda3 / ext3 acl,user_xattr,usrquota,grpquota 1 1
    /dev/hda2 /data1 auto noauto,user 0 0
    /dev/hda1 swap swap pri=42 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0
    proc /proc proc defaults 0 0

    following the "perfect setup doc" for suse 9.2

    i did

    touch /quota.user /
    chmod 600 /quota.*
    mount -o remount /
    quotacheck -avugm
    quotaon -avug

    and it worked. i'm getting kind of lost. i want the users to be able to work on that hda3 partition but for some reason when i do a quota check repquota i show that brian doesn't display the files i am saving to the fileserver being deducted from the alloted quota of 1gb.

    Thank you,
  2. bmayock

    bmayock New Member

    my samba config

    # Samba config file created using SWAT
    # from (
    # Date: 2006/05/19 15:50:05

    # Global parameters
    workgroup = KYD
    netbios name = ORION
    security = DOMAIN
    map to guest = Bad User
    username map = /etc/samba/smbusers
    printcap cache time = 750
    logon path = \\%L\profiles\.msprofile
    logon drive = P:
    logon home = \\%L\%U\.9xprofile
    ldap idmap suffix = ou=Idmap
    ldap machine suffix = ou=Computers
    ldap suffix = dc=example,dc=com
    printer admin = @ntadmin, root, administrator
    cups options = raw
    include = /etc/samba/dhcp.conf

    comment = Home Directories
    valid users = %S
    read only = No
    inherit acls = Yes
    browseable = No

    comment = Network Profiles Service
    path = %H
    read only = No
    create mask = 0600
    directory mask = 0700
    store dos attributes = Yes

    comment = All users
    path = /home
    read only = No
    inherit acls = Yes
    veto files = /aquota.user/groups/shares/

    comment = All groups
    path = /home/groups
    read only = No
    inherit acls = Yes

    comment = PDF creator
    path = /var/tmp
    create mask = 0600
    printable = Yes
    print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z

    comment = All Printers
    path = /var/tmp
    create mask = 0600
    printable = Yes
    browseable = No

    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin, root
    force group = ntadmin
    create mask = 0664
    directory mask = 0775

    path = /
    read only = No
  3. falko

    falko Super Moderator Howtoforge Staff

    Make sure those files are owned by the user brian.

Share This Page