[ale] samba broke

Paul Cartwright pbcartwright at gmail.com
Fri Aug 22 14:04:45 EDT 2014


On 08/22/2014 01:55 PM, JD wrote:
> The smbtree and testparm commands are nice for troubleshooting samba too.
> Would be helpful to see the output from those.
>
>
>
>
> On 08/22/2014 01:04 PM, Chuck Payne wrote:
>> > With my samba set up, I always start nmd smd on the server.  Most servers
>> > you can start with nmb, might want to check /etc/init.d to see if it still
>> > there..
>> > 
>> > magi:~ # ps ax | grep nmb
>> >  4172 ?        Ss     0:44 /usr/sbin/nmbd -D -s /etc/samba/smb.conf
>> >  4173 ?        S      0:00 /usr/sbin/nmbd -D -s /etc/samba/smb.conf

# smbtree
Enter root's password:
[root at pauls-server samba]# testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[photos_videos]"
Processing section "[PHOTOS]"
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 = MYGROUP
    server string = Samba Server Version %v
    log file = /var/log/samba/log.%m
    max log size = 50
    idmap config * : backend = tdb
    cups options = raw

[homes]
    comment = Home Directories
    read only = No
    browseable = No

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

[photos_videos]
    comment = photos-videos
    path = /media/my_data/photos_videos
    valid users = cilla

[PHOTOS]
    path = /media/my_data/photos_videos/PHOTOS
    valid users = cilla

ps ax|grep nmb
 5467 ?        Ss     0:00 /usr/sbin/nmbd

-- 
Paul Cartwright
Registered Linux User #367800 and new counter #561587



More information about the Ale mailing list