Visit Our UNIX and Linux User Community


Samba pre-install questions.


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Samba pre-install questions.
# 8  
Old 08-30-2009
What is the output of "ls -ald /shared"?
# 9  
Old 08-30-2009
this is the output of ls -ald /shared

drwxrw-rw- 2 root root 4096 2009-08-29 00:52 /shared

now, I was thinking that /shared which is used by [fxshare] is independant of /home/fred which is the share dealt with in [homes] (I think), but really I am not certain of that.

thanks for the help.
# 10  
Old 08-30-2009
the [homes] share appears to have no directory assigned to it, i'm not sure the share will work like that. if you have more users logging on, you may want to set this share to be browseable as well (as you have not set the samba server to work as a domain controller as well).

check the permissions for this share as well with the ls command:
Code:
ls -ald /home/fred


Last edited by Leppie; 08-30-2009 at 02:03 PM..
# 11  
Old 08-30-2009
Quote:
Originally Posted by Leppie
the [homes] share appears to have no directory assigned to it, i'm not sure the share will work like that. if you have more users logging on, you may want to set this share to be browseable as well (as you have not set the samba server to work as a domain controller as well).

check the permissions for this share as well with the ls command:
Code:
ls -ald /home/fred

okay rights to /home/fred were 755 rwxr-xto r-x, I changed them to 777 (overkill) so ls -ald /home/fred gives

drwxrwxrwx 2 fred fred 4096 2009-08-30 10:55 fred

anyways, I added path = /home/fred to the [homes] and no difference. I would not have though it was necessary anyway, as I thought [homes] was a generic thing which allowed properly defined windows users to map to their Unix home directories. After all, as fred in Windows I could map to that home directory without the path being specified, I just couldn't write to it.

ok I am assuming that /usr/sbin/smbd /restart is sufficient to implement any changes to smb.conf


edit: ok the whole point was to have an easy mechanism for transfering files. seeing as how I am already using ssh and putty, I eventually discovered sftp which does nicely what I couldn't get Samba to do. So the heat is off, eventually I'll revisit the Samba issue. Thanks anyways.

Last edited by fguy; 08-30-2009 at 11:08 PM..
 

Previous Thread | Next Thread
Test Your Knowledge in Computers #454
Difficulty: Medium
LibreOffice is a free and open office suite developed and maintained by IBM.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

samba error after install with pkgadd

Hello this is samiulla. i face this issue. i installed samba with pkgadd after i install i add paths for that. -bash-3.00# echo $PATH /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/local/samba/sbin:/usr/local/samba/bin/ -bash-3.00# when enter this commad smbd -D i got this error smbd -D... (3 Replies)
Discussion started by: samiulla
3 Replies

2. Solaris

Samba 3.6.5 install problems

Hi all, I'm trying to update my samba 3.5.10 to 3.6.5 due to security CVE issued with 3.5. I downloaded and unzipped, did the make and make install and the ./configure. I didn't use any changes to it and it said it installed correctly added it to my path and it looks like it's operating... (6 Replies)
Discussion started by: mattymatt79
6 Replies

3. Solaris

Two simple questions about Solaris DCHP and Samba

I have two simple questions First is :can dhcp server NATIVE of solaris perform dhcp updates of bind via dnssec like dchpd on linux? Second: Is possible to build a pdc with samba and iplanet ldap server?Or is better with openldap? I never found howto or discussions about iplanet server. Thanks (0 Replies)
Discussion started by: Linusolaradm1
0 Replies

4. Red Hat

RHEL Kickstart Pre-Install script

Hey all, I'm not sure if this possible but I had tested it out manually during the installation (placed a sleep in the pre-installation) and it worked. I'm trying to have a pexpect script to log into the mysql and input a new row for the pre-installation, which will end up displaying on a web... (1 Reply)
Discussion started by: karljbaker
1 Replies

5. Red Hat

how can i know what arguments are passed to a pre install rpm script?

hi, i have an rpm, and i am looking at the presinstall script. i can see it takes in an argument, but what i do not know is how this argument is passed to the script? is there something that calls the preinstall script? i thought the preinstall script was the first thing executed. thanks (2 Replies)
Discussion started by: JamesByars
2 Replies

6. Solaris

Samba Compiling questions

OS: Solaris 10 I downloaded a binary from samba.org (3.0.24) I extracted the file and ran the following command: # ./configure --prefix=/usr/sfw --with-configdir=/etc/sfw --with-winbind Now I am trying to understand the compile process but I can't find many answers online ... (10 Replies)
Discussion started by: Keepcase
10 Replies

7. UNIX for Advanced & Expert Users

Samba: Install w/o Root

I've had some recent success compiling some simple programs to my home directory without root access (wget, screen, less). My Question is this: Can I compile a complex program like Samba WITHOUT root access to my home directory? Or are the multiple library dependencies going to cause an issue?... (2 Replies)
Discussion started by: goldfish
2 Replies

8. AIX

Samba install on AIX 5.2

Ok I'm still trying to figure AIX out, I was used to HP-UX until they switched our server to AIX in February and all of the other servers are Linux which appears to be much more friendly. AIX is, well, NOT. I am trying to install Samba so I can copy files onto a Windows SQL server - that's all... (5 Replies)
Discussion started by: rball
5 Replies

9. AIX

Install Samba

Hello Can someone help how to install samba on aix 5.3, I go to tha samba page and i download two files opt-samba-base.tar.gz opt-samba-3.0.28-AIX5.tar.gz and I read the readme file but there is a file that miss and I dont know if I need to do this necessary "You can now verify... (9 Replies)
Discussion started by: lo-lp-kl
9 Replies

10. UNIX for Advanced & Expert Users

samba questions (password conversion to blowfish and is it wise to sync the useraccou

i stumbled upon something that gave some nice instructions on how to convert FreeBSD passwords from md5 to blowfish. it was simple and straight forward and it worked. i'm running samba on the machine. now i know the tutorial i was following had something where a user's samba and machine... (1 Reply)
Discussion started by: xyyz
1 Replies

Featured Tech Videos