did a fresh install of each and still get same result I must be doing something wrong and need help seeing it
did smbpasswd -a user
chcon -Rt samba_share_t /home/share
semanage fcontext -a -t samba_share_t "/home/share(/.*)?"
restorecon -R -v /home/share
systemctl enable smb.service
systemctl enable nmb.service
systemctl start smb.service
systemctl start nmb.service
then restarted computer then did
$ sudo systemctl status smb.service
[sudo] password for lance:
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: active (running) since Sun 2013-07-21 21:00:06 MDT; 21min ago
Process: 899 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 908 (smbd)
CGroup: name=systemd:/system/smb.service
├─908 /usr/sbin/smbd
└─911 /usr/sbin/smbd
Jul 21 21:00:04 localhost.localdomain systemd[1]: Starting Samba SMB Daemon...
Jul 21 21:00:06 localhost.localdomain systemd[1]: Started Samba SMB Daemon.
$ sudo systemctl status nmb.service
nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled)
Active: active (running) since Sun 2013-07-21 21:00:04 MDT; 21min ago
Process: 852 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 898 (nmbd)
CGroup: name=systemd:/system/nmb.service
└─898 /usr/sbin/nmbd
Jul 21 21:00:04 localhost.localdomain systemd[1]: Started Samba NMB Daemon.
# smbtree -N
LBERMUDEZ
\\MOM
\\FEDORA localhost server (Samba, Ubuntu)
$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[lance]"
Processing section "[leanne]"
Processing section "[backup]"
Processing section "[allusers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = LBERMUDEZ
netbios name = FEDORA
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts, host, wins, bcast
dns proxy = No
wins support = Yes
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[lance]
comment = lance's share
path = /home/share/lance
invalid users = root
valid users = lance, leanne
write list = lance, leanne
read only = No
create mask = 0775
directory mask = 0775
[leanne]
comment = mom's share
path = /home/share/leanne
invalid users = root
valid users = lance, leanne
write list = leanne, lance
read only = No
create mask = 0775
directory mask = 0775
[backup]
comment = backup
path = /home/share/lubuntu
invalid users = root
valid users = lance, leanne, nobody, guest
write list = lance, leanne, nobody, guest
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes
[allusers]
comment = All Users
path = /home/share/allusers
valid users = lance
force group = share
read only = No
create mask = 0660
directory mask = 0771
smbclient //192.168.2.18/lance -U lance
Enter lance's password:
session setup failed: NT_STATUS_LOGON_FAILURE
get NT_STATUS_LOGON_FAILURE for all usrers
have attached my smb.conf
did smbpasswd -a user
chcon -Rt samba_share_t /home/share
semanage fcontext -a -t samba_share_t "/home/share(/.*)?"
restorecon -R -v /home/share
systemctl enable smb.service
systemctl enable nmb.service
systemctl start smb.service
systemctl start nmb.service
then restarted computer then did
$ sudo systemctl status smb.service
[sudo] password for lance:
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: active (running) since Sun 2013-07-21 21:00:06 MDT; 21min ago
Process: 899 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 908 (smbd)
CGroup: name=systemd:/system/smb.service
├─908 /usr/sbin/smbd
└─911 /usr/sbin/smbd
Jul 21 21:00:04 localhost.localdomain systemd[1]: Starting Samba SMB Daemon...
Jul 21 21:00:06 localhost.localdomain systemd[1]: Started Samba SMB Daemon.
$ sudo systemctl status nmb.service
nmb.service - Samba NMB Daemon
Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled)
Active: active (running) since Sun 2013-07-21 21:00:04 MDT; 21min ago
Process: 852 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 898 (nmbd)
CGroup: name=systemd:/system/nmb.service
└─898 /usr/sbin/nmbd
Jul 21 21:00:04 localhost.localdomain systemd[1]: Started Samba NMB Daemon.
# smbtree -N
LBERMUDEZ
\\MOM
\\FEDORA localhost server (Samba, Ubuntu)
$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Processing section "[print$]"
Processing section "[lance]"
Processing section "[leanne]"
Processing section "[backup]"
Processing section "[allusers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = LBERMUDEZ
netbios name = FEDORA
server string = %h server (Samba, Ubuntu)
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
name resolve order = lmhosts, host, wins, bcast
dns proxy = No
wins support = Yes
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
print ok = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[lance]
comment = lance's share
path = /home/share/lance
invalid users = root
valid users = lance, leanne
write list = lance, leanne
read only = No
create mask = 0775
directory mask = 0775
[leanne]
comment = mom's share
path = /home/share/leanne
invalid users = root
valid users = lance, leanne
write list = leanne, lance
read only = No
create mask = 0775
directory mask = 0775
[backup]
comment = backup
path = /home/share/lubuntu
invalid users = root
valid users = lance, leanne, nobody, guest
write list = lance, leanne, nobody, guest
read only = No
create mask = 0775
directory mask = 0775
guest ok = Yes
[allusers]
comment = All Users
path = /home/share/allusers
valid users = lance
force group = share
read only = No
create mask = 0660
directory mask = 0771
smbclient //192.168.2.18/lance -U lance
Enter lance's password:
session setup failed: NT_STATUS_LOGON_FAILURE
get NT_STATUS_LOGON_FAILURE for all usrers
have attached my smb.conf