LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Samba Question

[ILUG] Samba Question

Fintan Ryan fryan at nl.alpnet.com
Thu Apr 13 10:51:39 IST 2000


Hi Folks,

I got the following question this morning from a friend of mine, but I'm
a bit clueless as far as Samba is concerned, so any suggestions would be
appreciated. If you want to reply to the person who sent it to me
directly mail me offlist and I'll send you his address.

l8r,
Fintan

<question>
        Not sure if this is your area of expertise, or if you know
anyone who could help out, but I have a little Samba problem that I'm
trying to fix for the guys over here.  Basically the background is
this:  We have an NT box running SAP (I know, I know...) and one of the
guys has written a script that will generate an output file and write it
to a UNC path (ie any other shared NT directory).  We want to be able to
transfer the script over to a UNIX machine to a samba share on that
machine.  Now the problem is, every time we try to access the samba
share, we get asked for a username and password.  Now, I know how picky
Samba is, so the NT user and the UNIX user both exist, both have the
same username (case and everything) and both have the same password
(case and everything).  Now, if I give the username and password, the NT
machine can see the shares.  Thing is, we need to run the script
automatically, so the NT machine needs to be able to access the share
without manual intervention.  We don't want to map a drive, cos really,
UNC paths make a lot more sense.  We have made the NT registry
"EnablePlainTextPassword" change but to no avail.

Our Samba config looks like:
[global]
   workgroup = PC-GROUP
   print command = /usr/local/bin/lpr -r -P%p %s
   lprm command = /usr/local/bin/lprm -P%p %j
   lpq command = /bin/true
   lpq cache time = 999
   printcap name = /usr/samba/lib/smb-printers
   printing = PLP
   guest account = win-nfs
   auto services = public
   invalid users = root
   null passwords = yes
   server string = Pembroke Street Samba server on %h
   hosts allow = ALL
   load printers = yes
   socket options = TCP_NODELAY SO_REUSEADDR
   read raw = no
   status = yes
   share modes = yes
   username map = /share/configs/SambaUserMap
   password level = 4
<snip out printer stuff>
[phone_data]
   comment = Dir for search data
   path = /share/www-int/is
   writable = yes
   read only = no
   create mode = 0644
   guest account = IONadm
   invalid users = root
   group = iona

As you can see, the share name is phone_data.  We see it, and all works
in a manual sense, but not in the
automatic-never-prompted-for-a-password sense.
</question>




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell