Hi,
I have this problem:
I have ryn samba-3.0.5 on GNU/Linux (trustix 2.1). I have set up smb.conf as
follow:
--- smb.conf - start ---
[global]
unix charset = ISO-8859-1
workgroup = REYCON-1
netbios name = DC-1
interfaces = eth0, lo
bind interfaces only = Yes
passdb backend = ldapsam:ldap://dc-1.reycon.com
username map = /etc/samba/smbusers
log level = 1
syslog = 0
log file = /var/log/samba/%m
max log size = 50
smb ports = 139 445
name resolve order = wins bcast hosts
time server = Yes
printcap name = CUPS
show add printer wizard = No
add user script = /var/lib/samba/sbin/smbldap-useradd.pl -a -m '%u'
delete user script = /var/lib/samba/sbin/smbldap-userdel.pl %u
add group script = /var/lib/samba/sbin/smbldap-groupadd.pl -p '%g'
delete group script = /var/lib/samba/sbin/smbldap-groupdel.pl '%g'
add user to group script = /var/lib/samba/sbin/smbldap-groupmod.pl -m
'%u'
'%g'
delete user from group script = /var/lib/samba/sbin/smbldap-groupmod.pl -x
'%u' '%g'
set primary group script = /var/lib/samba/sbin/smbldap-usermod.pl -g
'%g' '%u'
add machine script = /var/lib/samba/sbin/smbldap-useradd.pl -w '%u'
logon script = scripts\logon.bat
logon path = \\%L\profiles\%U
logon drive = X:
domain logons = Yes
preferred master = Yes
wins support = Yes
ldap suffix = dc=reycon,dc=com
ldap machine suffix = ou=People
ldap user suffix = ou=People
ldap group suffix = ou=Groups
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=root,dc=reycon,dc=com
idmap backend = ldap:ldap://localhost
idmap uid = 10000-20000
idmap gid = 10000-20000
map acl inherit = Yes
printing = cups
printer admin = Administrator, yyovkov
os level = 255
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
security = user
local master = yes
domain master = yes
[accounts]
comment = Accounting Files
path = /usr/local/samba/data/accounts
read only = No
[service]
comment = Financial Services Files
path = /usr/local/samba/data/service
read only = No
[pidata]
comment = Property Insurance Files
path = /usr/local/samba/data/pidata
read only = No
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[apps]
comment = Application Files
path = /usr/local/samba/apps
admin users = bjordan
read only = No
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
guest ok = Yes
locking = No
[profiles]
comment = Profile Share
path = /var/lib/samba/profile
read only = No
profile acls = Yes
[profdata]
comment = Profile Data Share
path = /var/lib/samba/profdata
read only = No
profile acls = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = Administrator, yyovkov
--- smb.conf - end ---
I have a machine Windows 2000 Pro attached the same network. I have
successfuly insert windows 2k into domain. First 2 times I have logged into
the system with user yyovkov, I have success, but after that I have error
message, that windows cannot find my profile. The problem is that after
second logon windows change its %LOGONSERVER% variable.
Can someone help me?