Ubuntu :: Configuring Samba On 2 Different Networks
Jul 17, 2010
i have to different routers in my home. One is at&t dsl modem other is dlink wireless n router.
I have my ubuntu server connected to my att modem as this is the only way I can get it to work. As I can only connect to my server from the outside of my home.
Problem is my desktop and laptops use the dlink because its faster and giver me more bandwidth so everything in my home is wirelessly connected to it.
I use ubuntu as web server, proxy server, and dns server. I have all my computers useing the proxy server my just inputting my proxy address as 192.168.1.0 which is my ubuntu address. But my computers use 192.168.0.0 as this is how dlink is setup.
So anyone know how I can get all my pc's on the network 192.168.0.0 to connected to my samba server which is on 192.168.1.0? Can I setup my dlink dir-615 as a access point? So that it shows up in the 192.168.1.0 network. Or can i configure my pc's to look into the 192.168.1.0 network to see the samba server?
installed ubuntu 8.10 64bit on left over parts for file serving with windows 7, tried the sample config file that installed with it with no luck, then tried new config file, looking at the samba.org website and other peoples configurations i came up with this
[global] netbios name = NETBIOS_NAME workgroup = workgroup security = user
I'm trying to configure Samba with a GUI. I also can't find smbcontool, which I used on my previous 9.10 installation. Is the same thing available for 10.04? I can't seem to find it, no matter how many repos I enable.
We need to implement ntlm for apache[URL]... Apparently this requires joining our linux host to our domain. however we have two active directory servers in seperate domains, one ads is for users only, the other is for computers only. Testing kerb and joining your linux host to the domain requires you enter in a user that has permissions to join the domain on ADS. But how do I join a computer to a domain where my account does not exist, the ADS that only contains computers is the one I need to join.
My Fedora router has three nic's, one for the internet, one for lan and one for the wireless network, which uses hostapd. I have set up samba in order to enable windows file sharing from wireless lan to wired lan. Using the samba documentation I have enabled the wins server and wins proxy which should allow met to browse the shares across the networks, which theoretically should do the trick but it doesn't work as expected. I can see the pc's from the other network using windows neighbourhood, but as soon as I access one of them it fails saying that "network path could not be found" or something like this. Tried using windows 7, windows xp and linux for browsing but the result is the same. As firewall I have shorewall and the samba specific ports are enabled for both networks. How to setup samba for inter-network browsing?
I have attached the global config section from smb.conf file: Code: [global] server string = Samba Server interfaces = eth1, lo, wlan0 bind interfaces only = Yes security = SHARE log file = /var/log/samba/%m.log max log size = 50 .....
I'm replacing an ancient Netware server with a new Ubuntu 8.04 box running samba and LDAP. I want to see if there's a way to get Samba to emulate the way permissions propagate through Netware. Namely, if I see a directory structure like this:
[User Cant See] --- [User Cant See] ------- User Can Edit.txt ------- User CANT Edit.txt
With Netware I can give permission to User to edit "User Can Edit.txt" and the permissions will propagate in reverse to allow User to see the two [User Cant See] directories and edit the text file. "User CANT Edit.txt" will still be invisible to User. This is very convenient as I can simply give user access to one file, they can navigate to it through the directory structure, and all files not explicitly given access to will still be invisible.
With Samba the only way I've been seeing to get this would be to explicitly give User access to both [User Cant See] directories, give him access to the "User Can Edit.txt" and remove any access to "User CANT Edit.txt" and every other file in the latter two nested directories.
how to make a new Ubuntu 9.10 box use our LDAP/Samba server for user authentication. Our Red Hat and Windows machines all use it just fine. I've been trying to use the auth-client-config and libnss-ldap packages for this purpose, but I must be missing something. I'm pretty green with LDAP, so this is my first time diving in... Is there a good How-To or step-by-step read on this? All of my searches lead me to setting up Ubuntu as the server, and that isn't what I want. I've also tried the steps listed in [URL] for the LDAP Authentication section.
First off I would like to install a GUI for samba. After that I want to set up my network so that router stays as the server for the network I have four windows computers already hanging off of the router. This machine which has Slackware on it is hardwired, directly connected, to the router via cat-5 cables. I have samba installed already and I just need to configure it correctly.
I was able to connect to internet using PPPoE until I configured Samba network and set the machine as its server; does this two related? Is it possible there's a conflicting configuration, say DNS server config for example?
I've been busy with configuring Samba with the 389-Directory Server (former Fedora Directory Server) for the past weeks and I almost have everything working. The last thing (I hope) that I haven working are the smbldap-tools which I'd like to use for adding computers and users to the domain. The part where I'm stuck is with the security certificates. I don know how to get the client certificates out of my installation.
My smbldap.conf file contains this: Code: # $Source: $ # $Id: smbldap.conf,v 1.18 2005/05/27 14:28:47 jtournier Exp $ # # smbldap-tools.conf : Q & D configuration file for smbldap-tools # Purpose : # . be the configuration file for all smbldap-tools scripts .....
I used the setupssl2.sh script to setup ssl for my 389-ds, which seemed to have worked fine. I however simply have no clou how to get client certificates out of this.
Im currently using an english book to setup my samba server, and im having problems understanding it.
I dont want to use root to join clients to the domain; i prefer creating a plain user.
Ok, so, the steps i follow are:
net groupmap add unixgroup=srvadmins ntgroup="Server Admins" net groupmap add ntgroup="Domain Admins" unixgroup=dmnadmins rid=512 type=d net rpc rights grant 'ORAServer Admins' seMachineAccountPrivilege
This way, i have a group called srvadmins with permissions to join clients, a group called dmnadmins with permissions to manage users and other permissions, and root.
Now, users: "root", "dmnadmin"(from dmnadmins group) and "srvadmin" (from srvadmins group) can add machines to domain. Root because is root, srvadmin because i granted permissions, and dmnadmin because is admin
So i wonder, why srvadmins group is needed to be granted privileges?
I tryed to lower dmnadmins privileges by revoking semachineaccountprivilege privilege, but didnt worked
net rpc rights revoke 'ORADomain Admins' seMachineAccountPrivilege
looks like its privileges comes from another group and it user managed to add a machine to the domain correctly.
Ok, so, is this really usefull? why do i need 3 kind of users to be able to join to the domain?
I am trying to configure my android phone (rooted Eris running kaossfroyo 2.2) to be used as a midi controller. Which I am having enough trouble with as it is but it has raised an annoying issue that occurred a month ago when I used the phones tethering network with my laptop. After connecting the laptop to the phones network (either tether, or an Ad-hoc network created using the network manager) I am unable to switch to other networks. In other words when I'm done with the phone-laptop connection I cannot connect my laptop to my home network! When I click on the other network connection I can see that it is attempting to connect in the upper right corner of the desktop (the network icon) but it will not make the connection.
What happens is that the network indicator will make the little circle graphic as if it is trying to connect but it never will display the other circle as green indicating that it has connected. but when I disconnect from the home network that is not connecting I will get a message underneath that will say that ad-hoc network disconnected! If I am switching from the android tether it will say Android-Tether disconnected etc. Even though when I click on network manager it shows that I am attempting to connect to the home network (labeled LIBERTY in my case) upon disconnection it shows the ad-hoc or tether connection being disconnected.
I am absolutely baffled by this! The issue persists even after deleting the ad-hoc connection from the wireless settings tab!!! I would speculate that for some reason the laptop is attempting to connect to the previous ad-hoc connection despite me wanting it to connect to LIBERTY. I am very confused and hope someone can lead me in the right direction.
I could use Wireless network. I could see several different networks in my range. Then suddenly the network stoppedworking, and I can no longer see any networks under "Wireless networks".The Wired networks works fine.I tried upgrading ubuntu, but nothing changed. Just to confirm, I rebooted the computer in Windows Vista (Dual boot) andconfirmed that Wireless worked fine there. No hardware problem then.The suggestions I have found on this and other forums suggest looking at the output from iwconfig and ifconfig. But since I'm a n00b at Ubuntu I don't know what to make of it.
This is the output: emil@emils:~$ iwconfig lo no wireless extensions.
I wish to prevent the samba messages (mainly nmbd and winbindd) from appearing in the system log (/var/log/messages). I want to allow samba logging to the standard samba logfiles, but prevent the syslog getting clogged up by samba. I added syslog = 0 to smb.conf and reloaded the config but the messages were still appearing. I also tried the following (and restarted the syslog via /sbin/service syslog restart) # Suppress messages from samba.
For interests sake the messages I'm getting are below (I'm not concerned about the messages themselves, I can chase them up at my leisure via the samba logs) Mar 18 09:58:29 SERVER nmbd[3808]: query_name_response: Multiple (2) responses received for a query on subnet xx.yy.z.zz for name DOMAIN<1d>. Mar 18 09:58:29 SERVER nmbd[3808]: This response was from IP xx.yy.z.zz, reporting an IP address of xx.yy.z.zz.
I have update my linux server from mandriva 9 to mandriva 2010
I was working using samba 2.2.8 and now I have samba 3.5.3.I have transfer all passwd and smbpasswd to new linux.I have convert smbpasswd to tdbsam
when i am using win xp to logon on samba domain the windows XP does not load profiles from samba. I think that the problem is NTUSER.DAT storing in /home/user/profile
The same profile is working using samba 2.2.8 but not working in samba 3.5.3..
I have to rename a group of machines in my little samba domain (tbd backend) but there is an ugly bug that makes this impossible. have set 'rename user script' variable corectly, also checked all configurations.When i change computer name in my windows box, it shows an error saying something like "Error calling remote procedure"Looking on server side, username for the machine gets correctly changed in /usr/passwd, and also in samba database.But samba log says:
=============================================================== [2009/10/08 11:10:32, 0] lib/fault.c:fault_report(42) INTERNAL ERROR: Signal 11 in pid 11052 (3.0.33-3.7.el5_3.1)
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.
Is there any way to limit x number of samba users by samba ? Say if there are already 5 samba users using the share, I would like to restrict any futher samba requests.. How do i do that ?
Start>Run>\192.168.0.1storage gives me "The specified network password is not correct." It lists my domain as "ANTEC" which is the name of my computer, though I've changed the workgroup to WELLS. I've run:
this is my output when I try to compile samba 4.0.0 alpha 7 in Ubuntu using the spec file provided in the samba packages:
bin/mergedobj/samba-util.o: In function `file_lines_parse': (.text+0x595c): undefined reference to `_talloc_steal' bin/mergedobj/samba-util.o: In function `data_blob_talloc_named':[code]....
I click the little icon (I think it's called Network Management?) to selct my home wireless network and it's doesn't show ANY wireless networks what so ever
I updated to KDE 4.7 today with MUCH trouble muon hung at towards the end of the updrade at 100% so i had to force quit with " sudo ksysguard" it refused to boot into the desktop so i had to complete the upgrade from the terminal/safe mode when it finished i could not get my wireless to work my drivers is installed properly and i have tried toggling the wireless switch, much to my dismay but nothing seems to work. i can't scan for networks and the network-manager app just reports "WLAN Interface: Error: Invalid state"
I had installed Centos 5.4 , then upgraded to 5.5 hoping that new version has samba 3.5.x. However the updated Centos 64-bit 5.5 also has Samba 3.0.33-3.28.el5.
How can I update samba at least to Samba 3.0.37 ? The reason is, there seems to be security concerns on samba website, and I wish, at least update to latest 3.0.x .
What i need to do is setup a gateway with 2 red networks, reason being 1 is my internet connection and the other is my bDSL connection for our IP phone system and i need an IP range of traffic routed to the bDSL rather than internet, i can do this on individual PC's but id like to do it at the firewall level so i dont have to configure each machine on the network.
basically i want all traffic to go to internet except for say 203.x.x.x which i want routed to the bDSL router and let it handle it. Ive dome some reading and it seems ipcop and smoothwall cant do it so i was hoping with some tricky work maybe i can get ubuntu to do it for me.
I just bought a new toshiba c655 laptop and had windows 7 on it. i made the dual boot partition on it, yada yada yada, anyway, on the windows partition i can see two networks at my house. one is mine, one is my neighbors. but when i go to the ubuntu side of things not a single wifi network shows up. i did a little combing of the forums and decided to try installing the ndisgtk package which i obviously need internet for. i thought i would plug it into an ethernet cable running straight from the modom and i could connect and download no problem. however. this has turned out to be quite a mistake. ubuntu does not even recognize the fact i have an ethernet cable plugged in. this may or may not be related, but niether my ipod or my cell phone does not show up when i plug those in and when i try to mount them i get an error message that says they could not be found. Im running 10.04.