First my setup: 64 bit Mint 14 Cinnamon.
My issue: I have one machine (Mint) with a directory I am trying to share. Its located at, /dev/sdc1 with the path, /media/toor/MTMData of which I have made sure I am the owner. I have created a user called "user1" and created an smb password for that user on the machine that hosts the shared directory.
I can see the machine hosting the share (cubit) on the network and its share label of MTMData. When I enter the user name and password the dialogue box disappears then reappears as if I have not entered any of the credentials. There is no authentication error reported that I can see and no entry to the shared directory.
The machine I am trying to access the share on is a Ubuntu 12.04 machine. The user name associated with it is user1.
Below is the output of testparm -s
Code: Select all
toor@cubit ~ $ testparm -s
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 "[MTMData]"
Loaded services file OK.
Server role: ROLE_STANDALONE
[global]
server string = %h server (Samba, LinuxMint)
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* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
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
[MTMData]
path = /media/toor/MTMData
valid users = toor, user1
read only = No
Code: Select all
toor@cubit ~ $ net usershare info --long
[MTMData]
path=/media/toor/MTMData
comment=
usershare_acl=Everyone:F,
guest_ok=n
Code: Select all
toor@cubit ~ $ smbtree
Enter toor's password:
WORKGROUP
\\SERVER-DLXQ9A0T
\\SERVER-DLXQ9A0T\hold hold
\\SERVER-DLXQ9A0T\Mac_User_SW
\\SERVER-DLXQ9A0T\PC_User_SW
\\SERVER-DLXQ9A0T\print print
\\SERVER-DLXQ9A0T\direct direct
\\SERVER-DLXQ9A0T\print$ Printer Drivers
\\SERVER-DLXQ9A0T\IPC$ Remote IPC
\\MACHINE0
\\MAC0 mac0 server (Samba, LinuxMint)
\\MAC0\Xerox-WorkCentre-4118 Xerox WorkCentre 4118
\\MAC0\EFI-Fiery-Controller--Windows-based- EFI Fiery Controller (Windows-based)
\\MAC0\print$ Printer Drivers
\\MAC0\IPC$ IPC Service (mac0 server (Samba, LinuxMint))
\\CUBIT cubit server (Samba, LinuxMint)
\\CUBIT\print$ Printer Drivers
\\CUBIT\MTMData
\\CUBIT\IPC$ IPC Service (cubit server (Samba, LinuxMint))
\\ARC arc server (Samba, LinuxMint)
\\ARC\print$ Printer Drivers
\\ARC\IPC$ IPC Service (arc server (Samba, LinuxMint))
\\ACCOUNTINGPC
MTM