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
Robert Brugman wrote:> 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?Yes. We do as follows: When you switch to domain logon with the Network ID wizard, create a local user as well. After the reboot, log in as this user, on the domain, and log out again. Log in locally as Administrator, right-click on "My Computer", select Properties, and select the "User Profiles" tab. You should now have several profiles. Select the local profile for the old user, click Copy To. Select browse. Find the roaming profile for the network user somewhere in c:\Documents and Settings Typically, if your local user is joeuser, the locally cached copy of the domain profile will be named joeuser.<your domain>. Select this. The next point "Permitted to use", click change, select your domain at the top and find the user in the list. Click OK in the Copy To window, click OK to overwrite. When you logon as joeuser on the domain, the local profile is used, and when you log out, it will be copied to the server. Mogens -- Mogens Kjaer, Carlsberg A/S, Computer Department Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark Phone: +45 33 27 53 25, Fax: +45 33 27 47 08 Email: mk@crc.dk Homepage: http://www.crc.dk