Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Smbadduser or smbpasswd?
Message
General information
Forum:
Linux
Category:
SAMBA
Miscellaneous
Thread ID:
00742305
Message ID:
00742740
Views:
18
Hi John,

Look in the following directory:

/etc/samba

I have two files in this directory as follows:
/etc/samba/smbpasswd
/etc/samba/smbusers
In my smbusers file, I have two user defined as follows:

root = administrator admin
nobody = guest pcguest smbguest

The above entries were the orginal default provided by RH 8.0 Linux.

If I open up my /etc/samba/smbpasswd file, I have an entry for each user that I have added via the SWAT password interface as follows:
root:xxxxx everything else on the line is encrypted and wraps like 
     xxxxxxxxxxxxxxxxx;
leland:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     xxxxxxxxxxxxxx;
smvfp:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
     xxxxxxxxxxxxxx
etc
etc
etc
If your were able to set up a samba username/password pair, it should appear in the /etc/samba/smbpasswd file. If you have a file like this, use your editor of choice and take a look if the user is in fact in the file.

Also John, if your linux share file is something like:
[tmp]
      comment:  linux temp file for all network users
      path = /samba/temp
      guest = no
      read only = no
      browseable = yes
Make sure you have created the /samba/temp directory on the linux system. Also, it might be a good idea to assign it some liberal permissions like:

chmod 777 /samba/temp

LelandJ
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Previous
Reply
Map
View

Click here to load this message in the networking platform