LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-09-2006, 02:06 PM   #1
papaqube
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
Why Can't I Access Samba Shares Via As ADS User


Hi there

Can anyone help a clueless newbie who has lost the will to live?

I have followed a few how-to's on accessing samba shares as ADS domain user but can't get over the final hurdle of actually being able to access shares from a windows client. Here's the process.

1) Install samba, kerberos, winbind, etc. All is good

2) configure the /etc/krb5.conf to:
Quote:
[libdefaults]
default_realm = MYDOMAIN.COM
ticket_lifetime = 24h
forwardable = yes
[realms]
MYDOMAIN.COM = {
kdc = win2k.mydomain.com
default_domain = MYDOMAIN.COM
kpasswd_server = win2k.maydomain.com
admin_server = win2k
}
[domain_realms]
.mydomain.com = MYDOMAIN.COM
mydomain.com = MYDOMAIN.COM
[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf
[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
No problems here either, kerberos ticket gained and 'net ads join' successful. command wbinfo -u show ads user info and wbinfo -g shows ads group info.

3) Edited /etc/samba/smb.conf as follows:
Quote:
[global]
workgroup = MYDOMAIN
realm = MYDOMAIN.COM
server string = Net Server
security = ADS
password server = win2k.mydomain.com
log level = 3
log file = /var/log/samba/%m
max log size = 50
server signing = auto
printcap name = cups
preferred master = No
domain master = No
wins support = Yes
ldap ssl = no
idmap uid = 10000-20000
idmap gid = 10000-20000
winbind separator = +
[printers]
comment = All Printers
path = /tmp
guest ok = Yes
printable = Yes
browseable = No
[public]
path = /home/ftp/public
read only = No
guest ok = Yes
5) edit /etc/nsswitch.cong to:
Quote:
passwd compat files winbind
shadows compat files winbind
groups compat files winbind
6) [I] service smb/winbind start [I] all ok.

7) Access samba share from windows client. Samba server is present within neighbourhood network, but receive a username and password prompt when i try to access. When an ADS username is entered the prompt rejects and asks again with no entery every being gained.


Can anybody please tell me where i am going wrong or what i haven't done. I am losing the will to live.

Many thanks for any assistance?
PQ
 
Old 05-09-2006, 02:12 PM   #2
papaqube
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
oops sorry: Fedora Core 4 (full yum update) & Samba 3
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba: I can see the shares but not access them !? Thoddy Linux - Software 6 04-02-2006 05:24 AM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
Samba and MS Access Shares oneiltj Linux - Software 13 08-08-2004 08:11 PM
can't access samba shares from xp hemp4fuel Slackware 20 07-09-2003 01:28 AM
Samba and MS Access Shares oneiltj Linux - Software 3 03-18-2003 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration