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
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
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
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
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
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
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
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
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
LEARN ABOUT BSD
getfsfile
GETFSENT(3) Library Functions Manual GETFSENT(3)
NAME
getfsent, getfsspec, getfsfile, getfstype, setfsent, endfsent - get file system descriptor file entry
SYNOPSIS
#include <fstab.h>
struct fstab *getfsent()
struct fstab *getfsspec(spec)
char *spec;
struct fstab *getfsfile(file)
char *file;
struct fstab *getfstype(type)
char *type;
int setfsent()
int endfsent()
DESCRIPTION
Getfsent, getfsspec, getfstype, and getfsfile each return a pointer to an object with the following structure containing the broken-out
fields of a line in the file system description file, <fstab.h>.
struct fstab {
char *fs_spec;
char *fs_file;
char *fs_type;
int fs_freq;
int fs_passno;
};
The fields have meanings described in fstab(5).
Getfsent reads the next line of the file, opening the file if necessary.
Setfsent opens and rewinds the file.
Endfsent closes the file.
Getfsspec and getfsfile sequentially search from the beginning of the file until a matching special file name or file system file name is
found, or until EOF is encountered. Getfstype does likewise, matching on the file system type field.
FILES
/etc/fstab
SEE ALSO
fstab(5)
DIAGNOSTICS
Null pointer (0) returned on EOF or error.
BUGS
All information is contained in a static area so it must be copied if it is to be saved.
4th Berkeley Distribution May 12, 1986 GETFSENT(3)