On Tue, 13 Jun 2000, Anurag Jalan wrote:

> Hi all,
> 
> The share def section of /etc/smb.conf in my Redhat 6.2 looks like this :
> 
> [homes]
> comment = Home directories
> path = /home/%u
> browseable = no
> writable = yes
> create mode = 644
> 
> [pchome]
> comment = PC directories
> path = /usr/pc/%u
> public = no
> writable = yes

I'm curious as to why you need this share. What is its purpose? 

> 
> I have added users to my Linux system with the KDE user manager .. defining 
> shell=/bin/bash and ; home dir = /home/userid ; passwords for each..
> 
> Have added encrypted passwords for each user to /etc/smbpasswd ...
> 
> Now when i try to access the shares from the Network Neighbourhood .. I can
> access the [homes] share pefectly ( its shows up as .. 'userid' ) 
> 
> But when i click on the [pchome] icon i get the following err msg .
> ' \\Server\pchome is not accessible . The share name was not found . Be
> sure you typed it correctly '
> 
> What am I doing WRONG ? Am I supposed to create the /usr/pc directory ( I
> did but deleted it when it didn't work )

First, the directory has to exist, i.e. if user joekidd were to login then
directory /usr/pc/joekidd must exist. Second, the permissions must be 
set correctly for that directory, i.e. joekidd must own and have read, write 
and execute permissions on that directory. Samba cannot override linux/unix 
permissions.

There should be ample documentation that came with samba, however if 
it is not there go to http://www.samba.org. I would also recommend the 
book, "Samba: Integrating Unix and Windows," by John Blair. An finally 
there is a mailing list that you can subscribe to (see the web site 
for details).

Hope that helps,

Carey

-- 
 ======================================================================
<>   Carey F. Cox, PhD             |  PHONE: (409) 880-8770           <>
<>   Assistant Professor           |  FAX:   (409) 880-8121           <>
<>   Dept. of Mech. Eng.           |  EMAIL: [EMAIL PROTECTED]  <>
<>   Lamar University              |  WEB:   N/A                      <>
 ======================================================================


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to