LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba Workgroup and Domain with File n printer Share full Configuration for Fedora 4 (https://www.linuxquestions.org/questions/linux-software-2/samba-workgroup-and-domain-with-file-n-printer-share-full-configuration-for-fedora-4-a-496522/)

d.vinayaham 10-28-2006 11:35 PM

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

musicman_ace 10-30-2006 03:02 AM

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.

d.vinayaham 10-30-2006 10:56 PM

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

musicman_ace 10-31-2006 10:39 AM

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.

d.vinayaham 10-31-2006 10:38 PM

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.

jschiwal 10-31-2006 11:48 PM

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.

musicman_ace 11-01-2006 09:07 PM

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.

tarvinder 11-01-2006 10:33 PM

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

jschiwal 11-02-2006 03:13 AM

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.


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