Linux.com

Vandal

Vandal

  • Linux.com Member
  • Posts: 17
  • Member Since: 23 Aug 10
  • Last Logged In: 10 Mar 11

Latest Posts

Posted by
Topic
Post Preview
Posted
  • Vandal
    RE: Ubuntu machine on network not visible
    Hi and always thanks, I needed to come to the office to log and pass the output of the files, and the outputs r as follows: First command: service smbd status Output: smbd start/running, process 639 Second Command: testparm Output: Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section "[homes]" Processing section "[netlogon]" Processing section "[profiles]" Processing section "[printers]" Processing section "[pdf-documents]" Processing section "[pdf-printer]" Processing section "[Shares]" Loaded services file OK. WARNING: You have some share names that are longer than 12 characters. These may not be accessible to some older clients. (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.) Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = DANEG server string = Serv1 interfaces = 127.0.0.1/8, 192.168.0.0/24 bind interfaces only = Yes security = SHARE encrypt passwords = No update encrypted = Yes client schannel = No server schannel = No obey pam restrictions = Yes guest account = smbguest passwd program = /usr/bin/passwd '%u' passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n passwd chat timeout = 120 password level = 6 username level = 6 unix password sync = Yes log file = /var/log/samba/samba.log max log size = 1000 name resolve order = wins lmhosts bcast client signing = No client use spnego = No socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups machine password timeout = 120 add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u' delete user script = /usr/sbin/userdel '%u' add group script = /usr/sbin/groupadd '%g' delete group script = /usr/sbin/groupdel '%g' add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u' delete user from group script = /usr/sbin/userdel '%u' '%g' add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u' logon script = %G.bat logon path = \\%L\profiles\%u logon drive = m: logon home = \\%L\homes\%u os level = 33 local master = No domain master = No dns proxy = No remote announce = 192.168.0.255 remote browse sync = 192.168.0.255 idmap uid = 16777216-33554431 idmap gid = 16777216-33554431 template shell = /dev/null winbind separator = @ winbind cache time = 360 winbind use default domain = Yes winbind trusted domains only = Yes winbind nested groups = No winbind nss info = no read only = No guest ok = Yes cups options = raw printer name = HP-LaserJet-1220 follow symlinks = No [homes] comment = Home Directories path = /home locking = No strict locking = No [netlogon] comment = Network Logon Service path = /home/netlogon locking = No strict locking = No [profiles] comment = User Profiles path = /var/samba/profiles create mask = 0600 directory mask = 0700 browseable = No locking = No strict locking = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No locking = No strict locking = No [pdf-documents] comment = Converted PDF Documents path = /home/pdf-documents locking = No strict locking = No [pdf-printer] comment = PDF Printer Service path = /tmp printable = Yes printing = bsd print command = /usr/bin/gadmin-samba-pdf %s %u lpq command = use client driver = Yes [Shares] comment = No comment path = /home/Shares locking = No strict locking = No Third Command: netstat -tunap | grep smb Output: tcp 0 0 127.0.0.1:445 0.0.0.0:* LISTEN 639/smbd tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN 639/smbd
    Link to this post 10 Mar 11

    Hi and always thanks,

    I needed to come to the office to log and pass the output of the files, and the outputs r as follows:

    First command: service smbd status
    Output:
    smbd start/running, process 639

    Second Command: testparm
    Output:
    Load smb config files from /etc/samba/smb.conf
    rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
    Processing section "[homes]"
    Processing section "[netlogon]"
    Processing section "[profiles]"
    Processing section "[printers]"
    Processing section "[pdf-documents]"
    Processing section "[pdf-printer]"
    Processing section "[Shares]"
    Loaded services file OK.
    WARNING: You have some share names that are longer than 12 characters.
    These may not be accessible to some older clients.
    (Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
    Server role: ROLE_STANDALONE
    Press enter to see a dump of your service definitions

    [global]
    workgroup = DANEG
    server string = Serv1
    interfaces = 127.0.0.1/8, 192.168.0.0/24
    bind interfaces only = Yes
    security = SHARE
    encrypt passwords = No
    update encrypted = Yes
    client schannel = No
    server schannel = No
    obey pam restrictions = Yes
    guest account = smbguest
    passwd program = /usr/bin/passwd '%u'
    passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
    passwd chat timeout = 120
    password level = 6
    username level = 6
    unix password sync = Yes
    log file = /var/log/samba/samba.log
    max log size = 1000
    name resolve order = wins lmhosts bcast
    client signing = No
    client use spnego = No
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    printcap name = cups
    machine password timeout = 120
    add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
    delete user script = /usr/sbin/userdel '%u'
    add group script = /usr/sbin/groupadd '%g'
    delete group script = /usr/sbin/groupdel '%g'
    add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
    delete user from group script = /usr/sbin/userdel '%u' '%g'
    add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
    logon script = %G.bat
    logon path = \\%L\profiles\%u
    logon drive = m:
    logon home = \\%L\homes\%u
    os level = 33
    local master = No
    domain master = No
    dns proxy = No
    remote announce = 192.168.0.255
    remote browse sync = 192.168.0.255
    idmap uid = 16777216-33554431
    idmap gid = 16777216-33554431
    template shell = /dev/null
    winbind separator = @
    winbind cache time = 360
    winbind use default domain = Yes
    winbind trusted domains only = Yes
    winbind nested groups = No
    winbind nss info = no
    read only = No
    guest ok = Yes
    cups options = raw
    printer name = HP-LaserJet-1220
    follow symlinks = No

    [homes]
    comment = Home Directories
    path = /home
    locking = No
    strict locking = No

    [netlogon]
    comment = Network Logon Service
    path = /home/netlogon
    locking = No
    strict locking = No

    [profiles]
    comment = User Profiles
    path = /var/samba/profiles
    create mask = 0600
    directory mask = 0700
    browseable = No
    locking = No
    strict locking = No

    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = No
    locking = No
    strict locking = No

    [pdf-documents]
    comment = Converted PDF Documents
    path = /home/pdf-documents
    locking = No
    strict locking = No

    [pdf-printer]
    comment = PDF Printer Service
    path = /tmp
    printable = Yes
    printing = bsd
    print command = /usr/bin/gadmin-samba-pdf %s %u
    lpq command =
    use client driver = Yes

    [Shares]
    comment = No comment
    path = /home/Shares
    locking = No
    strict locking = No

    Third Command: netstat -tunap | grep smb
    Output:
    tcp 0 0 127.0.0.1:445 0.0.0.0:* LISTEN 639/smbd
    tcp 0 0 127.0.0.1:139 0.0.0.0:* LISTEN 639/smbd

  • Vandal
    RE: Ubuntu machine on network not visible
    using IP address I can define the printers, I can ping, I can enter the IP address into the web browser's address bar and open ftp page, but nothing more. When I try to find it on network places on windows machine i can't find it although the workgroup is set correctly, shares r set...
    Link to this post 10 Mar 11

    using IP address I can define the printers, I can ping, I can enter the IP address into the web browser's address bar and open ftp page, but nothing more.

    When I try to find it on network places on windows machine i can't find it although the workgroup is set correctly, shares r set...

  • Vandal
    Ubuntu machine on network not visible
    Hi all, Recently I could set one Ubuntu machine to work as print server, this was the first useful thing I do with Ubuntu other than using it as my main OS. On the same machine, I want to make something like shared folder or better say, shared folder, and backup server (drive, computer) for all the office users, and all of them r using MS windows. Although the print server works perfectly, I cant find it on the network using my own Ubuntu box, and sure I cant find it using the windows, OS X boxes. Samba is there on both Ubuntu boxes, the shared folders r set, but still.. nothing can scan or see the Ubuntu box. The Ubuntu boxes r always pingable.. Any clue?
    Link to this post 09 Mar 11

    Hi all,

    Recently I could set one Ubuntu machine to work as print server, this was the first useful thing I do with Ubuntu other than using it as my main OS.

    On the same machine, I want to make something like shared folder or better say, shared folder, and backup server (drive, computer) for all the office users, and all of them r using MS windows.

    Although the print server works perfectly, I cant find it on the network using my own Ubuntu box, and sure I cant find it using the windows, OS X boxes.

    Samba is there on both Ubuntu boxes, the shared folders r set, but still.. nothing can scan or see the Ubuntu box.

    The Ubuntu boxes r always pingable..

    Any clue?

  • Vandal
    Backing up emails from Fedora 14 to Ubuntu 10.10
    Dear All, I am moving to the lovely Ubuntu 10.10 back after 2 boring months with Fedora 14. I have a problem now to put my old emails into the Evolution. is it because Fedora's evolution is higher? If so, I believe there is a way to extract the backup file to folders and just copy and paste the folders into a location that I still cant figure out. Does anyone have a certain/clear clue? Cheers...
    Link to this post 27 Jan 11

    Dear All,

    I am moving to the lovely Ubuntu 10.10 back after 2 boring months with Fedora 14.

    I have a problem now to put my old emails into the Evolution. is it because Fedora's evolution is higher?

    If so, I believe there is a way to extract the backup file to folders and just copy and paste the folders into a location that I still cant figure out.

    Does anyone have a certain/clear clue?


    Cheers...

  • Vandal
    RE: Fedora hidden items
    Well, I am sorry, maybe I was not clear.. So what I mean by hidden is being hidden in the GUI, at the main menu, however, when I find the specific command of the control center (), or network configuration command (system-config-network), they easily pop out, but I can't find them in the main menu.. there is no shortcut for them... Also, for example, how can modify the main menu? how can I add new items?
    Link to this post 29 Nov 10

    Well, I am sorry, maybe I was not clear..

    So what I mean by hidden is being hidden in the GUI, at the main menu, however, when I find the specific command of the control center (), or network configuration command (system-config-network), they easily pop out, but I can't find them in the main menu.. there is no shortcut for them...

    Also, for example, how can modify the main menu? how can I add new items?

  • Vandal
    Fedora hidden items
    Hi all, I am using Ubuntu and new to Fedora. I noticed that Fedora has some hidden items (SELinux management, control center), however on the command line u can always find these items but u have to know the command name. anyone can tell me a short cut to those command names that r hidden and useful for admin activities? Thanks a lot...
    Link to this post 29 Nov 10

    Hi all,

    I am using Ubuntu and new to Fedora.

    I noticed that Fedora has some hidden items (SELinux management, control center), however on the command line u can always find these items but u have to know the command name.

    anyone can tell me a short cut to those command names that r hidden and useful for admin activities?

    Thanks a lot...

  • Vandal
    Drives and partitions quastion
    If anyone can help me, it would be great... using the command fdisk -l should list my hard drives and their partitions. if the drive is: 1) /dev/sda* > it's a SATA drive 2) /dev/hda* > it's an IDE drive This is as far as I understood from my readings... So, checking the boot config file grub.cfg, I cant find anything with /dev/sda*, and all the roots are /dev/hd0, while using fdisk -l to list my disks, I cant find anything mentioning any hd0 or anything related to hd*, they are all sda.. how can this happen? I have only one HDD attached...
    Link to this post 23 Sep 10

    If anyone can help me, it would be great...

    using the command fdisk -l should list my hard drives and their partitions.

    if the drive is:
    1) /dev/sda* > it's a SATA drive
    2) /dev/hda* > it's an IDE drive

    This is as far as I understood from my readings...

    So, checking the boot config file grub.cfg, I cant find anything with /dev/sda*, and all the roots are /dev/hd0, while using fdisk -l to list my disks, I cant find anything mentioning any hd0 or anything related to hd*, they are all sda..

    how can this happen?

    I have only one HDD attached...

  • Vandal
    change/modify filesys dirs to other partitions
    Hi all, I am using Fedora to learn Linux admin. I am still in the early early stages I believe, but I read that I can set my file sys dirs as /var, /home, /usr... i can even move them to another partition to be safe from the system crashes... I just dont know how... can anyone just stop my curiosity by telling me even tips and I will follow them till I reach?
    Link to this post 23 Sep 10

    Hi all,

    I am using Fedora to learn Linux admin.

    I am still in the early early stages I believe, but I read that I can set my file sys dirs as /var, /home, /usr... i can even move them to another partition to be safe from the system crashes... I just dont know how...

    can anyone just stop my curiosity by telling me even tips and I will follow them till I reach?

  • Vandal
    RE: Linux install
    I faced a similar problem with a toshiba, and the solution was to change something related to the HDD on the BIOS menu.. The problem was with the SATA choice, I had to choose the "compatibility" instead of "AHCI" http://www.techsupportforum.com/hardware-support/laptop-support/416216-toshiba-a300-how-revert-xp-sp2-vista.html I am not familiar with the HP menu, but if you are suffering from the same problem, I don't think tech expressions would differ a lot... Good luck..
    Link to this post 23 Sep 10

    I faced a similar problem with a toshiba, and the solution was to change something related to the HDD on the BIOS menu..

    The problem was with the SATA choice, I had to choose the "compatibility" instead of "AHCI"

    http://www.techsupportforum.com/hardware-support/laptop-support/416216-toshiba-a300-how-revert-xp-sp2-vista.html

    I am not familiar with the HP menu, but if you are suffering from the same problem, I don't think tech expressions would differ a lot...

    Good luck..

  • Vandal
    RE: Recovering Ubuntu installation without losing data
    so, Really thanks above all... I was lucky to have a back up of my main file to reinstall/recover ubuntu and i chose the root of my second drive (which will become the main one)... I went throught it and it created my new boot-loader... I followed the link in my first post and I did not erase any data, and the installation did not cause to lose the home dir, not even the firefox bookmarks. I only needed to install some packages and personalize... I want to add that all that I might have needed is to install grub2 and maybe only to run it... all the problem was really solved for me by detecting the installed (inactive) kernel.. i dont want to repeat the problem to discover the solution, but maybe someone else would pass by this and read my last addition. Thanks a lot above all...
    Link to this post 14 Sep 10

    so,

    Really thanks above all...

    I was lucky to have a back up of my main file to reinstall/recover ubuntu and i chose the root of my second drive (which will become the main one)... I went throught it and it created my new boot-loader...
    I followed the link in my first post and I did not erase any data, and the installation did not cause to lose the home dir, not even the firefox bookmarks. I only needed to install some packages and personalize...

    I want to add that all that I might have needed is to install grub2 and maybe only to run it... all the problem was really solved for me by detecting the installed (inactive) kernel.. i dont want to repeat the problem to discover the solution, but maybe someone else would pass by this and read my last addition.

    Thanks a lot above all...

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board