[Samba] Samba server behaves not as I want it to

Ham MI-LY, Gerhard Stehr gerhard.stehr at kuehne-nagel.com
Tue Feb 5 06:06:02 GMT 2002

Hi there,

I am trying to set up a samba server on AIX and I am able to mount
filessystems on the Windows2000 PC. But, I want to have several
only accessed after given login and password of the owner and some
writable to all
without password (/tmp). 

The /tmp FS works fine. At mounting the others the system asks me for a
login/password first. But
when I entered one I can either read all the others (no password
prompting anymore) or
the system asks me for a username and password, but says the filesystem
is already in use with another
username and should be released first, which is very strange in my
opinion... (this is the actual

Who do I have to configure samba the right way. I didn't find anything
useful in the documentations.

Kind regards

My smb.conf file is as follows (there is also a smbpasswd file with 4
users in it):

#======================= Global Settings

   workgroup = WORKGROUP 
   server string = Samba 
   netbios name = ZAPHOD
   log file = /usr/local/samba/var/log.%m
   max log size = 5000
   log level = 1
   security = server
#   map to guest = Bad User
   encrypt passwords = no 
#   username map = /usr/local/samba/users.map
#   map to guest = Never

# Use password server option only with security = server
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
   password server =
;  password server = <NT-Server-Name>

   socket options = TCP_NODELAY 

#============================ Share Definitions
   path = /tmp
   read only = no
   public = yes
   writable = yes
   browseable = yes
   guest ok = yes

;   path = %H
   comment = Home Directories
   browseable = no
   public = no
   writable = yes 
#   valid users = %u

   path = /usr/local/glm5 
   browseable = yes
   writable = no
   public = no
   valid users = gerhard glm

   path = /usr/local/glm5/dhtl
   browseable = yes 
   read only = no
   writable = yes
   force user = glmdhtl
   public = no 
   valid users = glmdhtl 
   write list = glmdhtl 

   path = /usr/local/glm5/dc2k
   browseable = yes
   writable = yes
   public = no
   valid users = glmdc2k

More information about the samba mailing list