I am having problems with samba, I went to the yast samba setup and thought I configured it but now I am stuck. I just want to really set up sharing my printer and one folder. any help will be appriciated I have a linksys router, windows vista home 32 on a laptop, opensuse 11.1 64 with windows xp home 32bit running in seemless mode on a virtualbox.
I have 3 computers. One running openSuse 11.3 with SAMBA and the other 2 are Windows 7 Professional boxes. I have the same user name and passwords for all three boxes.
From the Linux box I can access one of the Windows 7 boxes but the other won't accept my user name and password. The one that won't accept has Windows LiveID Sign-In Assistant installed. Apparantly that's an automatic install now.
I've read that there is a bug with the SAMBA libsmbclient [URL].
I tried updating via YAST but still end up with version 3.5.4-5.1.2 and this doesn't work.
In the Windows network, there are 2 or more shares as follows:
I can access both shares in nautilus e.g. "smb://bla.bla.company.com/share $". The shares are mounted then in "home/user/.gvfs/". ok.
In one of shares, is a file-based repo, which I can access easily with svn.
Unfortunately when I try to checkout any normal folder from a share (as in MS$ with Tortoise), I fail...
What's more in the file-based repo, external references exist to other shares in the network, the name is as "file:///X:/folder/file.txt". SVN gives error messages about such references and does not access files (where "X:/" is also mounted, but as a "test$ to smb://bla.bla.company.com/test$" in "home/user/.gvfs/ ").
My questions: - what is the best solution to mount shares, so I can access all the SVN repos? - How can I access normal files and folders from a share with svn? - How can the problem with external file references in a file-based SVN repo can be solved? without to checkout/commit files "manually"... - Some checkouted scripts (Perl, etc.) use libs from shares: "Use lib qw(r:/tools/perl/lib/). how to get around this as well? - How can I change mount-names: "test$ on smb://bla.bla.company.com/test$" to something like "share-test$? - How can I change the mount location? in "home/user/SAMBA/" instead of "/home/user/.gvfs/"..
I had tried to use "fuse-smb": installed, created config, but when I run "fusesmb /home/user/SHARES/", i get an error message: smb.conf is missing.. Where can I get this config?
And one last question: Can someone recommend me a svn-gui? i have tried tried rabbitcvs, esvn and some others .. but all either do not work or crash.
I'm not sure, but maybe I can use svn and tortoise in wine, and checkout/commit the necessary files from/to "home/user/project/"? there raises the questions whether it is possible to install tortoise in wine and how to mount the shares on the wine? How to manage the hard-coded lib-names in some scripts...
I have sucessfully joined my machine to Windows Active Directory (it wasn't all that complicated ). I was wondering where the uid information for users that login is located and managed? The reason I ask is because we are going to set up a separate NFS server and NFS relies on the uids of the users. I know there are numerous ways I can view the uid for a user (through the use of the id <username> command, do an ls on the /home directory displaying the uid instead of the translated name, etc), but is there a way to have this readily available (almost as the /etc/passwd file is)?
I am trying to connect to a Windows 7 PC through Samba, and while samba can find the Windows 7 PC, it cannot access it, asking for a username and password instead. However, I can access the another Windows XP share perfectly fine.
I can't for the life of me figure out why I cannot browse my own shares from my linux boxes. both run OpenSuSE 11.3 I follow swerdna's tutorials and reboot several times but don't have a clue as to whats going on to prevent me from viewing localhost shares or 2nd linux box shares. I get 'unable to mount location, Failed to retrieve share list from server' error when I click on my workgroup icon in nautilus.
My USB printer is connected to an OpenSUSE 11.2 desktop on a home network. I shared the printer with samba and can print from a Windows XP notebook connected to the network, but whenever I try to connect a Windows 7 machine, I always get the message that Windows cannot connect to the printer.
I am using the mount command to mount Windows shared folders are another machine on my LAN, to have them show up in the Linux filesystem. The command mounts the folders just fine, however the access is read-only.
In the command, I am also using the -o option to specify a username and password that should have full access. Also, I have used this identical command on my other distros and it seems to work fine. I've Googled high and low, trying to find a way to specify a Samba user/password for authentication. I know one of the other distros had a program that I could specify a Samba user/password to simulate a Windows login.
I want to share files from my opensuse 11.3 laptop and Windows XP desktop. It works well between Vista and XP. The domain name is WORKGROUP I checked everything: firewall Opensuse (open ports), firewall XP (disabled), XP workgroup name (WORKGROUP), opensuse Samba workgroup name (WORKGROUP) And my domain controller is set to "Not a DC" Still when I launch network in Dolphin I get "Unable to find any workgroups in your local network"
I setup shares on a fresh install of Ubuntu 9.10 via the shared folders application from here: [URL]. The shares are visible on my vista laptop but when I go to open them I get an error "you might not have permission to use this network resource". I set the smbpswd to nothing via the method in the above article as well and my /etc/samba/smd.conf has the follow lines:
 path = /media/Secondary Storage available = yes browsable = yes public = yes writable = no
 path = /media/New Volume available = yes browsable = yes public = yes writable = no
I had an older fedora box (I think it was Core 3) that acted as my file server in my small network (4). It worked fine when I had all XP clients connecting to it. Recently we decided to get all new computers. So now I have a fedora 10 box acting as my file/print server and all Vista Home premium computers as the clients. For the life of me I can not get samba to work. When I try to map the network drives on windows it will not let me authenticate. I install swat and try it that way, still no luck. Here is a copy of my smb.conf file:
Code: # Samba config file created using SWAT # from UNKNOWN # Date: 2009/05/19 21:47:31
[global] workgroup = AIVILANET server string = Bighat Samba Server interfaces = eth0 null passwords = Yes smb passwd file = /etc/samba/smbpasswd passdb backend = tdbsam username map = /etc/samba/smbusers syslog only = Yes announce version = 5.0 name resolve order = hosts wins bcast socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = CUPS wins support = Yes
[HP-LaserJet-1200] comment = HP LaserJet 1200 path = /var/spool/samba read only = No printable = Yes printer name = HP-LaserJet-1200 oplocks = No share modes = No
[printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No
[home] path = /home/savona/ username = savona valid users = @Users admin users = savona write list = savona force user = savona force group = savona read only = No hosts allow = 10.0.0.2
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.
I 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
I installed SLES 10.2 with SAMBA 126.96.36.199 to retire our old Microsoft Windows 2000 Server and save some money. All was fine until last week when our chief asked to me to set password expiration for all clients. This morning, all users cannot logon because, when they logon, windows asks to change password and then it gives error error "Access Denied".
I have a fileserver running openSUSE 11.2 and samba services for file access from MS Windows based workstations. My question relates to changing default permissions on files and directories created from the windows clients.
Following are extracts of the /etc/samba/smb.conf file :
Even with the above entries, sometimes there are files and directories created by the windows clients having permission
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
I have installed Samba on my one of my computers that has Fedora 12 installed 192.168.1.2, and the other PC that has Windows Vista installed 192.168.1.3 Hostname Adam-PC Network: WORKGROUP. Both PCs are connected to Wireless Netgear Router with DHCP enabled on the router as well as the two computers. How do I set up File sharing on these two systems?
OK, this is really little to do with Linux, as my question really involves my Vista Home machines. Anyone know good methods to have Windows Vista (Home Edition) machines stay mapped to a SAMBA share on a Linux server? I'm using user-level security on the server (Ubuntu Server 10.10), and it (generally) works really well, but I can't get the rest of my family to use it, as (understandably), they don't want to have to type in their password to the share every time they log in to the Vista machines (or my one XP machine left, for that matter), plus the problems when it occasionally decides it's already tried to connect once and failed, and refuses to "restore" the connection, ugh. I currently have one Win7 machine, and surprisingly, with the Win7 Home Premium edition, it actually "remembers" the passwords to the SAMBA shares.
i have recently started my masters degree program and i have to install fedora 11 for one of my courses. The problem is when i try to install fedora 11 on my laptop, it wipes out my windows vista installation. I want to keep vista. I have a sony vaio laptop model VGN-FW340D. 4GB RAM and 400 GB HD. i first shrink my hard drive to free up around 100 GB. Then i run fedora 11 DVD and let it make the partitions on my free space.. I have tried everything.. I chose use free space the first time, but i didnt work, it wiped out my vista, next time i chose custom layout and defined boot, root and swap partitions , but again it wiped out my vista.. I have read many guides to dual boot vista and fedora and have carried them out step by step, but nothing works.... Also i dont have vista installation DVD, i just have the recovery CDs, so everytime it wipes out my vista, i have to do system recovery, ive been trying for a week now, and its driving me crazy, i asked a friend of mine to help me out, he has dual boot system, and he tried it and it did the same thing, wiped out my vista... i just have one drive C: with two partitions, one small partitions which contains recovery files, and the rest of the partition has vista.......
I have a single hard-drive on a spare computer and I decided to try out Ubuntu on recommendation from a friend. I really like it now but at first I just dual-booted it, and now I want Vista gone. I know it's unnecessary to have just one OS but my hard-drive isn't particularly big and I'd prefer to have Ubuntu by itself. Can anyone tell me how to eliminate vista and leave Ubuntu as my sole operating system (I've all my files from computer on another computer so I don't have to worry about losing anything).
I am trying for the last many days to setup my opensuse 10.3 as Samba PDC Server according to the URL mentioned below, but in vain:How to setup SUSE 10.3 as Samba PDC - openSUSE When ever I try to join a Windows XP machine to the domain setup on Opensuse, I get the error:'The following error occured while attempting to join the domain. The network path was not found'. What could be the reason for this error despite of the fact the I am able to ping the FQDN of the PDC from the XP machine, but the XP machine simply denies to join the domain because of the above mentioned error.
Installed a security update for samba tonight via Opensuse updater.Now, when trying to access my home network an authentication box pops up (never used to)Asks me to enter authentication for my home network.I enter my username and password and hit enter. After a few seconds the authentication box pops up again askingfor the same indicating I have entered the wrong username / password combination (which I know I have not).
When I installed it, I used lvm to parition my hard drive and just let it do its thing. It shrunk my windows partition to 150 GB of 250 GB. I assumed it would let me dual boot just like ubuntu let me do but when I booted. It only gave me two options Desktop -- OpenSUSE 11.3 and failsafe -- opensuse 11.3. Those are also the two options it gives me when I look at the boot loader settings. Did I delete my Windows parition or did I just forget to specify to allow for a dual boot and how can i fix this so I can dual boot
I have been through the threads here and there and think I have everything set up for the two computers to share files.This a vista64 box to a openSuse 11.2. 11.2 has been updated with the newer samba files.The Vista box has the shares set up. I seem to can't get Samba to see it no matter which settings I give it. It says there is a possible firewall between Opensuse and vista.
Ubuntu 9.10 would see the share with just scanning the stuff but it was extremely slow.I keep looking for insight in the forums for what I am seeing or missing to get around this.I would like to see the speed of the network when I share files, the sneaker net is getting old with the usb drives.