1830734 Members
1807 Online
110015 Solutions
New Discussion

Samba UID GID error

 
SOLVED
Go to solution
Kjell Mesch_1
Occasional Advisor

Samba UID GID error

I just installed Samba on my 9000/715 10.20
machine and I'm getting some weird errors in the log.smb file.

[2000/09/11 22:33:30, 0] lib/util_sec.c:(69)
Failed to set gid privileges to (-1,-24) now set to (0,0) uid=(0,0)
[2000/09/11 22:33:30, 0] lib/util.c:(2381)
PANIC: failed to set gid

Now this is not a normal uid, at least not in my universe :)
Does anybody have the answer to this?
Why does samba fail to set gid?
How do I make it use a normal uid, gid?

regards Kjell Mesch
A good start is man man
6 REPLIES 6
Rick Garland
Honored Contributor

Re: Samba UID GID error

There is a samba.conf file. Have you looked into it to see if there are any modifications you might make for the UID/GID?
Kjell Mesch_1
Occasional Advisor

Re: Samba UID GID error

yep, I'we found nothing of value for now
But there is a LOT of options to this thing
so I might have missed something.
(I guess you mean the smb.conf that sets up the shares printers and so on)

So I'm reading man pages for smb.cond, nmbd and smbd and so on.
Hopefully I'll find some answer.
( the way to success begins with "man man" )

I would not be surpriced if it is Win2K that is missconfigured in the end though. Thats the area that I really suck :-/

Kjell
A good start is man man
Anthony Goonetilleke
Esteemed Contributor
Solution

Re: Samba UID GID error

It looks like you have something running as nobody or nogroup which is usually a negative UID/GID
try

debug uid = Yes

in the smb.conf which might point you in the right direction
Minimum effort maximum output!
Philip Chan_1
Respected Contributor

Re: Samba UID GID error

Setup the SWAT service from the same Samba package then you can see the smb.conf file in a better presentation format within a browser, with that you may be able to spot out any unusual settings.
Kjell Mesch_1
Occasional Advisor

Re: Samba UID GID error

Thanks for all the suggestions.
The problem was that Samba was using nobody, nogroup to access non user specific shares.
That did not work well in hpux
(it works in Linux, and thats where I'm from)
So I changed that and now it works just fine
(knock on wood, I'we just tested it for about 30 seconds)

/ Kjell
A good start is man man
Anthony Goonetilleke
Esteemed Contributor

Re: Samba UID GID error

You are right HP does'nt come with nobody nogroup but that doesnt stop you from adding one in.

i.e
/etc/group
nogroup:*:-2

/etc/passwd
nobody:*:-1:-2:Guest Account:/:

Minimum effort maximum output!