RE: samba driving me nuts!

Brad Mattick <[email protected]>
Newsgroups gmane.linux.suse.sparc
Message-ID <[email protected]>
Thanks, I'll try that and post if it works.

-Brad
--- "Schaefer, Robert (PS)"
<[email protected]> wrote:
> Yes, I had the problems you described.  I went to
> the samba website,
> downloaded the latest and greatest version there,
> compiled and it worked
> without a hitch right out of the box.  This was my
> experience on a
> SparcClassic running 2.2.whatever.  Connecting to a
> Win2K box and a 98SE
> box.
> 
>
***************************************************************************
> Bob Schaefer                            | "Where's
> the Kaboom?  There's
> work: [email protected]  |  supposed
> to be an Earth-
> home: [email protected]             | 
> shattering Kaboom!" - Marvin
> phone: 330-659-1842                     |  Martian
> "Hare-Way to the Stars"
>
***************************************************************************
> 
> 
> 
> 
> -----Original Message-----
> From: Brad Mattick [mailto:[email protected]]
> Sent: Friday, September 20, 2002 3:25 AM
> To: [email protected]
> Subject: Re: [suse-sparc] samba driving me nuts!
> 
> 
> Right after typing this out I read that the samba
> build included with suse 7.3 may be broken
>
(http://lists.suse.com/archive/suse-sparc/2001-Dec/0043.html)
> 
> Can anyone ocnfirm or deny this?
> 
> -Brad
> --- Brad Mattick <[email protected]> wrote:
> > I hope someone out there can help me. I am trying
> to
> > get samba 2.2.1a (package from suse 7.3 sparc)
> > working
> > on my SS20 (Linux 2.2.20-SMP). I'm just trying to
> > map
> > win2k users to corresponding linux users (same
> > logins,
> > passwords).
> > 
> > Samba is kicking my ass and I'm stuck...
> > 
> > Help!
> > 
> > ---  Here's the problem: ---
> > 
> > Samba tries to change GIDs, can't, and panics.
> > What's
> > weird is that samba can't change to GID 100, which
> > is
> > valid and exists. This happens whether I use local
> > smbclient to connect or a remote win2k machine.
> Here
> > is the log:
> > (/var/log/samba/log.smbd)
> > 
> > [2002/09/20 23:56:11, 0]
> > lib/util_sec.c:assert_gid(97)
> >   Failed to set gid privileges to (-1,100) now set
> > to
> > (0,0) uid=(0,0)
> > [2002/09/20 23:56:11, 0]
> lib/util.c:smb_panic(1101)
> >   PANIC: failed to set gid
> > 
> > I've seen literally 100's of postings and
> > non-solutions out there, so if you have overcome
> > this
> > with the same setup (kernel/samba version) please
> > let
> > me know how!
> > 
> > ------------
> > 
> > Things I've tried/already done:
> > 
> > - added users using smbpasswd
> > - turned on encrypted passwords in samba
> > - created a guest account for nobody with a valid
> > GID
> > - added guest account in linux with smbpasswd
> > (necessary?)
> > - tried connecting locally via smbclient. trace
> > follows:
> > 
> > larry:/home/brad # smbclient -L larry -U brad
> > added interface ip=192.168.0.10
> bcast=192.168.0.255
> > nmask=255.255.255.0
> > Password:
> > Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.1a]
> > tree connect failed: code 0
> > 
> > ---------------
> > 
> > Here is my smb.conf:
> > 
> > larry:/home/brad # more /etc/samba/smb.conf
> > #
> > # /etc/samba/smb.conf ist the main samba
> > configuration
> > file. Cf. the
> > # manual page of smb.conf and the included
> > documantation in
> > # /usr/share/doc/packages/samba in order to
> > understand
> > the options
> > # listed here and many more features.
> > #
> > # Lines in this example which starts with ; and #
> > are
> > ignored comment
> > # ones. # indicates a comment and ; a deactivated
> > example line.
> > #
> > # We suggest to use the command 'testparm' after
> any
> > changes you made.
> > #
> > # Copyright (c) 1999 - 2001 SuSE GmbH Nuernberg,
> > Germany.
> > #
> > # Please send bugfixes or comments to
> > [email protected].
> > #
> > [global]
> >         workgroup = WORKGROUP
> >         os level = 2
> >         kernel oplocks = No
> > 
> >         security = user
> >         encrypt passwords = Yes
> >         guest account = smbnobody
> >         map to guest = Bad User
> > # This tells samba to use the file smbusers for
> user
> > mapping.
> > ;       username map = /etc/samba/smbusers
> > 
> > # This tells samba to write log files per machine.
> > ;       log file = /var/log/samba/%m
> > # This sets an alternate log level. Default is 2.
> > ;       log level = 3
> > 
> > # Uncomment the following, if you want to use an
> > existing NT-Server to
> > # authenticate users, but don't forget that you
> also
> > have to create them
> > # locally!
> > ;       security = server
> > ;       password server = 192.168.1.10
> > 
> > ;       printing = LPRNG
> > ;       printcap name = /etc/printcap
> > ;       load printers = Yes
> > 
> > # These settings are a suggestion for a local
> > network.
> > Cf. section
> > # 'socket options' in the man page of smb.conf and
> > socket(7).
> >         socket options = SO_KEEPALIVE
> IPTOS_LOWDELAY
> > TCP_NODELAY
> > 
> > # Uncomment this, if you want to integrate your
> > server
> > # into an existing net e.g. with NT-WS to prevent
> > nettraffic
> >         local master = No
> > 
> > # Please uncomment the following entry and replace
> > the
> > ip number and
> > # netmask with the correct numbers for your
> ethernet
> > interface.
> >         interfaces = 192.168.0.0/255.255.255.0
> > 
> > # If you want Samba to act as a wins server,
> please
> > set
> > # 'wins support' to yes.
> >         wins support = No
> > 
> > # If you want Samba to use an existing wins
> server,
> > please uncomment the
> > # following line and replace the dummy with the
> wins
> > server's ip number.
> 
=== message truncated ===


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.