Sugumar:

I assume you got my address from the MUUG roundtable posting, so I will post my reply there.  I am new at setting up Samba, so others may have more accurate or helpful information for you.

I basically followed the example in http://www.quickfixnotebook.com/ which is well worth buying from Copperfields if you have a number of setup issues to deal with using Fedora Core.  I think most of the examples in the first edition are for FC1, but the author is aware of FC2 and FC3.

Using FC4, I had trouble with SE Linux enabled.  Only after extensive Googling did I find that SE Linux was the cause of my woes in setting up Samba.  Contrary to the web info I found, re-enabling SE Linux afterward did NOT allow proper directory sharing, and I continue to boot without SE Linux enabled.

The Samba Howto http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/ is helpful, and there are examples of smb.conf files in the fast start section including one for a domain controller http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id2524276

To answer your questions:
1)  to make your Samba server a PDC, you need to set its priority higher than that of your competing Windows machines.  The smb.conf setting
os level = 65
is generally sufficient.
I am also using
domain master = yes
security = domain
but I think security = domain is not necessary to make Samba your PDC.
Take that info with a grain of salt.

2)  I am using
passdb backend = tdbsam
No configuration of the database was required.  Everything was just there.  I am not using LDAP - it looks like there is considerable setup, and it is probably not necessary unless you plan on scaling up to a large network with subnets on it.

If you are using a similar system and this is even remotely helpful, I would be glad to post or send my smb.conf file.

sugumar c wrote:
hello

       How to configer samba PDC server and how to use
LDAP server

pls explan. i am waiting for your replay

bye
sugumar.c

--- Dan Martin <ummar143@cc.umanitoba.ca> wrote:

  
The problem is SE Linux.

I finally found the solution to this problem on
Google by adding more 
search terms

    
http://readlist.com/lists/redhat.com/fedora-list/14/73268.html
  
 >>This two services was working OK before
 >>my
 >>update from FC3
 >>
 >>I think that it was having something to do with
      
SE, because to
    
 >>solution
 >>this I had to turn off SE, reboot, then turn on
      
SE & reboot again,
    
 >>this
 >>(I think) relabeled the entire file system &
      
after this; no more
    
 >>problems with the smb & ppp0 services getting
      
working ok.
    
 >>
      
I booted after turning off SE, and it works - after
many frustrating 
hours of looking for the problem in Samba.

Dan Martin wrote:

    
I have been playing with Samba 3 on FC4 for over 3
      
days now, and it's 
    
starting to get not fun.

Samba appears to be up and running and the network
      
is functional.  
    
When I browse the network on my Windows machines
      
(one is Win 2000 pro 
    
the other is NT4) I am prompted for a
      
username/password, then the 
    
server shows on the network.  I can open its
      
folder, and I can browse 
    
a tmp share inside (path /tmp) subject to the
      
permissions of the 
    
subfolders.

When I try to access the home folder named "user"
      
I get the error
    
\\Linuxserver\user is not accessible.  The network
      
name cannot be found.
    
It appears that authentication is working, as I
      
can login at the 
    
prompt, and the subfolder representing the home
      
directory is named 
    
after the user.  Permissions under Linux should
      
not be an issue, since 
    
I have granted universal access to /home and all
      
subdirectories.  If I 
    
try to browse folders that I do not have access
      
to, I get a different 
    
error - access denied.

Since the default mapping of the [homes] share did
      
not seem to work, I 
    
have even tried setting the smb.conf parameter
path=/home/%S
to no avail.

I have tried numerous other things, and a Google
      
search turned up 
    
dozens of dead ends.

Does anyone have ideas re
1)  the above problem
2)  how to 'flush the cache' so that I don't have
      
to log on and off on 
    
Windows every time I try a change in Samba
3)  how to determine on the Linux machine which
      
windows user is 
    
accessing from the network so I can confirm
      
authentication is correct 
    
(like a 'who' command for Samba)

      
-- 
  -Dan

Dr. Dan Martin, MD, CCFP, BSc, BCSc (Hon)

GP Hospital Practitioner
Computer Science grad student
ummar143@cc.umanitoba.ca
(204) 831-1746
answering machine always on

_______________________________________________
Roundtable mailing list
Roundtable@muug.mb.ca
http://www.muug.mb.ca/mailman/listinfo/roundtable

    



		
__________________________________________ 
Yahoo! DSL – Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com 


  


-- 
  -Dan

Dr. Dan Martin, MD, CCFP, BSc, BCSc (Hon)

GP Hospital Practitioner
Computer Science grad student
ummar143@cc.umanitoba.ca
(204) 831-1746
answering machine always on