[Samba] samba windows domain controller

This is a discussion on [Samba] samba windows domain controller within the Samba forums, part of the Networking and Network Related category; Hi I want windows machines to automatically be added into samba when they try to attach to the domain. Had ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-29-2008
Evan Ingram
 
Posts: n/a
Default [Samba] samba windows domain controller

Hi

I want windows machines to automatically be added into samba when they
try to attach to the domain. Had various problems with root account not
being accepted.

Can anyone spot anything glaringly obviously wrong in my config that
follows.
Cheers




[global]
name resolve order = wins bcast hosts
ldap ssl = no
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*success fully*
idmap gid = 500-550
admin users = root
obey pam restrictions = no
client schannel = no
passwd program = /usr/bin/passwd %u
dns proxy = No
netbios name = sss-server
writeable = yes
printing = lprng
idmap uid = 500-2000
logon script = user.bat
workgroup = domain
debug level = 3
os level = 65
getwd cache = yes
log file = /var/log/samba/%m.log
guest account = root
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
sync always = yes
map to guest = never
null passwords = yes
domain master = Yes
encrypt passwords = yes
public = yes
realm = domain
wins support = true
netbios aliases = sss-server
server string = sss-server
add user script = /usr/sbin/useradd -g machines -c NTMachine
-d /dev/null -s /bin/false %m$ && /usr/bin/smbpasswd -a -m %m$
domain logons = Yes
pam password change = Yes
# DOMAIN ADMIN GROUP added to allow root as local admin
domain admin group = root

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[netlogon]
comment = Network Logon Service
share modes = No
public = yes
path = /usr/local/samba/netlogon

[Profiles]
nt acl support = yes
browseable = no
delete readonly = yes
path = /usr/local/samba/profiles
force group = root
force user = root
comment = Network Profiles Service
create mode = 0600
directory mode = 0700

[root_dir]
comment = root dir mark only
delete readonly = yes
path = /

[data]
force user = root
comment = Data Directory
path = /home/data/
force group = root

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:38 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0