Samba - Can't write to a share with "unix extensions = no" set in smb.

Hello @all!
Unfortunately, I have a problem, writing to a samba share which I'm unable to solve.
My /etc/samba/smb.conf :
[global]
workgroup = w
server string = server
security = user
load printers = no
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
unix extensions = no
# if I comment above line, I can write to /home/shareuser/writable
follow symlinks = yes
wide links = yes
[writable]
comment = test
writable = yes
valid users = shareuser
path=/home/shareuser/writable
shareuser has valid passwd and smbpasswd (-a)
I mount the share like this:
mount -t cifs //server/writable mountpoint/ -o username=shareuser
With
unix extensions = yes
, I can write to the share.
With
unix extensions = no
, I can't write to the share.
What I try to achieve in the end, is to have a writable password protected share, which forwards file permissions to clients and also allows them to access directories and files which are symlinked into the share directory (both from linux and windows clients if that's even possible).
PS: I also posted this on stackexchange.com (http://unix.stackexchange.com/questions … n-smb-conf)
PPS: Since I'm using systemd without syslog I had to create the /var/log/samba directory before smbd logged anything.
Thank you in advance for any help
Last edited by MCH (2012-09-23 20:59:41)

First off, don't use finalize(). It is never guaranteed to actually run.
Just add a cleanup() method to your Account class that flushes and closes the writer; and call it before you exit main().
Now, as for your Date problem
java.util.Date certainly does have a no-args constructor.
java.sql.Date does not.
Make sure you aren't getting a name collision. (Hint: If you're doing import java.foo.* Stop Doing That. just import the classes you need)

Similar Messages

  • Is there an app where I can upload my photography to share with others?

    Is there an app where I can upload my photography to share with others?

    Shutterfly http://itunes.apple.com/us/app/shutterfly-for-ipad/id396799352?mt=8 , Flckr http://itunes.apple.com/us/app/flickr-+/id437753719?mt=8 , If you have a facebook account use the facebook app http://itunes.apple.com/us/app/facebook/id284882215?mt=8 , Picasa http://itunes.apple.com/us/app/picasa-photo-albums-lite/id412565941?mt=8  I would also recommend that you look at the rating on the apps before using them too.

  • Where can i find my talk time with my divice on setting?

    Where can i find my talk time with my divice on setting?

    Thank you very much
    I was thinking about that easy question for one week and I couldn't find my answer :))))

  • How can I open my old documents with cwk extension?

    how can I open my old documents with cwk extension?

    Pages '09 may open it. otherwise try LibreOffice [free].
    Peter

  • How can i write a XML file with oracle data ?

    How can i write a XML file using PL/SQL.
    Can i do as follows.
    1.Open a file using UTL_FILE.FOPEN(LC_DIR_LOC,'abc.xml','W')     ;
    2.write all the required tag and value using UTL.put_line
    that is enough. Is not, please guide me to write.
    gk

    Having Oracle 9i.
    One more doubt. In the speck, some constand values are there, When i write the same into file, How can i write ?.
    1. l_str := ' "E27" '
    or
    2. l_str := ' E27 '
    UTL_FILE.PUT_LINE(L_FILE_POI,l_str,TRUE);          
    1 case : in XML file : "E27"
    In 2 case : E27
    When we write a XML file through editors , we have to define the constant within quote . is it?      
    Which one can i use ? Or any other way is there ..
    Thanks and Regards
    gopi

  • Can't write to LONG datatype with OCCI.

    I am trying to write data to a table with a long column as desc in one of the examples. (It is not acceptable to change LONG to CLOB.) For some reason I am getting a status of UPDATE_COUNT_AVAILABLE when I call executeUpdate when I should be getting NEEDS_STREAM_DATA. Because of that, getStream gets an INACTIVE stream which I can't use to write data. Can anybody tell me where am I going wrong with this? I have Oracle 9.2.0.4.0.
    == BEGIN OUTPUT ==
    Statement::RESULT_SET_AVAILABLE = 2
    Statement::UPDATE_COUNT_AVAILABLE = 3
    Statement::NEEDS_STREAM_DATA = 4
    Statement::STREAM_DATA_AVAILABLE = 5
    Statement::PREPARED = 1
    Statement::UNPREPARED = 0
    Status > 3
    UpdateCount:1
    Stream::READY_FOR_READ = 0
    Stream::READY_FOR_WRITE = 1
    Stream::INACTIVE = 2
    Status > 2
    Buffer:1111111111
    == END OUTPUT ==
    // BEGIN CODE
    try
    int len = 10;
    conn = env->createConnection(username, password, url);
    stmt = conn->createStatement("INSERT INTO TESTTAB(LONGCOL) VALUES (:1)");
    stmt->setCharacterStreamMode(1, len);
    stmt->executeUpdate();
    printStatementStatus(); // I'm getting Status of 3 UPDATE_COUNT_AVAILABLE
    cout << "UpdateCount:" << stmt->getUpdateCount() << endl;
    istrm = stmt->getStream(1);
    printStreamStatus();
    char buffer[len];
    memset (buffer, (char)49, len);
    cout << "Buffer:" << buffer << endl;
    istrm->writeBuffer(buffer, len);
    char c = (char )"";
    istrm->writeLastBuffer(c, 0);
    stmt->closeStream(istrm);
    env->terminateConnection(conn);
    catch(SQLException ex)
    cout << "Exception thrown." << endl;
    cout << "Error number: " << ex.getErrorCode() << endl;
    cout << ex.getMessage();
    // END CODE

    First off, don't use finalize(). It is never guaranteed to actually run.
    Just add a cleanup() method to your Account class that flushes and closes the writer; and call it before you exit main().
    Now, as for your Date problem
    java.util.Date certainly does have a no-args constructor.
    java.sql.Date does not.
    Make sure you aren't getting a name collision. (Hint: If you're doing import java.foo.* Stop Doing That. just import the classes you need)

  • I have a MacBook Air with Snow Leopard. I can read/write in both directions with 16 GB Fat32 drives but cannot with a 250GB NTFS drive.

    I have a MacBook Air. I also have a 250GB NTFS external drive which the Mac sees. i can copy and paste from the external drive to the Mac but not from the Mac to the external drive. However, I can go in both directions with a Fat32 16 GB flashdrive. Can anyone explain this to me?

    I've always recommented ext3 filesystem if you wanna use an external drive for both Windows and Mac OS as both can read and write to that filesystem.
    But obviously you'd have to format the drive (you can use Mac disk utility)

  • Can we write Exam 1z0-215 with out OPN ID

    Hi,
    Can any one tell me the procedure to register for exam 1z0-215 with out company OPN.
    I want to write this exam without having company partnership.
    Thanks,
    SG

    Sreenath,
    Exam 215 does not lead to a Certified Implementation Specialist certification. It leads to an Expert Certification - Oracle E-Business Suite R12 Financials Certified Expert Consultant, Payables. If you pass the 215 exam along with the 204 exam and complete the required training, you will be awarded the Certified Expert certification. You will not receive the Oracle PartnerNetwork Certified Specialist designation because that is awarded only to employees of partner organizations. However, the OPN Specialist designation is not a stand-alone certification. It is merely an indication that the candidate works for a partner company.
    However, if you wish to obtain an Oracle Certified Specailst certification in the aria of R12 financials, you can pursue:
    Oracle E-Business Suite 12 Financial Management Certified Implementation Specialist: Oracle General Ledger
    Oracle E-Business Suite 12 Financial Management Certified Implementation Specialist: Oracle Payables or
    Oracle E-Business Suite 12 Financial Management Certified Implementation Specialist: Oracle Receivables
    If you pursue one of those paths, your certification will be 'Certified Implementation Specialist' but you will still not receive the OPN Certified Specialist designation. As these certifications are geared toward partners who are implementing the product, my recommendation would be to go for the Expert certification. It will give you a broader foundation.
    Regards,
    Brandye Barrington
    Certification Forum Moderator

  • Can't import from home share with same account

    Hi all,
    I have this really annoying problem that some of the content of my iTunes library on one computer cannot be imported to the other one, because "this computer is not authorized".
    That is, of course, bollocks.
    The scenario:
    MacMini Server = mac1
    Macbook Pro = mac2
    - Both machines have itunes signed into the same account
    - Both machines have home sharing enabled
    - mac2 is the "master", it's where I buy music etc. and mac1 is the machine I use to stream off at home, it's always on etc.
    When I purchase anything new, I can transfer those purchases just fine via the import function. However, I have probably about $200 worth of music in the mac2 iTunes which _plays fine_ on mac2, however, it is not transferrable to mac1 due to mac1 not being authorized (but it is).
    Is it possible I purchased that music with a different account and somehow managed to authorize mac1 to play it? If so, how can I find out?
    Cheers
    - Balt

    I will reply with the error message as soon as I can. Thanks!
    Good-O! I'll be watching for it.

  • Can't write to strict typedef with Control Value:Set [Variant]

    Hey everyone,
    I inherited a project that uses stacked strict typedefs for the front panel, and I need to programmatically change one control, and it is within an event.  However, the control is a strict typedef in a strict typedef, and Control Valueet [Variant] has no effect on the specific control.  I have gotten the method to work in small test vi's without typedefs, so I'm pretty sure that is the problem.
    The only thing I can think of is that there is a unique way of referencing the control name through typedefs, and I don't know it.
    Any ideas?
    Thanks in advance,
    Jeff
    =============
    XP SP2, LV 8.2
    CLAD

    Lynn,
    Thanks for the reply.  It turns out that to programmatically Control Valueet [Variant] bundled controls, you can only pass in the top level bundle control name.  It took some tricky placement around my structures, but I eventually unbundled and bundled by name from the top level down to the bottom and back up to make it work.
    Thanks again
     - Jeff
    =============
    XP SP2, LV 8.2
    CLAD

  • Can I backup a network share with Time Machine?

    I keep all my multimedia files on an external hard drive connected to my Airport Extreme base station, and I would like to backup this network share using Time Machine.

    Not possible. TM only backs up locally attached HFS volumes.

  • How can you make Automator see files with no extensions

    I'm trying to create a workflow where Automator would have the Finder find Photoshop or TIFF files even if they don't have file extensions. If I choose Kind>Image, it gives me everything under the sun including every image from web sites I've visited during the period specified. If I use a file extension criteria, it misses any files of that type that don't have file extensions. I thought since file extensions aren't required in OS X that Automator would be able to tell even if the file extension is hidden.
    Any suggestions other than go back and add extensions to all the files?
    Thanks.

    taylor.henderson wrote:
    You kind of contradict yourself in your question.
    If a file does not have a file extension in its name then in general your computer (including automator) has no idea what type of file it is or what you want to open it with.
    I guess I didn't make myself clear. What I meant was that the file extensions are not visible. I'm not sure you can even create a file that doesn't have some associated extension. They're always either hidden or visible as far as I know. So I'm talking about visible file extension suffixes. And when they're hidden, the computer DOES know what kind of file it is. Since that is the case, I'm wondering if there's a way for Automator to also know even if a file extension isn't visible.
    If however "the file extension is hidden" as you say at the end of your post then I take this to mean your files are named with .extension suffixes and you merely have finder set to not display extensions in which case you can still treat the files as belonging to a certain format.
    That's exactly it.
    I've been using Macs since 1984, and never got into the habit of using file extensions (suffixes) to the names when I switched to OS X. Now I find, though, that in Automator, it doesn't find files when the extensions are hidden. The Finder still recognizes file types even though the method it does so has changed. What I wanted to know is if there is any Automator action that would be able to find files of a certain type even if the extensions were hidden.
    I'm not looking for a way to create file extensions from scratch or get into resource code. I'm just trying to find a way to work with the files I already have, that already have associations with programs and have associated file type extensions even though the suffixes are hidden.
    So basically is there a way to do it or not without renaming all my files to make extensions visible? If there is, I'll use it. If not, I'll have to find a method of batch changing all the files.
    Thanks.

  • Can we schedule a concurrent program with in a request set

    HI,
    I have a requirement that to schedule a concurrent program in a request set after completing the another request with in the set
    ie i have request set with two concurrent programs and each concurrent program having two parameters for each
    if i submit the request set once
    the first programs completes successfully after completing the first program i need to schedule the second concurrent program with the same parameter values of the first parameter
    is it possible if yes how it can be done
    Regards
    DRK

    Ripendra durgam wrote:
    HI,
    I have a requirement that to schedule a concurrent program in a request set after completing the another request with in the set
    ie i have request set with two concurrent programs and each concurrent program having two parameters for each
    if i submit the request set once
    the first programs completes successfully after completing the first program i need to schedule the second concurrent program with the same parameter values of the first parameter
    is it possible if yes how it can be done
    Regards
    DRKI believe it is not possible.
    Thanks,
    Hussein

  • Can I delete VMWare Fusion files with .vmdk extension?

    Please forgive my complete ignorance on this topic. I just started using VMWare for my Late 2008 Macbook with 10.6.8, because I need to run a windows application. I just did a Disk Inventory on my the hardrive, and saw the info below. Does anyone know if there are specifically 5 files needed to run this? or did I accidentally download the thing 5 times?
    The only other piece of data is that when I closed the VMWare today, the "last opened" for each of the 5 identical looking files was today's date.
    They are 2G each...so I'd like to get rid of 4 of them if I can.
    Thanks!!!

    Please forgive my complete ignorance on this topic. I just started using VMWare for my Late 2008 Macbook with 10.6.8, because I need to run a windows application. I just did a Disk Inventory on my the hardrive, and saw the info below. Does anyone know if there are specifically 5 files needed to run this? or did I accidentally download the thing 5 times?
    The only other piece of data is that when I closed the VMWare today, the "last opened" for each of the 5 identical looking files was today's date.
    They are 2G each...so I'd like to get rid of 4 of them if I can.
    Thanks!!!

  • Can't video chat or screen share with one person

    Hi, I can video chat and screen share with one remote colleague but not with another. When I try, I get the message 'Failed to start screen sharing because: Screen sharing could not be established' (and a similar message for video.
    He has a brand-new iMac with Leopard, so there is no compatibility issue.
    This would be very useful for us, can anyone suggest a solution?
    Thanks
    Phil

    There are various threads on getting iChat to work with various routers. There are a couple of Support docs that talk about it, but I always have trouble finding them, now.
    Use the 'more options' search function and show posts in the last year instead of the last 90 days, which I believe it defaults to.
    One thing I know of is Internet Sharing cannot be turned on. Another common problem is double-NATting, where their modem is serving out addresses via NAT and the Router is sharing those out on its own NAT. You should only have one running.

Maybe you are looking for