Samba share problem in Linux 6.4


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Samba share problem in Linux 6.4
# 1  
Old 05-13-2013
RedHat Samba share problem in Linux 6.4

Hi ,
In samba i have shared my home directory,
but its showing as a printer.
Not able to share data.

Code:
[priyank@xxx ~]$ smbclient -L 192.168.122.1
Enter priyank's password: 
Domain=[LINUXKVM] OS=[Unix] Server=[Samba 3.6.10-125.el6]

    Sharename       Type      Comment
    ---------       ----      -------
    shared_priyank  Printer      Temporary file space
    IPC$            IPC       IPC Service (Samba Server Version 3.6.9-151.el6)
Domain=[LINUXKVM] OS=[Unix] Server=[Samba 3.6.9-155.el6]

    Server               Comment
    ---------            -------

    Workgroup            Master
    ---------            -------

Smb.conf
Code:
[global]
    workgroup = LINUXKVM
    server string = Samba Server Version %v
    interfaces = lo, virbr0
    security = SHARE
    log file = /var/log/samba/log.%m
    max log size = 50
    cups options = raw

[shared_priyank]
    comment = Temporary file space
    path = /home/priyank
    force user = priyank
    read only = No
    create mask = 0777
    directory mask = 0777
    guest only = Yes
    guest ok = Yes

How to change type from printer to Disk ?
# 2  
Old 06-09-2013
can u access Using command ?

smbclient //hostname.example.com/shared_priyank -U priyank
# 3  
Old 06-10-2013
smbclient //hostname.example.com/shared_priya -U priya


use it i hope u 'll get sollution
# 4  
Old 06-11-2013
Try this
Code:
comment = Temporary file space    
path = /home/priyank   
force user =  priyank
read only = No
create mask = 0777
directory mask =  0777
guest only = Yes
guest ok = Yes
printable = No

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Mounting a samba share

Hi, I need to mount a directory from a Windows server to a CentOS box. The Windows server used is Windows Server 2003, and the path to the directory that I want to mount on CentOS is C:\Tomcat6\webapps\NASApp\logs. I am not sure of the correct way to mount this on CentOS, as most of the... (2 Replies)
Discussion started by: anaigini45
2 Replies

2. Red Hat

Samba share - currently not working

Long running samba share. Never have any problems, Suddenly started asking windows users for password - which doesnt work. Tried to manually reset smb password and manually map - still wrong password. Restart samba? (2 Replies)
Discussion started by: psychocandy
2 Replies

3. Red Hat

Samba share assess w/no authentication

RH 6.4 Samba 3.5.10. Joined a Windows AD (net rpc) I'm trying to create a public read-only share but regardless of the options I've tried users get prompted for a user/password. Can someone tell me whats wrong with my setup? I'm trying to make a whole filesystem that will contain installation... (0 Replies)
Discussion started by: dignarn
0 Replies

4. UNIX for Dummies Questions & Answers

Samba share Windows problem

I have a problem with a Samba share (Debian) on Windows. My config http://pastebin.com/18ncwngr With smbclient -U ftp //xxx.xxx.xxx.xxx/daten I can connect with another Linux Server. Only with Windows it does not work. Deactivate firewall also but I can not connect me. ... (0 Replies)
Discussion started by: PAfreakFlorian
0 Replies

5. Red Hat

chroot sftp, samba share, ownership issue linux hosts

Hello, I have sftp server with chroot for a group and username is on a Linux host, I have created a few subdirectories under sftpuser home directories with 775. Then using a Samba I shared this user home directory to another linux client. On the Linux client, I have jboss user to access... (2 Replies)
Discussion started by: bobby320
2 Replies

6. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies

7. UNIX for Advanced & Expert Users

Problems between a HP UX 11.31 Samba share and Windows 7...

Hi I have an issue with a client. He was able to use his mounted Samba share for a long time. However, a couple of days ago, he wasn't able to access all of his files all of a sudden. He still see's the share and majority of the files, but not some that he needs. I checked with Secure CRT on... (1 Reply)
Discussion started by: zixzix01
1 Replies

8. Solaris

SAMBA is connecting to the share somehow as root

I'm running Solaris 10 with Samba server. The client is a Windows XP desktop. I have set this up for various other servers and this is the first time that I'm seeing the problem. I have a prod & test solaris samba server configured exactly the same and the share is encrypted by Vormetric. The... (0 Replies)
Discussion started by: woot14
0 Replies

9. Linux

Samba share script

Hi everyone! I'm trying to run a script when a folder is shared and when it stop being shared. Is there something like .start_share or .stop_share scripts in Samba where I could run some commands?:confused: edit: maybe with a wrapper in smbmount but I share folders via nautilus. Any ideas? (0 Replies)
Discussion started by: funyotros
0 Replies

10. Linux

Facing problem in Samba share

Hi, I am facing problem while accessing samba share on Linux 5.1 from windows, though I have done the same configuration on Linux 4 (Update 2), on Red Hat 4.0 it is working but while on Linux 5.1 these configuration are not working, I have disabled the firewall also. Kindly suggest me... (1 Reply)
Discussion started by: manoj.solaris
1 Replies
Login or Register to Ask a Question