Share files on LAN without user and password with Samba

Greetings!
My smb.conf file. I can not see anything wrong here.
[global]
workgroup = home
netbios name = bok
security = share
guest account = nobody
map to guest = bad user
log file = /var/log/samba/%m.log
max log size = 50
[data]
comment = Data
public = yes
path = /home/esk/smb
available = yes
browsable = yes
read only = yes
guest ok = yes
guest only = yes
Trying to mount with no luck..
esk@localbok:~$ sudo mount -t cifs -o guest //192.168.1.11/data /mnt/samba/
retrying with upper case share name
mount error(6): No such device or address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs
Can see the share on the server with smbclient -L 192.168.1.11 -U%
data Disk Data
IPC$ IPC IPC Service (Samba 3.5.5)
Domain=[HOME] OS=[Unix] Server=[Samba 3.5.5]
Server Comment
BOK Samba 3.5.5
Workgroup Master
HOME BOK
And finally trying to connect with smbclient //192.168.1.11 -U%
params.c:OpenConfFile() - Unable to open configuration file "/etc/samba/smb.conf":
No such file or directory
smbclient: Can't load /etc/samba/smb.conf - run testparm to debug it
Domain=[HOME] OS=[Unix] Server=[Samba 3.5.5]
Server not using user level security and no password supplied.
tree connect failed: NT_STATUS_BAD_NETWORK_NAM
I'm out of ideas, guys. Would really appreciate if someone could have a look. Cheers

Not sure what is wrong, but you have a lot of options. This is a partial config for what I use and it works great
[global]
netbios name = server
workgroup = workgroup
server string = Server
security = share
#hosts allow = 10.20.1. 127.
guest account = samba
#log file = /var/log/samba/%m.log
[public]
comment = Public Stuff
path = /home/public
create mask = 0660
directory mask = 0770
writeable = yes
guest ok = yes

Similar Messages

  • Create User and Password with PHP

    I have a PHP script that can create a user in eDirectory using the
    ldap_add function. I can successfully add the user, but I don't know how
    to set the password. How can I accomplish this with PHP? I know I can
    use the ICE utility, but I would prefer not to. Can I do this with the
    native functions that are builtin to PHP?
    blntskul
    blntskul's Profile: http://forums.novell.com/member.php?userid=10433
    View this thread: http://forums.novell.com/showthread.php?t=370448

    Found it. It's the 'userpassword' attribute.
    blntskul
    blntskul's Profile: http://forums.novell.com/member.php?userid=10433
    View this thread: http://forums.novell.com/showthread.php?t=370448

  • WebService in XI with user and password

    Hello,
    I´ve created a webservice in XI. When I call this webservice without user and password from an external tool (soapUI 1.7.5), the following error appears:
    +Logon Error Message
    Der Aufruf der URL http:... wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.+
    (means: the call failed because of missing authorization)
    Ok, but where can I implement the user and passwort, that this webservice can be called automatically from an other application?
    Thanks for your assistence.
    Kind regards
    Martin

    Hi Huber,
    <b>but where can I implement the user and passwort, that this webservice can be called automatically from an other application?</b>
    open the WSDL  ....and in the left side (bottom) u can see option of user name and password...but i guess its not possible to login automaticaly.
    u have to provide the username and password evrytime....
    regards
    biplab

  • Connection string without username and password

    Hi,
    I need to use DriverManager.getConnection() to connect to sql2000 use only dsn name; no user name and password allowed.
    how do I do it?

    the main reason is we do not want to put password as clear text on the java code. the customer does not want to put the password at registry either.
    Is there a way that we can store the password on the client side and just use the dsn name to connect to sql server?Still doesn't explain the problem.
    As I already said, there are only two ways to connect to MS SQL Server, with a user/pwd or via windows authentication.
    So if you must use the first then you must have a user/pwd somewhere. In that case it doesn't matter what the user wants unless they want to convince Microsoft to re-engineer MS SQL Server.
    Windows authentication should solve the problem but you do need a windows user then. And you must use a driver that supports windows authentication.
    If you must use the usr/pwd then the solution is to encrypt or other obfuscate the actual password. One way is to use an encrypted configuration file which contains the user and password. Then your application loads the file, decrypts it and extracts the values at run time. You will need to provide a separate encryption tool to create the file in the first place.

  • Cannot erase user and password in safary

    Hallo, I need some support. In Safary setting i have user and password with empty webpage and I cannot erase this data. After erasing and reopen, data are still there. Thanks for support

    You may want to enable Private Browsing. Tap "Private" to enable/disable Private Browsing. If the top of page is black, Private Browsing is enabled.
    http://i1224.photobucket.com/albums/ee374/Diavonex/547958b4a8c01ac084dd6649e8386 a0f_zps12fa0cca.jpg

  • Linking to an OBIEE report without showing the user and password

    Hi!
    we are trying to access to an obiee report from an external portal (coded with php).
    The idea is that the user clicks on a link an gets the report in pdf format. For that purpose we are using this url:
    http://ttivobiee01:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criteria"."Key"&P3=1402&NQuser=user&NQPassword=pass&format=pdf
    But this url is expossing OBIEE's user and password.
    In order to avoid this security issue we tried to do an wget of the url but it doesn't return the report. Instead we get an html, which seams to download the report chunk by chunk (using javaScript).
    The question is, is there any way that we could let our portal ussers access to an obbie report without expossing the user and password?
    I have been looking into oracle forums and have found this: OBIEE Go URL with password protected
    but we couldn't use this aproach due to security issues.
    Thanks!
    Nuria

    Hi!
    We have finally done this (and it works!)
    <?php
    $urlInforme='http://obi:7001/analytics/saw.dll?Go&Path=/shared/Prueba/ogp_obi&Action=Print&P0=1&P1=eq&P2="Criterios"."Clave oficial"&P3=1402&NQuser=user&NQPassword=pass&format=pdf';
    $ch = curl_init($urlInforme);
    $ckfile = tempnam ("./", "CURLCOOKIE");
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEJAR, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $output = curl_exec ($ch);
    $ch = curl_init ($urlInforme);
    curl_setopt ($ch, CURLOPT_COOKIEFILE, $ckfile);
    curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
    $fp = fopen("salida.pdf", "w");
    curl_setopt($ch, CURLOPT_FILE, $fp);
    $output = curl_exec ($ch);
    curl_close($ch);
    fclose($fp);

  • How to reset user and password on MacBook Pro without CD

    I recently bought a MacBook Pro, 15" with Lion on Ebay.
    There are times when I am asked for a password. I have asked the person who I bpught it from, but he does not remember.
    I do not have the original disk, so I need a method to reset the user and password.
    Thanks

    Thank you for your input.
    I received an e-mail from a computer tech that thought the following would work; please let me know what you think:
    ResetLion password with Single User mode
    Anyone running Mac OS X Lion cantake advantage of this method:
    Shut down your Mac and turn it back on while holding     down the Command and S keys at the same time until your see     a black screen with white text. This is known as Single User mode.
    You can skip this step, but it’s recommended that you     don’t because it will check the consistency of your hard drive. At the     prompt, type fsck -fy and press Enter.
    Once the disk check is complete and the prompt returns,     type mount -uw / and press Enter.
    Type launchctl load     /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist and press     Enter.
    Type ls /Users and press Enter. All of the     usernames on the computer will be listed, which is helpful if you don’t     know or remember what these are.
    Type dscl . passwd /Users/username password     while replacing username with one of the users displayed in     the previous step and replacing password with the new password     of your choice. Press Enter. You will likely get an error message about a     file or directory not being found – it’s safe to ignore this.
    Type reboot and press Enter.

  • Link to folder with user and password

    Hi all!
    From my action I want to redirect to a file in order to download it but the problem is that this file is in a web folder with user/password
    How can I redirect to it to downlad it directly without introducing user and password manually by the customer?
    Thanks!
    T

    Do you understand where this user/password restriction comes from? It look like just a HTTP based authentication. A Servlet can access the local file system directly without issueing a new HTTP request for that. Or is that file located at another server?

  • How to pass user and password in workspace when open a bqy

    hello,
    how to pass user and password of workspace when refresh a bqy for a query in DB2.
    I don't know where to insert the properties in order to use user and password of workspace,
    I want to use user of login of workspace,
    I don't want to make to appear the mask of login newly when the user refresh the query.
    I don't want to set a default user and password
    thanks
    massimo

    Dear Friend,
    What you mean?
    1. Do you mean how to pass login page on workspace ?
    2. or Do you mean how you can use a connection file to connect to db that is hide from user?
    3. or You mean how to use user & password to login to doc on workspace
    Answer for 1:
    use link
    http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy?user=admin&pass=password
    Answer for 2:
    a) Upload or import connection file ( MyConn.oce ) to DB2 into workspace,
    b) for IR doc properties change file connection ( MYConn.oce )
    Answer for 2:
    use link without user & pass parameter
    http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy <?user=admin&pass=password>
    regards
    siyavuş

  • External Web Service - User and password in HTTP header

    Hi!
    How is it possible to add user and password in the HTTP header in a external web service call? 
    I have created a "Portal Service from WSDL file - Client side" with the wizard in SAP Developer Studio.  I following the Java Development Guide - Web Service Security, and use the <i>secured service connection</i>.  I have also created a new <i>System Landscape</i>, but should the new system be based on HTTP, my own PAR or what?
    How can I check that the user and password is added to the HTTP header or the SOAP envelope? Do I have to scan http traffic with a proxy as Paros or can I find the request sent from SAP EP in the logs?
    Cheers
    Asle

    Hello All,
    I have been struggling a bit while putting a reasonable security framework on a jax-rpc style web service. I'm using JWSDP1.2 to set up the webservice. I've tried to outline my problem below. Please correct me where I'm wrong.
    I've been through the Sun's WS tutorials, but they are not really clear on security. However, from them I surmised that there are two decent authentication techniques. HTTP Basic and mutual authentication (MA) . Both have their drawbacks though. HTTP Basic suffers from poor encryption while MA is a bit difficult to set up on both client and server sides. Another problem with MA is that there is no central repository for users/passwords.
    OK, what I would really like to do is use my own user database to verify users/passwords i.e. use a HTTP Basic like authentication (but at application level) but run it over SSL for encryption. It seems simple, but is it possible?
    Also, I have noted that when I use HTTP Basic on the service side, and use a java client, then setting username/password has no effect. In other words, I can always access the web-service, even with wrong username/password.
    Sorry for the long post. Hope someone can help. Thanks.

  • User and Password for JMS-Adapter

    Hi all,
    when configuring JMS-Adapter e.g. for IBM MQSeries i do not find field where to specify the user and password for the MQ. We configure e.g. a receiver communication channel.
    In 2.0 JMS-Adapter we can put user and password like this
    JMS.QueueConnectionFactoryImpl.user=YTEST
    JMS.QueueConnectionFactoryImpl.password=<!%YTEST%!>
    in the property file. We can also hide the passwort with
    the mechanism of password token.
    How can this be done in JMS 3.0 Adpater? Is it possible?
    Thanks,
    Ly-Na Phu

    Oh, sorry. Now i see the field for user and passwort.
    Thanks,
    Ly-Na Phu

  • This is how I am supposed to contact to have my annual creative cloud membership refunded?  I cancelled immediately upon seeing the charge and followed the instructions given and wound up here.  Am I supposed to share my username and password with the for

    This is how I am supposed to contact to have my annual creative cloud membership refunded?  I cancelled immediately upon seeing the charge and followed the instructions given and wound up here.  Am I supposed to share my username and password with the forum?  Adobe, I am about to go social with my frustrations!

    No, this is a public forum, as in user-to-user, so you should not share any private information here.  You will need to contact Adobe Support by chat or phone, which is apparently getting harder and harder to do.  Use the link below and choose the Still Need Help? option at the bottom in the blue area - in the section that opens take your pick of chat or phone.
    Contact Customer Care

  • What is the user and password to Oracle 8.17

    Dear expert,
    I have loaded IDES 4.7 with Oracle 8.17.
    I wish to query the SAP table using Oracle PL/SQL.
    What is the user, password and string to login into SAP Oracle database? Since I was not asked for user and password when installing Oracle I do not know how to login.
    Also can you let me know how to view/change table fields in SAP tables. I understand there are different ways but which in your opinion is the easiest to find the record I want to correct(as some tables have many fields).
    Your kind assistance is appreciated.

    Thank you for your reply. Both the user and password does not work on my IDES 4.7e system.
    However I tried with user Internal and without password and I successfully login.
    I then create a new user and also change the user=system
    password.

  • What is default user and password for Single Sign On

    When I try to run a test.rdf report (that comes for demonstration purpose). A page appears which asks form SSO user and password.<br>
    I tried all user IDs and password that I have used so for during installation. But none works. Please give me hint about it.

    Hi,
    If you would like to turn off the SSO for Reports, you can edit the Reports server's .conf file. For some reason, Oracle enabled SSO by default for Reports.
    You can access this file through OEM, or you can hand-edit it. It is located at ORACLE_HOME\reports\conf\<rep_server_name>.conf. (Make a back-up first just in case).
    Scroll down about a third of the file until you locate the <security>. . .</security> section.
    Delete this section, save the file (and run dcmctl updateconfig if you hand-edited the file), and restart the OC4J_BI_Forms instance.
    You will no longer get the SSO sign-in page when you run a report.
    HTH,
    Jim

  • ACS database users and passwords.

    Hi, i need to get all users and passwords from a acs 3.3 database unencrypted.
    How can i do it?
    Could you help me ?

    To get a list of the USers in the ACS database use the CSUTIL tool on Windows platform.
    go to bin directory under the ACS install folder and do
    CSUtil.exe -u
    this will generate a file "users.txt" in the same folder.
    But I dont think you can get the password in unencrypted form.

Maybe you are looking for

  • MR21+COMPUTE_BCD_OVERFLOW

    Hi We are encountering a dump due to the exception COMPUTE_BCD_OVERFLOW in MR21 during the Price Change.When debugged MR21>>Function Module PRICES_CHANGE>>Function module MR_POSITING_GENERATE>>Sub routin OIA_CALC_LOG_INV>> G_LIVAL = I_SGNBU-NPREI * O

  • Data from text file shown in line graph at once

    can anyone show me how to read the data from a txt file and show it in a line graph at once? my data is in the form of decimal number such as 3;45;67;89; thank you

  • How to lock the program in User exits

    Hi Guru's I have a problem with user exits. for suppose  I am doing enhancement for particular TCODE, the other user is doing some changes to the  same TCODE. My problem is where should  i use the lock. Is it possible to lock the TCODE? How it can be

  • Prob in Report output through Module Pool

    Hi, I have developed Module Pool and in tht screen 100 , in PAI under fcode 'APPEND' i am appending record into the itab. while user press 'VIEW' it will execute f-code VIEW and display records of itab as a report output. now on the report output, fo

  • User Exit PO MM06E005 - Screen does not exist

    Hello All, I created a new object for user exit 'EXIT_SAPMM06E_012' in Development System. This user exit is under the enhancement MM06E005. The user exit EXIT_SAPMM06E_012 will be used to produce an error message when saving a PO. After Transported