Networking :: Joining Windows Workgroup And Samba Config?
Apr 13, 2010
My interest to be able to join my windows workgroup and be able to work with the windows shares . I am running Fedora 12 in a virtual machine as guest OS. I know I have to install Samba which does not come installed in Fedora 12. Do I need to configure samba after installation if my only interest is to work on windows shares from Fedora and not the other way around? .
I have an OpenSuSe Server configured with DNS, Samba (PDC + WINS), LDAP, Squid All this is in a hybrid scenario with other OpenSuse acting as clients and some Windows 7 also as clients. Everything works perfect. Both systems are able to join and authenticate in the Samba server very smoothly.
My problem is that in my workspace I have several different subnets/VLANS. So I have another OpenSuSe client here that needs to join the domain and authenticate with the samba server, but he just cant find it via the Windows Domain Membership setup screen (where I usually configure the others).
The server can pe pinged, and it does resolv local domain names. It seems the problem is that I have no place to configure a PDC/WINS server in Linux Client. It only asks me for the domain to join, and then it doesnt find it (Im guessing this happens because it cant receive the broadcasts from the server network).
Is there any way to declare the Samba/PDC/WINS server on the client side?
I have a very nice SUSE 11.2 Samba PDC that runs well with Windows XP clients. I am using NETBIOS for name resolution since I dont want to put in a DNS server because my router already has one, Im pretty sure it would make things more complicated. I enabled wins support in smb.conf and made the name resolve order with lmhosts first. lmhosts lists all the ip adresses with their computer names in capitals. I hope thats right. I set up my windows 7 with the reg file from the samba wiki on windows 7 [URL].
That's great now I get the old screen from XP in windows 7 when joining the domain. I gave the machine netbios name MAINPC a smb trust account MAINPC and added the unix user MAINPC$ that should all work. I manage to successfully join it says welcome to domain, afterwards an error appears "changing the dns name of this computer to "" failed" and something bout not finding the domain controller. although I joined. then I resatart and when I try to log on it says "trust relationship failed". How to make it join and logon properly.
I'm running Ubuntu 9.10, and am getting the following error when I attempt to access the HADEN workgroup on my Windows network via Samba: Unable to mount location - Failed to retrieve share list from server. I ran the following command:
Code: peterv@MBP17U:~$ findsmb sh: /usr/bin/nmblookup: not found *=DMB +=LMB IP ADDR NETBIOS NAME WORKGROUP/OS/VERSION
[Code]...
On my Windows XP machine, I can see the Ubuntu directory and can access files on it. I just can't access the Windows workgroup from Ubuntu.
I have one PC (morpheus) on which I've chosen to share a couple of folders in the home directory. The folders show the "Shared" icon in them and are chmod 777'd. I can access them by going to Dolphin -> Network -> Samba Shares -> Workgroup -> Morpheus -> Foldername ... but *only* on that same computer (Morheus). All my computers are running Kubuntu with KDE 4.5 and attached by ethernet.
If I try and go to Dolphin -> Network -> Samba Shares on *any* other computer, Dolphin just reports "Unable to find any workgroups in your local network. This might be cause by an enabled firewall." I've never set up a firewall on any of these computers. Do I need to open ports on my router just for this? Morpheus is set to DMZ mode on the router so it should accept *any* port request not assigned to another computer already.
I have a feeling that there's just something obvious I don't know, because in all my years of trying to get this to work on and off, I've never managed to find a decent *simple* CLI or GUI based tutorial or figure it out myself. The web just seems full of long threads of people having very specific problems unique to their situation trying to sort them out. I just want to share folders over a lan via KDE.
At first I installed debian 5 and I want enter on my workgroup using windows XP PCs, in same time I want use firewall now when I stop firewall I can access on the pcs but when I start iptables and open port for samba such as 137,138,138 and 445 I can't access on any PC on work group this is the output of iptables - L command:
Code: Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns state NEW ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm state NEW ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn state NEW ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-ds state NEW
I have two types of OS in my network windows (XP,7) and linux (debian 5.03, ubuntu 9.10 8.04, fedora 8) all of linux can see an reach the windows shared folders but windows can not reach linux shared folders what can I do fo fixing this problem what should I follow. I have to say I disabled all of windows firewalls; and all linuxs can reach each other shared folders. (My network is Workgroup not domain).
I 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 a home network with Ubuntu (3 PC) Windows (XP 3, 7 1 vista 1) and Lacie networked drive. I have successfully edited fstab to mount the lacie drive at startup on my main ubuntu PC and it works a treat. My problem is setting up the Unbutu PCs to browse the workgroup. This was working but now (since my last update of Unbutu I think) I get prompted for a password and no matter what I do it does not let me browse.
Now I have read a few things on Samba and do not have the time or ability to become a network engineer. All I want to do is is have on my Ubuntu the same browsing ability that seems to come out of the box in Windows.
So everything seams to be fine on my F10 boxes networking. I can ping computers on the network with both LAN IP addresses, and their hostnames. However, I can only access my F10 box with a LAN IP. In windows, I go to view workgroup computers... only the windows systems. If I go to the F10 system with samba via the IP address it works fine, just can't get to it with a hostname.
I'm wanting a static IP of 192.168.1.22. And on the windows workgroup "workgroup".
I'm new to doing things with linux that are remotely difficult... and well, this has proven to be. I can't work out if this is a SMB problem, general networking...
smb.conf (I've ommited the top info segment due to forum character limit, as well as the SELINUX notes)
Code: #======================= Global Settings ===================================== [global] # ----------------------- Netwrok Related Options ------------------------- #
I need to reinstall the samba directory, mainly to get the default smb.conf. It appears I have to remove smbclient, which takes ubuntu-desktop with it (which I now know is mostly ok). Hopefully reinstalling those will then replace /etc/samba. There's enough troubleshooting samba threads out there for the rest. I'll flag this solved when I'm done.
I am working on setting up BackupPC on Maverick , for my network. I am unable to view my WinXP machine's shares if I type "sudo smbclient -L //JonDoe/" . However it works if I use the XP machine's IP "sudo smbclient -L //192.168.1.100/". Viewing the workgroup (with the proper name) in Nautilus only shows the Ubuntu machine. I ended up using multiple how-tos which had me install the following packages : Samba, smbfs, system-config-samba.
With all that nothing worked so I decided to uninstall the above with "remove completely" in synaptic, expecting everything to be completely gone. But /etc/samba with smb.conf still existed so I deleted it. OOPS!!! . Installing Samba after the uninstall did not create a new /etc/samba/ directory. Reinstalling smbclient in synaptic didn't create it either. Uninstalling smbclient with pull BackupPC with it. Sweet! I do have a firewall package installed which allows outgoing but blocks inbound traffic from outside my LAN. I will disable it when I get home.
I want to join a Windows domain with my ubuntu (for project of evening school)I'm following this guide http://ict-freak.nl/2008/10/26/how-t...indows-domain/ but when I put in the command I get this error
Code: Error: Unable to resolve DC name [code 0x00080026]Resolving 'project2010.be' failed. Check that the domain name is correctly entered. Also check that your DNS server is reachable, and that your system.is configured to use DNS in nsswitch.Probably need to Change the nsswitch file.it looks like this atm
Code: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality.[code].....
`I'm on 10.04 trying to access shares on a windows machine. The machine does not appear at all in windows network/workgroup. I can see these shares when I'm on my windows partition so I know the problem isn't with the network.
I've just recently got my samba confg working with a workgroup. I can view/access/modify windows machines on workgroup just fine. What I can't do is access shares created on ubuntu desktop. My ubuntu machine appears on Windows Workgroup, but denies to Windows users. When I try to create a share using Folder Sharing, I get this returned to me: 'net usershare' returned error 255: net usershare add: cannot convert name "Everyone" to a SID. Invalid parameter.
Here's by samba config file. [global] workgroup = JANSSEN HOME server string = UServer encrypt passwords = No map to guest = Bad User obey pam restrictions = Yes pam password change = Yes passwd program = /usr/bin/passwd %u passwd chat = *Entersnews*spassword:* %n *Retypesnews*spassword:* %n *passwordsupdatedssuccessfully* . username map = /etc/samba/smbusers unix password sync = Yes syslog = 0 log file = /var/log/samba/log.%m max log size = 1000 dns proxy = No usershare allow guests = Yes panic action = /usr/share/samba/panic-action %d
[printers] comment = All Printers path = /var/spool/samba create mask = 0700 printable = Yes browseable = No
I have successfully deploy/configured the Ubuntu PDC and connected Windows XP too. Its all working fine.. but now I wana to connnect Ubuntu Desktop to same Ubuntu PDC. I have changes in SAMBA, as per required for joining Domain and execute the <net join MyDomain -u root> to its all fine. No error. But How to Login? On startup there is nothing like option for selecting Domain or Workgroup..
I am running Fedora 12 as a Guest OS using Vmware Player. My host OS is Windows 7 Pro. I have no problems connecting to the internet with Fedora 12 using Firefox as browser. My problem is that I can't connect to my home windows network "Workgroup" I am using NAT and dhcp for IP. When I checked the network device tab it shows eth0 non active. Hardware tab shows eth1. I tried to activate eth0 by using "ifconfig eth0 up " it returns no such device. I then tried "ifconfig: and it returns eth1 and lo but eth0 was not there. Host network adapters shows 2 virtual adapters ...WMware vmnet1 and vmnet8. What should I do next?
I set up a samba file sharing system but my workgroup asks for a username and password see this-This is the text in /etc/samba/smb.conf:
# smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed.
I've used Samba for several years and when it works it's great. Unfortunately from time to time it seems to get messed up and either all the 7 machines on my home network can't be seen or I can't access the shares on some. I have 2 Windows XP computers 4 Kubuntu and one Linux Mint KDE, all the latest versions. I'd rather not plough through all the documentation for Samba, but would really like a "model" smb.conf with a few comments about parts that might have legitimate variants. I have researched this with Google searches many times but have failed to find the information I need in concise form.
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 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 a file of size 6GB. I would like to find an utility which will split and join in both windows and in Linux. I know Linux has native split and cat for this purpose. My idea is, if I give this split files to anyone, they should be able to join them either in Windows or Linux. Is there any utility to do this job?
When I run from the command line, I get this output:
Traceback (most recent call last): File "/usr/sbin/system-config-samba", line 45, in <module> mainWindow.MainWindow(debug_flag) File "/usr/share/system-config-samba/mainWindow.py", line 82, in __init__
[code]....
I have removed and re-installed and get the same crash.
I have created a linux vm on hyper-v and would like to put it on our network domain. The Hyper-V software is running on windows server 2008. I would appreciate it if you could please give me a step-by-step guide on how to make this possible or a reference where i can get information on how to do this.
I have 6 RHEL 5 Servers, 1 5.2 32-bit Master Login Server, which services the other 5 RHEL 5.3 64-bit App Servers, for Login and Authentication. I am wanting to intigrate these with my Windows AD. I use Windows Server 2003 R2 Standard. I currently have the RHEL servers setup to have the 32-bit (5.2) server as the NIS Master, serving NIS out to the remaining 64-bit(5.3) servers.
I also have a Windows Server 2003 R2 Domain Controller serviceing my Windows AD. I would like to be able to ingrate them to be able to use Password Sync and Single Sign-on. I am not real worried about having Kerberos or LDAP running, because the systems are NOT physically connected to any external source. (The network is completely self-contained). I am just wanting to be able to use Password-Sync and DNS between the different networks.
My questions are as follows: 1) Would it be better/easier to make the Windows Server the NIS Master or the RHEL 5.2 Server? 2) If I make the Windows Server the NIS Master, how would that effect the remaing servers who get their NIS info from the Redhat Master? 3) If I keep the RHEL Master as NIS Master, how would I intigrate that with AD and have both shared Passwords and DNS?