Mansell, Gary schrieb:
Hi,
I have followed the worked example in the HOWTO documentation for the small Engineering Office which demonstrates how to configure Samba-3 as the PDC for an NT domain.
I have setup a RHAS 3.0 Linux box and have configured Samba as per the instructions in the book.
Using an NT 4.0 client workstation I can sucessfully login as the user grma (It authenticates against the Samba PDC OK) but I cannot seem to map the user's home directory. The log file indicates: NT_STATUS_ACCESS_DENIED
This seems strange to me as I have had home directories working fine on previous versions of Samba that are not acting as PDC's.
Here is my smb.conf file:
[EMAIL PROTECTED] samba]# more /etc/samba/smb.conf
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/01/28 15:11:06
# Global parameters
[global]
debug level = 10
workgroup = MISTY
server string = MISTYSRV Samba Server %v
passdb backend = tdbsam
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
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
delete user from group script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
logon script = scripts\logon.bat
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
dns proxy = No
ldap ssl = no
idmap uid = 15000-20000
idmap gid = 15000-20000
printing = cups
OT: wins support = yes would be a good idea for a PDC if you haven´t wins running on any other machine.
[homes]
comment = Home Directories
valid users = %S
AFAIK this wont´t work properly with samba 3.x. Did you tried this without "valid users = %S"?
[....]
Your smb.conf looks good, but did you check it with testparm?
Greeting from Germany
Knut
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
