[Samba] Problems with folder permissions - Samba

This is a discussion on [Samba] Problems with folder permissions - Samba ; Hi, 1) Creating a Folder on a my samba share works in general via WinXP, but setting the permission doesn't. On the new Folder + + doesn't show any selected check boxes. After selecting a check box + doesn't "save" ...

+ Reply to Thread
Results 1 to 4 of 4

Thread: [Samba] Problems with folder permissions

  1. [Samba] Problems with folder permissions

    Hi,

    1) Creating a Folder on a my samba share works in general via WinXP,
    but setting the permission doesn't.
    On the new Folder ++ doesn't
    show any selected check boxes. After selecting a check box +
    doesn't "save" it. I have to do this a 2nd time and then it work.

    2) Can't select the permissions "Full Control", "Modify" and "Write" separately
    It seems that samba is not able to handle these permissions
    separately. I can't select just one of them, if then the other 2 are
    always automatically checked. If I just try to unset on of them, it
    doesn't work either - have to always unselect all 3.

    Almost the same with "Read & Execute", "List Folder Contents", "Read".

    --> I'm not familiar with the permissions under windows, if this is a
    right behavior then sorry for my question - anyway, think the behavior
    #1 doesn't seem right to me (on a real winbox the persmissions are
    shown and set right after ).



    Configuration:

    # cat /etc/SuSE-release
    SUSE LINUX Enterprise Server 9 (i586)
    VERSION = 9
    PATCHLEVEL = 3
    #

    rpm's:
    samba-client-3.0.24-12.1.55
    samba-winbind-3.0.24-12.1.55
    samba-3.0.24-12.1.55



    # cat /etc/samba/smb.conf
    [global]
    workgroup = INTRANET
    netbios name = Fileserver
    realm = [..]
    idmap uid = 10000-15000
    idmap gid = 10000-15000
    winbind separator = /
    winbind use default domain = Yes
    winbind enum users = yes
    winbind enum groups = yes
    security = ADS
    encrypt passwords = yes
    password server = [..]
    client use spnego = yes
    log level = 3



    [intranet]
    comment = INTRANET
    path = /srv/intranet
    browseable = yes
    #valid users = xxx/test
    valid users = , "@xxx/domain users"
    writeable = yes
    read only = no
    guest ok = no
    int acl support = yes

    #

    Filesystem is reiserfs with acl mount option. Found error's with
    "NT_STATUS_OBJECT_NAME_NOT_FOUND" in log.smbd.

    ....
    [2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
    call_trans2qfilepathinfo testfolder (fnum = 11531) level=1005 call=7
    total_data=0
    [2007/04/17 19:50:29, 3] smbd/process.crocess_smb(1110)
    Transaction 73 of length 76
    [2007/04/17 19:50:29, 3] smbd/process.c:switch_message(914)
    switch message SMBtrans2 (pid 5612) conn 0x83f2088
    [2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2852)
    call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
    [2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
    call_trans2qfilepathinfo testfolder (fnum = 11531) level=1007 call=7
    total_data=0
    [2007/04/17 19:50:29, 3] smbd/process.crocess_smb(1110)
    Transaction 74 of length 238
    [2007/04/17 19:50:29, 3] smbd/process.c:switch_message(914)
    switch message SMBntcreateX (pid 5612) conn 0x83f2088
    [2007/04/17 19:50:29, 3] smbd/error.c:error_packet(146)
    error packet at smbd/nttrans.c(616) cmd=162 (SMBntcreateX)
    NT_STATUS_OBJECT_PATH_NOT_FOUND
    .....
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  2. Re: [Samba] Re: Problems with folder permissions

    On Tue, Apr 17, 2007 at 08:31:51PM +0200, Thomas Linton wrote:
    > Hi,
    >
    > Also found some error's with:
    >
    > [2007/04/17 19:50:33, 3] smbd/error.c:error_packet(146)
    > error packet at smbd/nttrans.c(90) cmd=160 (SMBnttrans)
    > NT_STATUS_BUFFER_TOO_SMALL


    That's not really an error - that's the client trying
    to size the security descriptor buffer to use for the
    next query. Perfectly normal.

    Jeremy.
    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  3. [Samba] Re: Problems with folder permissions

    Hi,

    Also found some error's with:

    [2007/04/17 19:50:33, 3] smbd/error.c:error_packet(146)
    error packet at smbd/nttrans.c(90) cmd=160 (SMBnttrans)
    NT_STATUS_BUFFER_TOO_SMALL


    would like to paste the whole log, but the mail gets rejected by
    mailing list server (mail size).

    Thanks, Thomas.

    On 4/17/07, Thomas Linton wrote:
    > Hi,
    >
    > 1) Creating a Folder on a my samba share works in general via WinXP,
    > but setting the permission doesn't.
    > On the new Folder ++ doesn't
    > show any selected check boxes. After selecting a check box +
    > doesn't "save" it. I have to do this a 2nd time and then it work.
    >
    > 2) Can't select the permissions "Full Control", "Modify" and "Write" separately
    > It seems that samba is not able to handle these permissions
    > separately. I can't select just one of them, if then the other 2 are
    > always automatically checked. If I just try to unset on of them, it
    > doesn't work either - have to always unselect all 3.
    >
    > Almost the same with "Read & Execute", "List Folder Contents", "Read".
    >
    > --> I'm not familiar with the permissions under windows, if this is a
    > right behavior then sorry for my question - anyway, think the behavior
    > #1 doesn't seem right to me (on a real winbox the persmissions are
    > shown and set right after ).
    >
    >
    >
    > Configuration:
    >
    > # cat /etc/SuSE-release
    > SUSE LINUX Enterprise Server 9 (i586)
    > VERSION = 9
    > PATCHLEVEL = 3
    > #
    >
    > rpm's:
    > samba-client-3.0.24-12.1.55
    > samba-winbind-3.0.24-12.1.55
    > samba-3.0.24-12.1.55
    >
    >
    >
    > # cat /etc/samba/smb.conf
    > [global]
    > workgroup = INTRANET
    > netbios name = Fileserver
    > realm = [..]
    > idmap uid = 10000-15000
    > idmap gid = 10000-15000
    > winbind separator = /
    > winbind use default domain = Yes
    > winbind enum users = yes
    > winbind enum groups = yes
    > security = ADS
    > encrypt passwords = yes
    > password server = [..]
    > client use spnego = yes
    > log level = 3
    >
    >
    >
    > [intranet]
    > comment = INTRANET
    > path = /srv/intranet
    > browseable = yes
    > #valid users = xxx/test
    > valid users = , "@xxx/domain users"
    > writeable = yes
    > read only = no
    > guest ok = no
    > int acl support = yes
    >
    > #
    >
    > Filesystem is reiserfs with acl mount option. Found error's with
    > "NT_STATUS_OBJECT_NAME_NOT_FOUND" in log.smbd.
    >
    > ...
    > [2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
    > call_trans2qfilepathinfo testfolder (fnum = 11531) level=1005 call=7
    > total_data=0
    > [2007/04/17 19:50:29, 3] smbd/process.crocess_smb(1110)
    > Transaction 73 of length 76
    > [2007/04/17 19:50:29, 3] smbd/process.c:switch_message(914)
    > switch message SMBtrans2 (pid 5612) conn 0x83f2088
    > [2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2852)
    > call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
    > [2007/04/17 19:50:29, 3] smbd/trans2.c:call_trans2qfilepathinfo(2959)
    > call_trans2qfilepathinfo testfolder (fnum = 11531) level=1007 call=7
    > total_data=0
    > [2007/04/17 19:50:29, 3] smbd/process.crocess_smb(1110)
    > Transaction 74 of length 238
    > [2007/04/17 19:50:29, 3] smbd/process.c:switch_message(914)
    > switch message SMBntcreateX (pid 5612) conn 0x83f2088
    > [2007/04/17 19:50:29, 3] smbd/error.c:error_packet(146)
    > error packet at smbd/nttrans.c(616) cmd=162 (SMBntcreateX)
    > NT_STATUS_OBJECT_PATH_NOT_FOUND
    > ....
    >

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

  4. Re: [Samba] Re: Problems with folder permissions

    Hi,

    OK, but after the first try of changing the permissions and clicking on
    this is written in the log. On the client the new permissions are
    not showing until I do the same thing again. At the 2nd time there is no
    message with "NT_STATUS_BUFFER_TOO_SMALL" in the log and the permissions are
    shown immediately.


    On 4/17/07, Jeremy Allison wrote:
    >
    > On Tue, Apr 17, 2007 at 08:31:51PM +0200, Thomas Linton wrote:
    > > Hi,
    > >
    > > Also found some error's with:
    > >
    > > [2007/04/17 19:50:33, 3] smbd/error.c:error_packet(146)
    > > error packet at smbd/nttrans.c(90) cmd=160 (SMBnttrans)
    > > NT_STATUS_BUFFER_TOO_SMALL

    >
    > That's not really an error - that's the client trying
    > to size the security descriptor buffer to use for the
    > next query. Perfectly normal.
    >
    > Jeremy.
    >

    --
    To unsubscribe from this list go to the following URL and read the
    instructions: https://lists.samba.org/mailman/listinfo/samba

+ Reply to Thread