Results 1 to 5 of 5

Thread: Samba pain!!

  1. #1
    Join Date
    Mar 2008
    Location
    Monterey, CA
    Beans
    28
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Exclamation Samba pain!!

    So I went through the Samba Fast Start guide on samba.org, and set up a file and print server according the the "Secure Office Server" section. Everything works just as the guide says it should until I attempt to log in with smbclient. this is what I get:

    Code:
    will@mothership:~$ sudo smbclient //MOTHERSHIP/student -Ustudent%*******
    session setup failed: NT_STATUS_LOGON_FAILURE
    here's my testparm. Help!
    Code:
    Load smb config files from /etc/samba/smb.conf
    Processing section "[homes]"
    Processing section "[public]"
    Processing section "[printers]"
    WARNING: The "printer admin" option is deprecated
    Loaded services file OK.
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions
    
    [global]
            workgroup = MSHOME
            printcap name = cups
            disable spoolss = Yes
            show add printer wizard = No
            printing = cups
            print command = 
            lpq command = %p
            lprm command = 
    
    [homes]
            comment = Home Directories
            valid users = @users
            read only = No
            browseable = No
    
    [public]
            comment = Data
            path = "/media/MUSIC ETC"
            valid users = @users
            read only = No
    
    [printers]
            comment = All Printers
            path = /var/spool/samba
            printer admin = root, student
            create mask = 0600
            guest ok = Yes
            printable = Yes
            use client driver = Yes
            browseable = No

  2. #2
    Join Date
    Jan 2006
    Location
    Not heaven... Iowa
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Samba pain!!

    I haven't gone through that guide (yet) - forgive me if I ask something the guide covered...
    You did create a Samba user and password with smbpasswd?
    Linux User #415691 Ubuntu User #8629
    Iowa Team (LoCo): [Wiki] [Launchpad] [Sub-forum]
    IRC channel: #ubuntu-us-ia on irc.freenode.net

  3. #3
    Join Date
    Mar 2008
    Location
    Monterey, CA
    Beans
    28
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Samba pain!!

    Yes, I've got my users and passwords set up in smbpasswd.

  4. #4
    Join Date
    Mar 2008
    Location
    Monterey, CA
    Beans
    28
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Samba pain!!

    Update:

    Okay, so I got the CUPS aspect of my Samba setup working just fine. I was able to just type \\servername\printer in the windows network printer config screen and get it to connect just fine using the smbpasswd users I'd created. I don't have the fileserver system working quite yet, but it shouldn't be long.

  5. #5
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,914

    Re: Samba pain!!

    Use smbclient to debug Samba.

    $ man smbclient

    Cheers,

    H.

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
  •