Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
(solved)-Ned help with PDC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1133
Location: 127.0.0.1

PostPosted: Sat Oct 08, 2011 7:30 pm    Post subject: (solved)-Ned help with PDC Reply with quote

I am trying to set up a PDC so i can connect all my PCs to it, although I have followed the wiki to the letter, I cannot get Windows 7 to connect, keeps giving me some error about the joint operation failed.

Has anyone got Gentoo, Samba and Windows 7 all connect through a Linux PDC?

Here is my smb.conf


Code:
[global]
netbios name  = Aramaki
workgroup     = PSS9
server string = PDC [on Gentoo :: Samba server %v]
printcap name = cups
printing = cups
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = lo eth0
bind interfaces only = yes
hosts allow = 127.0.0.1 192.168.1.0/24
hosts deny = 0.0.0.0/0
security = user
encrypt passwords = yes
local master     = yes
os level         = 65
domain master    = yes
preferred master = yes
null passwords  = no
hide unreadable = yes
hide dot files  = yes
client ntlmv2 auth = yes
wins support = yes
wins proxy = no
lanman auth = yes
ntlm auth = yes
domain logons = yes
logon script  = login.bat  OR %U.bat
logon path    = \\%L\profiles\%U
logon drive   = H:
logon home    = \\%L\%U\.9xprofile
wins support       = yes
name resolve order = wins lmhosts host bcast
dns proxy          = no
passdb backend = tdbsam
add user script          = /usr/sbin/useradd -m %u
delete user script       = /usr/sbin/userdel -r %u
add group script         = /usr/sbin/groupadd %g
delete group script      = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script       = /usr/sbin/useradd -s /bin/false -d /dev/null %u
#a nice replacement for above line:
#add machine script      = /usr/sbin/useradd -d /dev/null -g 'machines' -c 'Machine Account' -s /bin/false '%u'
#you need to add a "machines" group to use it
passwd program           = /usr/bin/passwd %u
passwd chat              = "*New password:*" %n\r "*New password (again):*" %n\r "*Password changed*"


[netlogon]
  path       = /var/lib/samba/netlogon
  guest ok   = no
  read only  = yes
  browseable = no

[profiles]
  path = /var/lib/samba/profiles
  browseable = no
  writeable = yes
  default case = lower
  preserve case = no
  short preserve case = no
  case sensitive = no
  hide files = /desktop.ini/ntuser.ini/NTUSER.*/
  write list = @users @ntadmins
  create mask = 0600
  directory mask = 0700
  csc policy = disable

[homes]
  path                = /home/%U
  browseable          = no
  valid users         = %S
  read only           = no
  guest ok            = no
  inherit permissions = yes


Is there anything wrong with that smb.conf? If so what needs to be changed?

The error windows gives me is

win7 pdc error
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum