Subject: Re: NetBSD 1.2 and samba
To: Jukka Marin <jmarin@pyy.jmp.fi>
From: Joel Reicher <void@yoyo.cc.monash.edu.au>
List: port-i386
Date: 06/15/1997 22:25:47
Hrmm. AFAIK, samba makes its printers and homes shares out of the 
printcap and the password db, although I'm not sure about the latter. 
Maybe you need to make sure they're valid and samba knows where to find 
them.

	- Joel Reicher

On Sun, 15 Jun 1997, Jukka Marin wrote:

> I'm trying to set up a samba server (print server at the moment) on a NetBSD
> 1.2 box.  When I run nmbd with debug level set to 9, I get this in the log
> file:
> ...
> doing parameter log file = /usr/local/samba/log.%m
> doing parameter lock directory = /usr/local/samba/var/locks
> doing parameter share modes = yes
> pm_process() returned Yes
> lp_servicenumber: couldn't find homes
> lp_servicenumber: couldn't find printers
> lp_servicenumber: couldn't find printers
> adding IPC service
> services not loaded
> Added interface ip=194.100.46.135 bcast=194.100.46.191 nmask=255.255.255.192
> making subnet 194.100.46.191 255.255.255.192
> ...
> 
> Couldn't find printers and homes?  I have tried many different config files
> and it's always the same.  Here are some sections of my config file:
> 
> [global]
>    lock directory = /tmp
>    printing = bsd
>    printcap name = /etc/printcap
>    load printers = yes
>    browseable = yes
>    guest account = test
> 
> [homes]
>    comment = Home Directories
>    browseable = no
>    read only = no
>    create mode = 0750
> 
> [printers]
>    comment = All Printers
>    browseable = yes
>    printable = yes   
>    public = yes
>    writable = no
>    create mode = 0700
> 
> Are there some special tricks required to make sambe work under NetBSD?
> Compile went ok out-of-the-box.  I'm playing with samba 1.9.16p11 if that
> matters.
> 
> Sorry for posting here, but I thought this was a NetBSD specific thing
> because a linux config file wasn't working either..
> 
>   -jm
> 
> 
> -- 
> 
>                      ---> http://www.jmp.fi/~jmarin/ <---
>