Skip to main content

FC5 joining Domain Controller (win2003)

More
17 years 10 months ago #19109 by zillah
At work we have got Active Directory win2003 , and the OSs here are windows 2003 and windows XP.

From my winodws box, I can access the domain as normal user, by suing (username:zillah, password :niceforum), and also I can access the PC as stand alone workstation, by using (username: administrator, password: junk)

At work how can I configure my laptop (FC5) to join the domain ? What should I take in the consideration to achieve this ?

When I googled I found many URLs, what i am looking is to see some tutorial (steps- by-steps either : Figures, or commands line) to follow the steps to make sure, that I am doing the right things.

Note: one issue is to use samba
More
17 years 10 months ago #19436 by zillah
I tried to start the process of samba installation from scratch, but i could not get it done!!!! What I have done is this :

[root@localhost ~]# man samba
No manual entry for samba
[root@localhost log]# smbd -V
bash: smbd: command not found
[root@localhost ~]# ls -Rl | grep samba*
[root@localhost ~]# rpm -qa | grep samba*
samba-client-3.0.21b-2
samba-common-3.0.21b-2

[root@localhost ~]# rpm -i samba-client-3.0.21b-2
error: open of samba-client-3.0.21b-2 failed: No such file or directory
[root@localhost ~]# rpm -i samba-common-3.0.21b-2
error: open of samba-common-3.0.21b-2 failed: No such file or directory

[root@localhost ~]# apt -get install samba swat
bash: apt: command not found


I tried to use less /var/log/packages/samba*

[root@localhost ~]# cd /var/log
[root@localhost log]# ls
anaconda.log btmp gdm maillog scrollkeeper.log wtmp
anaconda.syslog cron httpd messages secure Xorg.0.log
anaconda.xlog cups lastlog ppp spooler Xorg.0.log.old
boot.log dmesg mail samba vbox yum.log

[root@localhost log]# cd samba
[root@localhost samba]# ls
[root@localhost samba]# ls -al
total 16
drwx
2 root root 4096 Feb 13 2006 .
drwxr-xr-x 9 root root 4096 Jan 20 13:51 ..

Desktop --> System Settings --> Server Settings --> Samba
I could not find any thing

Any comment where is my mistake ?

Regards
More
17 years 9 months ago #19505 by nske

[root@localhost ~]# rpm -i samba-client-3.0.21b-2


Rpm program is not an automated tool for downloading and installing packages, with the -i argument it expects the exact filename of an existing RPM package file to install. So you would have to download or copy the FC6 package from it's CDs/DVD that contains the samba and provide it's path to rpm program for installation, i.e.

rpm -i /path/to/samba-server-3.x.rpm


If you want an application that allows you to automatically search, download and install RPM packages over the internet, try using yum. If it is not installed, you can find it here .

I am not sure how they have broken down Samba in fedora's packages, they apparently have a separate package for the client. Try looking for packages with similar naming.

I'm sorry that I can't provide you with step-by step instructions as I don't use fedora, however, keep in mind that because of how Unix works, blind step-by-step tutorials are never guaranteed to work, you need to study things in some depth in order to not have trouble. This is the cost for it's flexibility.
More
17 years 9 months ago #19569 by zillah
Thanks for this feedback.

I tried here : www.planetmy.com/blog/?p=248

By the way i have upgraded OS to FC6

I have installed all the required packages that have been mentioned, the only thing that I have not touch is Network Time Protocol.

[root@localhost ~]# cat /etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log

[libdefaults]
ticket_lifetime = 24000
default_realm = rami.global
dns_lookup_realm = false
dns_lookup_kdc = false

[realms]
rami.global = {
kdc = 192.168.2.10
default_domain = 192.168.2.10
kdc = rami.global
}

[domain_realm]
.rami.global = rami.global
rami.global = rami.global

rami.global = rami.global
.rami.global = rami.global

[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf
[kdc]
profile = /var/kerberos/krb5kdc/kdc.conf

[appdefaults]
pam = {
debug = false
ticket_lifetime = 36000
renew_lifetime = 36000
forwardable = true
krb4_convert = false
}
[root@localhost ~]#

















gedit /etc/smb.conf
!
!
!
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = rami
security = ads
realm = rami.global
client use spnego = no
I added this line
server signing = auto
netbios name = linux
winbind use default domain = yes
I added this line
winbind separator = +
encrypt passwords = yes
I added this line
password server = rami.global
template shell = /bin/bash


[test]

I added this Title

comment = Test Share using Active Directory
path = /data
valid users = @"rami\Users"
writeable = yes
browseable = yes
[root@localhost ~]#


[root@localhost ~]# testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
workgroup = MYGROUP
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
cups options = raw

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
[root@localhost ~]#



[root@localhost ~]# service smb stop
Shutting down SMB services: [FAILED]
Shutting down NMB services: [FAILED]
Time to create page: 0.126 seconds