Thanks to Universal Sony Pictures Home Entertainment, we have an Xbox One S to giveaway, and all you need to do is upload a video of your best snipe in a game!
Win an Xbox One S for Being a Top Sniper in any Game!
We chat with Ubisoft's Nao Higo about the studio's next South Park game!
South Park: The Fractured but Whole Dev Interview!
Praxis makes perfect with the return of augmented stealth maestro Adam Jensen in Deus Ex: Mankind Divided
Deus Ex: Mankind Divided Reviewed!
At Gamescom we had the chance to sit down with Respawn Entertainment's Mohammad Alavi and chat about all things singleplayer.
Titanfall 2 and The Return of Singleplayer
Things that make me rage: Samba
Melbourne, Victoria
6350 posts
Oh yeah, so I mentioned Samba in the other thread.

Let's try something different: Here's the current config file. Nothing special.

All I want the damn thing to do is have the IPC share browsable, for me to be able to connect to my own shares, etc... but can't even do basic stuff. The below config is after hours of tweaking and attempting to fix it.

In its current state, it just keeps asking for U/P, and won't accept any of them. It's almost like it doesn't know how to look up accounts from its own configuration and wants to go off to some other domain for users etc.

trowe@hpnas:~$ cat /etc/samba/smb.conf

# Samba config file created using SWAT
# from UNKNOWN (
# Date: 2011/12/19 21:10:36

client lanman auth = no
workgroup = tjsr
netbios name = hpnas
server string = %h server (Samba, Ubuntu)
encrypt passwords = yes
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
smb passwd file = /etc/samba/smbpasswd
clien ntlmv2 auth = yes
lanman auth = yes
ntlm auth = yes
null passwords = yes
passdb backend = tdbsam
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
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
valid users = trowe
admin users = trowe
read list = trowe
write list = trowe
guest ok = yes
hosts allow =
username map = /etc/samba/smbusers
security = share
guest account = nobody
acl compatibility = Auto
browseable = true
name resolve order = lmhosts wins bcast host

comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No

comment = Printer Drivers
path = /var/lib/samba/printers

path = /home/trowe
read only = No

comment = Completed Torrents
path = /data/torrents/completed
read only = No
create mask = 0644
10:50pm 05/01/12 Permalink
10:50pm 05/01/12 Permalink
Brisbane, Queensland
5316 posts
# Setting password change timeout
passwd chat timeout = 10

# General
netbios name = Servername
workgroup = workgroup name
server string = servername networkname

# Logging
syslog = 0
log level = 1
log file = /var/log/samba/%L-%m
max log size = 0
utmp = Yes

# Network
bind interfaces only = yes
interfaces = lo eth1
smb ports = 139

# Printing
printcap name = /etc/printcap
load printers = Yes

# Security settings
security = user
guest account = guest
#restrict anonymous = 2

wins support = No
wins server =

domain logons = Yes
add machine script = /usr/sbin/samba-add-machine "%u"
logon drive = U:
logon script = logon.cmd
logon path =
logon home = \\%L\%U

# Other
preferred master = Yes
domain master = Yes
unix password sync = Yes
passwd program = /usr/sbin/userpasswd %u
passwd chat = *password:* %n\n *password:* %n\n *successfully.*
username map = /etc/samba/smbusers
wide links = No

include = /etc/samba/smb.ldap.conf

# Winbind
include = /etc/samba/smb.winbind.conf

#============================ Share Definitions ==============================

include = /etc/samba/flexshare.conf

comment = Home Directories
path = /home/%U
valid users = %D\%S
read only = No
browseable = No
available = Yes

comment = Print Spool
path = /var/spool/samba
printing = cups
use client driver = No
printable = Yes
read only = No
browseable = No
available = No

comment = Printer Drivers
path = /var/samba/drivers
read only = No
browseable = No
available = No

comment = Network Logon Service
path = /var/samba/netlogon
read only = No
locking = No
browseable = No
available = No

comment = Profile Share
path = /var/samba/profiles
read only = No
profile acls = Yes
browseable = No
available = No
force group = domain_users
force directory mode = 02775
force directory security mode = 02775

ignore the flexshare stuff thats specific to my distro

Your user listed in /etc/samba/smbusers ??

last edited by HerbalLizard at 23:04:33 05/Jan/12
10:59pm 05/01/12 Permalink
Melbourne, Victoria
12029 posts
Yeah, was going to say, did you add user as a samba user?
11:08pm 05/01/12 Permalink
Melbourne, Victoria
6351 posts
trowe = trowe
11:11pm 05/01/12 Permalink
Brisbane, Queensland
9681 posts
I had this issue with Ubuntu and Windows a while ago.. pissed me off. I fixed it and then it broke again after an update but it was a documented bug with Ubuntu but I cannot remember what it was sorry. In the end I f***ed it off and went back to Windows haha - CAUSE THAT ACTUALLY WORKS!! lolz!!!1
11:15pm 05/01/12 Permalink
Brisbane, Queensland
5317 posts
Auth is normally handled by pam
What does

cat /etc/pam.d/samba


Also I have found this guide to be pretty useful in the past since its well commented
11:20pm 05/01/12 Permalink
Brisbane, Queensland
1332 posts
Thought this was gunna be that dance style.
01:14am 06/01/12 Permalink
Gold Coast, Queensland
3936 posts
I had a Things that make me rage: Simba parody thread all ready to post with some ascii in place of that code, but the qgl forum ruined it and I cbf fixing it :/
01:23am 06/01/12 Permalink
3675 posts
what version? the newer versions have issues if ipv6 is enabled and it can't reverse lookup your IP... disabling ipv6 for the OS fixes this.
01:01pm 06/01/12 Permalink
Melbourne, Victoria
6352 posts
trowe@hpnas:~$ /usr/sbin/smbd -V
Version 3.5.8
01:55pm 06/01/12 Permalink
Sydney, New South Wales
741 posts
Is it something like read permissions for world on the directory you're accessing as guest?
01:58pm 06/01/12 Permalink
Melbourne, Victoria
6353 posts
I'm trying to not access it as guest.

Also, I hadn't thought to look in the logs:

[2011/12/25 23:02:18.641428, 0] smbd/password.c:857(authorise_login)
authorise_login: rejected invalid user nobody
[2011/12/25 23:02:18.641521, 1] smbd/service.c:678(make_connection_snum)
create_connection_server_info failed: NT_STATUS_WRONG_PASSWORD
02:05pm 06/01/12 Permalink
Brisbane, Queensland
12250 posts
just for a laugh, do "smbpasswd -a nobody"
set a pass of pass123
and then adduser nobody
set a pass of pass456
then try and login with both combos, check which one works if any

if the first one works, it's using it's own db for auth
if the second one works, it's using pamd/local passwd files for auth

if neither work, its borked
02:36pm 06/01/12 Permalink
Melbourne, Victoria
6354 posts
Ta, will report back results when I get home :)
02:37pm 06/01/12 Permalink
Melbourne, Victoria
6355 posts
No go setting the password of and creating 'nobody'. Have disabled ipv6 through grub and will try that in a moment :(
06:08pm 06/01/12 Permalink
06:08pm 06/01/12 Permalink
AusGamers Forums
Show: per page
This thread is archived and cannot be replied to.