LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-28-2006, 11:35 PM   #1
d.vinayaham
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Rep: Reputation: 0
Samba Workgroup and Domain with File n printer Share full Configuration for Fedora 4


Hi
im New to Linux i want to know about files and Printer Sharing between Linux and windows.I have heard that Samba is used for that.Im having 10 PCs,Fedora4 is installed in 1Pc and remaining all are XP.Im interested to configure a Workgroup and Domain environment,if anyone knows the full configuration setup,please reply me.

waiting for ur reply
 
Old 10-30-2006, 03:02 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
You either use a workgroup or a Domain, not both. The configurations for each is completely different. Please be more specific. Are you looking for User authentication, share level, ADS (for MS Active Directory)?

Also google around and you'll find lots of examples. Samba and CUPS will be the File/Printer servers for Windows clients.
 
Old 10-30-2006, 10:56 PM   #3
d.vinayaham
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Hi

hi
thanks for ur reply,actually im looking for a user authentication in a Domain environment only.If u have a full configuration file for configuring Domain,please reply me

Waiting for ur reply
 
Old 10-31-2006, 10:39 AM   #4
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Again, please be more specific. Normally people think of a "Domain" as a Microsoft Active Directory domain, however you could be using an NT4 domain, and Samba PDC Emulated Domain. Each of these would have vastly different configurations. Take the time to tell us exactly what you want in as much detail as possible so we can help you.
 
Old 10-31-2006, 10:38 PM   #5
d.vinayaham
LQ Newbie
 
Registered: Oct 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Hi

Hi
ok i will explain u clerly now,im having 10 Pcs.One with Fedora4 installed and remaining others are having XP.I want to use Linux machine as a server to share files and printer and to give separate username and password to windows users to share this file and printer.
 
Old 10-31-2006, 11:48 PM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Are the XP computers Home Edition or Professional Edition. An XP HE can't join a domain and single signon will not work.

I would suggest reading through the Samba 3 books included either from the samba package or the samba-docs package. Look in /usr/share/doc/packages/samba. There should be a post-script or pdf version of the Samba 3 Reference and Samba 3 by Example. Various types of server and network configurations are used, including LDAP/Samba configuration if that is the route you want to go.
 
Old 11-01-2006, 09:07 PM   #7
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
The configuration you'd want is a "Samba NT PDC", which if you google what I put in quotes, you'll find many pre-created configuration files.
 
Old 11-01-2006, 10:33 PM   #8
tarvinder
LQ Newbie
 
Registered: Oct 2005
Location: india
Posts: 1

Rep: Reputation: 0
hi

i m using ES 4 so i want to create domain on my server so wat i have to do
for making my linux server as windows active directory server.Should i make
it PDC configuration in SMB.conf or do more thing to do?
like configure ldap.conf n kerberos etc.

uranium.tarvinder@gmail.com
 
Old 11-02-2006, 03:13 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can have domain logins without using ldap. The Samba 3 by Example book has an example of an office which will have 50-100 XP pro computers. It uses a Windows NT style Domain Controller which offers DHCP for notebooks and a WINS service. The example goes through the setup on the Samba server and what to do from Windows as a domain administrator.

Chapter 5 deals with an LDAP directory server example. It provides an LDAP configuration for an example and isn't a manual on configuration of the LDAP directory.

The process of using LDAP in place of an AD server is pretty involved:
Quote:
  • Samba-3 PDC Server Configuration
    1. DHCP and DNS servers
    2. OpenLDAP server
    3. PAM and NSS client tools
    4. Samba-3 PDC
    5. Idealx smbldap scripts
    6. LDAP initialization
    7. Create user and group accounts
    8. Printers
    9. Share point directory roots
    10. Profile directories
    11. Logon scripts
    12. Configuration of user rights and privileges
  • Samba-3 BDC Server Configuration
    1. DHCP and DNS servers
    2. PAM and NSS client tools
    3. Printers
    4. Share point directory roots
    5. Profiles directories
  • Windows XP Client Configuration
    1. Default profile folder redirection
    2. MS Outlook PST file relocation
    3. Delete roaming profile on logout
    4. Upload printer drivers to Samba servers
  • Samba-3 PDC Server Configuration
    1. DHCP and DNS servers
    2. OpenLDAP server
    3. PAM and NSS client tools
    4. Samba-3 PDC
    5. Idealx smbldap scripts
    6. LDAP initialization
    7. Create user and group accounts
    8. Printers
    9. Share point directory roots
    10. Profile directories
    11. Logon scripts
    12. Configuration of user rights and privileges
  • Samba-3 BDC Server Configuration
    1. DHCP and DNS servers
    2. PAM and NSS client tools
    3. Printers
    4. Share point directory roots
    5. Profiles directories
  • Windows XP Client Configuration
    1. Default profile folder redirection
    2. MS Outlook PST file relocation
    3. Delete roaming profile on logout
    4. Upload printer drivers to Samba servers
If you need something that is different enough from the example, you either have a lot of reading to do, or could farm out the design and configuration work.

Last edited by jschiwal; 11-02-2006 at 05:48 AM.
 
  


Reply

Tags
samba



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 share for everyone in the same workgroup starcutter Linux - Software 4 08-01-2006 05:29 PM
Workgroup vs Domain configuration santhosh.bachu Linux - Networking 1 07-27-2006 07:19 AM
Same workgroup but net use (samba share) works from Win2K and not WinXP lothario Linux - Software 3 05-26-2006 07:33 AM
Samba Share on a Domain Sern Linux - Software 1 05-12-2005 01:05 PM
Samba working in Domain, not in workgroup allauthors Linux - Wireless Networking 6 03-03-2005 01:33 AM

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

All times are GMT -5. The time now is 07:31 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