LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-12-2004, 07:51 PM   #1
markham82
LQ Newbie
 
Registered: Oct 2004
Location: Rochester, NY, USA
Distribution: Red Hat 7, 9, Fedora Core 2, Windows 2000/XP
Posts: 27

Rep: Reputation: 15
Angry Samba 3/Windows 2000 Integration


Okay, here's what I'm trying to do. I have a file server running Fedora Core 2 running Samba 3. I'm also running a Windows Active Directory Domain. I want the client machines to be able to map their home directories from the file server. Also as an admin I want to be able to browse the home directories from My Network Places, and add/remove domain users and groups to the shared directories under the Security tab, like DOMAIN\steve or DOMAIN\group. I have tried to implement this using Samba on the FC2 machine. I added the FC2 machine to the domain using this command:
Code:
[root@hugo samba]# net ads join -S OLDSONY -U Administrator
Administrator's password:
Using short domain name -- MARKHAM
Joined 'HUGO' to realm 'MARKHAM.HOME'
After that the machine came up in the My Network Places fine. But when I try to open it up, I get access denied. Now when I create a user on the domain controller that is identical to a user on the FC2 machine, it works, and I get access to the share as that user. Why won't it work for Administrator? How can I map the windows Administrator account to root on the FC2 machine? Also once I'm into the share as that regular user, I can't change the permissions on the share or add users and groups to the share on the Security tab. When I change the permissions or add a group or whatever and hit "apply," the changes I made just dissapear. I'm not sure how to go from here to get this working. Here are some of my config files.

smb.conf:
Code:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/10/11 20:13:44

# Global parameters
[global]
        workgroup = MARKHAM
        realm = MARKHAM.HOME
        server string ="MARKHAM File Server"
        security = ADS
        password server = *
        encrypt passwords = Yes

[home]
        comment = Home Directories
        path = /home
        read only = No
        guest ok = Yes
        public = Yes
        writeable = yes
krb5.conf:
Code:
[logging]
 default = FILE:/var/log/krb5libs.log
 kdc = FILE:/var/log/krb5kdc.log
 admin_server = FILE:/var/log/kadmind.log

[libdefaults]
 default_realm = MARKHAM.HOME
 dns_lookup_realm = false
 dns_lookup_kdc = false
 default_etypes     = des-cbc-crc des-cbc-md5
 default_etypes_des = des-cbc-crc des-cbc-md5

[realms]
        MARKHAM.HOME = {
        kdc = 192.168.1.104
        }

[domain_realms]
 .OLDSONY = MARKHAM.HOME


[kdc]
 profile = /var/kerberos/krb5kdc/kdc.conf
 profile = /usr/src/redhat/SOURCES/kdc.conf

[appdefaults]
 pam = {
   debug = false
   ticket_lifetime = 36000
   renew_lifetime = 36000
   forwardable = true
   krb4_convert = false
 }
If someone could give me some pointers on how to get this implementation going or point me at some resources that would be great.

Thanks in advance.

~Steve

Last edited by markham82; 10-13-2004 at 03:57 PM.
 
Old 11-19-2004, 12:10 PM   #2
saylestock
Member
 
Registered: Apr 2004
Location: Virginia
Distribution: Fedora
Posts: 30

Rep: Reputation: 15
There is a tread here that I found was very helpful for me to get it going correctly. I have tried this method on Core 1 and 3 and got it to work correctly on both. Here is the thread...

http://www.linuxquestions.org/questi...re+3+samba+ADS

Good luck!
 
  


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 + windows 2000 and shares oiaohm Linux - Software 2 06-04-2005 06:28 PM
Samba+Windows 2000 Jimi_l SUSE / openSUSE 3 02-20-2005 11:24 AM
Win 2000 AD Integration to linux trey85stang Linux - Enterprise 43 11-10-2004 04:01 PM
Samba and Windows 2000 aeb105 Linux - Newbie 11 08-17-2003 05:44 PM
Windows 2000 Samba PDC BarrySharpen Linux - Networking 6 03-31-2003 09:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:38 PM.

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