[Sunhelp] Samba--so close!

Gregory Leblanc GLeblanc at cu-portland.edu
Thu Jun 22 12:39:53 CDT 2000


> -----Original Message-----
> From: Jeremiah Bascue [mailto:jbascue at teleport.com]
> Sent: Thursday, June 22, 2000 9:52 AM
> To: sunhelp at sunhelp.org
> Subject: Re: [Sunhelp] Samba--so close!
> 
> On our LAN, we don't use workgroups. I substituted the workgroup name
> with our domain name (PORTLAND). I think this is the hold up. Am I
> right?

Heh, somebody else in town!  :-)  No, I don't think that the problem is
because you're using workgroup.  Samba doesn't quite work perfectly with
domains just yet.  (Well, it can't be a domain controller).  Since you have
a domain, have you added the samba server to the domain?  You'll need to
create an account in your domain for the server, and then add it using the
smbpasswd command.  Check the man page, but I think it's -j DOMAIN, or
something like that.  

> Here's my very simple smb.conf settings. I made them to be as 
> simple as
> possible just to get it going.
> 
> 
> # Global parameters
> [global]
>         workgroup = PORTLAND
>         netbios name = COBALT
>         server string = Communi(k) Samba Server version 2.0.7
>         encrypt passwords = Yes
>         public = yes

I think that the "public = yes" parameter is only relevant for shares, not
for the global section.  Not that this it should break anything...

> [test]
>         path = /export/samba/test
>         guest account =

Don't leave this blank!  I think this is probably some part your problem.
The guest account parameter specifies the user that someone connecting to a
"public" or "guest ok" share gets mapped to.  I haven't run Samba on Solaris
recently, but try ftp or nobody as the user here, and see if that fixes
anything.  

>         write able = Yes
>         guest ok = Yes
> 
> The permissions are:
> [       /export ]       How     can     I       help    you?    -->dir
> total   10
> drwxrwxr-x      4       root    sys     512     Jun     19    
>   12:32  
> .
> drwxr-xr-x      33      root    root    1536    Jun     20    
>   15:41  
> ..
> drwxr-xr-x      16      anne    staff   512     Jun     6     
>   14:18  
> home
> drwxrwxrwx      3       root    other   512     Jun     19    
>   12:33  
> samba

[snip]





More information about the SunHELP mailing list