Mohan.Natchi@southcorp.com.au
2000-Jan-24 08:09 UTC
Can't access my samba server from Windows
Hi, I have installed samba 2.0.6 under HP-UX 10.20. I downloaded the precompiler binaries for samba 2.0.6 and followed as per the instructions and installed the SAMBA from the HP-UX depot it created. And now when I start from /sbin/init.d/samba the smbd daemon starts and this is the message I see in the /var/opt/samba/log.smb : invalid argument [2000/01/24 15:48:50, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 16:11:15, 1] smbd/server.c:(621) smbd version 2.0.4b started. Copyright Andrew Tridgell 1992-1998 [2000/01/24 16:11:16, 1] smbd/files.c:(215) file_init: Information only: requested 10000 open files, 2038 are available. [2000/01/24 16:41:45, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 16:41:45, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 16:46:02, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 16:46:02, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 17:36:53, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 17:36:53, 0] smbd/service.c:(425) Can't become connected user! 2000/01/24 18:40:23, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 18:40:23, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 18:40:23, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 18:40:23, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 18:40:23, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 18:40:23, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 18:40:23, 0] smbd/service.c:(425) Can't become connected user! [2000/01/24 18:40:23, 0] smbd/uid.c:(67) Couldn't set effective uid to -2. Currently set to (real=0,eff=0). Error was I nvalid argument [2000/01/24 18:40:23, 0] smbd/service.c:(425) Can't become connected user! The /etc/services file is as follows: swat 901/tcp # Samba configuration tool netbios-ssn 139/tcp # Samba netbios-ns 137/udp # Samba The /etc/inetd.conf file is as follows: # SMB connections handled by Samba swat stream tcp nowait.400 root /opt/samba/bin/swat swat netbios-ssn stream tcp nowait root /opt/samba/bin/smbd smbd netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd The contents of the /opt/samba/lib/smb.conf file is as follows: [global] netbios name = HPSAPP05 workgroup = SWGDOM01 security = user [boss1] Comment = shared directory for group boss path = /INSTALL/boss1 writeable = yes valid users = @sapsys locking = yes create mode = 0660 directory mode = 0770 [homes] guest ok = no read only = no comment = UNIX home directory space path = %H writeable = yes valid users = %S create mode = 0600 Please note that the HP-UX server is running HP-UX 10.20 and it is called hpsapp05 and I have called the workgroup as SWGDOM01 which is my NT domain for all users in the network.All that I need to do is access the share /INSTALL/boss1 from Windows 95 and NT workstations.I will be extremely grateful if somebody can help me in fixing this and please I would appreciate if you. I have created a UNIX userid testuser in /etc/passwd and it is in the UNIX group sapsys.I am logged on to my NT Domain as testuser and when I say from a DOS window on a Windows 98 system as follows: net use f: \\hpsapp05\boss1 I get the following error message: Error 53: The computer name specified in the network path cannot be located.Make suer you are specifying the computer name correctly, or try again later when the remote computer is available. WHen I try ping hpsapp05 from the windows machine I can reach that box. Running smbclient on the hpsapp05 box as follows: /opt/samba/bin/smbclient -L HPSAPP05 -U testuser Added interface ip=172.17.132.37 bcast=172.17.135.255 nmask=255.255.252.0 Password: Domain=[MISSIONSYS] OS=[Unix] Server=[Samba 2.0.4b] Sharename Type Comment --------- ---- ------- boss1 Disk shared directory for group boss homes Disk UNIX home directory space IPC$ IPC IPC Service (Samba 2.0.4b) natchi Disk UNIX home directory space Server Comment --------- ------- HPBAYAPP Samba 2.0.4b Workgroup Master --------- ------- GC-SYSTEMS GC137071 MISSIONSYS HPBAYAPP SWGBAYS WG000177 SWGDOM01 SWGSER10 I get the above output.I can't understand where it is picking the Workgroup as MISSIONSYS that was my workgroup previously on the windows workstation which I have changed to SWGDOM01 and rebooted windows.MISSIONSYS was my workgroup in smb.conf previously which I changed to SWGDOM01 and stopped samba and restarted it still seems to remember the old worksgroup and similarly HPBAYAPP was the previous netbios name which I modified now before restarting the smbd to HPSAPP05 but samba still shows the old names. Can anyone please clarify a fix.All I want to do is map the file share on windows and also print to the printer that I will next setup on the samba server.Am I supposed to add the samba server to the NT domain.I do not want to request our NT administrators to add the HPSAPP05 to the NT domain is there a way out that I can just work at UNIX and manage the visibility of the Samba server to my Windows PCs.?? Many thanks & Regards Mohan -------------- next part -------------- A non-text attachment was scrubbed... Name: BDY.RTF Type: application/rtf Size: 7042 bytes Desc: not available Url : http://lists.samba.org/archive/samba/attachments/20000124/b185fad0/BDY.rtf
On Mon, 24 Jan 2000 19:13:13 +1100, hai scritto:> I have installed samba 2.0.6 under HP-UX 10.20. > [2000/01/24 16:41:45, 0] smbd/uid.c:(67) > Couldn't set effective uid to -2. Currently set to (real=0,eff=0). > Error was I > nvalid argumentTry looking here: http://www.samba.org/cgi-bin/samba-patches/accepted?id=4;user=guest -- giulioo@pobox.com