USING SAMBA AS PDC/Roaming profiles
Allen Bolderoff
allen at gist.net.au
Thu Jul 8 23:45:42 GMT 1999
lisa at usna.navy.MIL said:
> Hi:
> I saw your recent posting to the samba_ntdom mailing list.
> Sounds like you're able to download your profiles to your NT clients
> from the Samba PDC.
> What version of Samba are you using - Samba 2.0.4b or 2.1prealpha?
That is correct, I am using 2.0.4b
> Whenever I try to login to the Samba domain, the NT workstation seems
> to find my home directory on the UNIX Samba server and update my
> NTUSER.dat in my profiles subdirectory - but the Desktop never loads
> on the NT workstation. Instead I am always returned to the "Begin
> Logon" screen. Did you have a similar problem?
I created a directory for each user called username.PDC in
/home/samba/Profiles/ .
I changed /home/samba/Profiles/username.PDC to be owned by the unix username
and group.
I then added write permissions to the group that all users belong to for the
netlogon share.
> Could you send me a copy of your smb.conf file? Perhpas I have set up
> something incorrectly.....although [homes] and [profiles] locations
> seem to be resolving correctly.
> How did you set up your profiles? Do you have a separate profiles
> share? Or does each user have an NT profile in their home directory?
same sort of situation.
> Any pointers you can offer would be MUCH appreciated....
# Samba config file created using SWAT
# from server (192.168.20.1)
# Date: 1999/07/05 16:40:35
# Global parameters
[global]
log level = 4
workgroup = BMTRS
netbios name = SERVER
server string = BMT Samba Server
encrypt passwords = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/smbusers
unix password sync = Yes
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
logon script = %U.bat
logon path = \\%L\Profiles\%U
domain logons = Yes
dns proxy = No
wins support = Yes
include = /etc/smb.conf.
domain group map = /etc/samba/domaingroup.map
local group map = /etc/samba/localgroup.map
domain user map = /etc/samba/domainuser.map
[programs]
comment = Program Installations
path = /home/%U/ProgramFiles
read only = No
browseable = No
[homes]
comment = Home Directories
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = Yes
share modes = No
[Profiles]
path = /home/samba/Profiles
guest ok = Yes
browseable = No
writeable = Yes
write list = @brice
[tmp]
comment = Temporary file space
path = /tmp
read only = No
guest ok = Yes
[public]
comment = Common Data Files
path = /home/samba/data
write list = @brice
read only = No
guest ok = Yes
writeable = yes
[hpdriver]
comment = HP 2100 Printer Drivers
path = /home/samba/masters/hpdrivers
guest ok = Yes
[msoffice]
comment = Microsoft Office 2000
path = /home/samba/masters/office2k
guest ok = yes
[works]
comment = Microsoft Works
path = /home/samba/masters/works
guest ok = yes
[officnet]
comment = Office Net Install point
path = /home/samba/office
write list = @brice
read only = No
guest ok = Yes
writeable = yes
[root at server samba]# pwd
/home/samba
[root at server samba]# ls -lR netlogon/
netlogon:
total 26
-rwxr--r-- 1 root root 24576 Jul 5 16:01 NTconfig.pol
drwxr-xr-x 2 root root 1024 Jul 5 16:01 scripts
netlogon/scripts:
total 1
-rwxr--r-- 1 root root 27 Jul 5 16:01 administrator.bat
[root at server samba]# pwd
/home/samba
[root at server samba]# ls -lR netlogon/
netlogon:
total 26
-rwxr--r-- 1 root root 24576 Jul 5 16:01 NTconfig.pol
drwxr-xr-x 2 root root 1024 Jul 5 16:01 scripts
netlogon/scripts:
total 1
-rwxr--r-- 1 root root 27 Jul 5 16:01 administrator.bat
[root at server samba]# ls -l Profiles/
total 273
-rwxr-xr-x 1 root root 270336 Jul 5 16:00 NTUSER.DAT
drwxr-xr-x 15 andrewm andrewm 1024 Jul 5 21:42 andrewm.PDS
drwxr-xr-x 15 davidh davidh 1024 Jul 6 21:03 davidh.PDS
drwxr-xr-x 15 johnp johnp 1024 Jul 5 17:41 johnp.PDS
drwxr-xr-x 15 keithl keithl 1024 Jul 5 17:21 keithl.PDS
drwxr-xr-x 15 michaelh michaelh 1024 Jul 6 20:40 michaelh.PDS
drwxr-xr-x 2 peterh peterh 1024 Jul 5 16:32 peterh.PDS
drwxrwxrwx 15 root root 1024 Jul 6 21:38 root
drwxr-xr-x 2 simanisr simanisr 1024 Jul 5 16:33 simanisr.PDS
More information about the samba-ntdom
mailing list