[Samba] Samba PDC Questions
Robert Brugman
rbrugman at chartermi.net
Wed Jan 21 03:50:31 GMT 2004
Hello,
I am setting up Samba as my primary domain controller for my network to
connect all my windows machines. I can get the machines to join the
network, but I have a couple problems. Maybe someone here can help:
1.) When switching from a workgroup (single client machines) to the
domain,
is there a way to transfer the profiles, so everyone's
desktop/icons/files
are the same as they were?
2.) On the local machine, I use MultiRes to change the resolution of my
screen on Windows 2000. When I log in, it goes to 1600x1200 and when I
log
out, it goes back to 1024. When I join the domain, it doesn't load on
startup anymore, and when I log off, it says "can't write Multires.exe,
etc". How do I fix this problem?
3.) My last question is how come only my user has their home directory
mapped to H when they log in? I thought I set it up correctly. Below I
have pasted in my config. Maybe I'm just stupid and have something
wrong.
Thanks!
Robert
P.S. This may be quite long.
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2
;basic server settings
workgroup = freenet
netbios name = Orion
server string= Samba PDC running %v
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes
;security and logging settings
security = user
encrypt passwords = yes
domain logons = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 192.168.0.0/255.255.255.0
;user profiles and home directory
logon name = \\%L\%U\.profile
logon drive = H:
logon path = \\%L\profiles\%U
[homes]
comment = Home Directories
browseable = no
writeable = yes
[profiles]
path = /home/samba/profiles
writeable = yes
browseable = no
create mask = 0600
directory mask = 0700
[netlogon]
path = /usr/local/samba/lib/netlogon
read only = yes
write list = ntadmin
;add user script
add user script = /usr/sbin/useradd -d /dev/null -g machines -s
/bin/false -M %u
;sync UNIX passwords
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password*
%n\n
*Enter* *new*UNIX*password* %n\n *Retype*new*UN$
authentication*tokens*updated*successfully*
[rbrugman]
comment = Robert's Stuff
path = /home/rbrugman/
valid users = rbrugman
public = no
writable = yes
printable = no
; create mask = 0765
[music]
comment = Music Server
path = /home/music/
public = yes
valid users = rbrugman
writable = yes
printable = no
Thanks,
Robert
~Robert Brugman~
This e-mail is X.509 happy ;-)
GPG Fingerprint: D710 B8D9 C72A AB56 174F 71AC 3619 9F32 8250 6034
More information about the samba
mailing list