Find the answer to your Linux question:
Results 1 to 2 of 2
Dear All OS: Suse 10 samba: samba-3.0.22-13.16 I have to configure the samba server, as a file server for windows xp client computers, in a MS Active Directory based network. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248

    config samba to authenticate users frm AD


    Dear All
    OS: Suse 10
    samba: samba-3.0.22-13.16

    I have to configure the samba server, as a file server for windows xp client computers, in a MS Active Directory based network.
    All the users have account in Active Directory(the Domain Controller is Windows 2003 server).
    Now plz help me how to config the samba, so that when a network user(AD user), access the files/folders on the file server(samba), Samba Server authenticates the user frm Active Directory.

    Plz help
    Regards

  2. #2
    Linux Newbie
    Join Date
    Feb 2007
    Posts
    248
    domain controller fqdn is : srv254.mydomainname.com.local
    srv254.mydomainname.com.local IP: 192.168.1.102
    samba server hostname is: fs1

    Ok I have done the following

    1, add in /etc/hosts
    srv254.mydomainname.com.local 192.168.1.102

    2, add the following lines in smb.conf
    workgroup = mydomainname
    realm = MYDOMAINNAME.COM.LOCAL
    security = ADS
    encrypt passwords = yes
    password server = srv254.mydomainname.com.local
    .
    .
    .
    [data]
    path = /mnt
    read only = no
    create mask = 0664

    3, create a computer account on Domain Controller

    4, then on samba server, ran the following commands
    #net RPC JOIN -U administrator%adminpasswd
    Joined domain MYDOMAINNAME.
    # net ADS JOIN -S srv254.mydomainname.com.local -U administrator
    administator's password:
    [2007/02/28 14:38:45, 0] libads/kerberos.c:ads_kinit_password(206)
    kerberos_kinit_password administator@MYDOMAINNAME.COM.LOCAL failed: Cannot resolve network address for KDC in requested realm
    [2007/02/28 14:38:45, 0] utils/net_ads.c:ads_startup(193)
    ads_connect: Cannot resolve network address for KDC in requested realm

    5, Even the above eror I start samba
    #rcsmb start (samb starts successfuly)

    6, on a windows XP machine, I logged on the domain with the admin account, then
    start > run > \\fs1\data
    samba server ask for User Name, and password
    i provide the admin userid, and password ... but no success.

    Please help me
    Regards
    needee

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •