Samba and Windows XP user share setup problems
Rick Stevens
rstevens at vitalstream.com
Thu Dec 23 17:41:34 UTC 2004
Greg wrote:
> Hello y'all,
>
> I've had to rebuild my Linux gateway server from scratch. I had the
> client data saved off so I didn't loose anything critical, but all of
> the settings and such went out the door. Since I had to re-create the
> thing, I started with the Fedora Core v2 and have loaded all of the
> patches up to today.
>
> I've been away for a long time, but recall having received the best help
> from this install list. If there is another list (I didn't see a
> fedora-install-list), let me know and I'll move over there. Also, I
> seem to remember a way to configure your maillist settings, but I can't
> find it now. If it's still there, could somebody point it out to this
> dunder-head?
There's no "fedora-install-list", but there is a "fedora-list" at
http://www.redhat.com/mailman/listinfo/fedora-list.
> OK, Problem Statement:
> I have Samba 3.0.10-1.fc2 running on kernel 2.6.9-1.6_FC2. Something
> fails when I try to get from Windows XP (SP2 with all updates) to that
> share.
>
> Activities to date: (BTW, Linux box = samba server = 192.168.1.1 =
> lookout. Windows XP = 192.168.1.100 = fileserver)
> I have created (and re-created) both the Linux user and the samba user.
> I can sign on just fine with the user. My Windows XP user is the same.
> The user name is 'snappy'.
>
> I have 'security = user' in the globals portion of the samba config
> file. I have been able to get 'security = share' to work, but I need
> 'security = user'. I have a directory /usr/xxx/webfolders which is set
> up to be a share. I have also set up a share at /home/snappy for the
> snappy id. I care about the former share but not the latter.
>
> Samba is not a PDC, nor do I want it to be one at this time. I'm using
> peer to peer (workgroup) networking at this time throughout the shop.
>
> I have uninstalled and re-installed samba - same failures. I have
> mucked around with the settings, both global and the share's, and have
> made no progress.
>
> I am able to reach to the network shares on the XP box from the Linux
> box - and manipulate them - but not the samba shares from the XP box.
>
> When I go to My Network Places => Entire Network => Microsoft Windows
> Network => workgroupname I can see the Linux box (called lookout). When
> I click on the lookout machine, I get dialog box stating "Connect to
> lookout.example.com" in the title, "Connecting to lookout" in the text
> area, and two input boxes labeled "User name:" and "Password:". No
> matter what I put in here, I just get the box back.
>
> I've disabled both the Windows firewall and the software firewall on the
> XP box, and I have no firewall set up on the Linux box at all (for now).
>
> I've set the logging to 3 on both the syslog and the samba log and find
> no errors at all in there. In the log that represents my XP box
> (192.168.1.100.log) I get the same series of messages, but no errors
> (that my untrained eye can detect). I've included that below.
>
> Well, That's the opening gambit. I'd sure appreciate it if somebody can
> help me figure out what to try next.
Did you use smbpasswd to set up the Windows user password on Linux?
> [2004/12/22 19:53:07, 3] smbd/oplock.c:init_oplocks(1302)
> open_oplock_ipc: opening loopback UDP socket.
> [2004/12/22 19:53:07, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
> Linux kernel oplocks enabled
> [2004/12/22 19:53:07, 3] smbd/oplock.c:init_oplocks(1333)
> open_oplock ipc: pid = 3526, global_oplock_port = 32925
> [2004/12/22 19:53:07, 3] lib/access.c:check_access(313)
> check_access: no hostnames in host allow/deny list.
> [2004/12/22 19:53:07, 2] lib/access.c:check_access(324)
> Allowed connection from (192.168.1.100)
> [2004/12/22 19:53:07, 3] smbd/process.c:process_smb(1091)
> Transaction 0 of length 137
> [2004/12/22 19:53:07, 3] smbd/process.c:switch_message(886)
> switch message SMBnegprot (pid 3526) conn 0x0
> [2004/12/22 19:53:07, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(461)
> Requested protocol [PC NETWORK PROGRAM 1.0]
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(461)
> Requested protocol [LANMAN1.0]
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(461)
> Requested protocol [Windows for Workgroups 3.1a]
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(461)
> Requested protocol [LM1.2X002]
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(461)
> Requested protocol [LANMAN2.1]
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(461)
> Requested protocol [NT LM 0.12]
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_nt1(333)
> using SPNEGO
> [2004/12/22 19:53:07, 3] smbd/negprot.c:reply_negprot(549)
> Selected protocol NT LM 0.12
> [2004/12/22 19:53:07, 3] smbd/oplock.c:init_oplocks(1302)
> open_oplock_ipc: opening loopback UDP socket.
> [2004/12/22 19:53:07, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(303)
> Linux kernel oplocks enabled
> [2004/12/22 19:53:07, 3] smbd/oplock.c:init_oplocks(1333)
> open_oplock ipc: pid = 3527, global_oplock_port = 32926
> [2004/12/22 19:53:07, 3] lib/access.c:check_access(313)
> check_access: no hostnames in host allow/deny list.
> [2004/12/22 19:53:07, 2] lib/access.c:check_access(324)
> Allowed connection from (192.168.1.100)
> [2004/12/22 19:53:07, 3] smbd/process.c:process_smb(1091)
> Transaction 0 of length 72
> [2004/12/22 19:53:07, 2] smbd/reply.c:reply_special(235)
> netbios connect: name1=lookout name2=FILESERVER
> [2004/12/22 19:53:07, 2] smbd/reply.c:reply_special(242)
> netbios connect: local=lookout remote=fileserver, name type = 0
> [2004/12/22 19:53:07, 3] smbd/process.c:process_smb(1091)
> Transaction 1 of length 240
> [2004/12/22 19:53:07, 3] smbd/process.c:switch_message(886)
> switch message SMBsesssetupX (pid 3526) conn 0x0
> [2004/12/22 19:53:07, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
> wct=12 flg2=0xc807
> [2004/12/22 19:53:07, 2] smbd/sesssetup.c:setup_new_vc_session(608)
> setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resources.
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535)
> Doing spnego session setup
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566)
> NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_spnego_negotiate(444)
> Got OID 1 3 6 1 4 1 311 2 2 10
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_spnego_negotiate(447)
> Got secblob of size 40
> [2004/12/22 19:53:07, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
> Got NTLMSSP neg_flags=0xe2088297
> [2004/12/22 19:53:07, 3] smbd/process.c:process_smb(1091)
> Transaction 2 of length 366
> [2004/12/22 19:53:07, 3] smbd/process.c:switch_message(886)
> switch message SMBsesssetupX (pid 3526) conn 0x0
> [2004/12/22 19:53:07, 3] smbd/sec_ctx.c:set_sec_ctx(288)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X(655)
> wct=12 flg2=0xc807
> [2004/12/22 19:53:07, 2] smbd/sesssetup.c:setup_new_vc_session(608)
> setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
> all old resources.
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(535)
> Doing spnego session setup
> [2004/12/22 19:53:07, 3] smbd/sesssetup.c:reply_sesssetup_and_X_spnego(566)
> NativeOS=[Windows 2002 Service Pack 2 2600] NativeLanMan=[Windows 2002
> 5.1] PrimaryDomain=[]
> [2004/12/22 19:53:07, 3] libsmb/ntlmssp.c:ntlmssp_server_auth(615)
> Got user=[snappy] domain=[192.168.1.1] workstation=[FILESERVER]
> len1=24 len2=24
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
--
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "I'd explain it to you, but your brain might explode." -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list