tng 2.5 share-access

Jamie ffolliott jffolliott at home.com
Wed Apr 26 03:47:08 GMT 2000


Hi All,

I think I ran into this bug again trying to access a share on my TNG server
from a W2K workstation that's not a member of the domain (I assume this
would apply to NT4 workstations as well).  The samba server is a PDC for the
"House" domain, and the client is just a member of the "House" workgroup.
The same user in W2K exists on the samba server with the same password, so
share-level access should work I expect and has before with earlier TNG
releases.

What I get is a username/password prompt to connect to the share because my
username is being rejected.  In the log.workstation I see:
SMB LM/NT Password did not match!
Rejecting user 'jmeff': authentication failed
32 bit error packet at line 494 cmd=115 (SMBsesssetupX) eclass=c000006d
[Error:
Unknown error (109,49152)]
error string = No such file or directory
(passwords have to match, I just re-created the account with
rpcclient -S . -U root, createuser user -p password)

BUT.. entering "DOMAIN\username" and a password *does* let me access shares,
so it's just not validating users that aren't logged into the domain.  When
I get access this way however, file sharing is incredibly slow (playing an
mp3 over the share is jumpy, so this is < 15Kbps).  I've attached the
log.degobah file (degobah is my w2k client) and my smb.conf.

I've been able to successfully add the W2K client to the domain, login, and
get normal access to the shares, so I think my setup is fine.  I've created
a new smbpasswd from scratch, removed all the samba locks files, and started
the daemons fresh.

Note: the client is "degobah", the TNG PDC server is "firewall", domain is
"house", and my username is "jmeff".

Hope this helps.
cheers,
Jamie


smb.conf>>
[global]

  netbios name = FIREWALL
  workgroup = HOUSE
  hosts allow = 127.0.0.1 192.168.69.
  printcap name = /etc/printcap
  load printers = yes
  print command = lpr -P%p %s; rm %s
  guest account = nobody
  log file = /var/log/samba/log.%m
  max log size = 500

  security = user
  password level = 8
  username level = 8

  encrypt passwords = yes
  smb passwd file = /etc/smbpasswd

  unix password sync = Yes
  passwd program = /usr/bin/passwd %u
  passwd chat = *password* %n\n *password* %n\n *successfull*

  domain group map = /etc/smbdomaingroup.map
  local group map = /etc/smblocalgroup.map
  domain user map = /etc/smbdomainuser.map

  socket options = TCP_NODELAY

  getwd cache = yes
  read prediction = True
  wide links = True

  interfaces = 192.168.69.1/24
  bind interfaces only = False

  local master = yes
  os level = 63
  domain master = yes
  preferred master = yes
  domain logons = yes
  logon script = logon.bat
  logon drive = u:
  logon path = \\%L\profiles\%U
  logon home = \\%L\home\%U

  wins support = yes
  dns proxy = no

  lock directory = /var/lock/samba
  time server = True

  debug level = 100
  timestamp logs = no

[home]
   comment = Home Directories
   path = /home
   browseable = yes
   writeable = yes
   preserve case = yes
   short preserve case = yes
   create mode = 0755
   hide dot files = yes
   public = no

[netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   public = no
   locking = no
   writeable = yes
   write list = root, jmeff, @jamie
   share modes = no

[profiles]
   path = /home/profiles
   browseable = yes
   guest ok = yes
   writeable = yes
   comment = Roaming Profiles
   directory mask = 0700
   create mode = 0700

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = no
   writeable = no
   printable = yes

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.tar.gz
Type: application/x-gzip
Size: 6055 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-ntdom/attachments/20000425/933bc923/log.tar.bin


More information about the samba-ntdom mailing list