[Samba] The specified network name is no longer available

Greg Koch greg at ekingme.com
Fri Sep 5 21:47:42 GMT 2008


I feel stupid even asking, and I have a feeling the solution is something
that has been staring me right in the face for hours.  I can't seem to
access network shared on my samba PDC.  I've done this before, and I am
using a similar smb.conf file and I am just at the point where I can't get
anything else to happen with this thing.  My original problem was that I
could not get WINXP machines to join the domain and I upgraded my version
of Samba in hopes that it was just a fluke.

It made things worse.  Everytime I navigate to \\server I just receive the
error "The specified network name is no longer available".  Same thing when
I try to join the domain.  It does prompt me for a username and password,
but beyond that, I have nothing.

I need help!!

Thank you!!

current versions: CentOS 5.2 Samba 3.0.28-1.el5_2.1.x86_64
/etc/samba/smb.conf
[global]
        log file = /var/log/samba/log.%m
        max log size = 50
        workgroup = NMTWebDev
        netbios name = Server
        passdb backend = tdbsam
        security = user
        add user script = /usr/sbin/useradd -m %u
        delete user script = /usr/sbin/userdel -r %u
        add group script = /usr/sbin/groupadd %g
        delete group script = /usr/sbin/groupdel %g
        add user to group script = /usr/sbin/usermod -G %g %u
        add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null 
-g machines %u
        # The following specifies the default logon script
        # Per user logon scripts can be specified in the user
        # account using pdbedit logon script = logon.bat
        # This sets the default profile path.
        # Set per user paths with pdbedit
        logon drive = U:
        domain logons = Yes
        os level = 65
        preferred master = Yes
        domain master = Yes
        local master = Yes
        wins support = Yes
        name resolve order = wins lmhosts hosts bcast
        dns proxy = Yes
        socket options = IPTOS_LOWDELAY TCP_NODELAY
        load printers = Yes
        printing = cups
        printcap name = cups
#       bind interfaces only = yes
        logon path = \\%L\%U\windowsprofile
        server string = PDC
        encrypt passwords = yes
        null passwords = no
#       interfaces = lo eth0
        map to guest = Never
        hide unreadable = yes
[homes]
        comment = Home Directory for %u
        browseable = no
        valid users = %S
        read only = no
        guest ok = no
        create mask = 0600
        directory mask = 0700
        inherit permissions = yes
[netlogon]
        path = /var/lib/samba/netlogon
        guest ok = no
        read only = yes
        browseable = no
[Public]
        comment = Public File Share
        writeable = yes
        path = /home/public
        force directory mode = 777
        force group = users
        force create mode = 777
        force user = root
        valid users = @users
        create mode = 777
        directory mode = 777
[www]
        comment = Website Share
        writeable = yes
        path = /www
        force directory mode = 777
        force group = users
        force create mode = 777
        force user = root
        valid users = @users
        create mode = 777
        directory mode = 777
[printers]
        comment = All Printers
        path = /var/spool/samba/print
        printer = IBMInfoP
        browseable = No
        public = Yes
        guest ok = Yes
        writable = No
        printable = Yes
[print$]
        comment = Printer Drivers Share
        path = /var/lib/samba/drivers
        write list = @users

Greg Koch



More information about the samba mailing list