marvc
2003-Jun-09 04:06 UTC
[Samba] Problems connecting to samba shares from w2k or XP system after configuring smb.conf file...
I modified my smb.conf file according to an old doc I found online and I'm having problems logging in from either of my XP or NT boxes to access the shares on the linux box. I can see the samba linux server in My Network Places. I get the following error if trying to connect after navigating to it from My Network Places: \\lnxwebsrvr is not accessible. You might not have permissions to use this network resource.... If I try to map a network drive from an XP box I get prompted for a username and password, yet it doesn't accept the credentials after I enter them. It constantly prompts me for the password in this manner: Connecting to lnxsrvr Username: lnxsrvr\user1 Password: ********** I used SWAt to make the necessary modifications which were to: Add my domain to workgroup Add server name to server description Uncommented encrypt passwords = yes & smb passwd file /etc/samba/smbpasswd Changed browseable setting to yes under share definitions Added a user to the smbpasswd file - smbpasswd -a user1 Made sure the smb & nmbd services were running Created the same account and passwords on both the lnxsrvr and NT2000 domain Can someone tell me what it is I'm missing here? Again my goal is to simply have one share on the linux box that I alone will access to place files in. I'll then log in to the linux server and place these files in my web folder directory to be published. At this point I'm not tryiing to configure this server as a smaba pdc or do a lot of file transfer between my domains. Any responses are appreciated
marvc
2003-Jun-10 12:37 UTC
[Samba] Problems connecting to samba shares from w2k or XP system after configuring smb.conf file...
Hi I'm not sure if this will help but this is how I found to resolve the problem. I had to run the following commands to allow the samba traffic to pass thru my firewall: Ipchains -F input Ipchains -F output Ipchains -P input ACCEPT Ipchains -P output ACCEPT I'm now able to see the samba server in My Network Places and click to browse the samba shares, so it appears to be working fine. The only problem I have is that I'm still unable to access the home folder and my folder. The homes folder tells me access is denied and my folder prompts me for my login credentials which aren't being accepted. Yet I created another folder and shared it and I can access it fine. Kinda stumped on this. If anyone can tell me if I need to modify the permissions on these folders and what they should be I'd appreciated it. I also can't seem to figure how to make it so that my user account has the same permissions as either super user or root, or something similar to a Domain or Enterprise Admin. I'm the only one using, sharing, and accessing files on these boxes so I want the maximum privilages. HTH TIA -----Original Message----- From: Stefano Carbonera [mailto:carbo@inrete.it] Sent: Monday, June 09, 2003 1:10 AM To: marvc Subject: Re: [Samba] Problems connecting to samba shares from w2k or XP system after configuring smb.conf file... Hi, I have the same problem, if you understand it please tell me. Bye Stefano ----- Original Message ----- From: "marvc" <marvc@bellsouth.net> Newsgroups: linux.samba Sent: Monday, June 09, 2003 6:10 AM Subject: [Samba] Problems connecting to samba shares from w2k or XP system after configuring smb.conf file...> I modified my smb.conf file according to an old doc I found online and> I'm having problems logging in from either of my XP or NT boxes to > access the shares on the linux box. I can see the samba linux server > in My Network Places. I get the following error if trying to connect > after navigating to it from My Network Places: \\lnxwebsrvr is not > accessible. You might not have permissions to use this network > resource.... > > If I try to map a network drive from an XP box I get prompted for a > username and password, yet it doesn't accept the credentials after I > enter them. It constantly prompts me for the password in this manner: > Connecting to lnxsrvr > Username: lnxsrvr\user1 > Password: ********** > > I used SWAt to make the necessary modifications which were to: Add my > domain to workgroup Add server name to server description > Uncommented encrypt passwords = yes & smb passwd file > /etc/samba/smbpasswd > Changed browseable setting to yes under share definitions > Added a user to the smbpasswd file - smbpasswd -a user1 > Made sure the smb & nmbd services were running > Created the same account and passwords on both the lnxsrvr and NT2000 > domain > > Can someone tell me what it is I'm missing here? > > Again my goal is to simply have one share on the linux box that I > alone will access to place files in. I'll then log in to the linux > server and place these files in my web folder directory to be > published. At this point I'm not tryiing to configure this server as a> smaba pdc or do a lot of file transfer between my domains. > > Any responses are appreciated > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba