Server :: Samba Login/passwd Client - Why The Users Id Arent The Same On Every Machines?

Feb 8, 2010

I am encountering this issue:

Samba login/passwd client : why the users id arent the same on every machines?

So the client side config looks like this:

Quote:

/etc/pam.d/ files :

Code:

returns:

Code:

View 4 Replies


ADVERTISEMENT

Debian Configuration :: Reboot Both The Server And The Client Machines Every Time Change The SAMBA Configuration?

Apr 5, 2010

I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.

My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.

View 1 Replies View Related

Server :: Connect Samba With Ldap To Make It Simpler For The Users To Login?

Jun 24, 2011

I`am just trying to connect Samba with ldap to make it simpler for the users to log in. We have already attached squid, so by that we thought it would be easy to do the same with samba. I think we did something wrong with the ldap config for the os with is btw:

Quote:
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 1
We added
Quote:
ldap admin dn = cn=xxx,o=xxx

[Code]...

View 1 Replies View Related

Ubuntu Networking :: Unable To See Samba Share From Client Machines?

Feb 15, 2010

I just set up an ubuntu 9.10 server (no desktop environment, command line only) and I'm unable to see my samba share. I followed these instructions. Here are the relevant parts of my smb.conf file: Quote:

workgroup = JASONGROUP
# I un-commented this
security = user

[code]....

View 9 Replies View Related

Fedora Servers :: Can't Login Remotely To Client Machines?

Jun 14, 2009

I am running NFS and NIS servers in my FC8. Clients are also running FC8. Everything was working fine. I could login remotely to server as well as clients. Suddenly (few days ago) a problem started. I can not login remotely to client machines. I did not do anything. I can login to server remotely, but not the client. When I try to login, it accept password and nothing happens. Also, when I try to login from server to client same thing happens. We share the home directory of the server with client. Another question: there two type of nfs server nfs-user-server and nfs-kernel-server. I just use gui to set up the NFS. I don't know which one I am running. Is there any way to find out which nfs I am running?

View 1 Replies View Related

OpenSUSE Network :: SAMBA As PDC On SLES 10.2 - Error When Users On Windows Client Try To Change Password

Oct 11, 2010

I installed SLES 10.2 with SAMBA 3.5.5.43 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".

[code]...

View 1 Replies View Related

Server :: Unable To Login To A User Account Even After Clearing The Password From Root Using Passwd -d

Aug 10, 2010

Not able to login to a user account, even after clearing the password from root using passwd -d

[root@ivrsdb1_pnq /]# passwd -S oracle
Password locked.
[root@ivrsdb1_pnq /]# passwd -u -f oracle
Unlocking password for user oracle.

[code]....

View 3 Replies View Related

Debian :: Only Get Either Guest Or Login Samba Users To Work

Jul 10, 2010

I'm trying to get samba working on a debian/xebian box to use as a fileserver. I have a HTPC which is win 7 and a laptop which is OS X. I've installed SWAT and Samba to manage the whole settings. I'm trying to get it setup so that there's a user which has access to my ~/ and a guest user which just has read access to ~/Media/ so that the Media centre can read all the files from it without having to login.

The problem is when I have map to guest set as NEVER I can access the samba ~/ and I'm asked for a username and password which I login with fine and can access the files on both share ~/ and ~/Media. However when I set the map to guest to bad user or bad password I can access the share for ~/Media. But when I try and access the share ~/ I don't get any login box and I immediately get the error "Can't access share permission denied" or an error along those lines.

Here's my /etc/samba/smb.conf
# Samba config file created using SWAT
# from 192.168.1.65 (192.168.1.65)
# Date: 2010/07/10 20:39:16

# Global parameters
[global]
workgroup = MS_HOME
server string = %h server (Samba %v)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *EntersnewsUNIXspassword:* %n .....

How to get it working so I can have a guest share for my HTPC and a logged in user for my private files?

View 1 Replies View Related

General :: Files Uploaded By OSX Machines To Vsftp Server Can't Be Deleted By Other Users?

Feb 21, 2011

I have a vsftp server running, and we have problems sporadically where people (not the person who uploaded the file) cannot delete files uploaded from OSX machines. We never have this problem with files uploaded by PCs. Anyone ever heard of this or know what I should check? The users uploading the files all belong to the same group. Also, I think if you log in to the FTP server with another OSX machine, it will let you delete them. I'm looking at the folders now, they have drwxrwxr-x. When i try to delete them from a PC, it gives me a 550 Remove directory operation failed.

View 14 Replies View Related

Fedora Installation :: Domain Users Logged Out On Login Using Winbind - Samba

Nov 12, 2010

Have recently setup Samba on a fresh install of Fedora 14 so that I can use it as a workstation in a Windows 2003 (win2k3) domain.

The install of Samba seems to have worked as I can connect to the Domain using ADS and kerberos. selinux and firewall have been disabled until I have it working 100%

The problem lies when i try to login to Gnome or TTY. It begins to create the home directory for the domain user logging in but after a certain process Fedora logs the user out of the system.

Have looked through several log files (/var/log/messages, log.winbindd, log.winbindd-dc-connect) but am unable to debug it any further.

Have posted the config files below which shows the Fedora machine is successfully connected to the domain as it lists its groups, users and validates logon credentials - it just won't logon!

Where i can go about debugging. Also if you need additional configs.

View 1 Replies View Related

Ubuntu Servers :: Get A Samba Server Up And Running To Share With Windows Machines?

Oct 14, 2010

i manged to get a samba server up and running to share with my windows machines. But i still want more. My main goal is to be able to share my movies. I have a laptop hooked to my flat screen with 3TB's of external drives, thats whats acting as my server. I have ubuntu desktop installed because i use it to play movies also.

I'm looking to set up something that is a little faster than samba (yes i no trying to share through USB 2.0 external drives and a wifi connection isn't going to be real fast no matter what) but i want to be able to access my server remotely. like maybe FTP? but what i'm asking here is what protocol should i use and what programs? i was thinking gadmin-proftpd and then filezilla to access?

View 9 Replies View Related

Server :: Windows XP Machines Require Device Driver When Installing A Shared CUPS/Samba Printer?

Feb 27, 2010

I have installed Canon ImageRunner 2018i on my linux box using CUPS web interface. When I try to install this as a network printer from a Windows XP machine, the windows XP machine keeps asking me for a device driver. Is there a way to configure the printer on CUPS/Samba so that when I try to install it on Windows XP machine as a network printer, it does not ask me for a device driver?

View 7 Replies View Related

Server :: CentOS /Samba Server- XP Windows Client File Sharing?

Nov 3, 2009

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

View 7 Replies View Related

Server :: NFS Export Mounts On Client But Normal Users Can't Get Into The Directory

Jul 1, 2010

I have set up an NFS server on Fedora 13, and I am connecting to it with Fedora 13 and Ubuntu 10.

On both clients the command

Code:

works fine. On Fedora I can get into the directory with Nautilus and have read/write permissions as specified in /etc/exports on the server, but on Ubuntu I can only get into it from a sudo'd command line.

The ownership of the file on Fedora is "nobody" and on Ubuntu it's "user #500", with only people in the "500" group having access to it.

Obviously the permissions can't be changed on the client, but with the Fedora box being able to read/write to it with no problems I'm not sure what else I can do on the server to let normal users on the Ubuntu box read it.

View 1 Replies View Related

Server :: Joining Windows 7 Client To Samba PDC V 3.4.3

Jun 19, 2010

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.

View 2 Replies View Related

Server :: Samba Rejects Client Passwords?

Dec 8, 2010

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.

My smb.conf:

Code:
# Samba config file created using SWAT
# from UNKNOWN (Q@)
# Date: 2010/12/08 12:59:41

[Code]....

View 3 Replies View Related

General :: Add Users On Ldap - Samba Server?

Sep 26, 2010

I have configured ldap on Debian5 and samba on another machine, all servers are running ok, but when i try to add users, it gives me an errror that "unknown user"

View 4 Replies View Related

Server :: How To Set Log Off Scripts For Samba Domain Users?

Sep 21, 2010

I want to set a log off script for samba domain users. Actually I am facing a huge temp files related problem. So I want to set a batch file which will run when domain user log off. When user logout then batch file run and delete all temp files.I have already set batch file local group policy and it works for me, but I wants to set it from server side.

View 1 Replies View Related

General :: Connect Thin Client To SAMBA PDC Server?

Dec 2, 2009

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?

View 2 Replies View Related

Server :: Configure Samba Share That Users From Ip Pool?

Aug 7, 2010

how to configure samba share that users from ip pool (for example 192.168.1.200-210) have accest without login and rest users form ip pool (192.168.1.2-199 and 192.168.1.211-254) have to past autorization.

View 1 Replies View Related

Ubuntu Networking :: VPN Client And Samba/SSH Server On One Physical Machine?

Jun 3, 2010

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.

Configuration Overview

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.

View 1 Replies View Related

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.

View 2 Replies View Related

Server :: Samba Openldap PDC Cannot Change Password From Windows XP Client

Jul 24, 2010

I finished setup Samba PDC with Openldap backend. I can joint Winxp client to domain but can not change pass by press Ctrl + Alt + Delete and choose Change password button

This is my conf.
I used
samba3x-3.3.8
openldap 2.3.43
slapd.access.conf

Code:
access to attrs=userPassword,shadowLastChange,sambaNTPassword,sambaLMPassword
by dn="cn=Manager,dc=microhdesk,dc=net" write
by anonymous auth
by self write
by * none

[Code]....

View 1 Replies View Related

Server :: Allow/disallow Users To Logging In A Domain Machine With SAMBA?

Jul 21, 2010

I don't know if this is possible... I want that only some of a Windows Domain(Samba) users can to logging in a machine.For example: The user Peter of the domain WORKSPACE can connect to the PC1, but the user Charly of the domain WORKSPACE can not connect to the PC1. How I can implement this?

View 5 Replies View Related

CentOS 5 :: Windows Users Cannot Change Password On PDC Samba Server?

Sep 3, 2009

I'm using on my smb.conf

# Sincronizacion de cuentas LDAP, NT y LM
# unix password sync = Yes
ldap passwd sync = Yes

[code]....

View 2 Replies View Related

CentOS 5 Server :: Samba Share - Subfolders Users Access

Mar 4, 2010

I installed Samba on CentOS, create a principal share called "public" . I want to populate this share with subfolders, and to grant access rights to specific folders for specific users. The content of "public" will be visible for all Samba users, but they will have read/write access only to the specified subfolders based on my security policy. I need the best way for doing this kind of stuff...

View 1 Replies View Related

Networking :: Winbindd Run On Box Client On Network With Samba Ldap Server Configured As PDC?

Oct 28, 2010

Does winbindd must run on linux box client on network with samba ldap server configured as PDC.

View 5 Replies View Related

Software :: Unable To Connect To Samba Share (XP Client, RHES5 Server)

Nov 19, 2008

OS:
Red Hat ES 5.2

Kernel:
2.6.18-92.1.18.el5

Samba version:
[root@intranet samba]# rpm -qa |grep samba
system-config-samba-1.2.39-1.el5
samba-common-3.0.28-1.el5_2.1
samba-client-3.0.28-1.el5_2.1
samba-3.0.28-1.el5_2.1

When I try to connect to the share from my XP machine, I get a "network path cannot be found" error message.

Below is the entry in /var/log/samba/samba.log

[2008/11/19 11:57:51, 0] smbd/service.c:make_connection_snum(1003)
'/server2/test' does not exist or permission denied when connecting to [server2] Error was Permission denied

Here is my smb.conf file:

[global]
# Server name
server string = Intranet Server (Primary)

# These are the default password settings.
; encrypt passwords = yes
; smb passwd file = /etc/samba/smbpasswd

# Define NT domain/workgroup name.
workgroup = intranet

# Security mode. (See SAMBA documentation for details.)
; security = user

# Restrict conections to specific IP addresses.
hosts allow = all

# The %m variable sets a separate log file for each
# connecting machine.
# log file = /var/log/samba-log.%m
# Keep it basic - one file!
log file = /var/log/samba/samba.log

# The number of minutes inactivity before a connection is
# disconnected. (This disconnection should be transparent to most
# clients, which an have auto-reconnect feature. Removing inactive
# connections is to preserve the server's resources.)
deadtime = 10

# These socket options are suggested in the default smb.conf file.
# Who am I to disagree?
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Define both Ethernet interfaces. (Otherwise, I suspect only one
# will be configured??)
interfaces = eth0 eth1
username map = /etc/samba/smbusers
; guest ok = no
; guest account = nobody


[server2]
comment = server2
path = /server2/test
write list = @intranet
force create mode = 775
force directory mode = 2775
writeable = yes
; browseable = yes
valid users = intranet

/server2 and /server2/test are owned by user intranet and both directories have permissions set to 777.

Has anyone come across this problem in the past?

View 3 Replies View Related

Ubuntu :: Configuring 9.10 As Client To Use Samba/LDAP Server For User Authentication?

Jan 18, 2010

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.

View 1 Replies View Related

CentOS 5 Server :: Openvpn Connect To Samba Share From Windows XP Client?

Sep 15, 2009

I'm trying to set up a VPN connection between our CentOS 5.3 server at work and my bosses XP computer at home. At this point, we are kinda locked into Quickbooks. I'm testing the connection from my XP boot at home to see if it works. I can log into our servicemanuals easily enough from XP at home however, the windows takes forever to update. I have the Samba server only listening on port 445 because is seems to work more efficiently at work. I connect to the Samba shares via linux from home and everything works well but, when I try to do anything with the shares from Windows client at home, it's very slow!

I'm thinking that it must have something either to do with the Windows OpenVPN client or the client.conf file. Is there anything I should look at in the .conf file for answers?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved