Very interesting article, but, I'd suggest to add some GUI tools info like:
SambaLink/Q http://www.spanware.com/linkq/sambalinkq.html
Komba http://komba.sourceforge.net/
I know that this is not geeky at all, but ...
Nice article. I have been using Samba for a few months on my home network, but in a very elementary fashion. You have shown me some better ways that I could be using it.
Looking forward to Part 2!
This:<BR>
<CODE>
$ su -
..
$ cd /tmp
$ tar -xzvf /home/me/samba-2.2.5.tar-gz
</CODE>
should probably be:<BR>
<CODE>
$ su -
..
# cd /tmp
# tar -xzvf /home/me/samba-2.2.5.tar-gz
</CODE>
The homes directory method does not seem to apply to xp clients. Is there an alternate method for creating homes directories for xp clients?
wao thanks for this article....
having a problem with a laptop using windows me it will keep prompting me for password since it will not take empty as password i tried anonymous and no luck
please help
i want to clarify also 2 issues before i proced with this
in thie smb.conf file
does the workgroup = hostname?
where did olympus come from?
does the workgroup has to be the same as workgroup in the identification tab of the windows machine,,, if so then i need to figure out why it will not take empty password in windows
i want to clarify also 2 issues before i proced with this
in thie smb.conf file
does the workgroup = hostname?
where did olympus come from?
does the workgroup has to be the same as workgroup in the identification tab of the windows machine,,, if so then i need to figure out why it will not take empty password in windows
more info to see if someone can help
in the windows machine i see a login box
Resource \\pepino\IPC$
should that be saying temp? and not ipc
I had some similar problems with Win 2000 that I resolved by using named samba users. Use the smbpasswd utility to add users and passwords:
smbpasswd -a -U username
smbpasswd username password
If you set the password to match the one in Windows, them you should be able to connect, otherwise you'll need to type in the correct password and then you'll be able to see all the shares.
u mean if win user is foo and pass pass
add that my linux box or just to samba?
You only have to add the user to Samba.
i dont know how?
its giving me this error
do i need to have the user in my /etc/passwd?
root@pepino:/home/landie > /usr/local/samba/bin/smbpasswd -a -U maricel
New SMB password:
Retype new SMB password:
User maricel does not exist in system password file (usually /etc/passwd). Cannot add account without a valid local system user.
Failed to modify password entry for user maricel
furthermore i tried with a valid linux user added the name and still windows me does not let me in what am i doing wrong
yeah, dump xp and go back to win2k ... :)
]
B
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)
*****
i forgot to mention i do see another err login into win
no domain server was available to validate your password?
does this help
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.
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]
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.
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