# Running net share shows anonymous login

**URL:** <https://community.learnlinux.tv/t/running-net-share-shows-anonymous-login/4081>\
**Category:** Linux on Servers\
**Created:** [July 29, 2024, 7:10pm UTC](https://community.learnlinux.tv/t/running-net-share-shows-anonymous-login/4081 "2024-07-29T19:10:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adelaide-Guy](https://community.learnlinux.tv/letter_avatar_proxy/v4/letter/a/b4bc9f/32.png) [@adelaide-Guy](https://community.learnlinux.tv/u/adelaide-Guy)\
**Post date:** [July 29, 2024, 7:10pm UTC](https://community.learnlinux.tv/t/running-net-share-shows-anonymous-login/4081/1 "2024-07-29T19:10:40Z")

</div>

Hi, Everyone.

Hope everyone is doing fine, I am trying to learn Samba in Ubuntu Server. I have ran “net share” command and when I do that it says “Anonymous login successful”

```auto
admin@samba:~$ net share
Password for [WORKGROUP\admin]:
Anonymous login successful
print$
IPC$

```

In the smb.conf, I have already configured “homes”

```auto
[homes]
        browseable = no
        comment = Home Directories
        create mask = 0700
        directory mask = 0700
        valid users = %S root

```

So my question is why I am logging in as anonymous rather than my current user “admin” and why doesn’t it show my homes folder for admin? How can I make it show “admin” when I ran “net share”?

Please let me know if you need more information to help me answer those questions, I am using a lab machine, I can provide what information you needed just to make this work.
