Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-10-2006, 06:20 PM
|
#1
|
LQ Newbie
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Ubuntu Breezy Badger 5.10
Posts: 24
Rep:
|
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
|
|
|
04-10-2006, 06:57 PM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
post your smb.conf file
|
|
|
04-10-2006, 07:40 PM
|
#3
|
LQ Newbie
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Ubuntu Breezy Badger 5.10
Posts: 24
Original Poster
Rep:
|
[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.
|
|
|
04-11-2006, 02:07 PM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029
Rep:
|
did you smbpasswd -a the user and password?
|
|
|
04-11-2006, 07:31 PM
|
#5
|
LQ Newbie
Registered: Jul 2005
Location: Sydney, Australia
Distribution: Ubuntu Breezy Badger 5.10
Posts: 24
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 03:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|