Development Articles
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDevelopment Articles

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old October 13th, 2002, 08:05 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
can someone help pthis is new thread for password]


this is a portion of nmbd log
i installed everything as instructed i have a win user = to linux user andn still no luck

can someone shed some good light
basically i can conect windoes to samba using any password

2002/10/13 07:55:25, 0] nmbd/nmbd.c:main(794)
Netbios nameserver version 2.2.5 started.
Copyright Andrew Tridgell and the Samba Team 1994-2002
[2002/10/13 07:55:29, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 23177 received with no matching record.
[2002/10/13 07:55:29, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235)
find_response_record: response packet id 23178 received with no matching record.
[2002/10/13 07:59:38, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(404)
*****

Reply With Quote
  #17  
Old October 13th, 2002, 08:08 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: can someone help pthis is new thread for password]

i forgot to mention i do see another err login into win

no domain server was available to validate your password?

does this help

Reply With Quote
  #18  
Old October 14th, 2002, 06:16 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:

Reply With Quote
  #19  
Old October 22nd, 2002, 02:02 AM
guest
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Re: password

Here are the steps I use to set up Samba.

On Red Hat I used the RPM's

Gather network details:
Domain = milkyway
Samba Server host name = sun
FQDN = sun.milkyway.com
windows PC host name = earth
FQDN = earth.milkyway.com

In the Samba conf I set the following:
workgroup = milkyway
server string = sun
encrypt passwords = yes

*** There were more set, these are the three I changed ***

I made sure my homes section was the way I wanted it:
[homes]
comment = Home Directories
browsable = no
writable = yes
valid user = %S
create mode = 0644
directory mode = 0775

Now I go in and make sure of the following:
Windows PC user is 'brubble'
password is thebrains

Add the users to the Samba box:
# useradd brubble
# passwd brubble
***Prompts for password, enter a password, might consider same password as windows PC.
# smbpasswd -a brubble
***Prompts for a Samba password USE THE SAME ONE as the windows PC! In this case it is thebrains

Wait one minute or restart Samba to read the config file.

brubble can now browse his home directory on the Samba server.

The key here is that the Windows user was prompted for a login on the Windows PC. His credentials were then passed from the Windows PC to the Samba server when he went to browse his shares.

I also have a Samba server that is part of Windows NT domain and it works great. I had to configure it a bit differently and issue a command so it would 'join' the domain. I connected to the Samba server from an employees PC who wasn't a Samba user. Samba prompted me for a username and password. I entered in valid credentials and it let me in to the shares.

Hope this may be of some help to somebody.






Reply With Quote
  #20  
Old April 14th, 2003, 03:42 AM
ads ads is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2001
Location: India
Posts: 192 ads User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 12 m 27 sec
Reputation Power: 8
Samba configuration on Linux Newbie

Hi,
I have gone through Article on SAMBA setting in Administration section and tried to setup SAMBA on my home network. Some how I am not able to do so.

FOLLOWING ARE SETTINGS ON REDHAT LINUX 8.0 SERVER.
********************************
Follwoing is my SAMBA file.
[global]

workgroup = SAIMEDIA

server string = "Primary file server, 40GB"
hosts allow = 192.168.0. 127.
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd

#============================ Share Definitions ==============================
[homes]
comment = Home Directories
; path = /home/anant
browseable = yes
writable = yes
; valid users = %S
create mode = 0664
directory mode = 0775
[temp]
comment = Temporary file space
path = /temp
browseable = yes
read only = no
public = yes

ALL rest are commented.
*******************************************************
Follwoing is my Network card setting
There are two Network cards. eth0 and eth1

etho :
Static IP address
IP : 192.168.0.102
Subnet Mask : 255.255.255.0

eth1 :
Static IP address
IP : 192.168.1.8
Subnet Mask : 255.255.255.0
Deafault Gateway : 192.168.1.1

< eth1 is connected to outside ISP >
both Network cards are activated.

Hosts
IP Name
192.168.0.102 Shintre

DNS
Primary DNS 202..9.136.6
Secondary DNS 202.9.128.7
Tertiary DNS 202.9.128.6

Domain Name : SAIMEDIA

*******************************************
I restarted SAMBA again with follwoing set of commands on server.
[root@Shintre root]# killall smbd
[root@Shintre root]# killall nmbd
[root@Shintre root]# cd /etc/init.d
[root@Shintre init.d]# ./smb start
[root@Shintre init.d]# cd /root
[root@Shintre root]# testparm
[root@Shintre root]# /usr/bin/smbclient //Shintre/temp

by getting message Anonymous login successful
Domain[SAIMEDA] OS=[UNIX] server=[Samba 2.2.5]

I have created user "Anuradha" with Password "anuradha" by command
[root@Shintre root]# smbpass -u Anuradha
[root@Shintre root]# New SMB Password - anuradha
[root@Shintre root]# Retype new SMB Password - anuradha
[root@Shintre root]# Password changed for user Anurahda


FOLLWOING ARE SETTING ON WINDOWS 98 CLIENT
************************
Client NAme : Anu

In NETWORK neighbourhood :
Configuration :
TCP/IP settings
IP : 192.168.0.100
Subnet Mask : 255.255.255.0

Identification :
Computer Name Anu
WORKGROUP SAIMEDIA


Access Control :
I have tried all three options
1) Share-level access control
2) User-level access control
Obtain List of user and group from
SAIMEDIA
a) Windows NT server
b) Windows NT Domain

Client for Microsoft Network Log on to Windows NT Domain

File and Printer sharing for Microsoft Networks.

I have ping from server to client and from client to server. It works fine accept if I ping Shintre/Anu from Client and server respectively get message Unknown Host Shintre/Anu


Finally when I restart Windows 98 client and gave follwoing to log on.

Username Anuradha
Pasword anuradha
Domain SAIMEDIA

I get follwoing error message.

NO domain server was available to validate your passowrd. You must not be able to gain access to some network resources.

After going thorugh above data, By this time you
must have noticed how much frustated i must be. I have gone through Man pages and other help, Done exactly given in SAMBA article on this site. Somehow it's not working.
Requesting you to help me





Reply With Quote
  #21  
Old May 26th, 2003, 04:24 PM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Dancing The Samba (part 1)

Dancing The Samba \(part 1\)

Tired of paying hundreds of dollars for commercial file server software? Looking for an application that lets you share *NIX and Windows files seamlessly across a network? Say hello to Samba, software that's so cool, it'll make you want to kick up your heels and dance, dance, dance!

Please discuss this article in this thread. You can read the article here .

Reply With Quote
  #22  
Old May 28th, 2003, 10:59 AM
Ducani
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
If you would like to see an article covering a particular topic, please post your request here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDevelopment Articles > Dancing The Samba (part 1)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT