LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2006, 07:20 PM   #1
bayvista
LQ Newbie
 
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Ubuntu Breezy Badger 5.10
Posts: 24

Rep: Reputation: 15
Auto logon XP to Samba


I am running Ubuntu 5.10 with Samba on my fileserver. Is there any way that I can automatically logon a Windows XP client on startup to avoid confusing the user?

Currently, when the user tries to access their files, they receive a message in Windows which says:

"Incorrect password or unknown user name for user/password."

Typing the user name and password is accepted and the connection is made.

Thanks
 
Old 04-10-2006, 07:57 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
post your smb.conf file
 
Old 04-10-2006, 08:40 PM   #3
bayvista
LQ Newbie
 
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Ubuntu Breezy Badger 5.10
Posts: 24

Original Poster
Rep: Reputation: 15
[global]
workgroup = BAYVISTA
server string = %h server (Samba, Ubuntu)
*****security = SHARE*******************************(see note)
obey pam restrictions = Yes
passdb backend = tdbsam, guest
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
printcap name = cups
dns proxy = No
panic action = /usr/share/samba/panic-action %d
invalid users = root
printing = cups
print command =
lpq command = %p
lprm command =

[homes]
comment = Home Directories
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes

[davidlnx]
comment = Media
path = /media/hda3
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes

[printers]
comment = All Printers
path = /tmp
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

[dvdrom]
comment = Samba server's DVD
path = /home/david
read only = No
guest ok = Yes
locking = No
******************************************************

Note: security=user in the live version. I read somewhere that "security=share" avoids authentication and I am about to test this. However, I have two XP clients. One is automatically authenticated. The other is always pulled up with the "incorrect password" message.
 
Old 04-11-2006, 03:07 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
did you smbpasswd -a the user and password?
 
Old 04-11-2006, 08:31 PM   #5
bayvista
LQ Newbie
 
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Ubuntu Breezy Badger 5.10
Posts: 24

Original Poster
Rep: Reputation: 15
Yes.

Problem solved. Changing 'security = user' to 'security = share' removed the password check. I can now happily share my files with the laptop.

Thanks for your interest.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
auto logon mm3000 Slackware 10 03-11-2007 10:41 PM
auto logon Ammad Linux - Networking 1 06-01-2005 06:51 AM
eth0 Auto Connect, How to auto start on logon cornish Linux - Networking 2 05-09-2005 01:02 PM
Auto Logon Mapped Samba Drive Jason_au Linux - Networking 2 10-20-2003 10:28 PM
Auto Logon and Auto Run OKCHelpDesk Linux - General 0 05-03-2002 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration