[Samba] Misunderstanding samba [homes]

Johann Angsuesser hans.angsuesser at borg-perg.ac.at
Wed Nov 1 17:45:35 GMT 2006


Samba do the -right- mapping of home-dirs to [homes] share
-without- knowing th name of the users???
I'll try to explain:

I have 2 winxp clients and a debian server with

dpkg -l|grep samba
ii  samba          3.0.23c-2

running.

the name of the xp boxes is    borg,  dir
the users working there are    gusi, brigitte

gusi have a passwd (on the xp box), Linux account and samba-passwd - all
the same, thats OK (samba's working fine)

brigitte has no password on her machine dir, but there exists a
UNIX-account direktion and samba-account too - =with= a password.
Brigitte gets the share 'direktion' without a password as homes-share -
that's what I intended to do, but should not happen.
Can samba read my mind?
Ha anybody an idea how this is working?

My smb.conf

[global]
   workgroup = VERWALTUNG
   server string = %h server (Samba %v)
   wins support = yes
   dns proxy = no
   name resolve order = lmhosts host wins bcast
   log file = /var/log/samba/log.%m
   max log size = 1000
   security = user
   hosts allow = 192.168. 10.110.116. 11.110.16.
   encrypt passwords = true
   obey pam restrictions = yes
   guest account = nobody
   invalid users = root
   passwd program = /usr/bin/passwd %u
   preserve case = yes
   short preserve case = yes
   socket options = TCP_NODELAY
   preferred master = yes
   domain master = yes
   local master = yes
   guest ok = yes
[homes]
        create mask = 0700
        directory mask = 0700
        comment = Home Directories
        writable = yes
        browseable = no

[borg]
        writeable = yes
        wide links = no
        writable = yes
        path = /samba
        create mask = 0777
        comment = File-Server der Verwaltung
        valid users = direktion,gusi
        public = yes
================================================================================
less log.dir
[2006/10/31 11:24:24, 1] smbd/service.c:make_connection_snum(941)
  dir (10.110.116.20) connect to service direktion initially as user
direktion (uid=1003, gid=100) (pid 6588)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
brigitte on box dir initially as user direktion -- why does samba know
this??? And why not asking for a password?(brigitte have none?)

Any help would be appreciated
Hans



[2006/10/31 11:24:36, 1] smbd/service.c:close_cnum(1141)
  dir (10.110.116.20) closed connection to service direktion
[2006/10/31 11:25:14, 1] smbd/service.c:make_connection_snum(941)
  dir (10.110.116.20) connect to service direktion initially as user
direktion (uid=1003, gid=100) (pid 6591)
[2006/10/31 11:25:30, 1] smbd/service.c:make_connection_snum(941)
  dir (10.110.116.20) connect to service borg initially as user
direktion (uid=1003, gid=100) (pid 6591)
[2006/10/31 11:25:37, 1] smbd/service.c:close_cnum(1141)
  dir (10.110.116.20) closed connection to service borg






More information about the samba mailing list