[lug] NT workstation vs Samba
Ferdinand P. Schmid
fschmid at archenergy.com
Thu Jan 20 11:38:51 MST 2000
Mathias:
Let's start from the beginning:
Is your Linux system part of a WindowsNT domain?
If so did you create an account for your Linux system in that NT domain?
What version of Samba and Linux are you running?
Here is an example smb.conf file created with SWAT that works. It shares a
printer, a public file system (permissions allow everyone to read/write to
everyone's files) and a file system with user typical permissions.
***********************************************************************************
# Samba config file created using SWAT
# from 10.1.1.142 (10.1.1.142)
# Date: 1999/12/27 09:15:53
# Global parameters
[global]
workgroup = AEC
netbios name = AES3
server string = aes3
interfaces = 10.1.1.51/255.255.255.0
security = DOMAIN
encrypt passwords = Yes
map to guest = Bad Password
password server = aes1
smb passwd file = /usr/local/samba/private/smbpasswd
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY
local master = No
wins server = 10.1.1.50
hosts allow = 10.1.1.,localhost
hosts deny = 10.1.1.50,10.1.1.1
[ti]
path = /tmp
print ok = Yes
postscript = Yes
printer name = lp
[public]
path = /home/public
guest account = guest
read only = No
create mask = 0774
directory mask = 0775
hosts allow = localhost, 10.1.1.
[users]
path = /home/users
guest account = guest
read only = No
hosts allow = localhost, 10.1.1.
***********************************************************************************
"Mathias, Robert S (Robert)** CTR **" wrote:
> I have a legitimate user account. in fact, I gave the user account
> "root/superuser" privileges since I cannot login remotely as root user. When
> I try to add the NT machine to the "domain", I get an error that the machine
> account needs to be added. I login with a "superuser" account that should be
> able to add new machine accounts, but I am unsuccessful. Perhaps if I had a
> checklist of some type to run checks against that would be more helpful. I
> set up a similiar sandbox network at home and have been successful til last
> night, all of a sudden my permissions were revoked for no apparent reason.
> Was in the middle of copying files, then "unable to copy file, check if disk
> is full or write protected" I know that this is false b/c I had just copied
> 1.2G of mp3s when I received the error msg. (Another issue to post later)
>
> Thanks again
>
More information about the LUG
mailing list