LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-26-2011, 06:58 AM   #1
sulekha
Member
 
Registered: Dec 2004
Location: India
Distribution: ubuntu 10.04 , centos 5.5 , Debian lenny, Freenas
Posts: 324

Rep: Reputation: 36
Question samba pdc


Hi all,

I was going through the tutorial given here:- http://www.youtube.com/watch?v=8MWBhlaLIxQ

from this I actually implemented samba PDC in my Office using the following directives in my smb.conf file

samba pdc:-

change workgroup
security = user
password encrypted = true


domain logons = yes
domain master = yes
local master = yes
preferred master = yes
os level = 64

enable logon path=\\%N\%U\profile
/* is storing the profile in the user's home directory ,this is Samba's default */

logon drive = H;

add machine script = = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

/*
every time a machine , joins a domain the server needs to recognize that computers host name
*/

[homes]

comment = Home Directories
browseable = no
writeable = yes
/* to enable the default home directory shares. This will share each
user's home directory as \\server\username*/


[netlogon]
comment = Network logon services
path = /home/samba/netlogon
guest ok = yes
read only = yes
share modes = no

/*
create the netlogon directory for Domain Logons
(you need to configure Samba to act as a domain controller too.)

*/


[profiles]
comment = users profile
path = /home/samba/profiles
guest ok = no
create mask = 0600
directory mask = 0700



now my questions are as follows ?

1) what is the meaning of the directive os level = 64
2) under the netlogon section , what does share mode = no imply ?
 
Old 12-26-2011, 10:29 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The "os level = 64" line is explained in "man smb.conf". It will effect whether the server wins browsing elections. You can probably leave it as the default.

According to the same man page. The "share mode" option is deprecated and should be left as "yes". However, I don't know the purpose of being in the netlogon section is. You might want to search on the web for: netlogon "share mode = no". I suspect if may have security implications when used in the [logon] share, but will break applications used in a general file share. But I am just guessing. From the man page, this seems to be different from "security = share" security mode, which you wouldn't use anyway on a PDC.

If you have a samba-doc package available, it contains 3 very good manuals for Samba 3.

Last edited by jschiwal; 12-26-2011 at 10:43 AM.
 
  


Reply



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 PDC + OpenLDAP + Samba Windows 7 user name length Jantoni Linux - Server 2 04-19-2011 01:50 AM
[Samba] Samba as PDC stopped trusting my Win 7 clients after a server update martdj Linux - Networking 1 01-14-2011 10:30 AM
samba pdc trust with windows 2003 server pdc samba_pk Linux - Networking 1 06-08-2007 01:22 AM
samba member server as fileserver authenticating samba PDC activeq Linux - Networking 0 11-17-2006 09:44 AM
Samba domain member server (DMS) group permissions in network with a Samba PDC srosa Linux - Networking 0 05-01-2006 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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