Re: [opensuse] Samba Frustration
On Friday 26 September 2008 02:10:46 pm you wrote:
* Kai Ponte <kai@perfectreign.com> [09-26-08 16:53]:
I went to YaST > System Services (Runlevel) and checked on smbfs. It had an asterick next to it and smb. I hit enable and smb started. However, smbfs gave tme the message,
/etc/init.d/smbfs start returned 6 (program is not configured):
Not sure what that is.
confusion, rcsmb /= rcsmbfs
OK. I see a cryptic name and just figured it was related. :O
Running rcsmb status still shows as dead.
Trying to connect from Windows still shows unable.
Is your Firewall up ? Try disabling it.
No firewall.
as root: rcsmb start rcnmb start
both *must* be running, then try access from windoz machine
start -> run -> \\111.222.333.444\
Thanks patrick. However, I get nyah... kai@xwing:~> su Password: xwing:/home/kai # rcsmb start Starting Samba SMB daemon - Warning: /var/run/samba/smbd.pid exists. done xwing:/home/kai # rcnmb start Starting Samba NMB daemon - Warning: /var/run/samba/nmbd.pid exists. failed Checking messages... xwing:/home/kai # tail /var/log/messages Sep 26 14:37:23 xwing smbd[30295]: [2008/09/26 14:37:23, 0] param/loadparm.c:lp_do_parameter(3521) Sep 26 14:37:23 xwing smbd[30295]: Global parameter guest account found in service section! Sep 26 14:37:24 xwing smbd[30296]: [2008/09/26 14:37:24, 0] passdb/pdb_interface.c:guest_user_info(256) Sep 26 14:37:24 xwing smbd[30296]: guest_user_info: Unable to locate guest account [smbguest]! Sep 26 14:37:24 xwing smbd[30296]: [2008/09/26 14:37:24, 0] smbd/server.c:main(1059) Sep 26 14:37:24 xwing smbd[30296]: ERROR: failed to setup guest info. Sep 26 14:37:32 xwing nmbd[30312]: [2008/09/26 14:37:32, 0] nmbd/nmbd_subnetdb.c:create_subnets(245) Sep 26 14:37:32 xwing nmbd[30312]: create_subnets: unable to create any subnet from given interfaces. nmbd is terminating Sep 26 14:37:32 xwing nmbd[30312]: [2008/09/26 14:37:32, 0] nmbd/nmbd.c:main(771) Sep 26 14:37:32 xwing nmbd[30312]: ERROR: Failed when creating subnet lists. Exiting. xwing:/home/kai # In doing some searching I found various items about permissions and whatnot. Apparently I have a configuration file - smb.conf - that contains some information. Here it is... [global] server string = Samba file and print server hosts allow = 127. 192.168.0. interfaces = 127.0.0.1/8 192.168.0.0/24 bind interfaces only = yes remote announce = 192.168.0.255 remote browse sync = 192.168.0.255 printcap name = cups cups options = raw printing = cups guest account = smbguest log file = /var/log/samba/samba.log max log size = 1000 username level = 6 password level = 6 unix password sync = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 local master = no domain master = no preferred master = no os level = 33 logon drive = m: logon home = \\%L\homes\%u logon path = \\%L\profiles\%u logon script = %G.bat name resolve order = wins lmhosts bcast dns proxy = no client use spnego = no client signing = no client schannel = no server schannel = no allow trusted domains = no obey pam restrictions = yes enable spoolss = yes client plaintext auth = no follow symlinks = no update encrypted = yes passwd chat timeout = 120 username map = /etc/samba/smbusers passwd program = /usr/bin/passwd '%u' passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u' add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u' add group script = /usr/sbin/groupadd '%g' delete user script = /usr/sbin/userdel '%u' delete user from group script = /usr/sbin/userdel '%u' '%g' delete group script = /usr/sbin/groupdel '%g' add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u' machine password timeout = 120 winbind uid = 16777216-33554431 winbind gid = 16777216-33554431 template shell = /dev/null winbind use default domain = yes winbind separator = @ winbind cache time = 360 winbind trusted domains only = yes winbind nested groups = no winbind nss info = no include = /etc/samba/dhcp.conf workgroup = vims [homes] comment = Home Directories path = /home read only = no share modes = no locking = no [netlogon] comment = Network Logon Service path = /home/netlogon share modes = no locking = no [profiles] comment = User Profiles path = /var/samba/profiles read only = no browseable = no locking = no create mask = 0600 directory mask = 0700 [printers] comment = All Printers path = /var/spool/samba printable = yes share modes = no locking = no [pdf-documents] path = /home/pdf-documents comment = Converted PDF Documents read only = no guest ok = yes [pdf-printer] path = /tmp comment = PDF Printer Service printable = yes guest ok = yes use client driver = yes printing = bsd print command = /usr/bin/gadmin-samba-pdf %s %u [kai] path = /home/kai/ guest account = at case sensitive = no strict locking = no msdfs proxy = no username = kai hosts allow = guest ok = yes read only = no -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Kai Ponte <kai@perfectreign.com> [09-26-08 17:49]:
On Friday 26 September 2008 02:10:46 pm you wrote:
as root: rcsmb start rcnmb start
both *must* be running, then try access from windoz machine
start -> run -> \\111.222.333.444\
However, I get nyah...
kai@xwing:~> su Password: xwing:/home/kai # rcsmb start Starting Samba SMB daemon - Warning: /var/run/samba/smbd.pid exists. done xwing:/home/kai # rcnmb start Starting Samba NMB daemon - Warning: /var/run/samba/nmbd.pid exists. failed
note: failed means failed as in "it didn't start" failure message also says that a pid exists, perhaps removing it will allow nmb to start. hint: rm /var/run/samba/nmbd.pid note2: I am not a lawyer or linux expert, especially samba. But I do have it providing access to my machine from windoz and to windoz. gud luk, -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
...lots of text cutout, see thread..
Hi list and Kai - may I suggest that you temporarily cp your original smb.conf to smb.conf_kai and then try a simple, standard one a la: [global] workgroup = WORKGROUP printing = cups printcap name = cups printcap cache time = 750 cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = Yes add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain logons = No domain master = No security = user [grafik] comment = GRAFIK path = /home/vk/Documents/Grafik read only = No valid users = @users, vk As you can see it only gives you one pretty basic share in this case named "grafik". Now get samba running, do "rcsmb restart". Later on you would check it in Yast to make sure it runs in runlevel 3 and/or 5. Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?)) goto Samba. Now convert all users (or just your account to smb users) - and set your samba password. Alternatively, do #/usr/bin/smbpasswd your-user-name", this will also create a smb user/passwd in /etc/samba/smbpasswd etc. Then goto konquerer and type "smb://IP-of-your-samba-server-could-be-localhost" This should give you a list of shares, in this case just the "grafik" share. When this runs, you may hereafter start playing with smb.conf, remember to restart smb after each modif. Do "rcsmb restart" -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Novell Certified Linux Professional 10035701 ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?))
Let's hope not. -- Brian K. White brian@aljex.com http://www.myspace.com/KEYofR +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++. filePro BBx Linux SCO FreeBSD #callahans Satriani Filk! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 September 2008 12:52:36 am Verner Kjærsgaard wrote:
As you can see it only gives you one pretty basic share in this case named "grafik".
Now get samba running, do "rcsmb restart". Later on you would check it in Yast to make sure it runs in runlevel 3 and/or 5.
Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?))
Um, never heard of it. I have it now. http://www.webmin.com/ It isn't included in smart - that came up with something called webpin. Oh, and it is https://localhost:10000/ - need the SSL portion. I decided to trust myself and accepted my certificate. :) See enclosed screenshot and at: http://www.perfectreign.com/stuff/2008/smb_share.png
goto Samba. Now convert all users (or just your account to smb users) - and set your samba password.
Not quite sure where that part is - i messed around with webmin and haven't had success yet.
Alternatively, do #/usr/bin/smbpasswd your-user-name", this will also create a smb user/passwd in /etc/samba/smbpasswd etc.
I think I did that... xwing:/home/kai # /usr/bin/smbpasswd kai New SMB password: Retype new SMB password:
Then goto konquerer and type "smb://IP-of-your-samba-server-could-be-localhost"
smb://kai@192.168.0.101 Timeout on server 192.168.0.101
This should give you a list of shares, in this case just the "grafik" share. When this runs, you may hereafter start playing with smb.conf, remember to restart smb after each modif. Do "rcsmb restart"
Did that. This is way too complicated. I'm actually very annoyed - not that I have an excuse for a free OS - that I can't just right-click a folder in Konqueror and have this "just work." -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request
On Sat, 2008-09-27 at 19:15 -0700, Kai Ponte wrote:
I think I did that...
xwing:/home/kai # /usr/bin/smbpasswd kai New SMB password:
Retype new SMB password:
try smbpasswd -a user -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 September 2008 09:24:30 pm Michael S. Dunsavage wrote:
On Sat, 2008-09-27 at 19:15 -0700, Kai Ponte wrote:
I think I did that...
xwing:/home/kai # /usr/bin/smbpasswd kai New SMB password:
Retype new SMB password:
try smbpasswd -a user
Just saw this. -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 September 2008 09:24:30 pm Michael S. Dunsavage wrote:
On Sat, 2008-09-27 at 19:15 -0700, Kai Ponte wrote:
I think I did that...
xwing:/home/kai # /usr/bin/smbpasswd kai New SMB password:
Retype new SMB password:
try smbpasswd -a user
Just saw this. xwing:/ # smbpasswd -a kai New SMB password: Retype new SMB password: When I try now, I still get Access denied to smb://kai@localhost/. Thanks for trying... -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 28 September 2008 08:09:44 am Kai Ponte wrote: ...
xwing:/ # smbpasswd -a kai New SMB password: Retype new SMB password:
When I try now, I still get
Access denied to smb://kai@localhost/.
Did you tried: rcsmb restart -- Regards, Rajko -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 28 September 2008 08:24:20 am Rajko M. wrote:
On Sunday 28 September 2008 08:09:44 am Kai Ponte wrote: ...
xwing:/ # smbpasswd -a kai New SMB password: Retype new SMB password:
When I try now, I still get
Access denied to smb://kai@localhost/.
Did you tried: rcsmb restart
Yes - several times. kai@xwing:~> su Password: xwing:/home/kai # rcsmb restart Shutting down Samba SMB daemon done Starting Samba SMB daemon done xwing:/home/kai # -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
On Sunday 28 September 2008 08:24:20 am Rajko M. wrote:
On Sunday 28 September 2008 08:09:44 am Kai Ponte wrote: ...
xwing:/ # smbpasswd -a kai New SMB password: Retype new SMB password:
When I try now, I still get
Access denied to smb://kai@localhost/.
Did you tried: rcsmb restart
Yes - several times.
kai@xwing:~> su Password: xwing:/home/kai # rcsmb restart Shutting down Samba SMB daemon done Starting Samba SMB daemon done xwing:/home/kai #
Kai, Perhaps I missed this in the threads, but are you sure you have the proper permissions set on the directory/files you are having Samba access? Samba can access what you point it to, but the basic permissions in your linux file system also need to be set to allow that user as well. You have to set both. I've never used this for a specific user, but have a share set up with file access to allow guests and all users can read/write. This suits my particular purpose for home network sharing. Fine tuning that should work. In older versions of Suse, Swat worked very well, and still probably does, but I find the Yast Samba tools to be very good now. Jim F -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 28 September 2008 09:25:03 pm Jim Flanagan wrote:
Perhaps I missed this in the threads, but are you sure you have the proper permissions set on the directory/files you are having Samba access? Samba can access what you point it to, but the basic permissions in your linux file system also need to be set to allow that user as well. You have to set both. I've never used this for a specific user, but have a share set up with file access to allow guests and all users can read/write. This suits my particular purpose for home network sharing. Fine tuning that should work. In older versions of Suse, Swat worked very well, and still probably does, but I find the Yast Samba tools to be very good now.
On the permissions, that is a good question. The folder I'm sharing is my own and I'm using the same username. I selected it from the list in Webmin. I have Browseable=yes, hosts to allow=all, possible users=kai, read/write users=kai, guest access=yes. -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
On Sunday 28 September 2008 09:25:03 pm Jim Flanagan wrote:
Perhaps I missed this in the threads, but are you sure you have the proper permissions set on the directory/files you are having Samba access? Samba can access what you point it to, but the basic permissions in your linux file system also need to be set to allow that user as well. You have to set both. I've never used this for a specific user, but have a share set up with file access to allow guests and all users can read/write. This suits my particular purpose for home network sharing. Fine tuning that should work. In older versions of Suse, Swat worked very well, and still probably does, but I find the Yast Samba tools to be very good now.
On the permissions, that is a good question.
The folder I'm sharing is my own and I'm using the same username. I selected it from the list in Webmin.
I have Browseable=yes, hosts to allow=all, possible users=kai, read/write users=kai, guest access=yes.
I'm not the expert on permissions, but what you have looks good to me. Just to rule that out, you could try setting them temporarily to all users, without specifying a user, try all users. That would rule out local permissions as your issue. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Ponte wrote:
On the permissions, that is a good question.
The folder I'm sharing is my own and I'm using the same username. I selected it from the list in Webmin.
I have Browseable=yes, hosts to allow=all, possible users=kai, read/write users=kai, guest access=yes.
I think one needs to get back to basics.... a) Can you browse the workgroup? i.e can you see all the machines in the workgroup, from all of the machines which are supposed to be in the workgroup? b) ditto with shares Once you have established this is working correctly, then is the time to try working with the url based access. MS workgroup networking depends on each machine maintaining a list of resources on the network, this can go seriously out of whack and you will get problems when it happens. Unfortunately, on the windows side the problem is not always easy to fix. It might be worth looking in the logs for browser issues if browsing is not producing the expected results. BTW SWAT does have control of the local samba server functions and will shutdown and restart the samba server, and includes access to extensive documentation and information on server status. Use... http://localhost:901/ to access SWAT. (Usually the root username and password will be required). - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEUEARECAAYFAkjgiocACgkQasN0sSnLmgLoegCggVP5YAwLKFFE4o4Bue90A+XZ 15cAmMNuUw8KnOv5pT+zHY4huHokCkg= =4I5r -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 29 September 2008 12:57:59 am G T Smith wrote:
Kai Ponte wrote:
On the permissions, that is a good question.
The folder I'm sharing is my own and I'm using the same username. I selected it from the list in Webmin.
I have Browseable=yes, hosts to allow=all, possible users=kai, read/write users=kai, guest access=yes.
I think one needs to get back to basics....
a) Can you browse the workgroup? i.e can you see all the machines in the workgroup, from all of the machines which are supposed to be in the workgroup?
I'll try it when I get back home. Right now I'm at work and the laptop is on the domain. (It isn't part of the domain, just connected.)
BTW SWAT does have control of the local samba server functions and will shutdown and restart the samba server, and includes access to extensive documentation and information on server status.
Use...
to access SWAT. (Usually the root username and password will be required).
SWAT? I think that was a television show I watched in the '70s. According to YaST/SMART the only thing with swat is myspell-swati. I'll search on the intraweb... -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
Use...
to access SWAT. (Usually the root username and password will be required).
SWAT? I think that was a television show I watched in the '70s.
According to YaST/SMART the only thing with swat is myspell-swati.
I'll search on the intraweb...
You have to enable swat in yast network services xinetd and then go to http://localhost:901/ in a web browser. Regards Dave P -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-09-29 at 17:14 +0200, Dave Plater wrote:
You have to enable swat in yast network services xinetd and then go to http://localhost:901/ in a web browser. Regards Dave P
Make sure you do service xinetd restart when you enable swat -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 29 September 2008 08:31:38 am Michael S. Dunsavage wrote:
On Mon, 2008-09-29 at 17:14 +0200, Dave Plater wrote:
You have to enable swat in yast network services xinetd and then go to http://localhost:901/ in a web browser. Regards Dave P
Make sure you do
service xinetd restart
when you enable swat
Okay, I have SWAT now. It created nyah: # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2008/09/29 09:24:20 [global] valid users = kai [kai] username = kai write list = kai read only = No guest ok = Yes available = No [homes] valid users = %S read only = No browseable = No I then did the following: xwing:/home/kai # service xinetd restart Shutting down xinetd: done Starting INET services. (xinetd) done xwing:/home/kai # rcsmb restart Shutting down Samba SMB daemon done Starting Samba SMB daemon done xwing:/home/kai # rcnmb restart Shutting down Samba NMB daemon done Starting Samba NMB daemon done xwing:/home/kai # Getting closer. (I'm at work now.) Does it matter what the domain is? I set it to WORKGROUP, since the laptop is not part of a domain while at work and my wife's computer at home is simply WORKGROUP. (Hers is Win2k, and I use it for printing - which occasionally causes grief when I'm in an adjacent room and suddenly her printer starts printing one of my documents.) -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-09-29 at 09:34 -0700, Kai Ponte wrote:
Does it matter what the domain is? I set it to WORKGROUP, since the laptop is not part of a domain while at work and my wife's computer at home is simply WORKGROUP
Yes, it does matter. But if you're using the name WORKGROUP on the windows boxen, then this too should be WORKGROUP domain. -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 29 September 2008 09:52:48 am Michael S. Dunsavage wrote:
On Mon, 2008-09-29 at 09:34 -0700, Kai Ponte wrote:
Does it matter what the domain is? I set it to WORKGROUP, since the laptop is not part of a domain while at work and my wife's computer at home is simply WORKGROUP
Yes, it does matter. But if you're using the name WORKGROUP on the windows boxen, then this too should be WORKGROUP domain.
So, how does one handle multiple workgroups/domains? For example, at home my workgroup is WORKGROUP. At work it is VIMS. At my father-in-law's house, it is GERRY. Do I need to change Samba all the time for this? I hadn't a problem connecting out. Maybe I'll stick with kpf. It is slow but it works. -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2008-09-29 at 10:01 -0700, Kai Ponte wrote:
So, how does one handle multiple workgroups/domains?
For example, at home my workgroup is WORKGROUP. At work it is VIMS. At my father-in-law's house, it is GERRY.
Do I need to change Samba all the time for this?
Well I would set up each workgroup w/ a samba server that I am a user on and then browse the entire network and then each workgroup that I would need @ the time. (click on My Computer on the desktop then Network Folders then Samba Shares then WorkgroupName) -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
On Monday 29 September 2008 08:31:38 am Michael S. Dunsavage wrote:
On Mon, 2008-09-29 at 17:14 +0200, Dave Plater wrote:
You have to enable swat in yast network services xinetd and then go to http://localhost:901/ in a web browser. Regards Dave P
Make sure you do
service xinetd restart
when you enable swat
Okay, I have SWAT now.
It created nyah:
# Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2008/09/29 09:24:20
[global] valid users = kai
[kai] username = kai write list = kai read only = No guest ok = Yes available = No
[homes] valid users = %S read only = No browseable = No
Why do you have available = No ?? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 29 September 2008 09:24:57 pm Jim Flanagan wrote:
[kai] username = kai write list = kai read only = No guest ok = Yes available = No
Why do you have available = No ??
Um, because teh SWAT team told me to write that? Actually, I just gave what the SWAT utility wrote. Is that wrong? ... I actually just did some searching. Apparently there's a command-line utility called testparm that can be run as root. It shows what samba will do with the current configuration file. Here's what I get. xwing:/home/kai # testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf Processing section "[kai]" WARNING: No path in service kai - making it unavailable! NOTE: Service kai is flagged unavailable. Processing section "[homes]" Processing section "[share]" WARNING: No path in service share - making it unavailable! NOTE: Service share is flagged unavailable. Loaded services file OK. Server role: ROLE_STANDALONE Hmm - that ain't good. Robert Urich came out and told me I'd better change. So I launched SWAT (http://www.youtube.com/watch?v=nUJu17fAnKU) and now have the following... # Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2008/09/29 21:32:31 [global] valid users = kai [kai] path = /home/kai username = kai write list = kai read only = No guest ok = Yes [homes] valid users = %S read only = No browseable = No I did an rcsmb and an rcnmb restart and both came out okay. I did a testparm and it came out okay xwing:/home/kai # testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf Processing section "[kai]" Processing section "[homes]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions However, I get a timeout when testing smb:\\192.168.0.101\kai (my ip on my local network) An error occurred while loading smb:\\192.168.0.101\kai: Timeout on server I then tried smb://192.168.0.101/kai and got it... http://www.perfectreign.com/stuff/2008/smb_share2.png ...and from my wife's Win2K machine... http://www.perfectreign.com/stuff/2008/samba_connect.jpg Whew! Finally. Thanks for the help! Now, on to making it easier and doable from the right-click menu on Konqueror. (But that is for another day.) -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request
On Monday 29 September 2008 09:54:20 pm Kai Ponte wrote:
http://www.perfectreign.com/stuff/2008/smb_share2.png
...and from my wife's Win2K machine...
http://www.perfectreign.com/stuff/2008/samba_connect.jpg
Whew! Finally.
Thanks for the help!
Now, on to making it easier and doable from the right-click menu on Konqueror.
(But that is for another day.)
Just as a follow-up, I got this also to work from my work machine (Vista) without making any changes to the laptop. http://www.perfectreign.com/stuff/2008/samba_vista.png -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request
Kai Ponte wrote:
On Monday 29 September 2008 09:24:57 pm Jim Flanagan wrote:
[kai] username = kai write list = kai read only = No guest ok = Yes available = No
Why do you have available = No ??
Um, because teh SWAT team told me to write that?
Actually, I just gave what the SWAT utility wrote. Is that wrong?
...
I actually just did some searching. Apparently there's a command-line utility called testparm that can be run as root. It shows what samba will do with the current configuration file.
Here's what I get.
xwing:/home/kai # testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf Processing section "[kai]" WARNING: No path in service kai - making it unavailable! NOTE: Service kai is flagged unavailable. Processing section "[homes]" Processing section "[share]" WARNING: No path in service share - making it unavailable! NOTE: Service share is flagged unavailable. Loaded services file OK. Server role: ROLE_STANDALONE
Hmm - that ain't good.
Robert Urich came out and told me I'd better change. So I launched SWAT (http://www.youtube.com/watch?v=nUJu17fAnKU) and now have the following...
# Samba config file created using SWAT # from 127.0.0.1 (127.0.0.1) # Date: 2008/09/29 21:32:31
[global] valid users = kai
[kai] path = /home/kai username = kai write list = kai read only = No guest ok = Yes
[homes] valid users = %S read only = No browseable = No
I did an rcsmb and an rcnmb restart and both came out okay. I did a testparm and it came out okay
xwing:/home/kai # testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf Processing section "[kai]" Processing section "[homes]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions
However, I get a timeout when testing smb:\\192.168.0.101\kai (my ip on my local network)
An error occurred while loading smb:\\192.168.0.101\kai: Timeout on server
I then tried smb://192.168.0.101/kai and got it...
http://www.perfectreign.com/stuff/2008/smb_share2.png
...and from my wife's Win2K machine...
http://www.perfectreign.com/stuff/2008/samba_connect.jpg
Whew! Finally.
Thanks for the help!
Now, on to making it easier and doable from the right-click menu on Konqueror.
(But that is for another day.)
Kai, I haven't followed the whole thread, but if you want to make connections easier either from linux->remote smb shares or from windows -> remote smb shares, I have a few tricks for you. First Linux -> smb; Just define a place to mount the remote shares (I just use /mnt) and then a simple bash script will take care of the mounts for you. I just write a mount script for each machine, and then if I have multiple machines in a group, just combine the calls in a second group script. Here is what I use for a machine script: #!/bin/bash # check_root however you do it. SERVER="//nemesis" if smbclient -U% -L${SERVER} >/dev/null 2>&1; then OPTS=$(cat /home/david/bin/mntops_dcr) SHARE="/config" MPOINT="/mnt/nemesis-cfg" if mount | grep -q "on ${MPOINT} type"; then echo "${MPOINT} already mounted" else if [[ ! -d ${MPOINT} ]]; then mkdir -p ${MPOINT} >/dev/null 2>&1 fi mount.cifs ${SERVER}${SHARE} ${MPOINT} ${OPTS} fi SHARE="/samba" MPOINT="/mnt/nemesis" if mount | grep -q "on ${MPOINT} type"; then echo "${MPOINT} already mounted" else if [[ ! -d ${MPOINT} ]]; then mkdir -p ${MPOINT} >/dev/null 2>&1 fi mount.cifs ${SERVER}${SHARE} ${MPOINT} ${OPTS} fi SHARE="/david" MPOINT="/mnt/nemesis-david" if mount | grep -q "on ${MPOINT} type"; then echo "${MPOINT} already mounted" else if [[ ! -d ${MPOINT} ]]; then mkdir -p ${MPOINT} >/dev/null 2>&1 fi mount.cifs ${SERVER}${SHARE} ${MPOINT} ${OPTS} fi exit 0 The mntops_dcr (mount options) file is: -o username=david,uid=1000,credentials=/home/david/.dcr/mountcfile,noperm NOTE: remove the ',noperm' for regular users, it provides 'root' access (which is very handy for remote admin of linux boxes, but not for regular users). The credentials file protects the user/passwd with permissions of 0600. The contents: username=yourusername password=yourpassword To sew multiple machines together in a group, so you are mounting all the needed shares on a local lan, simply combine the calls: #!/bin/bash sudo /home/david/bin/mount_nemesis sudo /home/david/bin/mount_nirvana sudo /home/david/bin/mount_zion That's it for the linux->smb side. For windows a slick batch file can be put in the startup folder of the startmenu to handle things. It will handle multiple locations as well and test for the available machines. In its DOS glory: @echo off net use /delete * for /f "skip=3" %%i in ('net view') do ( if %%i==\\NIRVANA ( net use f: \\nirvana\samba net use g: \\nirvana\config net use h: \\nirvana\david ) if %%i==\\BONZA ( net use f: \\bonza\samba net use g: \\bonza\config net use h: \\bonza\david ) if %%i==\\NEMESIS ( net use i: \\nemesis\config ) if %%i==\\PROVIDENCE ( net use i: \\providence\config ) if %%i==\\ZION ( net use j: \\zion\config ) ) These scripts have taken care of 99% of all the connection needs I have had with samba. Note: this is in a non-domain login (or stand alone) samba environment. If you are using domain logins, you can adapt the login scripts as needed. Hopefully this will save some work. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, Oct 01, 2008 at 02:39:22PM -0500, David C. Rankin wrote: [ 8< ]
First Linux -> smb; Just define a place to mount the remote shares (I just use /mnt) and then a simple bash script will take care of the mounts for you. I just write a mount script for each machine, and then if I have multiple machines in a group, just combine the calls in a second group script. Here is what I use for a machine script:
Have you tried to use /etc/fstab or /etc/samba/smbfstab? The latter has permissions set to 0600 to protect credentials. Both - /etc/fstab and /etc/samba/smbfstab - are checked by the /etc/init.d/smbfs init script if a SMB/ CIFS share needs to be mounted. The name smbfs has its roots in the past when smbfs was used instead of cifs. Nowedays only cifs is supported on kernel level. smbfs got removed from SUSE and upstream kernels. Missing is a restart of the init script if the traditional network scripts (not NetworkManager) are used. NetworkManager handles this by the /etc/NetworkManager/dispatcher.d/smbfs. This issue is addressed by bug 425058. Lars -- Lars Müller [ˈlaː(r)z ˈmʏlɐ] Samba Team SUSE Linux, Maxfeldstraße 5, 90409 Nürnberg, Germany
On Wednesday 01 October 2008 12:39:22 pm David C. Rankin wrote:
First Linux -> smb; Just define a place to mount the remote shares (I just use /mnt) and then a simple bash script will take care of the mounts for you. I just write a mount script for each machine, and then if I have multiple machines in a group, just combine the calls in a second group script. Here is what I use for a machine script:
thanks, david saved I may look into these. for now, i pretty much use ad-hoc connections and have them bookmarked in konqueror to my workstations or servers (we use AD at work) i just use smb://domain\my_user@server/share and enter my password. For example: smb://vims\e515421@r2203/c$/Users/e515421/Documents -- kai www.filesite.org || www.perfectreign.com government is a process which utilizes 45.5% gut reaction, 45.5% laws and statutes and 1% logic -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte wrote:
On Wednesday 01 October 2008 12:39:22 pm David C. Rankin wrote:
First Linux -> smb; Just define a place to mount the remote shares (I just use /mnt) and then a simple bash script will take care of the mounts for you. I just write a mount script for each machine, and then if I have multiple machines in a group, just combine the calls in a second group script. Here is what I use for a machine script:
thanks, david
saved
I may look into these.
for now, i pretty much use ad-hoc connections and have them bookmarked in konqueror to my workstations or servers (we use AD at work)
i just use smb://domain\my_user@server/share and enter my password.
For example:
smb://vims\e515421@r2203/c$/Users/e515421/Documents
Kai, The helpful part about the scripts for me is moving my laptop between home and work, etc.. We have 3 boxes offering samba shares at each location. With the scripts, I just have an icon and a little popup menu that allows me to select whether I mount the shares for home or for the office. Small screenshot: http://www.3111skyline.com/download/screenshots/mount-smb.jpg That way no matter where I am, when I want to connect, I just click a button and let the script handle the rest. When dos batch file does the same thing when I boot windows. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Ponte wrote:
On Monday 29 September 2008 12:57:59 am G T Smith wrote:
Kai Ponte wrote:
On the permissions, that is a good question.
The folder I'm sharing is my own and I'm using the same username. I selected it from the list in Webmin.
I have Browseable=yes, hosts to allow=all, possible users=kai, read/write users=kai, guest access=yes. I think one needs to get back to basics....
a) Can you browse the workgroup? i.e can you see all the machines in the workgroup, from all of the machines which are supposed to be in the workgroup?
I'll try it when I get back home. Right now I'm at work and the laptop is on the domain. (It isn't part of the domain, just connected.)
BTW SWAT does have control of the local samba server functions and will shutdown and restart the samba server, and includes access to extensive documentation and information on server status.
Use...
to access SWAT. (Usually the root username and password will be required).
SWAT? I think that was a television show I watched in the '70s.
According to YaST/SMART the only thing with swat is myspell-swati.
I'll search on the intraweb...
LOL SWAT is part of the standard samba distribution, and for some unknown reason it is not picked in as being there in YaST..., but if you type man swap you will get a some basic info.. BTW Reading the Howto for Samba 3 as recommended elsewhere is a very good idea... You will need to enable swat via xinetd in YaST before you can use it on a regular basis. The YAST samba server configuration support used to be pretty basic, and had some nasty habits (like stripping out legitimate options it did not know about) and I have not used it for years. It may be better now but it has usually given me more problems than it solved in the past. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkjg8TMACgkQasN0sSnLmgJ/0QCg9Uws2zDVjQ3RyY2CxRS5J4gV FdoAoKxm6jVSxQkPdRrm+R5mV+d+n0L7 =KkJ3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Kai Ponte skrev:
On Saturday 27 September 2008 12:52:36 am Verner Kjærsgaard wrote:
As you can see it only gives you one pretty basic share in this case named "grafik".
Now get samba running, do "rcsmb restart". Later on you would check it in Yast to make sure it runs in runlevel 3 and/or 5.
Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?))
Um, never heard of it. I have it now.
It isn't included in smart - that came up with something called webpin.
Oh, and it is https://localhost:10000/ - need the SSL portion. I decided to trust myself and accepted my certificate. :)
See enclosed screenshot and at:
http://www.perfectreign.com/stuff/2008/smb_share.png
goto Samba. Now convert all users (or just your account to smb users) - and set your samba password.
Not quite sure where that part is - i messed around with webmin and haven't had success yet.
Alternatively, do #/usr/bin/smbpasswd your-user-name", this will also create a smb user/passwd in /etc/samba/smbpasswd etc.
I think I did that...
xwing:/home/kai # /usr/bin/smbpasswd kai New SMB password:
Retype new SMB password:
Then goto konquerer and type "smb://IP-of-your-samba-server-could-be-localhost"
smb://kai@192.168.0.101
Timeout on server 192.168.0.101
This should give you a list of shares, in this case just the "grafik" share. When this runs, you may hereafter start playing with smb.conf, remember to restart smb after each modif. Do "rcsmb restart"
Did that.
This is way too complicated. I'm actually very annoyed - not that I have an excuse for a free OS - that I can't just right-click a folder in Konqueror and have this "just work."
Hi list, - sorry to hear about all your problems with this. It should be quite straight forward, really. The something rotten in the state of Den..., however. You did modif the smb.conf file I sent you to reflect your directory structure in order to share out a directory of your choice? Sorry for the "smbpasswd" thing, it should be with the -a option. Apart from that, I do think that there should be a samba-user defined. As stated I use webmin for that, I fire up webmin and do: "Samba Windows File Sharing", "Section Samba Users/Convert Unix users to Samba users", "Don't convert or remove these users:-999, 1001-" - as my userID is 1000 (I was the first user on this machine). This gives me myself as a SMB user. I may now return to the share list and do "Edit Samba users and passwords" in which I click on my username and hence give myself a new (SMB...) password. Done. The first thing I see, is that the "smb://kai@192.168.0.101" doesn't give you a server at all. This (to me) indicates that SMB isn't running at all... When I do a "#netstat -apn | grep -i listen", I get: "tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN 6050/smbd" - which to me indicates that SMB indeed is alive and ready. To get SMB started I did (I'm on SuSE10.3): "#rcsmb restart", which gives me: dell-103:/home/vk # rcsmb restart Shutting down Samba SMB daemon done Starting Samba SMB daemon done I hope this is of help to you :-) I also take the liberty to call for others in the list/thread to keep at it, as I (and Kai most likely :-)) would really like to know what could keep this seemingly trivial SMB thing to actually just run. Thanks in advance! -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Novell Certified Linux Professional 10035701 ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Kai Ponte wrote:
On Saturday 27 September 2008 12:52:36 am Verner Kjærsgaard wrote:
As you can see it only gives you one pretty basic share in this case named "grafik".
Now get samba running, do "rcsmb restart". Later on you would check it in Yast to make sure it runs in runlevel 3 and/or 5.
Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?))
Um, never heard of it. I have it now.
It isn't included in smart - that came up with something called webpin.
Oh, and it is https://localhost:10000/ - need the SSL portion. I decided to trust myself and accepted my certificate. :)
See enclosed screenshot and at:
http://www.perfectreign.com/stuff/2008/smb_share.png
goto Samba. Now convert all users (or just your account to smb users) - and set your samba password.
Not quite sure where that part is - i messed around with webmin and haven't had success yet.
Alternatively, do #/usr/bin/smbpasswd your-user-name", this will also create a smb user/passwd in /etc/samba/smbpasswd etc.
I think I did that...
xwing:/home/kai # /usr/bin/smbpasswd kai New SMB password:
Retype new SMB password:
Then goto konquerer and type "smb://IP-of-your-samba-server-could-be-localhost"
smb://kai@192.168.0.101
Timeout on server 192.168.0.101
This should give you a list of shares, in this case just the "grafik" share. When this runs, you may hereafter start playing with smb.conf, remember to restart smb after each modif. Do "rcsmb restart"
Did that.
This is way too complicated. I'm actually very annoyed - not that I have an excuse for a free OS - that I can't just right-click a folder in Konqueror and have this "just work."
Hmm... It can be very difficult to get the initial samba configuration right but when you have it running it very solid. IMHO SWAT is probably the best tool for setting up samba for someone who dislikes working from the command line (forget webmin). Have a quick look at man swat. What is not clear here whether you are using this in your home setup, or your work setup, and which version of windows is involved (networking capabilities vary between versions). Microsoft networking can get quite involved and some of the legacy protocols are no longer actively supported. If this is a work environment with AD there is likely to be a bit of work to be performed to allow both machines to communicate. - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkjfYhoACgkQasN0sSnLmgJAzgCfXOsLMkB5ufJwJZ8MyrN+6XgD 2dQAn1bgm3AukDsKsXy1A9RnuN95ZF0L =SJxU -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2008-09-28 at 11:53 +0100, G T Smith wrote:
smb://kai@192.168.0.101
In konqueror or dolphin or what have you try just //kai@192.138.0.101 no smb: I just tried connecting to one my machines with smb://mikesd@zeus and it didn't work so then I tried //mikesd@zeus and it worked fine. btw, zeus is the linux machine for me. -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2008-09-28 at 13:24 -0400, Michael S. Dunsavage wrote:
On Sun, 2008-09-28 at 11:53 +0100, G T Smith wrote:
smb://kai@192.168.0.101
In konqueror or dolphin or what have you
try just //kai@192.138.0.101 no smb: I just tried connecting to one my machines with smb://mikesd@zeus and it didn't work so then I tried //mikesd@zeus and it worked fine.
btw, zeus is the linux machine for me.
What does the address bar show as the protocol being used? I know you can do that with fish://..... -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2008-09-28 at 14:09 -0400, Mike McMullin wrote:
What does the address bar show as the protocol being used? I know you can do that with fish://.....
I don't know. I assume smb but when I try smb://mikesd@zeus the status bar on the bottom says it's looking for smb://smb/ -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2008-09-28 at 14:31 -0400, Michael S. Dunsavage wrote:
On Sun, 2008-09-28 at 14:09 -0400, Mike McMullin wrote:
What does the address bar show as the protocol being used? I know you can do that with fish://.....
I don't know. I assume smb but when I try smb://mikesd@zeus
the status bar on the bottom says it's looking for smb://smb/ -- Michael S. Dunsavage
In konqueroro smb://mikesd@zeus works -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 28 September 2008 11:45:57 am Michael S. Dunsavage wrote:
On Sun, 2008-09-28 at 14:31 -0400, Michael S. Dunsavage wrote:
On Sun, 2008-09-28 at 14:09 -0400, Mike McMullin wrote:
What does the address bar show as the protocol being used? I know you can do that with fish://.....
I don't know. I assume smb but when I try smb://mikesd@zeus
the status bar on the bottom says it's looking for smb://smb/ -- Michael S. Dunsavage
In konqueroro smb://mikesd@zeus works -- Michael S. Dunsavage
smb://kai@xwing gives me nothing. No error, no files. -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 28 September 2008 10:24:00 am Michael S. Dunsavage wrote:
On Sun, 2008-09-28 at 11:53 +0100, G T Smith wrote:
smb://kai@192.168.0.101
In konqueror or dolphin or what have you
try just //kai@192.138.0.101 no smb: I just tried connecting to one my machines with smb://mikesd@zeus and it didn't work so then I tried //mikesd@zeus and it worked fine.
The file or folder file:////kai%40192.138.0.101 does not exist. No dice. :P
btw, zeus is the linux machine for me.
Zeus? I don't speak greek. http://www.zeuslinux.gr/ -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2008-09-28 at 21:00 -0700, Kai Ponte wrote:
On Sunday 28 September 2008 10:24:00 am Michael S. Dunsavage wrote:
On Sun, 2008-09-28 at 11:53 +0100, G T Smith wrote:
smb://kai@192.168.0.101
In konqueror or dolphin or what have you
try just //kai@192.138.0.101 no smb: I just tried connecting to one my machines with smb://mikesd@zeus and it didn't work so then I tried //mikesd@zeus and it worked fine.
The file or folder file:////kai%40192.138.0.101 does not exist.
No dice. :P
Shouldn't that actually be the proper address of the box? 138 as opposed to 168?
btw, zeus is the linux machine for me.
Zeus?
I don't speak greek.
-- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Saturday 27 September 2008 12:52:36 am Verner Kjærsgaard wrote:
...lots of text cutout, see thread..
Hi list and Kai
- may I suggest that you temporarily cp your original smb.conf to smb.conf_kai and then try a simple, standard one a la:
[global] workgroup = WORKGROUP
Okay, I did that. My only change from yours is the share. [kai] only user = yes valid users = @users, kai path = /home/kai read only = No revalidate = yes comment = KAI
As you can see it only gives you one pretty basic share in this case named "grafik".
Now get samba running, do "rcsmb restart". Later on you would check it in Yast to make sure it runs in runlevel 3 and/or 5.
Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?)) goto Samba. Now convert all users (or just your account to smb users) - and set your samba password.
Alternatively, do #/usr/bin/smbpasswd your-user-name", this will also create a smb user/passwd in /etc/samba/smbpasswd etc.
Did this again...
Then goto konquerer and type "smb://IP-of-your-samba-server-could-be-localhost"
...now I get a little farther. Instead of doesn't exist, I get a similar screen to one I did on my 9.3 laptop when I was trying to use samba. I get the login prompt and then a user failed. http://www.perfectreign.com/stuff/2008/smb_share1.png No matter if I type in the password for my user, the password I set in smbpasswd or blank I get user authentication failed.
This should give you a list of shares, in this case just the "grafik" share. When this runs, you may hereafter start playing with smb.conf, remember to restart smb after each modif. Do "rcsmb restart"
Yes, I did that also. At least I don't get the pid thing anymore. -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request
Kai Ponte skrev:
On Saturday 27 September 2008 12:52:36 am Verner Kjærsgaard wrote:
...lots of text cutout, see thread..
Hi list and Kai
- may I suggest that you temporarily cp your original smb.conf to smb.conf_kai and then try a simple, standard one a la:
[global] workgroup = WORKGROUP
Okay, I did that. My only change from yours is the share.
[kai] only user = yes valid users = @users, kai path = /home/kai read only = No revalidate = yes comment = KAI
As you can see it only gives you one pretty basic share in this case named "grafik".
Now get samba running, do "rcsmb restart". Later on you would check it in Yast to make sure it runs in runlevel 3 and/or 5.
Now fire up webmin ((localhost:10000) - you DO have webmin installed, right?)) goto Samba. Now convert all users (or just your account to smb users) - and set your samba password.
Alternatively, do #/usr/bin/smbpasswd your-user-name", this will also create a smb user/passwd in /etc/samba/smbpasswd etc.
Did this again...
Then goto konquerer and type "smb://IP-of-your-samba-server-could-be-localhost"
...now I get a little farther.
Instead of doesn't exist, I get a similar screen to one I did on my 9.3 laptop when I was trying to use samba.
I get the login prompt and then a user failed.
http://www.perfectreign.com/stuff/2008/smb_share1.png
No matter if I type in the password for my user, the password I set in smbpasswd or blank I get user authentication failed.
This should give you a list of shares, in this case just the "grafik" share. When this runs, you may hereafter start playing with smb.conf, remember to restart smb after each modif. Do "rcsmb restart"
Yes, I did that also. At least I don't get the pid thing anymore.
I think we're very close now :-) In konqueror, do: smb://localhost/kai - give it the username and pw that you told it to use through smbpasswd and so forth... -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard Novell Certified Linux Professional 10035701 ------------------------------ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 2008-09-28 at 17:49 +0200, Verner Kjærsgaard wrote:
smb.conf_kai and then try a simple, standard one a la:
[global] workgroup = WORKGROUP
I'm assuming that the windows box is on the work group called WORKGROUP, correct? Otherwise, WORKGROUP above should be the same as the workgroup name that you are using. And why are we still not looking @ logs? comb through /var/log/samba/log.nmbd and /var/log/samba/log.smbd -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday 28 September 2008 08:49:27 am Verner Kjærsgaard wrote:
smb://localhost/kai
An error occurred while loading smb://localhost/kai: The file or folder smb://localhost/kai does not exist. Odd, because it shows in Webmin as a share. -- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 29 Sep 2008 12:14:04 Kai Ponte wrote:
On Sunday 28 September 2008 08:49:27 am Verner Kjærsgaard wrote:
smb://localhost/kai
An error occurred while loading smb://localhost/kai: The file or folder smb://localhost/kai does not exist.
Odd, because it shows in Webmin as a share.
-- kai www.filesite.org || www.perfectreign.com remember - a turn signal is a statement, not a request
Kai, Can I refer you to "Samba 3 by example" at http://us1.samba.org/samba/docs/man/Samba-Guide/ You'll find this to be very useful and informative. Can I also suggest that wireshark (formerly ethereal) is a Really Useful Tool that everyone who is troubleshooting network issues should get familiar with. Another tip: if you're not running a local dns server make sure that your samba server is listed in your hosts file on both the Windows and Linux clients. Read man smb.conf and take note of the default settings. You can strip out of your config file anything other than what you want to change from the default setting. Regards, -- =================================================== Rodney Baker VK5ZTV rodney.baker@iinet.net.au =================================================== He had that rare weird electricity about him -- that extremely wild and heavy presence that you only see in a person who has abandoned all hope of ever behaving "normally." -- Hunter S. Thompson, "Fear and Loathing '72"
On Sun, 2008-09-28 at 19:44 -0700, Kai Ponte wrote:
An error occurred while loading smb://localhost/kai: The file or folder smb://localhost/kai does not exist.
Odd, because it shows in Webmin as a share.
So, I keep seeing localhost here and are you trying to connect to the machine from that machine? IE if connecting to localhost you should be working on that machine in some way. If trying to connect to that machine via another machine it should be smb://machinename/kai -- Michael S. Dunsavage -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (13)
-
Brian K. White
-
Dave Plater
-
David C. Rankin
-
G T Smith
-
Jim Flanagan
-
Kai Ponte
-
Lars Müller
-
Michael S. Dunsavage
-
Mike McMullin
-
Patrick Shanahan
-
Rajko M.
-
Rodney Baker
-
Verner Kjærsgaard