LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   windows cant guest login to samba anymore (https://www.linuxquestions.org/questions/linux-newbie-8/windows-cant-guest-login-to-samba-anymore-4175437256/)

Adol 11-15-2012 06:58 AM

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.

pan64 11-16-2012 07:13 AM

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.

Adol 11-16-2012 09:26 AM

Quote:

Originally Posted by pan64 (Post 4830735)
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.


All times are GMT -5. The time now is 11:16 PM.