Operating System - HP-UX
1833323 Members
3155 Online
110051 Solutions
New Discussion

Re: Samba problems with Win2K

 
SOLVED
Go to solution

Samba problems with Win2K

I have Samba 2.2.2 both on an HPUX 10.20 file server and on an HPUX 11.00 file server.
From a Windows NT machine running Unigraphics 16 I can open files from both servers no problem :-).
When I try to open the same files from a Windows 2000 machine I have no problems pulling files from the HPUX11 server :-), but I cannot pull from the HPUX10.20 server :-(.
I downloaded both samba2.2.2 packages from www.samba.org and are precompiled for HPUX.

When I read the log.smbd file I found the following error messages on both servers so I don???t know if they are relevant or not.
[2002/01/29 13:12:52, 0] smbd/service.c:(370)
daveaa logged in as admin user (root privileges)
[2002/01/29 13:12:52, 0] smbd/service.c:(370)
daveaa logged in as admin user (root privileges)
[2002/01/29 13:56:45, 0] lib/util_sec.c:(77)
Failed to set uid privileges to (-1,-2) now set to (0,0)
[2002/01/29 13:56:45, 0] lib/util.c:(1055)
PANIC: failed to set uid


Am I missing a patch or something?
This maybe a problem to take to samba but I thought one of you gurus might like the challenge :-).

DaveAA2
Whats it there for if you can't use it
4 REPLIES 4
Randy Daniel
Advisor

Re: Samba problems with Win2K

Dave,

I am not sure this is the answer but I had a problem similar once. On the 10.2 machine make sure the "security = server" is set smb.conf file. Hope this helps.
Vincent Stedema
Esteemed Contributor
Solution

Re: Samba problems with Win2K

If I remember correctly, this also happens when the "guest account" directive maps to user "nobody".

Add a user on the 10.20 box, e.g. "smbguest", with a 'normal' uid (not -1 or 65535) and set "guest account" to "smbguest" in smb.conf.
Don't allow the user to login -- set the shell to /usr/bin/false.

Hope this helps.

Vincent

Re: Samba problems with Win2K

Vincent,

That worked perfectly and I am up and running, Thanks. Do we chalk this one up as another unwritten rule?

Again Thanks
DaveAA2
Whats it there for if you can't use it
Vincent Stedema
Esteemed Contributor

Re: Samba problems with Win2K

Dave,

It's what they call an 'undocumented feature' :-\ The 'nobody' user is used by default and this works for Linux systems (nobody maps to uid 99), but doesn't work on most UNIX systems. It's a miracle that it worked "out of the box" on the 11.00 box...

Regards,

Vincent