Networking :: Samba Server To Access Solaris 9 Partition On Windows
Jul 16, 2010I want to install Samba server to access a shared folder in Solaris box on a windows box
View 1 RepliesI want to install Samba server to access a shared folder in Solaris box on a windows box
View 1 RepliesI cannot access my Ubuntu samba server using windows XP or 7. I keep getting prompted for a username/password. I have created both a unix username with password and a samba username with the same password i used for the unix user. When windows prompts me for the username/password i give it the same one i created on the samba server, but it still will not take it. I know samba is running because i can view the shares but cannot access them without getting prompted for username/password. I just have the one user for now while i am testing, but there will be more.
I am using Ubuntu Desktop 10.04.
I have just configured samba on suse linux. I can see it in the windows workgroup but i cannot access it. When it says the server is not accessible. You might not have permission to use this network resource.I have attached a copy of smb.conf
View 2 Replies View RelatedI've been running a Samba server under RedHat 8 for five years without a hiccup. I want to cut over to a F10 box but cannot get shares accessible. smbclient attempts fail over NT password error. SELinux is disabled. Server is visible on the network. Users require no password access to shared data.
smb.conf follows:
# Samba config file created using SWAT
# from UNKNOWN (>)
# Date: 2009/06/12 14:15:15
[code]....
So I setup the newest Ubuntu on my old desktop on a 30g HD and have 2 200G HDs with a ntfs file system on those two. I got SSH and FTP configured, then went on to setup Samba.I have it (seemingly) set up well. /dev/sb1 gets mounted on /data1 /dev/sc1 gets mounted on /data2.I want anyone connected to my router to be able to see this machine and be able to read and write to both shares.
I configured WINS on my laptop to point to the linux box. and i've seen the pc in question (TECH-PC) in "My Network Places" on both of our laptops.Long story short, I try to connect to my network share and it says i don't have permission and i need to contact my network admin. This computer is the only one with Linux installed, the rest are windows-OS.Let me know if you need more info, pretty stumped here, have searched, read, scrapped my install and started from scratch, maybe i need to sleep on it
I am using RHEL5 in that i have installed samba rpm as well as created samba users while access the shared folders in WINDOWS i got "access dined" error.
View 1 Replies View RelatedI installed samba (in Ubuntu 9.10) and I can access shared files in Ubuntu from Windows 7 but when I try to access W7 files from ubuntu: Places>Network, it prompts me Username,Domain, Password. I tried Username = W7 usernameDomain=my workgroup (MSHOME)Password=W7 login passwordbut it prompts me same thing again...checked some other related threads but couldn't get any luck.
View 4 Replies View RelatedI had 10.04 set up in my computer so that I had two folders in home, they connected to folders in a windows 7 computer by adding the following to the fstab file:
Code:
//10.0.0.80/Movies /home/loco/Videos/Movies cifs username=guest,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
[code]....
Ive managed to install samba, I've shared a folder. I can access from a Windows 7 machine via \ubuntupublic. I can put files in the folder form the ubuntu machine and edit them on the windows box. I can put files in the folder/share from the Windows box but then I cannot edit them on the Ubuntu machine (they are read only and have a "Lock" over them). I can fix this by going to the properties of the file/folder in Windows and manually assigning "Everybody" full control (then the lock disappears and all is well.) I want read/write access to all the folders contents from both machines all the time (security is NOT a concern I WANT the permissions wide open) what am I doing wrong?
View 7 Replies View RelatedI can't be the first one with this problem. What am I missing?
I have setup Samba servers in the past, just none under SELinux. The last one I configured was a couple years ago, so I wouldn't doubt I'm a bit rusty.
---- Environment summary:
Clean server install of CentOS 5.4 includes SELinux
- lets call this 'server'
- updated samba to 3.0.33-3.15.el5_4.1
Client1 - Windows XP sp4 - WINS configuration uses 'server' noted above
Client2 - Windows Vista - WINS configuration uses 'server' noted above
---- What works / what doesn't ------
Clients can see the server (XP and vista) in network neighborhood.
The following does not work from windows (xp or vista)
net view
net view \server
net view \server-ip
net view \servershare
This does work on the server
smbclient -L \server
smbclient -L \server --user validuser
smbclient -L \client1 --user validuser
---- What I have configured and tried (config/output below) --------
firewall ports for samba are open
SELinux enforcing or permissive
file context is set on share
samba booleans are set
***firewall
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 137 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m udp -p udp --dport 138 -j ACCEPT
-A RH-Firewall-1-INPUT -s 192.168.0.0/24 -m state --state NEW -m tcp -p udp --dport 139 -j ACCEPT
***SELinux mode/booleans
# sestatus
SELinux status: enabled
SELinuxfs mount: /selinux
Current mode: permissive
Mode from config file: enforcing
Policy version: 21
Policy from config file: targeted
# getsebool -a | grep smb
allow_smbd_anon_write --> off
smbd_disable_trans --> on
# getsebool -a | grep samba
samba_domain_controller --> on
samba_enable_home_dirs --> on
samba_export_all_ro --> off
samba_export_all_rw --> off
samba_share_fusefs --> off
samba_share_nfs --> off
use_samba_home_dirs --> on
virt_use_samba --> off
***filesystem
# semanage fcontext -a -t samba_share_t �/share/photos(/.*)?�
# restorecon -R -v /share/photos
***Disks
]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 9920624 2070872 7337684 23% /
/dev/sda1 101086 19146 76721 20% /boot
tmpfs 1846656 0 1846656 0% /dev/shm
/dev/mapper/VolGroup00-xen
100791728 202540 95469188 1% /xen
/dev/mapper/VolGroup00-photo00
251981556 191716 238989840 1% /share/photos
/dev/mapper/VolGroup00-dmsdoc00
100791728 192256 95479472 1% /share/alfresco
none 1846656 104 1846552 1% /var/lib/xenstored
***smb.conf
[global]
workgroup = workgroup
netbios name = server
security = user
name resolve order = wins hosts lmhosts bcast
encrypt passwords = yes
hosts allow = 192.168.0.
hosts deny = 192.168.122.
interfaces = eth0
passdb backend = tdbsam
oslevel = 222
local master = yes
domain master = yes
preferred master = yes
cups options = raw
username map = /etc/samba/smbusers
wins support = yes
log level = 4
guest ok = yes
[photo]
comment = Photos
path = /share/photos
read only = yes
guest ok = yes
I am new to Linux and want to setup Samba server in my CentOS 5.3. I have downloaded samba server from yum repository with command
yum install samba
I then followed the steps which i got by some googling on
http://crazytoon.com/2007/05/22/samb...centos-fedora/
this site which contains steps like code...
How to resolve it ?
I have been having problems with Samba sharing from my Ubuntu-Server to all of my Windows 7 machines. All of the machines are able to access the samba shares however when i try to write to these shares i get a "Access Denied" error. This only happens under windows 7, my Ubuntu laptop easily writes to these shares. PS My permissions are read/write to all
View 1 Replies View RelatedSo far I've been able to get Samba to connect to the my WORKGROUP and I can see my Vista PC as well as my 3 hdd's but when I try and open the folder, any folder, C$; D$; or E$ I'm confronted with a user name and
password prompt. No user name or password combination that's associated with either machine, openSUSE or Vista will grant me access. Why am I seeing this prompt and what I would really like to know is can it be
disabled all together? Otherwise, what user name and password does Suse want? Do I need to tell Suse in a terminal a user name and password?
I'm trying to set my openSUSE desktop up to use the printers on my office network via Samba. I managed to get it working in 11.2 but 11.3 is giving me some trouble.I am able to access the printers and use them but I have to enter my network credentials each time I print. In 11.2 I was able to "save" my username/password and was not required to do this. Are there any Samba packages I need to add in addition to the basic ones? There seems to be a lack of documentation on this particular subject, most is concerning Windows clients printing on Linux print servers.
View 2 Replies View RelatedI am unable to access samba share from my windows machine. I am getting the following error
View 9 Replies View RelatedI have ubunto desktop 10.04 LTS I installed samba and able to access the share on windows machines. However i want to access the share on 300 windows machine(for example) systems at a time Is it possible.
View 5 Replies View RelatedI am using samba version 3 (probably), and the problem is that the linux based nas can only be accessed via its ip 192.168.x.x but not its hostname /server string appointed by the smb.conf file:
Code:
[global]
netbios name = NAS
server string = NAS
smb passwd file = /etc/smbpasswd
[Code]....
I have a problem with 'Samba' shares on Ubuntu 8.04. Bringing shared folders over from Windows (on another computer) is not a problem...until I try same process with a Windows backup folder holding .tib data from an 'Acronis' backup.The files appear in Ubuntu Network, everything looks o.k., Ubuntu just won't copy the data to another folder. Other shares work without a problem, its only with these ':.tib' data.
View 3 Replies View RelatedAfter several times install & reinstall,i got a stable dual boot vista / ubuntu 10.10.,but i can't access or even see my windows partition from ubuntu,i installed my dual boot with wubu this time,in previous installation when i didn't use wubi , i didn't have such a problem & windows partition with all my files in it (windows files,media ,etc,) was easily accessible from "places" on ubuntu . I already disabled windows firewall & other security options but nothing changed
View 3 Replies View RelatedI would like to configure an access to folder
/fileserver
for two services : Samba and VSFTPD
How to do it ? How to create folder rights that samba and ftp user will have an access (read/write/delete) to all directories in /fileserver.
My system is CentOS. I`m starting samba and vsftpd like a root (/etc/init.d/vsftpd start etc.)
We are running samba on a Fedora release 8 (werewolf). The samba server is located on a dmz subnet off of my Cisco ASA 5510 firewall. From my inside network I have no problems connecting to the samba shares. However when someone uses a VPN connection they cannot connect to the samba share. VPN users are assigned an address from a pool which has no problems getting to the dmz based samba server. All ports required are open on both firewalls (Samba server and PC with VPN connection.) I consistently get an error saying Windows cannot find the ip address of the samba server. I have looked at the samba logs in varlogssamba and found a complete list of connection attempts listed by ip address. These addresses match the pool addresses that are being assigned by the firewall when someone tries to connect using the vpn.
Each entry has this:
lib/access.c:check_access(327)
connection denied from (ip address that is assigned by firewall)
smdb/process.crocess_smb(1062)
connection denied from (ip address that is assigned by firewall)
I checked the smb.conf to make sure the subnet the pool addreses is listed in the global section. It is.
I try to access my ubuntu machine via my Windows Machine (Samba Server on Ubuntu Machine). Anytime I try to access the machine it asks me for my password...I enter it but it says it is invalid....is there anyway to reset it? I have already tried to remove and purge everything Samba related and then tried reinstalling, but that still didn't do anything
View 2 Replies View RelatedI have a Samba server conecting to a windows XP machine that is in workgroup named CLOUDLESS. I have a share folder that resides in the server that can be accessed no problem by the XP client, but I got the following error message from the syslog:
Code:
Apr 5 18:15:44 firefly nmbd[5656]: find_domain_master_name_query_fail:
Apr 5 18:15:44 firefly nmbd[5656]: Unable to find the Domain Master Browser name CLOUDLESS<1b> for the workgroup CLOUDLESS.
Apr 5 18:15:44 firefly nmbd[5656]: Unable to sync browse lists in this workgroup.
[Code]....
I installed samba server in my external HDD. But it is not shown in system ----> Administration. Is there any problem. Then How to give permission to access home folder.
View 3 Replies View RelatedI have a Samba server running on Slackware 13.0 and its service running with diskspace mounted on a Windows XP machine. Is it possible to mount the XP diskspace on the Samba server?
View 3 Replies View RelatedI have an ubuntu 11,04 samba domain server, I want to also configure this machine to work as a dhcp server, however this have give me some issues with te windows 7 workstations, my guest is that it have something to do with the iptables because those station do join the samba domain went both server and workstation are conected to a router.
This is the script I use at boot
Code:
#FOR SHARED INTERNET
/sbin/iptables -P FORWARD ACCEPT
/sbin/iptables --table nat -A POSTROUTING -o eth2 -j MASQUERADE
[code]....
I haven't test it with windows xp station but I have use the same code in the past with no problems, and since this is my first time joining windows 7 station i belive there must be some other port that need fowarding.
I have been having off and on issues with my samba file shares. I am sharing a NTFS formated hard drive where the mount point is in my home directory, as well as a printer connected via USB. I am to the point where printing works (using it as an ipp print share, samba is configured for it, but I don't know if it works or not), and I can access the shared folder from Windows, but I can't access the shared folder from any Ubuntu machine. I get the error:
[Code]....
I have setup CentOS 5.5 with SAMBA 3, configured all my Unix users, Samba users and shares. My server hostname is REL3
[root@REL3 ~]# smbclient -L REL3
Password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.29.el5_5.1]
[code]....
I need to mount a partition that is on a server (via samba).
I am doing the following in my fstab
Quote:
//server/www /media/www cifs rw,user,allow_other,default_permissions,credential s=/root/.smbcredentials,iocharset=utf8,dir_mode=0777,file_ mode=0777 0 0
I can mount it but it just allows me to access with the root user. How can I do it to get access with any user?
Additional Data: I added "rw,user,allow_other,default_permissions" because I thought that would solve de problem but it didn't.
I have recently installed Debian on my NAS server. I have also configured Samba for sharing the home directory of a nas user i.e. /home/nas To this directory I have read/write from a windows machine using the nas user credentials. When I mount my RAID partition /dev/md0p1 to the /home/nas directory, I then realize that all content in this directory (files and subfolders) is only owned by the root user. When trying to access from the windows machine the /home/nas directory, I do not have any write access, only read. I have tried both the nas and the root user credentials.
I have also attempted the change the ownership of the mounted RAID partition to the nas user with the -R recursive option, but I get for the internal files/subfolders an error "operation not supported".
How can I overcome this problem? - Is there something not done properly in the /dev/md0 array definition (i.e. ARRAY /dev/md0 level=raid1 num-devices=2 UUID=bddf8b69:c97967b5:cb104784:7fef7cc3 )?- Is there something not done properly in the /dev/md0p1 mounting (i.e. mount /dev/md0p1 /home/nas)?- Should I do any extra configuration before the mounting etc? I would really appreciate any kind of help I could get.
Some background info
b) After OS boot, when I do a:
# cat /proc/mdstat,
I get:
Personalities : [raid1]
md0 : active (auto-read-only) raid1 sda1[0] sdb1[1]
4200896 blocks
unused devices: <none>
[Code]...