Re: Can't get Samba to switch to Group after authentication

Luke Kenneth Casson Leighton (lkcl@regent.push.net)
Tue, 28 Apr 1998 23:49:54 +0000 (GMT)

Date:	Tue, 28 Apr 1998 23:49:54 +0000 (GMT)
From:	Luke Kenneth Casson Leighton <lkcl@regent.push.net>
To:	"Bankston, Euwell" <Euwell_Bankston@fmi.com>
Subject: Re: Can't get Samba to switch to Group after authentication
In-Reply-To: <FB61DADDB480D111B64700A0C989C7433A6CBB@nolamail01.nola.fmi.com>

euwell,

make *absolutely* sure you compile (make clean first) with +DAportable if
you are compiling for HPUX 10.x. the HP ansi-c compiler is _well_ broken,
and doesn't run code compiled for the 1.1 _or_ the 1.2 risc chip even on a
1.2 risc chip.

the gcc compiler is better, but i know that +DAportable works with the HP
compiler.

once you have done this, let us know if there are any other problems:
forward your smb.conf file (change all ip addresses) to
samba@samba.anu.edu.au, or contact someone in the Support.txt file for
commercial support, ok?

luke

On Wed, 29 Apr 1998, Bankston, Euwell wrote:

> This might be the wrong posting area. But please bare with me and tell
> me where to post this.
> I had to compile Samba with the HP-UX products and HP Ansi-C. The Samba
> machine (chimchim) attempts to validate to the domain, using the NT LM
> 0.12 . It authenticates my test account fine (testusr6) with
>
> Password server FMDC01 accepted the password
> Then it appears that it looks to the local machine for an account,
> doesn't find it, and then uses the guest account.
> I attempted force user/force group to a valid local Unix account on the
> share, but it does not seem to switch to the forced user It launches an
> IPC$ connection stating it
>
> Could not set gid -24 currently set to (0, 0)
> Can't become connected user!
> [Date time ] error packet at line 171 cmd=117 (SMBtconX) eclass=2
> ecode-2
> error string = Invalid argument
>
> I get this even when not forcing user when it looks for a valid local
> account.
>
> Let me explain. I am trying to use the NT logons and groups to allow
> access to local Unix resources for uploads of financial data. It would
> be easier to use the NT groups to control this across the many Unix/NT
> systems.
> Any idea?
>
>
> ----------------------------------------------------------------
> _/_ Euwell M. Bankston, Jr.
> _/ _/ CommTech Industries
> _/ _/ MIS Systems Administration
> _/ _/ Freeport McMoRan, Inc.
> _/ 1615 Poydras St.
> _/ New Orleans, LA 70112
> _/ (504) 582-4722
> _/ ebankston@comm.net
> _/ Euwell_Bankston@fmi.com
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>
>
>
>