Asking again... locking files.
Marc Harding
mharding at ecwebworks.com
Thu May 10 12:32:00 GMT 2001
I am really having a problem with my netlogon script. It is locking almost
on a daily basis. This did not happen before moving to 2.2.0. Anyone have
any ideas to help me. This is the smbstatus line showing me the lock
24912 DENY_NONE RDONLY EXCLUSIVE+BATCH
/home/samba/netlogon/syslogon.bat Wed May 9 12:11:33 2001
The other thing I noticed is the no other connections at the time are using
24912.
RESEND....
since upgrading my system to samba 2.2.0 I am having a problem with my
logon script getting locked, so that when users log on, they are not
getting the proper drive mappings. I have attached the appropriate chunks
of my smb.conf.
[global]
security = user
status = yes
workgroup = ECSAMBA
netbios name = SAMBA
server string = Linux Samba Server
encrypt passwords = Yes
update encrypted = Yes
min passwd length = 6
passwd program = /usr/bin/passwd %u
passwd chat = *password* %n\n *password* %n\n *successfull*
username map = /etc/smbusers
unix password sync = Yes
log level = 1
log file = /var/samba/logs/log.%m
admin users = root
add user script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %m$
logon script = syslogon.bat
logon path = \\SAMBA\%U\conf\profile
logon drive = h:
logon home = \\SAMBA\%U
domain logons = Yes
os level = 65
preferred master = True
domain master = True
wins support = Yes
default service = homes
hosts allow = 192.168. 127.
guest account = nobody
share modes = no
show add printer wizard = Yes
printer admin = root
valid users = @users
hide local users = No
time server = yes
[homes]
comment = Home Directories
read only = No
create mask = 0770
directory mask = 0770
browseable = No
guest ok = no
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
guest ok = no
locking = No
share modes = No
writeable = no
read only = yes
If I am missing any sections which could be useful, please let me
know. Thanks in advance....
Marc Harding
More information about the samba
mailing list