Hello,
I’ve tried googling this for hours, so I figured I filled the
prerequisite to post and ask for help. Anyways…
At work, we have a samba file server, let’s call it “server1”. Well,
it’s getting old and filled up, so I was put on the task of making
“server2”. Everything’s going well, got the RAID set up, along with
the OS (Linux Mint - a flavor of OpenSUSE, I believe).
The security on the smb.conf file is set to domain (on server1 and
server2) However, when connecting to Server1 on an XP machine that is
not on MY_NTDomain, it accepts the username without the user having to
type in “MY_NTDomain/username” in the username box. Server2 has the
(nearly) the same smb.conf file but does require the user to type in
“MY_NTDomain/username” if the machine is not on the domain.
I did not set up Server1, so I have no idea how the creator got domain
security to ignore the client’s domain (I’m pretty new to Linux).
Here’s my smb.conf file if it helps:
++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++
[global]
workgroup = MY_NTDOMAIN
netbios name = server2
username map = /etc/samba/user.map
server string = %h
wins support = no
wins server = 164.76.7.35
dns proxy = no
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
security = domain
encrypt passwords = yes
passdb backend = tdbsam
obey pam restrictions = yes
invalid users = root
passwd program = /usr/bin/passwd %u
passwd chat = Enter\snew\sUNIX\spassword: %n
Retype\snew\sUNIX\spassword: %n
password\supdated\ssuccessfully
.
############ Misc ############
socket options = TCP_NODELAY
domain master = no
#======================= Share Definitions =======================
[cot_tech]
path = /media/disk/
writable = yes
create mask = 0755
directory mask = 0755
++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++
I know it seems kind of odd that I have domain security going on, yet
am trying to get around that, but any help would be greatly
appreciated… If it’s another file I need to look at / compare to
Server1’s, let me know. I checked the Samba file in the PAM.d
directory, and I don’t think it’s to do with that.
Thanks in advance.
-Mark