View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Sat Nov 08, 2003 10:39 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
I am using webmin to create a samba share. After I create the share, I try to connect from my XP home machine. I try to map the share as a drive and as part of the process authentication is required. I try all sorts of user names and passwords and I am unable to gain access to my samba share.

C:\>net use x: \\192.168.1.101\mythtv
The password or user name is invalid for \\192.168.1.101\mythtv.

Enter the user name for '192.168.1.101': mythtv
Enter the password for 192.168.1.101:
System error 1326 has occurred.

Logon failure: unknown user name or bad password.


I have review the samba documentation with no success.

Any Suggestions?
Thanks,
Mike G.


Top
 Profile  
 
 Post subject: cannot authenticate
PostPosted: Sun Nov 09, 2003 1:45 am 
Offline
Joined: Sun Nov 02, 2003 11:09 pm
Posts: 4
Location: Minneapolis, MN
it looks like your almost there. From the looks of things your logged onto your XP box as a user called mythtv? You should make a user name that is the one you put in when you installed mythtv, then add the password to the end of the net use command. The user name you send to 192.168.101.1 will be whatever your logged onto windows as when you run the command.

net use x: \\192.168.1.101\mythtv <your password here>

Maybe that is the problem?

Matt


Top
 Profile  
 
 Post subject: samba can be a bugger
PostPosted: Mon Nov 10, 2003 12:19 am 
Offline
Joined: Sun Nov 09, 2003 11:25 pm
Posts: 19
Can you browse to your home directory on your linux box??
I have found that before I can see my linux box in Network Places I have to be logged into windows with the same user/password as created for the linux user. Make sure the you have the WORKGROUP set correctly in the smb.conf file or your linux box won't show in Network Places. Don't forget to restart your samba server after any changes to the smb.conf file.

Add the encrypted password to the smbpasswd file by executing the following command from the samba folder for each user you want to access the box.

smbpasswd -a username

it will prompt twice for the user's matching password.

The syntax to map the drives as Matt has it works for me. Setting the permissions so I can write to the folder is another story.

Hope this helps a bit.
Alan


Top
 Profile  
 
 Post subject: SAMBA and XP
PostPosted: Mon Nov 10, 2003 5:05 pm 
Offline
Joined: Mon Nov 10, 2003 4:50 pm
Posts: 1
Did you create the samba users on the Linux box using "smbpasswd -a" to add root and "smbpasswd -a username" to add a user? You need to create both unix users and then the samba users in order to access a SAMBA share. Also make sure encrypt password = yes in the /etc/smb.conf file.

Mark


Top
 Profile  
 
PostPosted: Mon Nov 10, 2003 5:19 pm 
Offline
Joined: Mon Oct 20, 2003 12:11 pm
Posts: 18
exdirtfarmer wrote:
Setting the permissions so I can write to the folder is another story.

This one got me for a while as well. Try adding the windows user to the group that owns the directory on the Linux Box. just add the user to the end of the proper line in /etc/group.


example (where you want the windows user to write to files owned by mythtv group):

mythtv:x:101:windows_user


tyro


Top
 Profile  
 
PostPosted: Mon Nov 10, 2003 9:38 pm 
Offline
Joined: Sun Nov 09, 2003 11:25 pm
Posts: 19
thanks for the tip, tyro. I haven't had to do it yet, but often run into issues with shares on my Linux box using samba, often just use chmod till it lets me write to it :wink: :lol:
--
Alan
tyro wrote:
exdirtfarmer wrote:
Setting the permissions so I can write to the folder is another story.

This one got me for a while as well. Try adding the windows user to the group that owns the directory on the Linux Box. just add the user to the end of the proper line in /etc/group.


example (where you want the windows user to write to files owned by mythtv group):

mythtv:x:101:windows_user


tyro


Top
 Profile  
 
 Post subject:
PostPosted: Wed Nov 12, 2003 8:24 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
I figured out my problem. The firewall on my windows PC was not allowing a connect to the samba server. I disabled the firewall and things started to work.

Thanks for the assistance.
Mike G.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 20 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu