Server :: Samba Credentials Not Working Through Windows 7?

May 2, 2011

I have installed a Samba Server (Ubuntu 10.10 Server) detailed config below. The server is up and running but clients running windows 7 cannot connect as their credentials are not accepted. The pop window for credentials keep coming back up on the clients and no connection is issued. I have tried to change the policies on windows 7 as such:

Network security: LAN Manager authentication level Send LM & NTLM responses
Minimum session security for NTLM SSP
Disable Require 128-bit encryption

But to no avail. I am in doubt as far as where the issue is coming from. Meaning is it coming from my Samba conf or something in Windows I am not doing right.

[global]
server string = %h server (Samba, Ubuntu)
interfaces = 192.168.178.0/24, eth0
bind interfaces only = Yes

[code]....

View 6 Replies


ADVERTISEMENT

Server :: Samba 3.5 Failed To Bind To LDAP - Invalid Credentials

Jul 28, 2010

I just tried to build my own samba/ldap server on opensuse 11.3 and i am continuously getting an invalid credentials error when doing the smbpasswd -a command. Below are my smb and ldap files.

smb.conf
# Primary Domain Controller smb.conf
# Global parameters
[global]
unix charset = utf8
workgroup = MERCDOMAIN
netbios name = mercserver
passdb backend =ldapsam:"ldap://mercserver.mercdomain.com"
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 0
#name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
add user script = /usr/sbin/smbldap-useradd -m '%u'
delete user script = /usr/sbin/smbldap-userdel '%u'
add group script = /usr/sbin/smbldap-groupadd -p '%g'
delete group script = /usr/sbin/smbldap-groupdel '%g'
add user to group script = /usr/sbin/smbldap-groupmod -m '%g' '%u'
delete user from group script = /usr/sbin/smbldap-groupmod -x '%g' '%u'
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'
add machine script = /usr/sbin/smbldap-useradd -w '%u'
logon script = logon.bat
logon path = \mercserverprofiles\%u
logon drive = H:
domain logons = Yes
domain master = Yes
wins support = Yes
# peformance optimization all users stored in ldap
ldapsam:trusted = yes
ldap suffix = dc=mercdomain,dc=com
ldap machine suffix = ou=Computers,ou=Users
ldap user suffix = ou=People,ou=Users
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=mercserver,dc=com
ldap ssl = off
idmap backend = ldap://127.0.0.1
idmap uid = 10000-20000
idmap gid = 10000-20000
printer admin = root
printing = cups

# = Share Definitions =
[homes]
comment = Home Directories
valid users = %S
browseable = yes
writable = yes
create mask = 0600
directory mask = 0700

[sysvol]
path = /home/data/samba/sysvol
read only = no

[netlogon]
comment = Network Logon Service
path = /home/data/samba/sysvol/vavai.net/scripts
writeable = yes
browseable = yes
read only = no

[profiles]
path = /home/data/samba/profiles
writeable = yes
browseable = no
read only = no
create mode = 0777
directory mode = 0777

[Documents]
comment = share to test samba
path = /home/data/documents
writeable = yes
browseable = yes
read only = no
valid users = "@Domain Users"

slapd.conf
UW PICO 5.04 File: /etc/openldap/slapd.conf

include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
include /etc/openldap/schema/samba3.schema
modulepath /usr/lib/openldap/modules/
# moduleload back_bdb.la

pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd/slapd.args
# Samba Primary Database mercdomain.com
database bdb
suffix "dc=mercdomain,dc=com"
directory /var/lib/ldap
rootdn "cn=Manager,dc=mercdomain,dc=com"
rootpw merc84
index entryCSN eq
index entryUUID eq

#access to attrs=userPassword,sambaLMPassword,sambaNTPassword
# by self write
# by dn="cn=Manager,dc=mercdomain,dc=com" write
# by * auth
#access to *
# by dn="cn=Manager,dc=mercdomain,dc=com" write
# by * read

# Indices to maintain
index objectClass eq
index cn pres,sub,eq
index sn pres,sub,eq
index uid pres,sub,eq
index displayName pres,sub,eq
index uidNumber eq
index gidNumber eq
index memberUID eq
index sambaSID eq
index sambaPrimaryGroupSID eq
index sambaDomainName eq
index default sub

ldap.conf
UW PICO 5.04 File: ldap.conf # LDAP Master
host mercserver.mercdomain.com
base dc=mercdomain,dc=com
binddn cn=Manager,dc=mercdomain,dc=com
bindpw merc84
bind_policy soft
pam_password exop
nss_base_passwd ou=People,ou=Users,dc=mercdomain,dc=com?one
nss_base_shadow ou=People,ou=Users,dc=mercdomain,dc=com?one
nss_base_passwd ou=Computers,ou=Users,dc=mercdomain,dc=com?one
nss_base_shadow ou=Computers,ou=Users,dc=mercdomain,dc=com?one
nss_base_group ou=Groups,dc=mercdomain,dc=com?one
ssl no

View 1 Replies View Related

Ubuntu Servers :: Samba Keeps Prompting For (saved) Credentials?

Sep 2, 2010

I'm using SAMBA as a file server on a Ubuntu Server 10.04 32-bit. I'm using a 10.6.4 Mac client and a Windows 7 client. I created shortcuts on the client machines to point to the shared folders with embedded credentials ("Remember password" is ticked), but the problem is that whenever the Windows user logs off, the credentials are forgotten and the user needs to re-enter them. This problem does not occur on the Mac client.

Code:

# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed

[code].....

View 6 Replies View Related

Applications :: Samba Configuration - Invalid Credentials Error

Oct 26, 2010

I just wanted to checkout samba. So, I installed on a CentOS 5.5 64bit server. The version I used is 3.5.6. I followed this guide. [URL]. LDAP is working good. When I use the following command: (net groupmap list) I am getting the error.

Code: [root@server1 samba]# net groupmap list
[2010/10/26 16:26:09.135901, 0] lib/smbldap.c:1151(smbldap_connect_system)
failed to bind to server ldap://127.0.0.1 / with dn="cn=root,dc=mtm,dc=testdomain,dc=com" Error: Invalid credentials

[2010/10/26 16:26:39.180063, 0] passdb/pdb_ldap.c:3448(ldapsam_setsamgrent)
ldapsam_setsamgrent: LDAP search failed: Time limit exceeded
[2010/10/26 16:26:39.180109, 0] passdb/pdb_ldap.c:3523(ldapsam_enum_group_mapping)
ldapsam_enum_group_mapping: Unable to open passdb I am sure that I have set the correct password in Code: smbpassword -w mypassword.
Also, I can login to the LDAP thourgh PHPLDAPAdmin with the same password and the bind cn.

Here is my smb.conf Code: # Global parameters
[global]
ldap ssl = off
nt acl support = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 SO_KEEPALIVE
workgroup = TESTDOMAIN
netbios name = SERVER1
security = user
enable privileges = yes
#interfaces = 192.168.5.11
#username map = /etc/samba/smbusers
server string = Samba Server %v
#security = ads
encrypt passwords = Yes
#min passwd length = 3
#pam password change = no
#obey pam restrictions = No

# method 1:
#unix password sync = no
#ldap passwd sync = yes

# method 2:
unix password sync = yes
ldap passwd sync = no
passwd program = /usr/sbin/smbldap-passwd -u "%u"
passwd chat = "Changing *
New password*" %n
"*Retype new password*" %n
"

log level = 10
syslog = 0
log file = /var/log/samba/log.%U
max log size = 50
time server = Yes
#socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1

logon script = logon.bat
logon drive = H:
logon home =
logon path =
domain logons = Yes
domain master = Yes
os level = 65
preferred master = Yes
wins support = yes
passdb backend = ldapsam:ldap://127.0.0.1/
ldap admin dn = cn=root,dc=mtm,dc=testdomain,dc=c om
#ldap admin dn = cn=samba,ou=DSA,dc=company,dc=c om
ldap suffix = dc=mtm,dc=testdomain,dc=c om
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
#ldap idmap suffix = ou=Idmap
add user script = /usr/sbin/smbldap-useradd -m "%u"
#ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel "%u"
add machine script = /usr/sbin/smbldap-useradd -t 0 -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/sbin/smbldap-groupdel "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g '%g' '%u'

# printers configuration
#printer admin = @"Print Operators"
load printers = Yes
create mask = 0640
directory mask = 0750
#force create mode = 0640
#force directory mode = 0750
#nt acl support = No
printing = cups
printcap name = cups
deadtime = 10
guest account = nobody
map to guest = Bad User
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
show add printer wizard = yes
; to maintain capital letters in shortcuts in any of the profile folders:
preserve case = yes
short preserve case = yes
case sensitive = no

[netlogon]
path = /home/netlogon/
browseable = No
read only = yes

[profiles]
path = /home/profiles
read only = no
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
# next line is a great way to secure the profiles
#force user = %U
# next line allows administrator to access all profiles
#valid users = %U "Domain Admins"

[printers]
comment = Network Printers
#printer admin = @"Print Operators"
guest ok = yes
printable = yes
path = /home/spool/
browseable = No
read only = Yes
printable = Yes
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
# print command = /usr/bin/lpr -U%U@%M -P%p -r %s
# lpq command = /usr/bin/lpq -U%U@%M -P%p
# lprm command = /usr/bin/lprm -U%U@%M -P%p %j
# lppause command = /usr/sbin/lpc -U%U@%M hold %p %j
# lpresume command = /usr/sbin/lpc -U%U@%M release %p %j
# queuepause command = /usr/sbin/lpc -U%U@%M stop %p
# queueresume command = /usr/sbin/lpc -U%U@%M start %p

[print$]
path = /home/printers
guest ok = No
browseable = Yes
read only = Yes
valid users = @"Print Operators"
write list = @"Print Operators"
create mask = 0664
directory mask = 0775
[public]
path = /tmp
guest ok = yes
browseable = Yes
writable = yes

View 2 Replies View Related

Ubuntu Networking :: Encrypted Password In Samba Credentials File?

Apr 20, 2010

I remember that some time ago I found a guide on the Ubuntu website about adding samba shares to mount at boot via /etc/fstab. The guide also mentioned using a credentials file to store the username and password.

However, the password was encrypted (in md5 I think) and it could not be read directly, but it still worked with fstab mount. If I remember correctly, the file contents were similar to this:

Code:
useraname = user
password = --md5

where was replaced by the encoded password. All was done in terminal. Recently I changed computers, and re-installed Ubuntu, but I forgot to save that file so I am not sure about the contents. I would like to know how to do this again, but I can't find the guide anymore. Does anyone know how to do this? Storing the password in plain text in file readable only by root is not acceptable because it can be read by someone mounting the drive from other operating system, and the share cannot be mounted/unmounted by regular users (which is possible with the md5 encrypted password).

View 1 Replies View Related

OpenSUSE Network :: Windows 7 And Windows LiveID Sign-In Assistant Working With SAMBA?

Dec 10, 2010

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.

View 1 Replies View Related

OpenSUSE Network :: Samba Ignores "credentials" Option?

Jul 17, 2010

Linux 2.6.34-12-desktop x86_64smbd: 3.5.4-4.1-2382-SUSE-SL11.3I updated from v11.2. to v11.3.However, the SMB services were no longer mounted. The reason is that the "credentials" (or "cred") option in </etc/fstab> is ignored. If I remove "credentials" and add "username=xxx,password=yyy", the services are mounted.Has "credentials" been changed in some way? Has it been renamed?

View 9 Replies View Related

Ubuntu :: Symbolic Links Not Working In Samba From Windows And Mac?

Apr 6, 2010

If you have some directories shared that contain symbolic links that are NOT being resolved by the client machine, try adding these lines to your /etc/samba/smb.conf file:

Code:
[global]
follow symlinks = yes
wide symlinks = yes
unix extensions = no

View 5 Replies View Related

Software :: Samba Access No Longer Working In Windows 7

Jan 15, 2011

I've recently been experiencing an issue connecting to my Samba shares on a Ubuntu 10.4 server box on my network from a Windows 7 client. If I use Ubuntu 10.10 on the same machine, or a Windows XP Virtual Machine running under both Windows and Linux host the share works absolutely fine.

What happens is if I browse to the hostname or the IP address I see a login prompt (there is access control) but my username and password no longer work. Before I didn't need to login as they are the same as my windows credentials.

I'm not sure what information/logs etc would be most relevant so I've posted some information, if any more is required then let me know where to find it and I'm sure I'll be able to get it.

Here is the last few days of the log when I believe it was working, there are no entries since.

Code:

View 8 Replies View Related

General :: Samba PDC + New Windows 7 Machines Admin Privileges Not Working?

Dec 17, 2010

I have a pdc with a samba file share and have multiple xp workstations that can install programs from the server and share files, but I have 2 new windows 7 machines that I have edited the registries on and joined the domain with but cannot install programs from the pdc even though they have root accounts. I have tried to change folder privileges from the workstations but I am not allowed.

View 2 Replies View Related

Server :: Wordpress Asking For Ftp Credentials?

Jun 19, 2011

I host a number of sites and recently migrated to a new server (both old and new are running Ubuntu 10.04 [I only upgrade my web server when there is a new LTS release]). After the migration, Wordpress is asking for ftp credentials to update plugins, which it never used to do. I'm certain this is user/group/permissions related, but because of the new setup, I'm not sure what these should be set to.

On the previous server, each site was a subdirectory of /var/www/ and everything was owned by www-data. This wasn't the best setup, since it meant my users didn't have direct access to their own sites. In the new setup, each page I host is in /home/username/www/. Consequently, all the files are owned by 'username'.

My guess is that Wordpress' request for ftp credentials stems from a conflict between the apache2 user and the usernames that own the sites. Is this accurate? If so, how do I rectify this?

View 4 Replies View Related

Server :: Host Is Not Configured As A Member Server: Samba Joining Windows 2003 AD?

Oct 15, 2009

Wanting to join my CentOS5.3 to a windows 2003 active directory. Configured kerberos and samba.

Code:

[libdefaults]
default_realm = domain
dns_lookup_realm = false

[code].....

View 5 Replies View Related

Server :: File Server For Windows - Mount More Than One Samba Shares As Network Disk

Jun 17, 2011

I want to setup a Linux File Server for a small windows network (around 50 users). I do know that I am gona need Smb service/pkg for that. I haven't used Samba for a while now and as per the best of my knowledge, entire communication (including usernames and passwords) between a samba server & windows client machines will be plain text. Is there any way to secure all this communication??

Secondly, if i remember correctly, MS windows wont let me mount more than one samba shares as network disk when all my shares can be accessed by different smb users with different passwords?? is there a solution to this problem? OR may be if there is any other package available for this purpose so that i wont have to use samba?

View 4 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

CentOS 5 Server :: Samba: ACL Are Not Working

Mar 23, 2011

I'm having problems using Samba+winbind 3.3.8 as a fileserver on a Win2008 domain. - getent and wbinfo are reporting correct information about users. - Ownership of file created from user using the samba mount are working fine. However, my groups directories are allowing people who shouldn't .. From the shell everything is working as expected, but not from samba..

[Code]....

View 3 Replies View Related

Server :: Openldap / Ldap_bind: Invalid Credentials (49) Error?

Dec 3, 2010

M trying to install sendmail server on rhel6.i am having problem in setting up openldap.

following is slapd.conf

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#

include/etc/openldap/schema/corba.schema
include/etc/openldap/schema/core.schema
code....

but if i try to change ldap password it gives

ldap_bind: Invalid credentials (49) error

i was successfully able to restore my ldif file from old rhel 5.3 server on to rhel 6

View 14 Replies View Related

Fedora Networking :: Samba Server Not Working On F13?

Jun 20, 2010

I can't get the samba server to work on a Fedora 13 system. First of all, I've activated the "smb" service. After this, since I couldn't find any samba configuration tool in Gnome, I switched to KDE and launched Menu - Computer - System Settings - Advanced - Samba. I typed in my workgroup and netbios name and added a share (2nd tab). Then I added my user name to the blank list "samba users" (4th tab), which wasn't very effective, because this list is blank again when I leave (OK) and reopen this config tool.

From a windows machine, I can't access this Fedora system. Netbios doesn't work (ping netbios name - ...could not find name...) and trying \IP in the explorer shows an error message "Windows cannot find...".
Btw firewall and Selinux are both deactivated.

When I open Dolphin on the Fedora locally and type "smb://localhost" it *does* show a logn window, but no matter what I type in there, it just shows this login windows again after clicking OK.

View 10 Replies View Related

OpenSUSE Network :: Win 7 Working With Samba 3.2 Server As PDC?

Mar 24, 2010

He has a Samba 3.2 server on openSUSE 11.1. It worked fine with XP and Vista as a PDC. There are no NT servers on this office LAN. Now he has a W7 computer, and he was not able to sign on. From searching, it seems that an upgrade of Samba and a tweak of the registry are required. He did the upgrade to 3.5 from a supplementary openSUSE repo and restarted the server. But it seems he cannot sign on yet. I don't know if he did the registry tweak, I'm waiting to hear back.

The MS article: Windows 7 and Samba 3 interoperability
My question is: He seems to be under the impression that Samba 4 is required to work with W7, but that M$ article seems to contradict him. Has anybody got W7 working with Samba 3 as a PDC like in XP and Vista? I can't find any FAQs about this.

View 3 Replies View Related

Server :: Printing Not Working After Upgrading Samba?

Jun 6, 2010

I have a client who was using samba 3.0.21a, and there was a single printer being served, well as as quite a few shares. I recently upgraded to samba 3.3.4, and they have reported back that the printer is no longer working. Everything else is OK.

Does anybody know off the top of their head what has changed that would cause it to stop working?

Here is the relevant portion of the config:

Code:
server string = Printers
workgroup = XXX
security = user
smb passwd file = /usr/local/samba/private/smbpasswd

[Code].....

View 3 Replies View Related

Server :: Samba - Browseable = No Not Working On Subfolder?

Apr 20, 2010

I am running samba-3.0.21b-2 browseable = no, not working on subfolder (worklocal) .. what I missed? work folder already invisible .. but when I entered into it .. I still able to see folder named local..

[work]
public = yes
only guest = no
writable = yes

[code]....

View 4 Replies View Related

Ubuntu :: Send Email From Script Using Exchange Server Credentials?

Mar 23, 2010

I want to create a shell script that generates a file and then sends it via email from my Ubuntu desktop by using my Exchange 2003 Server which is on a separate windows machine on my network. I do not have an smtp server set-up so that is one of the reasons I want to go this route. The other is because I will be able to sync the emails sent from the exchange server.

View 1 Replies View Related

Server :: Kinit: KDC Reply Did Not Match Expectations While Getting Initial Credentials

Sep 1, 2010

I have Problem as write in the subject. i have problem to initilize the kerborose. [URL] kinit: KDC reply did not match expectations while getting initial credentials my Config File is as follow

[libdefaults]
default_realm = PBC.COM.PK
ticket_lifetime = 24000
default_tkt-enctypes = des3-hmac-shal des-cbc-md5 aes256-cts arcfour-hmac-md5

[code]....

View 1 Replies View Related

CentOS 5 Server :: SASL Bind Failures - Invalid Credentials

Dec 14, 2009

I am setting up a cluster of servers which use Centos Directory Server for control of logins, etc and kerberos for authentication. The basic setup is working fine, I have been able to manually create accounts using the directory console and these accounts seem to work. Now what I want to do is automate the process of creating new accounts. I am writing a perl script which can be run by one of the server administrators, they supply a small number of arguments and it should create a new user in the directory server, and also create a principal in the kerberos.

I want them to be able to do this using their logged-in kerberos credentials, i.e., without having to enter and re-enter their passwords. My first attempt was to use perl modules Net::LDAP and Authen::SASL. I could not get this working so fell back to using ldap command line tools, but even these I cannot seem to get working! When using mozldap tools, as specified in the admin manual, I get the following:

$ /usr/lib64/mozldap/ldapmodify -h ldaphost.mycompany.com -D uid=eharmic,ou=mydept,dc=mycompany -o mech=GSSAPI -o authid=eharmic < ../ldapmod.txt
Bind Error: Invalid credentials
Bind Error: additional info: SASL(-14): authorization failure:

Using openldap tools I strike exactly the same problem:
$ ldapmodify -Y GSSAPI -H LDAP://ldaphost.mycompany.com -D uid=eharmic,ou=mydept,dc=mycompany -U eharmic < ../ldapmod.txt
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Invalid credentials (49)
additional info: SASL(-14): authorization failure:

I believe I have set up the mapping correctly:
dn: cn=MyMapping,cn=mapping,cn=sasl,cn=config
objectClass: top
objectClass: nsSaslMapping
cn: MyMapping
nsSaslMapRegexString: ^(.+)@MYCOMPANY.COM
nsSaslMapBaseDNTemplate: ou=mydept,dc=mycompany
nsSaslMapFilterTemplate: (uid=1)

It must be getting reasonably far because after doing the above I can see the LDAP service ticket in my "klist" output.

View 2 Replies View Related

Networking :: Samba Server And Windows Shares

Jan 25, 2010

I have a problem with 'Samba' shares on Ubuntu 8.04. Bringing shared folders over from Windows (on another computer) is not a problem...until I try same process with a Windows backup folder holding .tib data from an 'Acronis' backup.The files appear in Ubuntu Network, everything looks o.k., Ubuntu just won't copy the data to another folder. Other shares work without a problem, its only with these ':.tib' data.

View 3 Replies View Related

General :: Can't Access Samba Server From Windows Xp?

Nov 26, 2010

I have just configured samba on suse linux. I can see it in the windows workgroup but i cannot access it. When it says the server is not accessible. You might not have permission to use this network resource.I have attached a copy of smb.conf

View 2 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 Not Seeing Windows 7 Shares / What To Show?

Jun 28, 2010

As the subjects states, I cannot see my windows 7 shares from any of my *nix computers. I tend to over complicate things and I may do so here, but I want to try and be as thorough as possible in explaining the situation. I'll state w/ the basic layout of my lan code...

View 7 Replies View Related

Server :: Samba - What If My Windows Domain Controller Is Down?

Feb 27, 2011

My Windows 2003 domain has three domain controllers. All of them are configured as global catalog servers, but my krb.conf and krb5.conf only contain a reference to one of them. What if the DC referenced is down? Should my files reference the other DCs? The contents of my files follow...

krb.conf
--------
MYDOMAIN.COM dc01.MYDOMAIN.COM:88
MYDOMAIN.COM dc01.MYDOMAIN.COM:749 admin server[code]...........

View 1 Replies View Related

Server :: Windows 7 Acting Up With Samba Shares

Aug 23, 2010

We have a samba server with a couple of shares defined as follows:

Code:
[Storage]
comment = Storage
browseable = yes
path = /home/samba
writable = yes

[Backup]
comment = Backup
browseable = yes
path = /mnt/hd2/home/samba
writable = no

[Administration]
comment = Administration
path = /home/adm
valid users = adm
public = no
writeable = yes
browseable = no

We have two samba users: samba and adm. The first is used to connect to Storage and Backup shares, and adm is used to connect to Administration share. There are two problems:

1) If Storage and Backup shares are connected to a Win7 box, the Administration share cannot be connected. All we get is an error saying that that share is already connected with different username.
2) We have managed to work around this by connecting the Administration share with the IP-address of the server instead of it's name(?!). The problem then becomes that sometimes connecting Administration share this way makes Storage share read-only. Not always though.

Wrong "security" type in smb.conf (was "user", needs to be "share"). For some reason the Storage share still occasionally gets connected read-only. Win7 also tends to forget the passwords/usernames for some shares upon reboot (not all of them, though).

View 1 Replies View Related

CentOS 5 Server :: Cannot Join Windows 7 To Samba PDC

Sep 2, 2010

Good evening, I get the following error when prompted for my user name and password credentials that have access to the domain rights on the server. After typing in root and the password I get the following.

"The specified computer account could not be found. Contact an administrator to verify the account is in the domain. If the account has been deleted, unjoin, reboot and rejoin the domain."

Posted below is my smb.conf file, however I feel like I am screwing up the last steps with group-mapping, net commands, and creating accounts.

[global]
workgroup = SCRUGGSHOME
passdb backend = tdbsam
printcap name = cups
add user script = /usr/sbin/useradd -m %u

[Code].....

View 15 Replies View Related







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