Find the answer to your Linux question:
Results 1 to 1 of 1
I really got frustrated setting up Samba on my Linux box. I was able to start the Samba daemon process however while connecting from Windows machine , it still says ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    2

    Samba Installation and Configuration

    I really got frustrated setting up Samba on my Linux box. I was able to start the Samba daemon process however while connecting from Windows machine , it still says "unknown user name or bad password.". I would like someone to review my steps and configuration and suggest where I am making a mistake. Thanks for all your helps.

    Please let me know if you want any more information before commenting it.

    1. Server details : uname -a

    Linux cscvappnor026.fsg.amer.csc.com 2.6.18-120.el5PAE #1 SMP Fri Oct 17 18:17:11 EDT 2008 i686 i686 i386 GNU/Linux

    2. /etc/samba/smb.conf :

    [global]
    # workgroup = AUSRRS02B
    workgroup = amer.globalcsc.net
    server string = CCP14 BBK Interal Data Server
    hosts allow = 193.61. 20. 198.
    hosts deny = ALL
    bind interfaces only = True
    interfaces = eth0 193.61.35.93
    # domain logons = yes
    local master = yes
    domain master = no
    preferred master = auto
    log level =3
    os level = 0
    log file = /var/log/samba/log.%m
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd
    security = share

    [oracle]
    comment = oracle diretory
    path = /opt/oracle
    browseable = yes
    public = yes
    read only = yes
    valid users = mshah23 root

    3. I set the Samba userid with "smbpasswd -a mshah23' option.
    4. I use to start Samba daemon process using "./smbd -i" and "./nmbd -i".
    5. I am trying to connect this shared directory from one Windows 2003 Sp2 machine where I am using below syntax to connect it.
    net use z: \\20.15.80.206\oracle /user:mshah23 !Freep0rt

    But receiving below error

    System error 1326 has occurred.

    Logon failure: unknown user name or bad password.

    Another thought it might be because of workgroup difference in the Linux and Windows Machine.

    In Linux Server name is "cscvappnor026.fsg.amer.csc.com", It means it is in "fsg.amer.csc.com" .

    in Windows Machine domain is "amer.globalcsc.net".

    Is the causing a login error?
    Last edited by mshah23; 01-22-2010 at 06:25 AM. Reason: Added some information.

Posting Permissions

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