The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Other
> Development Articles
|
Page 2 -
Dancing The Samba (part 1)
Page 2 - Discuss Dancing The Samba (part 1) in the Development Articles forum on Dev Shed. Dancing The Samba (part 1) Development Articles forum discussing articles and tutorials located at http://www.devshed.com. See what our authors have created for your viewing pleasure.
|
|
 |
|
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

October 13th, 2002, 07:05 AM
|
|
Guest
|
|
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)
*****
|

October 13th, 2002, 07:08 AM
|
|
Guest
|
|
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
|

October 14th, 2002, 05:16 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|

October 22nd, 2002, 01:02 AM
|
|
Guest
|
|
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.
|

April 14th, 2003, 02:42 AM
|
|
Contributing User
|
|
Join Date: Aug 2001
Location: India
Posts: 192
Time spent in forums: 2 h 12 m 27 sec
Reputation Power: 12
|
|
|
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
|

May 26th, 2003, 03:24 PM
|
|
Guest
|
|
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 .
|

May 28th, 2003, 09:59 AM
|
|
Guest
|
|
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.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|