LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-15-2012, 07:58 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 262

Rep: Reputation: 5
windows cant guest login to samba anymore


Hello, sorry the title should add "as guest"

I recently changed my workgroup name in samba and now my windows 7 pc`s cannot login as guest. Im not sure what happened because before there were no problems at all.

Here is my smb config(my main share is named server)

Code:
# smb.conf is the main  Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2012-05-02
[global]
        workgroup = SEBASTIAN
        passdb backend = tdbsam
        printing = cups
        printcap name = cups
        printcap cache time = 750
        cups options = raw
        map to guest = Bad User
        hosts allow = ALL
        include = /etc/samba/dhcp.conf
        logon path = \\%L\profiles\.msprofile
        logon home = \\%L\%U\.9xprofile
        logon drive = P:
        usershare allow guests = Yes
        usershare max shares = 100
        wins support = No
        ldap suffix =
        wins server =
[homes]
        comment = Home Directories
        valid users = %S, %D%w%S
        browseable = No
        read only = No
        inherit acls = Yes
[profiles]
        comment = Network Profiles Service
        path = %H
        read only = No
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
[users]
        comment = All users
        path = /home
        read only = No
        inherit acls = Yes
        veto files = /aquota.user/groups/shares/
[groups]
        comment = All groups
        path = /home/groups
        read only = No
        inherit acls = Yes
[printers]
        comment = All Printers
        path = /var/tmp
        printable = Yes
        create mask = 0600
        browseable = No
[print$]
        comment = Printer Drivers
        path = /var/lib/samba/drivers
        write list = @ntadmin root
        force group = ntadmin
        create mask = 0664
        directory mask = 0775
[server]
        comment = link to linux server
        path = /bigdrive
        browseable = yes
        guest ok = yes
I can login as a normal user with a password but it causes trouble on my media center pc because it never remembers the password.

Any ideas?

Also, my android tablet and phone can login without any trouble.

Last edited by Adol; 11-15-2012 at 09:38 AM.
 
Old 11-16-2012, 08:13 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,104

Rep: Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267Reputation: 2267
for me the security = ... option is missing. I would suggest you to set it explicitly and look at the documentation about authenticating a host. I think you need to add your windows pc to the workgroup again.
 
1 members found this post helpful.
Old 11-16-2012, 10:26 AM   #3
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 262

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by pan64 View Post
for me the security = ... option is missing. I would suggest you to set it explicitly and look at the documentation about authenticating a host. I think you need to add your windows pc to the workgroup again.
Thank you,

After adding security = user I am able to login as a guest.

Thank you very much.
 
  


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
prompting guest login in windows centos123 Linux - Server 3 08-06-2011 03:25 PM
Samba shows shared folders in Windows but a Guest login pops up when trying to access ciphe Linux - Software 4 08-20-2007 12:55 PM
Samba - Mixed guest and login shares carlmarshall Linux - Server 4 04-19-2007 10:23 PM
Unable to login anymore !! Is it x windows prems Linux - Newbie 2 03-01-2005 04:14 PM
Samba - guest login problem cferthorney Linux - Networking 0 05-09-2004 04:15 PM


All times are GMT -5. The time now is 04:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration