[Samba] winbindd and dir creation problems

Brian J. Atkisson brian at lewiscenter.org
Mon Aug 5 14:13:02 GMT 2002


Hello out there.  I have a couple of Samba 2.2.5 issues I hope someone can
help with.

I am building a linux fileserver for use on an NT4 network with Win2K prof
clients (SP2).  I am using winbind for user auth against the NT domain.
Samba is the only service authenticating against winbind on this box.

1.  Winbind UID mappings don't seem to be constant.  Every once and a while,
the domain user/unix uid mappings change.  For no apparent reason, the uids
will suddenly correspond to a different user.  From what I have read, the
uid mappings are supposed to be constant no matter what happens.  I have not
been able to reproduce this by adding/removing domain users and groups.

2.  When accessing the fileserver from a win2k sp2 client ... the user goes
to create a new directory in their $HOME and windows displays the following
error: "You may not be able to access files created in the folder
\\fileserver\username\New Folder.  Do you want to continue?  Yes/No"  When
yes is selected, the directory is created correctly and all files are
accessible within the dir.  When users create files in the same location,
the files are created with no problem.  I have played with the create mode
settings with no luck.

Anyone have any ideas?

Here's my conf:

###
## SMB.CONF
#

[global]
   workgroup = ntauth
   password level = 8
   security = domain
   password server = *
   encrypt passwords = yes
   status = yes
   public = no
   log file = /var/log/samba/log.smb
   log level = 1
   smb passwd file = /etc/smbpasswd
   username map = /etc/smbusers
   dns proxy = no
   os level = 50
   socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 TCP_NODELAY
   wins server = x.x.x.x

   netbios name = bla
   hide unreadable = yes


   ###
   ## Winbindd stuff
   #

   winbind uid = 10000-20000
   winbind gid = 10000-20000
   winbind cache time = 15
   winbind enum users = yes
   winbind enum groups = yes
   template homedir = /home/%U
   template shell = /bin/true


###
## Shares
#

[homes]
   comment = Home Directories
   browsable = no
   writable = yes
   create mode = 0700

#########################################
  Brian J. Atkisson
  Systems Engineer
  Lewis Center for Educational Research
  brian at lewiscenter.org
#########################################





More information about the samba mailing list