Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Samba - 3.02

  • 28-06-2004 12:13pm
    #1
    Registered Users, Registered Users 2 Posts: 6,163 ✭✭✭


    Have Mandrake 10 running as a File server for a windows/mac network. Samba3 is installed and running and is configured using the SWAT web tool which also works without problem.

    If I try to log into the server from a client machine either windows or mac using the line:
    smb://192.168.254.100 I get a username/password requester but none of the users I've set up will validate I get:

    Could not connect to the server because the username or password is not correct.

    Even the root account wont work !

    I have the users set up in the Linux user panel and the same users entered with smbpsswd. I can access other machines from the server with those same usernames/passwords.

    Can anyone help? This all worked perfectly with Mandrake 9.2/Samba2.2.8. in the past. Is it to do with GID and UID numbers ?

    Here is smb.conf:

    # Samba config file created using SWAT
    # from 127.0.0.1 (127.0.0.1)
    # Date: 2004/06/28 13:00:12

    # Global parameters
    [global]
    workgroup = ATTIC
    security = SHARE
    client schannel = No
    server schannel = No
    os level = 38
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    ldap ssl = no

    [homes]
    comment = Home Shares
    path = /home

    [DATA]
    comment = Public Share
    path = /data
    valid users = @users
    read only = No
    guest ok = Yes


    Regards

    ZEN


Comments

  • Registered Users, Registered Users 2 Posts: 2,755 ✭✭✭niallb


    You might need this line in your smb.conf in [global],
    give it a try.

    encrypt passwords = yes

    NiallB


  • Closed Accounts Posts: 157 ✭✭BenH


    Windows NT boxes need to have server accounts if they are to connect to a samba server, you can create them manually by creating a null user account and then adding them to smbpasswd (if thats your backend) with:

    smbpasswd -a -m machinename

    or create them from the windows box using the networking wizards. Also make sure that all your users are in the smbpasswd file and have normal user accounts, you can test them from the console using smbclient -L localhost -U username followed by the password and you should see their shares.

    (obvious I know but people still miss the little things :)

    If this is a PDC, then security should be set to user as opposed to share.

    Regards,

    Ben


  • Registered Users, Registered Users 2 Posts: 6,163 ✭✭✭ZENER


    When I read your reply i did a :rolleyes: thinking well of course I have that option set but I feel like a right tit now (or is that a left one . . never mind !)

    As I said above I'm using SWAT to create the smb.conf file. It seems though - that just because SWAT shows an option as having a YES value doesn't mean it's in the conf file. As for the config file I posted here . . well wood for the trees comes to mind !!!;)

    Thanks nialb !!

    ZEN


Advertisement