Networking :: Samba PDC - Client Machine Create New Profile When Server Down
Dec 14, 2010
I have set samba domain. I am able to add win 7 and xp clients. All r working fine. But I have a doubt. If I shutdown the samba pdc server, I should be able to login the client machine with the same profile (which I had, when the samba pdc server was up). Now , if I shutdown the sambapdc, I am able to login the client machine, but new profile is being created. How to avoid this.
How to say to samba that the client machine should load the same profile which was created when the server was up and running. I do not want the client machines to create new a profile when the server is down bcoz in windows domain, when the windows domain is shutdown, the client machines are able to login with the same profile (the profile which was created when the domain was up). I wish to have same thing in samba pdc also.
I'd like to access a samba/SSH server which itself is connected to a VPN Server, therefore acting as a VPN Client. As soon as the VPN Connection is established, samba and ssh connections to this VPN Client get a timeout. But not all of them.
To get a better understanding I made an overview. The first one is a general network overview, without any VPN Connection, the second one with the VPN Connection established.
Network Overview without VPN I can access the server in several ways: *From the router via ssh (router runs ipcop with busybox) *From the laptop via ssh (putty via Windows 7) *From the laptop via samba *From the internet via ssh (port forwarding to the ssh server)
Everything is working as it should.
Now the server that runs ssh and samba service connects to a VPN Server on the Internet, this is also working fine. Now it gets weird. The only samba/SSH connection that is still working is ssh directly from the router to the server. Everything else gets a timeout: *From the laptop via ssh (putty via Windows 7) *From the laptop via samba *From the internet via ssh (port forwarding to the ssh server) Network Overview with VPN active
Why is that? It seems from the little understanding I have of vpn and networking, that incoming packages (like samba request from the laptop) don't get send directly back over eth0 but over the vpn connection. This seems somewhat logic, BUT ssh from the router is still working. Why from the router and not from the laptop? I really can't get my head around it.
tldr; One Client acts as VPN Client and samba/SSH Server. As soon as the VPN Connection is established samba/SSH stop working, but only partially.
i m working on roaming profile where linux is the server & windows is the client... i m implementing it using samba as pdc my linux version is 18.104.22.168-117.fc10.x86_64 but my samba server is not working windows is not authenticating my domain name following is the copy of my smb.conf file
# This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too # many!) most of which are not shown in this example
I can successfully connect to a remote Windows Computer using Terminal Server Client but I cannot save the profile (Fedora 12).This means I have to enter the details every time I wish to connect. As I have many different remote locations I need to access on a regular basis is there any way to save the profiles?
I'm not able to create Samba Account. it is showing the error message as below
Failed to initialise SAM_ACCOUNT for user <username>. Does this user exist in the UNIX password database ? Failed to modify password entry for user <username>
Unix accounts are created in Corporate Office, which is in US. We had a dedicated link from our office to US office. Now this link has been disconnected & now we have a VPN connection through internet to US Office. there is a firewall on both the sides. While creating samba account i tried to give netstat command & i saw it is trying to make a connection to the Unix Server at US, but the connection is not getting established it is showing SYN_SENT.
The port from the Home directory server trying to connect to the Unix server is connecting using Dynamic port but the Unix server port it is showing as PORTMAP. Network guys are not opening all the ports in the firewall. Kindly let me know the DESTINATION PORT that the home directory server is trying to connect to Unix Server, so that i can ask my network guys to open that perticular port. So that i can create Samba account to the users.
I have been using Ubuntu sense about 6.10 and never had to network with a Windows computer before. I have a decent understanding of Linux itself but I am having issues with this samba client. I have a clean install of Ubuntu 9.10 and am trying to use samba to access my shares on a Windows XP(SP3) computer. I am on the network just fine, and all the computers on the network have static IP addresses. When I go to Places->Network->Windows Network I see the "TITANNET" workgroup, (Even before I changed my workgroup to "TITANNET" in the smb.conf file.), but when I try to access it I get this error:
Code: Unable to mount location Failed to retrieve share list from server.
P.S. I tried using /etc/init.d/samba restart but it did not work, I am not sure I am even running the samba server. (Well, it is obvious I am not, what I really mean is what am I running to (not =D)access the shares on my Windows PC.) P.S. I know that this has probably been posted before. I have searched and searched, I am about 1.5 pots of coffee and 4 hours into this.
I'm trying to set up a fileserver on my 10.04 machine, and access the files from Windows 7 via wifi. I can see everything alright, but the transfer speed to Windows never gets higher than 70KBps. Both computers can access the web at 800+KBps. I've also checked with an OS X machine on the same network, which was also extremely slow, so I'm fairly sure that the problem is on the server's side.
Every thing works fine When I log in it creates a folder on the server for the user. when the user logs out, it is copying the user data to the server, for example folders like Documents,Favorites and so on.
My problem is,Im using a Dutch version of Windows 7 but the folders sync are English
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
I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.users and passwords ( same as on the server ) are entered in the XP client machine.When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss
In a newly installed Linux machine which is a client machine, is not listening to NIS domain server even after setting IP address ,default gateway,and subnet mask.What are all the changes to be done in configuration file.And how can be solved
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.
So a while back I decided I wanted to get to know Linux a little bit and I figured the most immediately useful thing for me would be a small home server. About this time I discovered plug computers and I eventually bought myself a Guruplug for this purpose - a small, cheap, power-efficient ARM architecture thing running Debian 5.0.6. Since then I've kind of ambled along with the project as and when time permitted (installing, tweaking, scouring manpages and tutorials is fun, but takes a lot of time), and have now finally got a nice big external harddrive formatted as ext3 and hooked up to it. The time seemed right to go for the samba install. I installed from the Debian repository, configured using SWAT and immediately hit problems.
Since the only user is me and the only access to the computer is over SSH, I have few accounts - there's root which I've disabled from access altogether, there's my sudoer account magnus, and there's my new test account magnus-smb. This one is a standard user, and has identical Unix password and samba password (added with smbpasswd). I intend to keep this up with a separate samba-access account - I'm a little paranoid about allowing any kind of access to sudoer accounts and won't even let SSHD accept password based logins.
Setting up samba, I basically tried to make it do as little as I needed to get a local file server going. The only share is homes, and its path goes to my external drive. The drive itself is mounted as rw,noexec,user from fstab.
Now, with all of that set up I'd hoped I'd be able to mount my homes shares and go. This proved not to be the case - if I set encrypted passwords = yes, my Windows 7 clients behave differently. The magnus account connects but can't authenticate - all passwords are rejected. The magnus-smb account is apparently accepted but then receives a "network path not found" error. If I set it to no, both accounts are prevented from even attempting to authenticate, and I get an error message about "this account is not approved for logging on from this station" (translation from Norwegian). I've been searching around but not finding much. I did find one article claiming this was easier after samba 3.3 and discovered that my manpages said samba 3.2. Yesterday I therefore decided to reinstall samba from source, only to find that the current stable release (3.5) also claims to be version 3.2 in it's manpages, so I probably might as well not have bothered. Oh well, at least I've installed something from source now.
Code: # Samba config file created using SWAT # from UNKNOWN (Q@) # Date: 2010/12/08 12:59:41
i have installed nfs server on my redhat machine.when i want to mount shared data from client(suse)machine the following error occur. "mount.nfs: mount to NFS server '10.3.31.146:/home/usbtest' failed: System Error: No route to host" both machines ping each other successfully.
I have Samba PDC server on CentOS 5..we have 10 thin clients in our network which were working fine previously with the windows Terminal services... Now i have replaced my windows 2003 Domain to Samba Domain Controller.. Is there any why i can connect our thin clients with SAMBA DC in the our environment?
I have configured samba server on fedora machine and i am trying to authenticate a winxp machine through samba server but the issue is winxp machine is not becoming the part of the domain. The error is A domain controller for the domain HOMEDOMAIN could not be contacted.Ensure that the domain name is typed correctly. If the name is correct, click Details for troubleshooting information.
here is the configuration file text..
# Samba config file created using SWAT # from UNKNOWN (8) # Date: 2010/01/31 18:51:36 [global] workgroup = HOMEDOMAIN server string = Samba as Domain Controller.
I have a 11.1 NFS server and several 11.1 NFS clients. If for some reason the server shuts down before the clients then the clients become almost frozen, particularly KDE is rendered useless even after cycling back to init 3 then init 5. I would like to make the clients immune to shutdowns on the server.
I have a number of Ubuntu machines running. Our NAS is FreeNAS. I am typing this on an Ubuntu 10.04 desktop that is successfully connects to an NFS share on the FreeNAS box every day. In addition, we have 3 10.04 server machines that also stay connected to the share successfully, Yesterday, I installed a new 10.04 server machine using IP 192.168.0.11. Everything works except connecting to the NFS share. It always returns with: mount.nfs: mount to NFS server '192.168.0.13:/mnt/amrd0s2/public-NFS' failed: timed out, giving up
Here's what I have checked: I can ping 192.168.0.13 (obviously) The NFS export mask is set to 192.168.0.0/16. The other machines are all on the same subnet as this problem machine (192.168.0.*) nfs-common, nfs-client, and portmap are all installed and running correctly. portmap is running correctly showmount -e 192.168.0.13 give the proper response:
Export list for 192.168.0.13: /mnt/amrd0s2/public-NFS/ 192.168.0.0 iptables isn't even installed (these machines are segregated in a private network behind a hardware fire all) There is nothing related to NFS is any of the syslogs. dmesg has one entry: [6.025966] FS-Cache: Netfs 'nfs' registered for caching which is insignificant. how to at least debug the nfs-client short of downloading the source and actually stepping through the code.
I've just set up NIS on my home network (probably not necessary on this scale, but I wanted to try it out). The server and the clients are all running Debian Lenny. I've got it up and running and have my NIS users on the server logging into graphical desktops on a client machine.My problem is this: The users cannot access a lot of services that are native to the client because they're not members of the right groups (for example, they have no sound because they're not members of the audio group). I figured it would be easy; just add users to groups with the usermod command but the response I get is that the user in question is not present in /etc/passwd. If I understand NIS correctly I'm not supposed to add my users to /etc/passwd on the client machines.
I would like to be able to mount a share served by my mac os X machine(10.6.1). I have read the Ubuntu community doc on Ubuntu samba clients.It didn't say what to do when using dynamic LAN I.Ps.I understand the way to go is to use avahi on the client side(Ubuntu) and Bonjour on the server side(mac os 10.6.1).I can't find anything about how this is done.What do i need to do to set up the client side(Ubuntu) to use avahi with SAMBA?.Because in the Ubuntu community doc it just referenced /etc/hosts, which is for static I.Ps.So i'm assuming that SAMBA on Ubuntu doesn't use avahi by default.All i need to know is how to set up the client side of SAMBA on Ubuntu when i'm using dynamic LAN I.Ps.
I am facing a problem which joining my linux machine to SAMBA Primary Domain Controller (Running on Centos 5). I am able to join Windows XP machine to the domain, but i have no idea how to do it on Linux Client.
I am using VNC to login to remote machine (vncserver). My question is; How can I login to remote machine (vncserver) through VNC client, without having to login to vncserver first physical. For better explanation here is an example: If john wnat to login to vncserver remotely first he has to login the vncserver physically then he can login remotely.