(no subject)

Yang, Min min.yang at intel.com
Thu May 23 18:16:46 GMT 2002


I have just installed samba server on Solaris 7. Each time there is a
connection from NT/Window, SAMBA has following error:

Anybody konw why?

Thank you

Min 

 smbd version 2.2.3a started.
  Copyright Andrew Tridgell and the Samba Team 1992-2002
[2002/05/23 11:03:23, 0] tdb/tdbutil.c:tdb_log(475)
  tdb(/usr/local/samba/private/secrets.tdb): tdb_reopen: failed to obtain
active lock

Following is my smb.conf file:

[global]

   workgroup = LOCERD01
   netbios name = js1
   server string = Samba Server
   load printers = yes
   printcap name = /etc/printers.conf
   log file = /usr/local/samba/var/log.%m
   max log size = 50
   security = server
   password server =  xxxxxx
   encrypt passwords = yes
   socket options = TCP_NODELAY 

   local master = no
   domain master = no 

   domain logons = yes
   wins support = yes
   wins server = xxxxxxxxxx

   dns proxy = no 

  kernel oplocks = yes
#============================ Share Definitions
==============================
[homes]
   guest  ok = no
   comment = Home Directories
   writable = yes

# Un-comment the following and create the netlogon directory for Domain
Logons
; [netlogon]
;   comment = Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/lp/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = yes
   writable = no
   printable = yes
   comment = Temporary file space
   path = /proj/u15/tmp
   read only = no
   public = yes

# This one is useful for people to share files
[whitney]
   comment = project whitney directory
   path = /proj/whitney
   writable = yes
   valid users = @whitney
   create mode = 0664
   directory mode = 1775
   case sensitive = yes
   strict locking = yes




More information about the samba-docs mailing list