Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear Forumers,
I have recently installed SuSE Linux Enterprise 9.0 on a PC. My objective is to setup FTP service on it and join it to my company's network. Problem is, I have already installed SuSE as well as SAMBA but I still can get it connected to the network (which is all running on Windows based OS). Please advise.
P/S: I have installed SAMBA but have no clue on how to configure it.
Originally posted by Sharaz join it to a windows domain... so you can what? what might that accomplish?
There are many reasons to join it to a Windows domain. The last company I worked for, we used it as all of our Windows machines logged in and were authenticated thru Active Directory, so joining it to the Domain made it much easier for users to access Samba shares on our Redhat Linux server using their Windows passwords, etc.
Perhaps if your not going to help with any type of solution and doubt why they would need such solutions, you should just skip it and move on to the next post..
Hi guys,
i am having problem in joining redhat 9 to domain run by win2003 server active directory. I have configured samba server(samba-2.2.7a-7.9.0) as-
in /etc/samba/sbm.conf file :
[global]
workgroup = {domain}
server string = {server name}
log file = /var/log/samba/%m.log
max log size = 50
security = domain
password server = [name of a PDC or BDC for {domain}]
encrypt passwords = yes
smb passwd file = /etc/samba/private/smbpasswd
local master = no
wins server = {wins server}
dns proxy = no
than i added a dummy entry to the smbpasswd file, which alredy exists in domain( same id thru which i login domain on win2003 server) .created a user account on the Linux serverand executed following commands:
cd /etc/samba/private
cat /etc/passwd | mksmbpasswd.sh > smbpasswd
and edited the smbpasswd file by removing all lines except those for the dummy user account.
than i ran:
There are a number of steps you need to take
1. Update samba to latest stable version
2. Configure smb.conf
Heres mine
[global]
workgroup = DOMAINNAME
netbios name = NETBIOSNAME
security = DOMAIN
idmap uid = 15000-40000
idmap gid = 45000-48000
winbind cache time = 15
winbind separator = +
winbind use default domain = Yes
use sendfile = Yes
wins server = IP OF WINS
template homedir = /home/%D/%U
template shell = /bin/false
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
log level = 3
[homes]
comment = Home Directories
#valid users = %U
path = /home/PATHTOHOMEDIR/%U
create mask = 0775
force create mode = 0775
directory mask= 0775
force directory mode = 0775
read only = No
browseable = No
read only = No
browseable = No
3. Edit /etc/nsswitch.conf and include the following
passwd: files winbind
group: files winbind
hosts: files dns
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.