Prompted for passwd on NT after succesful logon?

Olof Liungman olli at oce.gu.se
Wed Apr 26 09:06:33 GMT 2000


Hi,

this has probably been answered before but I couldn't find it in the archives, 
so...

Sun SPARC Solaris 2.6 and Samba 2.0.0, plain passwords (no smbpasswd, only Unix 
usernames and no NT domain). Everything works fine, but those using NT are 
prompted for username and password when they first access a share, even though 
they have already logged in to the NT-box using the same username and password. 
Win 95/98 users do not have this problem. What am I missing? Here's my smb.conf:

[global]
   workgroup = OCEAN
   server string = Samba %v on Helios
   printing = bsd
   printcap name = /usr/local/samba/lib/printcap
   load printers = yes
   guest account = ftp
   log file = /usr/local/samba/log.%m
   max log size = 50
   security = user
   socket options = TCP_NODELAY 
   local master = yes
   os level = 65
   domain master = yes 
   preferred master = yes
   domain logons = yes
   wins support = yes
   name resolve order = wins host lmhosts bcast

[homes]
   comment = Home Directories
   browseable = no
   read only = no
   create mode = 0750
   directory mode = 0750
   hide dot files = yes
   valid users = %S

[printers]
   comment = All Printers
   path = /tmp
   browseable = no
   printable = yes
   public = no
   writable = no
   create mode = 0700
   lpq command = /bin/lpstat -o%p
   lprm command = /bin/cancel %p-%j
   lppause command = /bin/lp -i %p-%j -H hold
   lpresume command = /bin/lp -i %p-%j -H resume

[public]
   comment = Public Stuff
   path = /export/data/public
   public = yes
   writable = no
   printable = no
   write list = @staff
   force create mode = 0770
   force directory mode = 0770
   hide dot files = yes
   
[IMS]
   comment = IMS software
   path = /export/opt/IMS
   read only = yes
   public = no
   valid users = @staff
   printable = no
   hide dot files = yes
   
[ftp]
   comment = Anonymous FTP site
   path = /export/data/ftp/pub
   public = no
   writeable = no
   printable = no
   write list = @staff
   force create mode = 0775
   force directory mode = 0775
   hide dot files = yes

Being constantly harassed by hacking attempts I've removed the 'hosts allow' and 
'interfaces' lines... Also, I'm a bit unsure about the 'domain logons' line. 
Can't really remember why I put that to 'yes'.

Any suggestions are welcome.

Olof

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Never underestimate the power of stupid people in large groups."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




More information about the samba mailing list