Results 1 to 5 of 5

Thread: Never remember password for Samba

  1. #1
    Join Date
    Feb 2009
    Posts
    2

    question Never remember password for Samba

    Hey everyone,

    Ok... I have a Server (XP Pro) that has guests and special users (also XP Pro) that have access to Samba shares over the network (Added through the Management Console). For the special users their passwords and usernames on both the File Server and their personal workstation computers are the same. (So they never get prompted for their own user account password etc) But sometimes they "have to" access the guest shares (through a built in Guest account).

    Here is the problem... They will connect to the created Guest account shares and input the Guest username and password when prompted. Then it attempts to use those credentials to access any Samba directories on the Server until they reboot. So when they go back to use their personal Samba (with their workstation credentials) it keeps them logged in as guest and restricts their access to their files.

    I would like it to not remember the username and password for the Guest (prompt each time). That way the users can go back and use their Samba directories without an access denied error.

  2. #2
    Join Date
    May 2008
    Posts
    2,945

    Re: Never remember password for Samba

    Well, I could not login to my Samba shares once and then I did this which solved the login problem.

    I set my log level = 3 and found that I was getting some password errors such as:

    rpc_server/srv_netlog_nt.c:get_md4pw(188) get_md4pw: Workstation

    Anyway, after doing some searching, I set
    "unix password synch = no" and bounce the Samba services.

    I was then able to join the domain without any problems. Once I set my client to the domain, I went back and reset the "unix password synch = yes" and had no further problems.

  3. #3
    Join Date
    May 2008
    Posts
    3,516

    Re: Never remember password for Samba

    1. Be sure you have samba, samba-common, and smbfs installed.

    2. You need to be sure that your Linux firewall will permit smb connections. If not you are wasting your time. If you don't have a firewall installed on the linux share, guess what? By default access is denied. Install a firewall to open access. I suggest firestarter.

    3. Also, if mapping a network drive in Windows, there is a hyperlink for "Connect using a different user name". Click that and enter a valid user name and password for the Linux share and you should connect. This is a good way to test the share with a known good name and password. Do not check the box to remember, unless it will be this users default (borrowed) name and password.

    4. Permissions on a share are still important. If you do not have user access for guest then guest can't access the share. You may need to add an everyone group and then. Double check the path to share! I've trashed my system with a chown command.

      sudo chown guest:everyone -R /PathToShare
      Then
      sudo chmod 777 -R /PathToShare

  4. #4
    Join Date
    Apr 2008
    Posts
    3,339

    Re: Never remember password for Samba

    Begin by uncomment the following line:
    netbios name = <MANDRAKE> (whatever linux version)
    then change this one:
    security = user
    by:
    security = share

    Then, create a folder "share" in your "/home":
    md /home/share/

    Give him the rights of read, write and performance for all:
    chmod a+rwx /home/share

    Then uncomment the following lines in your file "smb.conf" and change the path as below

    [Public]
    path = /home/share
    public = yes
    guest ok = yes
    writable = yes
    printable = no

  5. #5
    Join Date
    Apr 2008
    Posts
    3,424

    Re: Never remember password for Samba

    If you set 'guest ok = yes' and 'guest only = yes' in the share definition, what happens? - You should no longer need a password.

    And make sure that the 'guest account' = [some user with read+write+execute permissions on the linux box to whatever the directory being shared is]

    Hopefully that makes sence.

Similar Threads

  1. Mozilla Firefox 7 is unable to remember a password on Mac OS X
    By RICKYb in forum Technology & Internet
    Replies: 2
    Last Post: 30-11-2011, 06:27 PM
  2. Hotmail won't remember password on iphone 4
    By The $ Vance in forum Portable Devices
    Replies: 6
    Last Post: 14-10-2010, 10:26 PM
  3. "Remember me" and "Remember password" in Java Swing
    By Deandre in forum Software Development
    Replies: 5
    Last Post: 21-07-2010, 04:09 AM
  4. Gmail remember's my login id and password
    By io78 in forum Technology & Internet
    Replies: 3
    Last Post: 07-10-2009, 10:19 PM
  5. Network Drive Does not Remember Password
    By Durrson in forum Vista Help
    Replies: 2
    Last Post: 09-11-2008, 02:55 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,255,549.92161 seconds with 17 queries