[Samba] Problems with Samba 3.0.1 on a W2k domain

startux.org webmaster webmaster at startux.org
Fri Jan 16 17:30:05 GMT 2004


Hi,

I've installed Samba 3.0.1 and joined it to DTE Domain which is run by a
Windows 2000 server.
I'm using winbind.

I've followed the instructions very carefully in the PDF HOWTO regarding
winbind exception made that SuSE 9.0 doesn't have pam_stack.so
SuSE 9.0 brings a module called pam_smb_auth.so which i presume is the same
thing.
Not sure about that though.

Well, i've joined the Samba server to the DTE domain with success with the
command
"net rpc join -S DTE -U addcomputer".

wbinfo -u and wbinfo -g are ok.

When i start a Windows machine, i can log in the DTE domain successfully
with user gamito.

But, when inside of it, i can't open my (and the others also) home, which is
in /home/gamito. The password is always rejected.
Either with login "gamito" or "DTE/gamito", or "torvalds-dte/DTE/gamito" (my
Windows client".

The only share i can access is "Comum" which is a directory /home/Comum with
permissions 777 in the Samba server.

The log.smbd tells me this:
"[2004/01/16 17:18:33, 0] smbd/service.c:make_connection_snum(677)
  '/home/DTE/gamito' does not exist or is not a directory, when connecting
to [gamito]"

which is strange, beacause i don't have in the Samba server any
/home/DTE/gamito.
I've tried to created, and then i can go to my home (gamito) without being
asked for the password, but any writing operation is denied.

Any ideas of how to solve this ?
Any help would be appreciated.

I send you my smb.conf

Warm Regards,
Mário Gamito


smb.conf
------------------------
[global]
  workgroup = DTE
  netbios name = SRV-DTE-TUX
  password server = SRV-DTE
  
  #os level = 4
  #preferred master = yes
  #domain master = yes
   local master = yes

  security = domain
  encrypt passwords = yes

#  domain logons = yes

  #smb passwd file = /usr/local/samba/bin/passwd

  wins support = no 
  #dns proxy = yes
  wins server = 193.136.80.7
  wins proxy = yes

  winbind separator = +
  idmap uid = 10000-20000
  idmap gid = 10000-20000
  winbind enum users = yes
  winbind enum groups = yes  

  #client code page = 850
  #character set = ISO8859-1  
  #valid chars = ã:Ã â:Â á:Á à:À ê:Ê é:É í:Í õ:Õ ó:Ó ç:Ç 
  dos charset=UTF-8
  unix charset=UTF-8

#  veto files =
/.bashrc/.profile/.bash_history/.AppleDesktop/.AppleDouble/Network Trash
Folder/TheVolumeSettingsFolder/TheFindByContentFolder/
  
  #printer driver file = /tmp/samba/printers/printers.def
  #load printers = yes

[homes]
  comment = Areas pessoais.
  browseable = yes
  read only = no
  guest ok = no
  create mask = 600
  directory mask = 700 

[Docentes]
  comment = Area partilhada para Docentes.
  path = /home/Docentes
  writeable = yes
  guest ok = no
  create mask = 660
  directory mask = 770
 
[Secretaria]
  comment = Area partilhada para os funcionário da secretaria.
  path=/home/Secretaria
  writeable = yes
  guest ok = no
  create mask = 660
  directory mask = 770

[Comum]
  comment = Area partilhada para funcionários e Docentes.
  path = /home/Comum
  writeable = yes
  guest ok = no
  create mask = 666
  directory mask = 777




More information about the samba mailing list