Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cant get samba shares to work

Status
Not open for further replies.

tomslacks

Technical User
Mar 30, 2002
32
US
I cant get my samba shares to work. I can see my linux server in My Network Places (win2K with AD) but I cant see any shares. I am getting an IP address from DHCP and my Linuc server is registering in WINS . When I try to get on to the Linux server in My network places I get an error box with "The network path was not found". I have added matching user accounts with matching passwd's in theWindows domain and on the Linux box. Any help would be greatly appreciated. I have attached my smb.conf file in the hope that someone will see a glaring error. I am just trying to share the tmp folder till i get the errors worked out. I have tried several different tutorials from online but none has seem to solve my problem. Thanks



[global]

workgroup = AIRWEB
server string = Samba Server
hosts allow = 192.168.1. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
printing = lprng
guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 0
security = domain
password server = *
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server = 192.168.1.2
#============================ ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# This one is useful for people to share files
[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes
 
You are using domain security and that opens up a box of worms.
Have you read the man pages and howtos on how to set up
domain authentication including adding user accounts?

I would institute a simple share security profile if
you need it up and running and work on the domain
config after reviewing the man pages and online docs.
Without more details on what you've done that's the
best I can do for now.
 
I sometimes receive the same message when the permissions on the directory I am trying to access are not set correctly.


Jay
 
Try to join the domain with your samba box


smbpasswd -j domain_name -r domaincontroller_name


By doing so you only have to specify user access rights on the NT PDC

Bye


Qatqat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top