Sponsored Content
Full Discussion: Samba Help
Operating Systems Linux Ubuntu Samba Help Post 303019715 by Corona688 on Wednesday 4th of July 2018 10:15:43 AM
Old 07-04-2018
Quote:
Originally Posted by TBotNik
Corona688,

I need the SAMBA as i explained it must come up on bootup, and therefore has to be in the fstab to auto load with all required passwords.
To repeat:

Samba serves shares. I don't know what purpose putting it in fstab would serve.

Your question remains too large and vague to effectively answer. "how do I do everything" is not a good question. Try a little on your own and narrow it down.
 

8 More Discussions You Might Find Interesting

1. Programming

Samba 2.2.4

Has any setup samba 2.2.4 inside of unix ver 11.0, i am trying to mount a nfs mount on a w2k, and wxp box, and i was told that i had to upgrade to sambe 2.2.4, but the c compiler on ver 11.0 isnt ansii compatable, I could please use any help or directions on this matter... thanks (0 Replies)
Discussion started by: marvin51796
0 Replies

2. UNIX for Dummies Questions & Answers

Need Samba Help

Hi, I am very new to Unix, do know some RedHat linux. I am wanting to install samba on my unix machine. Not sure where to start, any help would be very much appreciated. Thanks, Chris Lewis (4 Replies)
Discussion started by: lewy33
4 Replies

3. UNIX for Dummies Questions & Answers

Why use Samba?

Hi, I am sorry I am total dummy in Unix. I am starting to explore a thing call "Samba". From my initial and rough finding, I think Samba is only useful in providing Print services to PC platform users. That is to say, The Unix machine which has Samba installed, is able to provide print... (3 Replies)
Discussion started by: champion
3 Replies

4. Solaris

SAMBA - where?

Greetings.. I need SAMBA to implement a backup strategy , the problem is that i cant find it anywhere... can u guys gimme a link to a sun compatilble version of samba ? thanx thanx htanx..... :rolleyes: (3 Replies)
Discussion started by: nEuRoMaNcEr
3 Replies

5. UNIX for Dummies Questions & Answers

Samba help

Hey. I have a question about adding users and maping theirs dirictorys. Main Folder | -User1 Folder -User2 Folder -User3 Folder ...... How can I add this users to have folders in the Main Folder ? any simple script? And I... (0 Replies)
Discussion started by: net555
0 Replies

6. UNIX for Dummies Questions & Answers

Samba

after creating username/passwd, vi /usr/lib/smb.conf file comment = dropoff location path = /tmp/droloc browsable = No available = yes public = no writable = yes printable = no create mode = 777 valid users = tjmann,palexander,bmartin,.... instead of using... (2 Replies)
Discussion started by: tjmannonline
2 Replies

7. UNIX for Dummies Questions & Answers

SAMBA

currently, we are using SAMBA for our ftp way. can SAMBA be encrypted aka sftp ? (2 Replies)
Discussion started by: lawsongeek
2 Replies

8. Solaris

samba issue: one samba share without password prompting and the others with.

Hi All, I've been trying to configure samba on Solaris 10 to allow me to have one share that is open and writable to all users and have the rest of my shares password protected by a generic account. If I set my security to user, my secured shares work just fine and prompt accordingly, but when... (0 Replies)
Discussion started by: ideal2545
0 Replies
GETFSENT(3)						     Linux Programmer's Manual						       GETFSENT(3)

NAME
getfsent, getfsspec, getfsfile, setfsent, endfsent - handle fstab entries SYNOPSIS
#include <fstab.h> void endfsent(void); struct fstab *getfsent(void); struct fstab *getfsfile(const char *mount_point); struct fstab *getfsspec(const char *special_file); int setfsent(void); DESCRIPTION
These functions read from the file /etc/fstab. The struct fstab is defined by struct fstab { char *fs_spec; /* block device name */ char *fs_file; /* mount point */ char *fs_vfstype; /* filesystem type */ char *fs_mntops; /* mount options */ const char *fs_type; /* rw/rq/ro/sw/xx option */ int fs_freq; /* dump frequency, in days */ int fs_passno; /* pass number on parallel dump */ }; Here the field fs_type contains (on a *BSD system) one of the five strings "rw", "rq", "ro", "sw", "xx" (read-write, read-write with quo- tas, read-only, swap, ignore). The function setfsent() opens the file when required and positions it at the first line. The function getfsent() parses the next line from the file. (After opening it when required.) The function endfsent() closes the file when required. The function getfsspec() searches the file from the start and returns the first entry found for which the fs_spec field matches the spe- cial_file argument. The function getfsfile() searches the file from the start and returns the first entry found for which the fs_file field matches the mount_point argument. RETURN VALUE
Upon success, the functions getfsent(), getfsfile(), and getfsspec() return a pointer to a struct fstab, while setfsent() returns 1. Upon failure or end-of-file, these functions return NULL and 0, respectively. HISTORY
The getfsent() function appeared in 4.0BSD; the other four functions appeared in 4.3BSD. CONFORMING TO
These functions are not in POSIX. Several operating systems have them, e.g., *BSD, SunOS, Digital Unix, AIX (which also has a getfstype()). HP-UX has functions of the same names, that however use a struct checklist instead of a struct fstab, and calls these functions obsolete, superseded by getmntent(3). NOTES
These functions are not thread-safe. Since Linux allows mounting a block special device in several places, and since several devices can have the same mount point, where the last device with a given mount point is the interesting one, while getfsfile() and getfsspec() only return the first occurrence, these two functions are not suitable for use under Linux. SEE ALSO
getmntent(3), fstab(5) Linux 2.5 2002-02-28 GETFSENT(3)
All times are GMT -4. The time now is 11:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy