Re: Samba question...
Reboot? Hopefully you meant restart, an in: /etc/init.d/smb restart (or the equiv command on your box). On 4/14/08 10:36 PM, Gary Kaufman [EMAIL PROTECTED] wrote: Found my problem - I had edited samba.conf but forgot to reboot. argh Sorry for the bandwith. - Gary ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Samba question...
Found my problem - I had edited samba.conf but forgot to reboot. argh Sorry for the bandwith. - Gary --- Gary Kaufman [EMAIL PROTECTED] wrote: A newbie question - ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Samba Question
On Sat, 24 Jul 2004, at 5:31pm, [EMAIL PROTECTED] wrote: ( I now it is old but it is what I have) You know that Linux is free, right? You can go and download the latest Red Hat Linux (now called Fedora Linux) for free: http://fedora.redhat.com If you don't have the bandwidth, you can have CDs mailed to you for less then nine dollars: http://www.cheapbytes.com/ Or try one of the many other Linux distros: http://www.linux.org/dist/ Debian and Slackware are fairly mainstream (as such things go) and run well on older hardware. Or show up at one of the GNHLUG meetings, and you'll likely find someone willing to burn you a copy of whatever you want for free (or maybe cost of media). I can understand when people don't want to upgrade a network based on proprietary software; it can cost thousands and thousands of dollars, even on a very small network. But for what you're describing, the cost of a brand new version of Linux should basically be free. It's worth it. Reply to the Samba question will be in a separate message. -- Ben Scott [EMAIL PROTECTED] | The opinions expressed in this message are those of the author and do | | not represent the views or policy of any other person or organization. | | All information is provided without warranty of any kind. | ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Samba Question
On Sat, 24 Jul 2004, at 5:31pm, [EMAIL PROTECTED] wrote: the logs say that Samba is started but I can not get it to show up on my windows network. Issue all of the following commands at the shell prompt on your Linux/Samba computer. Try: ps ax | grep smbd If you do not see at least one smbd process running, then Samba is not running. It may be that Samba is attempting to start but failing. Try: testparm The above will test your Samba configuration file. If it complains of problems, fix them. Try: smbclient -L //localhost That should list the shares on the local Samba server. If it fails, post the error message. If it works, at least part of Samba is working. If the above works, try: smbclient -L //foo where foo is the name of your Samba server. Let us know the results of the above, and we'll go from there. -- Ben Scott [EMAIL PROTECTED] | The opinions expressed in this message are those of the author and do | | not represent the views or policy of any other person or organization. | | All information is provided without warranty of any kind. | ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Samba Question
c.e.smith wrote: I am runnjing a mixed network of win 98 and win xp the primary machine i was testing on was xp. the samba version is not available in the man pages or config file, but it comes with redhat 6.0 I have encripted passwords disabeled I didn't want to have to use passwords at all since this is a privae home network the path to the share is created I haven't added any smb users (addsmbuser ?) no messages with the name of the client machine it just looks like it is running as localhost I've redirected my reply back to the list so as to share my answer. You must use encrypted passwords in Samba. Windows above 95 use encrypted passwords. (And, patched versions of Windows 95 can use them too.) You would have to edit the registry on each of the Windows boxes to make them work with unencrypted paswords. It's easier to just enable encrypted passwords. The passwords can be blank, but the encryption still needs to be on. You must also add users to Samba. You must add a Linux user first (useradd USERNAME) and then add a Samba user (smbpasswd -a USERNAME). If you want a blank password, use this command: smbpasswd -a -n USERNAME (The -n means no password. The -a means add Samba user.) To check your version of Samba, use this command: smbd -V To check the status of Samba connections, use this: smbstatus Hope this helps. -- Dan Jenkins ([EMAIL PROTECTED]) Rastech Inc., Bedford, NH, USA --- 1-603-624-7272 *** Technical Support for over a Quarter Century ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Samba Question
c.e.smith wrote: I am running Samba 2.* with redhat 6 ( I now it is old but it is what I have) on an old p II and I want to set it up so that I can store files on it. I and ping the machine ftp in to it or telnet into it. the logs say that Samba is started but I can not get it to show up on my windows network. I am using the standard smb.conf file with a change in work group to my WorkGroup. my smb print servers (netgear) show up no problem. any light anyone can shed to help get this running will be much appreciated. thanks chris [EMAIL PROTECTED] Do you have all the permissions set up for home directories etc and have you added the users to the smb password file? and do you have encrypted passwords set up ? ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
Re: Samba Question
c.e.smith wrote: I am running Samba 2.* with redhat 6 ( I now it is old but it is what I have) on an old p II and I want to set it up so that I can store files on it. I and ping the machine ftp in to it or telnet into it. the logs say that Samba is started but I can not get it to show up on my windows network. I am using the standard smb.conf file with a change in work group to my WorkGroup. my smb print servers (netgear) show up no problem. any light anyone can shed to help get this running will be much appreciated. What version(s) of Windows are you running? Is it Samba 2.0.x or 2.2.x? Do have you encrypted passwords disabled or enabled? Have you created any shares in smb.conf? Have you added smb users? Do you see any messages in /var/log/samba/log.XXX (where XXX is name of your client system)? -- Dan Jenkins ([EMAIL PROTECTED]) Rastech Inc., Bedford, NH, USA --- 1-603-624-7272 *** Technical Support for over a Quarter Century ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss
RE: Samba Question
Here is what I do concord:/ # ls -l total 112 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxrwxrwx2 root root 48 2003-05-03 20:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:11 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 112 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 28 root root 1056 2003-06-12 22:08 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows concord:/ # concord:/ # mount -t smbfs -o rw,username=rsharpe,password=xxx //bedford/apps /apps INFO: Debug class all level = 1 (pid 3163 from pid 3163) concord:/ # concord:/ # ls -l total 116 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxr-xr-x1 root root 4096 2003-06-07 15:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:06 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 114 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 29 root root 1096 2003-06-12 22:04 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows [EMAIL PROTECTED]:~ cd /apps [EMAIL PROTECTED]:/apps ls Backup Ghost_images QUICKENW_BACKUPTax00 BackupExec8.6INFOSHARE QuickBrochures Tax01A Backup_Linux Mail_archive RECYCLER Temp Backup_Marianne My SQL Remote Desktop Client WUTemp Backup_Warner_files My Videos SFU msdownld.tmp CS430BetaPIXWORKS Sierra ttax01B DATAFILE Program Files System Volume Information vncinst DOWNLOAD QUICKENW TTAX02 [EMAIL PROTECTED]:/apps ls foo.bar bash: foo.bar: Permission denied [EMAIL PROTECTED]:/apps Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE ...(603) 579-6180 / (800) 431-8031 Cell phone ..(603) 320-7785 FAX ...(603) 578-1072 EMAIL [EMAIL PROTECTED] / Webpage ...www.amherst1.com Tenemos que tener fe (We must have faith) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; GNHLUG mailing list Subject: Re: Samba Question Well... it's a little hard to tell, since I don't know what it is you're doing to see the files, but it sounds as if you're not authenticating as a domain user. How are you seeing the files? Through an SMB browser (eg. Konqueror)? Mounting the SMB share? Whatever way, you should be telling it: your username your password and, implicitly or explicitly, the domain If you're not, you're likely logging in as guest, which pursuant permissions (or lack thereof). -Ken Hi I have got myself confused, how do you make a Windows Server 2000 share read/writeable using samba, I can attach just fine and read but can not get write perms on the share through the samba mount point.The Windows share has the perms set to full access for everyone. Thanks Much Rich -- Richard A Sharpe DBA - DB2/Sybase/Oracle/Sqlserver Merrimack, NH 03054 ___ gnhlug-discuss mailing
RE: Samba Question
Okay; it took me a few moments to figure it out. When you do the mount, files are (apparently -- I'm going by empirical evidence, here) created as root... and if root doesn't have permission to write the drive, you're SOL. The way around this is the uid gid options, thusly: mount -t smbfs -o rw,uid=rsharpe,gid=rshapre,username=rsharpe,password=xxx //bedford/apps /apps (Yeah, that should all be on one line.) Then, your writes will occur as -you-, and not as root. I have no idea if a local Unix account is required, but I'm guessing not. -Ken Here is what I do concord:/ # ls -l total 112 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxrwxrwx2 root root 48 2003-05-03 20:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:11 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 112 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 28 root root 1056 2003-06-12 22:08 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows concord:/ # concord:/ # mount -t smbfs -o rw,username=rsharpe,password=xxx //bedford/apps /apps INFO: Debug class all level = 1 (pid 3163 from pid 3163) concord:/ # concord:/ # ls -l total 116 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxr-xr-x1 root root 4096 2003-06-07 15:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:06 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 114 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 29 root root 1096 2003-06-12 22:04 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows [EMAIL PROTECTED]:~ cd /apps [EMAIL PROTECTED]:/apps ls Backup Ghost_images QUICKENW_BACKUPTax00 BackupExec8.6INFOSHARE QuickBrochures Tax01A Backup_Linux Mail_archive RECYCLER Temp Backup_Marianne My SQL Remote Desktop Client WUTemp Backup_Warner_files My Videos SFU msdownld.tmp CS430BetaPIXWORKS Sierra ttax01B DATAFILE Program Files System Volume Information vncinst DOWNLOAD QUICKENW TTAX02 [EMAIL PROTECTED]:/apps ls foo.bar bash: foo.bar: Permission denied [EMAIL PROTECTED]:/apps Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE ...(603) 579-6180 / (800) 431-8031 Cell phone ..(603) 320-7785 FAX ...(603) 578-1072 EMAIL [EMAIL PROTECTED] / Webpage ...www.amherst1.com Tenemos que tener fe (We must have faith) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2003 11:11 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; GNHLUG mailing list Subject: Re: Samba Question Well... it's a little hard to tell, since I don't know what it is you're doing to see the files, but it sounds as if you're not authenticating as a domain user. How are you seeing the files? Through an SMB browser (eg. Konqueror)? Mounting the SMB share? Whatever way, you should be telling it: your username
RE: Samba Question
Thanks Ken, That worked, plus another way worked also: mount -t smbfs -o rw,username=rsharpe,password=xxx -o dmask=777 //bedford/apps /apps Much appreciated Rich Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE ...(603) 579-6180 / (800) 431-8031 Cell phone ..(603) 320-7785 FAX ...(603) 578-1072 EMAIL [EMAIL PROTECTED] / Webpage ...www.amherst1.com Tenemos que tener fe (We must have faith) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, June 13, 2003 10:09 AM To: Sharpe, Richard Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; GNHLUG mailing list Subject: RE: Samba Question Okay; it took me a few moments to figure it out. When you do the mount, files are (apparently -- I'm going by empirical evidence, here) created as root... and if root doesn't have permission to write the drive, you're SOL. The way around this is the uid gid options, thusly: mount -t smbfs -o rw,uid=rsharpe,gid=rshapre,username=rsharpe,password=xxx //bedford/apps /apps (Yeah, that should all be on one line.) Then, your writes will occur as -you-, and not as root. I have no idea if a local Unix account is required, but I'm guessing not. -Ken Here is what I do concord:/ # ls -l total 112 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxrwxrwx2 root root 48 2003-05-03 20:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:11 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 112 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 28 root root 1056 2003-06-12 22:08 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows concord:/ # concord:/ # mount -t smbfs -o rw,username=rsharpe,password=xxx //bedford/apps /apps INFO: Debug class all level = 1 (pid 3163 from pid 3163) concord:/ # concord:/ # ls -l total 116 drwxr-xr-x 22 root root 512 2003-06-12 21:53 . drwxr-xr-x 22 root root 512 2003-06-12 21:53 .. drwxr-xr-x1 root root 4096 2003-06-07 15:29 apps drwxr-xr-x2 root root 2112 2003-05-02 18:42 bin drwxr-xr-x3 root root 416 2003-06-09 18:20 boot drwxr-xr-x 29 root root94848 2003-06-12 21:23 dev drwxr-xr-x 60 root root 6400 2003-06-12 22:06 etc drwxr-xr-x3 root root 72 2003-05-02 21:04 home drwxr-xr-x7 root root 2768 2003-05-02 20:58 lib drwxr-xr-x6 root root 152 2003-03-18 12:49 media drwxr-xr-x2 root root 48 2003-03-18 12:49 mnt drwxr-xr-x8 root root 208 2003-05-02 19:16 opt dr-xr-xr-x 114 root root0 2003-06-12 17:23 proc drwx-- 17 root root 728 2003-06-12 22:03 root drwxr-xr-x3 root root 7096 2003-05-02 20:58 sbin drwxr-xr-x4 root root 96 2003-05-02 18:25 srv drwxrwxrwt 29 root root 1096 2003-06-12 22:04 tmp drwxr-xr-x 13 root root 368 2003-06-07 13:36 usr drwxr-xr-x 14 root root 360 2003-05-02 18:28 var drwxr-xr-x3 root root 96 2003-05-02 18:23 windows [EMAIL PROTECTED]:~ cd /apps [EMAIL PROTECTED]:/apps ls Backup Ghost_images QUICKENW_BACKUPTax00 BackupExec8.6INFOSHARE QuickBrochures Tax01A Backup_Linux Mail_archive RECYCLER Temp Backup_Marianne My SQL Remote Desktop Client WUTemp Backup_Warner_files My Videos SFU msdownld.tmp CS430BetaPIXWORKS Sierra ttax01B DATAFILE Program Files System Volume Information vncinst DOWNLOAD QUICKENW TTAX02 [EMAIL PROTECTED]:/apps ls foo.bar bash: foo.bar: Permission denied [EMAIL PROTECTED]:/apps Richard A Sharpe Database Analyst and Administration (DBA) Sqlserver/DB2 Amherst Technologies 40 Continental Blvd Merrimack, NH 03054 PHONE
Re: Samba Question
Well... it's a little hard to tell, since I don't know what it is you're doing to see the files, but it sounds as if you're not authenticating as a domain user. How are you seeing the files? Through an SMB browser (eg. Konqueror)? Mounting the SMB share? Whatever way, you should be telling it: your username your password and, implicitly or explicitly, the domain If you're not, you're likely logging in as guest, which pursuant permissions (or lack thereof). -Ken Hi I have got myself confused, how do you make a Windows Server 2000 share read/writeable using samba, I can attach just fine and read but can not get write perms on the share through the samba mount point.The Windows share has the perms set to full access for everyone. Thanks Much Rich -- Richard A Sharpe DBA - DB2/Sybase/Oracle/Sqlserver Merrimack, NH 03054 ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss ___ gnhlug-discuss mailing list [EMAIL PROTECTED] http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss