[Samba] Problem with Active Directory

Vittorio Talamo vtalamo at intermedia2000.com
Tue Mar 28 18:04:29 GMT 2006


Hello,

i need a file server for workstation of a network Windows 2000 with AD. I'm
using Suse 10 and Samba.

Reading "HOWTO" and "by Example" i reached this results:

- the Linux server is in domain, i see it in Computers folder of AD
- wbinfo -u get successfully all users of domain
- wbinfo -g get successfully all groups of domain
- getent passwd lists all users of domain
- getent group lists all groups of domain
- with chown i changed successfully (verified with ls -la) the owner of
folder shared in smb.conf (now the owner of the folder is an user of the
domain)
- logging on the Windows workstation with the domain user configured as
owner of the shared folder, i see the Server Linux and all shared folder
configured in smb.conf.

When i try to open a shared folder i receive "Password incorrect or user
unknown" and request for username and password.

What is problem?

This is my smb.conf:

[global]
      unix charset = LOCALE
      workgroup = INTRANET
      realm = INTRANET.IMB
      server string = File Server
      security = ADS
      username map = /etc/samba/smbusers
      log level = 1
      syslog = 0
      log file = /var/log/samba/%m
      max log size = 50
      printcap name = CUPS
      ldap ssl = no
      idmap uid = 10000-20000
      idmap gid = 10000-20000
      template shell = /bin/bash
      winbind use default domain = Yes
      winbind enum users = Yes
      winbind enum groups = Yes
      winbind nested groups = Yes

[homes]
      comment = Home Directories
      valid users = %S
      read only = No
      browseable = No

[data]
      path = /home/data
      valid users = %S
      read only = No

Please help me.

Thank's.

Vittorio




More information about the samba mailing list