Results 1 to 2 of 2

Thread: Samba 3.3 @ OpenSuse 11.1

  1. #1
    lajblt NNTP User

    Thumbs down Samba 3.3 @ OpenSuse 11.1

    Hi everybody,

    I have a big problem:

    I have to upgrade Samba server (Samba 3.0.x @ OpenSuSE 10.1) in our company.

    First attempt was with Samba 3.2/3.3 on OpenSuSE 10.3 server. On a first look everything worked fine, but when I tried to access share (write some files), Samba froze and a root filesystem (on a diferrent volume) crashed. When I reboot, everything seems to be OK, And so on.

    "Second servis" - I tested OpenSuSE 11.1 with Samba 3.3.4 and 3.4.0 also (OpenSuSE .rpm build). Samba works fime (I have to enabled vfs acl_xattr module for correct acls ), but disk quotas over Samba doesn't. Quotas are enabled on underlying filesystem (reiserfs), but in Windows explorer I don't see the "Quota tab". When I tried "smbcquotas //server/share -F -U administrator", the system returned: "Quotas are not enebled on this share."

    On Samba 3.0.x @ OpenSuse 10.1 everything works fine on first attempt - sharing, acls, quotas. Here are the smb.conf, nswitch.conf and pam.d.

    Did I miss anything important?

    ************************************
    [smb.conf]

    #[global]
    # global options needed by samba to communicate with
    # Windows 2003 Active Directory

    log file = /var/log/samba/samba.log
    max log size = 50
    # socket options = TCP_NODELAY
    local master = no
    os level = 20
    domain master = no
    preferred master = no
    domain logons = no

    server string = OpenSuSE 10.3
    realm = ourdomain.ourcompany
    workgroup = ESA
    password server = wserver.ourdomain.ourcompany
    security = ADS
    encrypt passwords = yes

    # winbind configuration: mapping ADS users to
    # uid's and gid's, enabling the enumeration of users
    # and groups.
    # winbind separator is the character that separates
    # user or group names from the domain name.

    winbind separator = +
    idmap uid = 10000-20000
    idmap gid = 10000-20000
    winbind enum users=yes
    winbind enum groups=yes


    # Share definition
    [profiles]
    comment = User's Roaming Profiles
    path = /data1/profiles
    browseable = yes
    read only = no
    admin users = root @"OURDOMAIN+Domain Admins"
    inherit acls = yes
    vfs objects = acl_xattr # On Samba 3.0.x this is omitted

    ************************************
    [nsswitch.conf]

    passwd: compat winbind
    shadow: compat
    group: compat winbind

    hosts: files dns
    networks: files dns

    services: files
    protocols: files
    rpc: files
    ethers: files
    netmasks: files
    netgroup: files nis
    publickey: files

    bootparams: files
    automount: files nis
    aliases: files

    ************************************
    [etc/fstab]

    /dev/sda1 / reiserfs acl,user_xattr 1 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda5 /data1 reiserfs acl,user_xattr,usrquota 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0

    ************************************

    Thanks everybody for help.
    Tomas Lajbl, Czech Republic

  2. #2
    PV NNTP User

    Default Re: Samba 3.3 @ OpenSuse 11.1

    On Mon August 17 2009 03:26 pm, lajblt wrote:

    >
    > Hi everybody,
    >
    > I have a big problem:
    >
    > I have to upgrade Samba server (Samba 3.0.x @ OpenSuSE 10.1) in our
    > company.
    >
    > First attempt was with Samba 3.2/3.3 on OpenSuSE 10.3 server. On a
    > first look everything worked fine, but when I tried to access share
    > (write some files), Samba froze and a root filesystem (on a diferrent
    > volume) crashed. When I reboot, everything seems to be OK, And so on.
    >

    >
    > "Second servis" - I tested OpenSuSE 11.1 with Samba 3.3.4 and 3.4.0
    > also (OpenSuSE .rpm build). Samba works fime (I have to enabled vfs
    > acl_xattr module for correct acls ), but disk quotas over Samba
    > doesn't. Quotas are enabled on underlying filesystem (reiserfs), but in
    > Windows explorer I don't see the "Quota tab". When I tried "smbcquotas
    > //server/share -F -U administrator", the system returned: "Quotas are
    > not enebled on this share."
    >
    > On Samba 3.0.x @ OpenSuse 10.1 everything works fine on first attempt -
    > sharing, acls, quotas. Here are the smb.conf, nswitch.conf and pam.d.
    >
    > DID I MISS ANYTHING IMPORTANT?
    >

    <snip>
    > Thanks everybody for help.
    > Tomas Lajbl, Czech Republic
    >
    >

    Thomas;

    I'm not sure if this will help or not, but you might want read up on the vfs
    objects, default_quota, in Chapter 23 of the Official HOWTO:

    samba.org/samba/docs/man/Samba3-HOWTO/VFS.html#id2650822

    This may not be what you are looking for, but I thought it was worth
    mentioning to you.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •