Re: [Samba] Samba help?
On Thursday 12 July 2012 1:31:06 am Gémes Géza wrote: Hi Miklos, Hello Geza, I stand chastised and apologize. I didn't mean to hijack someone's thread. I also didn't plan to ask for help in Hungarian, and this is just a coincidence. However, if you can help me I'll take whatever I can get, so thank you. My question/problem is that I have no windows background at all and am trying to configure Samba with Active Directory. I also have no access to any windows machines to test my configuration so I don't know if it works. I believe I'm almost there but how do I know if it's really working? SWAT works fine, but Winbindd won't start. infadmnq:/lssrc -g samba Subsystem GroupPID Status smbd samba14221530 active nmbd samba13893726 active winbindd samba inoperative I ran testparm and it comes back clean. infadmnq:/testparm Load smb config files from /usr/lib/smb.conf Processing section [samba_infaQ] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] workgroup = HUMC security = DOMAIN auth methods = winbind password server = dchumc01, dchumc02 client NTLMv2 auth = Yes syslog = 3 log file = /var/log/samba ldap ssl = no idmap uid = 1-2 idmap gid = 1-2 winbind enum users = Yes winbind enum groups = Yes [samba_infaQ] comment = Share for DBA SAs path = /samba_infaQ I run: smbclient -L '\\fileserver1\DECN_Shared\' -U INFAservice and I get two pages of output starting like this: Sharename Type Comment - --- CHRT_Shared Disk CHRT Departmental Shared Files HEDU_Shared Disk HEDU Departmental Shared Files MREC_Shared Disk MREC Departmental Shared Files PHBL_Shared Disk PHBL Departmental Shared Files PHRM_Shared Disk PHRM Departmental Shared Files SLAB_Shared Disk SLAB Departmental Shared Files SPAS_Shared Disk SPAS Departmental Shared Files SPTY_Shared Disk SPTY Departmental Shared Files WomenChild Disk Kosonok minden sekitsegett!! Miklos First question: What does wbinfo -p, wbinfo -u and wbinfo -g returns? You wrote, that you have to authenticate your users against an AD. Have you joined it (e.g. net ads join -U username_of_an_AD_user_with_the_priviledge_of_joining (for example an administrator))? Regards Geza -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba I've found that I need to do a few things to make Samba work with AD (and, it does for me. I must have 15 server (Linux and *BSD) connected to our network via Win2008R2-based AD). First, I believe you have to get kerberos set up properly on your Linux box. Next, configure nsswitch.conf to use winbind. Then, you must join the box to the domain, just as Geza mentioned. After that, start samba. Finally, you can run the commands that Geza suggested (wbinfo -p, wbinfo -u and wbinfo -g. I'd also suggest getent passwd). These steps are all very well documented, and, are easy to find, but if you have a problem with anything, let us know. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba help?
On Thursday 12 July 2012 1:31:06 am Gémes Géza wrote: Hi Miklos, Hello Geza, I stand chastised and apologize. I didn't mean to hijack someone's thread. I also didn't plan to ask for help in Hungarian, and this is just a coincidence. However, if you can help me I'll take whatever I can get, so thank you. My question/problem is that I have no windows background at all and am trying to configure Samba with Active Directory. I also have no access to any windows machines to test my configuration so I don't know if it works. I believe I'm almost there but how do I know if it's really working? SWAT works fine, but Winbindd won't start. infadmnq:/lssrc -g samba Subsystem GroupPID Status smbd samba14221530 active nmbd samba13893726 active winbindd samba inoperative I ran testparm and it comes back clean. infadmnq:/testparm Load smb config files from /usr/lib/smb.conf Processing section [samba_infaQ] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] workgroup = HUMC security = DOMAIN auth methods = winbind password server = dchumc01, dchumc02 client NTLMv2 auth = Yes syslog = 3 log file = /var/log/samba ldap ssl = no idmap uid = 1-2 idmap gid = 1-2 winbind enum users = Yes winbind enum groups = Yes [samba_infaQ] comment = Share for DBA SAs path = /samba_infaQ I run: smbclient -L '\\fileserver1\DECN_Shared\' -U INFAservice and I get two pages of output starting like this: Sharename Type Comment - --- CHRT_Shared Disk CHRT Departmental Shared Files HEDU_Shared Disk HEDU Departmental Shared Files MREC_Shared Disk MREC Departmental Shared Files PHBL_Shared Disk PHBL Departmental Shared Files PHRM_Shared Disk PHRM Departmental Shared Files SLAB_Shared Disk SLAB Departmental Shared Files SPAS_Shared Disk SPAS Departmental Shared Files SPTY_Shared Disk SPTY Departmental Shared Files WomenChild Disk Kosonok minden sekitsegett!! Miklos First question: What does wbinfo -p, wbinfo -u and wbinfo -g returns? You wrote, that you have to authenticate your users against an AD. Have you joined it (e.g. net ads join -U username_of_an_AD_user_with_the_priviledge_of_joining (for example an administrator))? Regards Geza -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba I'm reposting this, as I just resubscribed to the list using my new mail addy: I've found that I need to do a few things to make Samba work with AD (and, it does for me. I must have 15 server (Linux and *BSD) connected to our network via Win2008R2-based AD). First, I believe you have to get kerberos set up properly on your Linux box. Next, configure nsswitch.conf to use winbind. Then, you must join the box to the domain, just as Geza mentioned. After that, start samba. Finally, you can run the commands that Geza suggested (wbinfo -p, wbinfo -u and wbinfo -g. I'd also suggest getent passwd). These steps are all very well documented, and, are easy to find, but if you have a problem with anything, let us know. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Samba help?
Hello everyone, I have just joined this group (discussion board) and would like to know how it works. Can I just put questions out there about my Samba difficulties and hope someone can help me? Sorry to sound naïve, but I do need help with my Samba config and I have spent months, yes months, trying to get what I am told is a simple thing to work, to work for me and I just can't get it. I would love it if I could get some help because I sure do need it. Respectfully waiting for the kindness of strangers.. Miklos -Original Message- From: samba-boun...@lists.samba.org [mailto:samba-boun...@lists.samba.org] On Behalf Of Randy Rue Sent: Wednesday, July 11, 2012 5:19 PM To: samba@lists.samba.org Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 Jonathan, I appreciate the help you've given but you and I are having fundamentally different experiences with 3.5. I've tried everything you've suggested, as well as a bunch of conflicting suggestions from others, with no success. I've narrowed the problem down to the idmap -- ad settings in smb.conf and the best information I have right now suggests that something went wonky in the app sometime after 3.4.8. So right now my immediate objective is to get 3.4.8 running and see if the problem still occurs. A particular help would be at least getting some error in syslog or the samba logs to find out why the binary won't start. Randy -Original Message- From: Jonathan Buzzard [mailto:jonat...@buzzard.me.uk] Sent: Wednesday, July 11, 2012 1:29 AM To: Randy Rue Subject: Re: [Samba] compiling samba 3.4.8 on CentOS_6.2 On 11/07/12 00:32, Randy Rue wrote: Hello All. Been trying without avail to make idmap work with my AD so I can get real UID/GID for SSH logins on a CentOS_6 box. Have heard from several sources that idmap has seen some serious changes since 3.5 and decided to roll back from the stock 3.5 that comes with CentOS_6 to 3.4.8. I'd like to see if it has the same problems. Why, it works just fine at least with the packages in CentOS 6.2. I cannot speak for CentOS 6.3 because it is just out, but I very much doubt it has broken it. JAB. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba *** HUMC's Proactive Security and Virus Scanner has scanned this email for malicious content and it is safe to use*** Important news about our email communications. HackensackUMC has implemented secure messaging services. If you need assistance with retrieving a secure email, please send an e-mail to postmas...@hackensackumc.org Confidentiality Notice: This e-mail message and any attachments from HackensackUMC are confidential and for the sole use of the intended recipient. This communication may contain Protected Health Information (PHI). PHI is confidential information that may only be used or disclosed in accordance with applicable law. There are penalties under the law for the improper use or further disclosure of PHI. If you are not the intended recipient of this e-mail or the employee or agent responsible for delivering the communication to the intended recipient, then you may not read, copy, distribute or otherwise use or disclose the information contained in this message. If you received this message in error, please notify us by telephone at 551.996.2000 or by e-mail to postmas...@hackensackumc.org Please indicate that you were not the intended recipient, and confirm that you have deleted the original message. Please do not retransmit the contents of the message. Thank you. HackensackUMC is a nationally recognized healthcare organization offering patients the most comprehensive services, state-of-the-art technologies, and facilities. HackensackUMC has been named one of America's 50 Best Hospitals by HealthGrades for four years in a row. HackensackUMC is the only hospital in New Jersey, New York, and New England to receive this honor. The medical center has also been ranked by U.S. News and World Report's America's Best Hospitals 2010-11 in Geriatrics and Heart Heart Surgery. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba help?
Hi Miklós, Hello everyone, I have just joined this group (discussion board) and would like to know how it works. Can I just put questions out there about my Samba difficulties and hope someone can help me? Sorry to sound naïve, but I do need help with my Samba config and I have spent months, yes months, trying to get what I am told is a simple thing to work, to work for me and I just can't get it. I would love it if I could get some help because I sure do need it. Respectfully waiting for the kindness of strangers.. Miklos First of all please do not hijack other threads! Second tell us your questions/problems! Third if you need help in Hungarian you can contact me (I wouldn't say I'm the source of knowledge, but if I can help I won't refuse) Regards Geza -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba help?
Hi Miklos, Hello Geza, I stand chastised and apologize. I didn't mean to hijack someone's thread. I also didn't plan to ask for help in Hungarian, and this is just a coincidence. However, if you can help me I'll take whatever I can get, so thank you. My question/problem is that I have no windows background at all and am trying to configure Samba with Active Directory. I also have no access to any windows machines to test my configuration so I don't know if it works. I believe I'm almost there but how do I know if it's really working? SWAT works fine, but Winbindd won't start. infadmnq:/lssrc -g samba Subsystem GroupPID Status smbd samba14221530 active nmbd samba13893726 active winbindd samba inoperative I ran testparm and it comes back clean. infadmnq:/testparm Load smb config files from /usr/lib/smb.conf Processing section [samba_infaQ] Loaded services file OK. Server role: ROLE_DOMAIN_MEMBER Press enter to see a dump of your service definitions [global] workgroup = HUMC security = DOMAIN auth methods = winbind password server = dchumc01, dchumc02 client NTLMv2 auth = Yes syslog = 3 log file = /var/log/samba ldap ssl = no idmap uid = 1-2 idmap gid = 1-2 winbind enum users = Yes winbind enum groups = Yes [samba_infaQ] comment = Share for DBA SAs path = /samba_infaQ I run: smbclient -L '\\fileserver1\DECN_Shared\' -U INFAservice and I get two pages of output starting like this: Sharename Type Comment - --- CHRT_Shared Disk CHRT Departmental Shared Files HEDU_Shared Disk HEDU Departmental Shared Files MREC_Shared Disk MREC Departmental Shared Files PHBL_Shared Disk PHBL Departmental Shared Files PHRM_Shared Disk PHRM Departmental Shared Files SLAB_Shared Disk SLAB Departmental Shared Files SPAS_Shared Disk SPAS Departmental Shared Files SPTY_Shared Disk SPTY Departmental Shared Files WomenChild Disk Kosonok minden sekitsegett!! Miklos First question: What does wbinfo -p, wbinfo -u and wbinfo -g returns? You wrote, that you have to authenticate your users against an AD. Have you joined it (e.g. net ads join -U username_of_an_AD_user_with_the_priviledge_of_joining (for example an administrator))? Regards Geza -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Samba help
Hellraiserr0 írta: Hi, I have a network in my room with three computers right now, two connected to a Lynksys router, that router is connected to a wider network, then to the internet. The three computers i have in my room are: laptop running Windows Server 2003, connected to a wireless router desktop running Windows Server 2003, connected to the router in my room desktop running Mandrake 9.2 connected to the router in my room i'm trying to get my mandrake 9.2 to run a samba server that will allow my two windows 2003 computers to access shares on it. i do not have a domain controller, just a small home network with a few routers. i am having alot of trouble getting the samba server to work correctly. First, when i use LinNeighborhood, i can see all my other windows computers on my network. When i open Network Places on my windows 2003 computers, i cannot see my mandrake machine shares. however, if i go to Entire Network/Microsoft Windows Network i see my workgroup name (MSHOME) but i also see an additional workgroup named MDKGROUP. When i open MDKGROUP it says unable to open mdkgroup, you might not have permission blah blah but earlier, i COULD open it, and when i did i saw a Samba Server vsomething.something(LOCALHOST). and when i opened that, i say the folder on the mandrake box that i was sharing, but when i tried to open it, it gave me an error saying i didnt have permission. i'm very confused and cant seem to even browse my mandrake shares. im also confused as to why there is a MDKGROUP workgroup, when i specified workgroup = MSHOME in my smb.conf. can someone PLEASE help me? thanks in advance -zak [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com In order for Network Neighborhood, LinNeighborhood, etc to work better you should set up one of your computers as a WINS server, any of them (Samba ,W2k3) are able to do this. Then configure the other two to use this WINS server. It seems that you currently are using broadcast node discovery, which could be very ineficient even in such a 3 computers setup. Cheers Geza Gemes -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba help
On Monday 01 Nov 2004 07:56, Hellraiserr0 wrote: however, if i go to Entire Network/Microsoft Windows Network i see my workgroup name (MSHOME) but i also see an additional workgroup named MDKGROUP. So the computers are not on the same network. Go to /etc/samba/smb.conf - make a copy of this file, because it contains a lot of useful information - then change the workgroup name to MSHOME Anne -- Registered Linux User No.293302 Have you visited http://twiki.mdklinuxfaq.org yet? -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Samba help
Mandrake's default setting is to have: map to guest = bad user in the smb.conf. This means, that if your Windows user doesn't exist on the Mandrake box, it will get mapped to guest. I suppose your [public] share definition doesn't have a public = yes, or guest allow = yes line? So I see three possible solutions here: - Specify map to guest = never, in this way your windows users would get prompted for a username/password when they connect - Create the corresponding usernames/passwords on the mdk box (both useradd xyz, and smbpasswd -a xyz) - Allow guest access to public. About WINS: if your network is part of a bigger one, your needs could vary depending of your setup: -permanent vs. temporary connection -static IP addresses vs. DHCP -having a WINS server on the bigger network or not. Cheers, Geza Thanks for the help, I've gotten a little further, now my samba server shows up in network neighborhood, but when i try to access it it says \\MOSES\public is not accessible. You might not have permission, blah blah '' any ideas why i can't access it? do i need to add the username logged into my windows 2003 box to the smb.conf? about the WINS server, ive never had any experience setting a WINS server up. which box would work better as a WINS server, the same box that the samba server is on? one of the windows 2003 machines? or should i make a seperate machine for it? and will this affect the wider network that my smaller network is connected to? thanks again. -zak */Gémes Géza [EMAIL PROTECTED]/* wrote: Hellraiserr0 írta: Hi, I have a network in my room with three computers right now, two connected to a Lynksys router, that router is connected to a wider network, then to the internet. The three computers i have in my room are: laptop running Windows Server 2003, connected to a wireless router desktop running Windows Server 2003, connected to the router in my room desktop running Mandrake 9.2 connected to the router in my room i'm trying to get my mandrake 9.2 to run a samba server that will allow my two windows 2003 computers to access shares on it. i do not have a domain controller, just a small home network with a few routers. i am having alot of trouble getting the samba server to work correctly. First, when i use LinNeighborhood, i can see all my other windows computers on my network. When i open Network Places on my windows 2003 computers, i cannot see my mandrake machine shares. however, if i go to Entire Network/Microsoft Windows Network i see my workgroup name (MSHOME) but i also see an additional workgroup named MDKGROUP. When i open MDKGROUP it says unable to open mdkgroup, you might not have permission blah blah but earlier, i COULD open it, and when i did i saw a Samba Server vsomething.something(LOCALHOST). and when i opened that, i say the folder on the mandrake box that i was sharing, but when i tried to open it, it gave me an error saying i didnt have permission. i'm very confused and cant seem to even browse my mandrake shares. im also confused as to why there is a MDKGROUP workgroup, when i specified workgroup = MSHOME in my smb.conf. can someone PLEASE help me? thanks in advance -zak [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com In order for Network Neighborhood, LinNeighborhood, etc to work better you should set up one of your computers as a WINS server, any of them (Samba ,W2k3) are able to do this. Then configure the other two to use this WINS server. It seems that you currently are using broadcast node discovery, which could be very ineficient even in such a 3 computers setup. Cheers Geza Gemes Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now http://us.rd.yahoo.com/mail_us/taglines/msgr/evt=26089/*http://messenger.yahoo.com. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba help
Hi, I have a network in my room with three computers right now, two connected to a Lynksys router, that router is connected to a wider network, then to the internet. The three computers i have in my room are: laptop running Windows Server 2003, connected to a wireless router desktop running Windows Server 2003, connected to the router in my room desktop running Mandrake 9.2 connected to the router in my room i'm trying to get my mandrake 9.2 to run a samba server that will allow my two windows 2003 computers to access shares on it. i do not have a domain controller, just a small home network with a few routers. i am having alot of trouble getting the samba server to work correctly. First, when i use LinNeighborhood, i can see all my other windows computers on my network. When i open Network Places on my windows 2003 computers, i cannot see my mandrake machine shares. however, if i go to Entire Network/Microsoft Windows Network i see my workgroup name (MSHOME) but i also see an additional workgroup named MDKGROUP. When i open MDKGROUP it says unable to open mdkgroup, you might not have permission blah blah but earlier, i COULD open it, and when i did i saw a Samba Server vsomething.something(LOCALHOST). and when i opened that, i say the folder on the mandrake box that i was sharing, but when i tried to open it, it gave me an error saying i didnt have permission. i'm very confused and cant seem to even browse my mandrake shares. im also confused as to why there is a MDKGROUP workgroup, when i specified workgroup = MSHOME in my smb.conf. can someone PLEASE help me? thanks in advance -zak [EMAIL PROTECTED] __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba Help
Dear All, I am new user of Solaris and want to install the samba on sol 9, I had install the samba on SCO Open Server but unable to install the Samba on Solaris. Please help me out in this regards. Thanks Best Regards Waseem Afzal Cell: +92-42-303-7573453 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] samba help
Hi, I´m an university student of Las Palmas de Gran Canaria ( Canary Islands, Spain). I apply to you because I´m begining to develop my last project, I´m at the end of my Computer Engeneer career. What I try in this project is to extensive the PHP language with a library that it conects to a SAMBA file server and makes the functions that alows us the SMBCLIENT on the actually systems. The actually developments that I could see ( including SAMBA2WWW) are developed making use of the function system that includes the majority of the languages to make calls to own operative system functions. My idea is to try don´t ude this function and use others mechanisms to obtein that those who use them could do it quietest it´s a security question. And also of trying that a language so extended as the PHP is evident that have a function library to the conexions with SAMBA. Well what I´d like is that if you can and with all the experience that I suppose that you have, you would indicate me if it´s possible to do my project and would send me all the information that you think it could de useful any way. First of all thank you and I hope to recieve your news as soon as possible. -- Alejandro Glez de Chaves Guerrero Dpto. Diseño y programación web http:\\www.cana-web.com mail: [EMAIL PROTECTED] movil: 646154545 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba help
To whom it may concern I am a tech student who is using samba on one computer and windows 200 pro on another, (with cross over cables) I am configuring the smbd and nmbd, I have created my users, printers, and I have also created and made it possible for them to have a folder with the users name on it that they can access. My problem lies where every time a new user logs on with his name and password the folder from the previous user carries over to the new users account, how do I correct this problem? Desperately wanting to know and learn Computer Tech student Marilyn Flores
[Samba] Samba Help
Hello everyone I have just migrated from windows to Mandrake 9.0 I two file servers and one mail server running windows 2000 and Echange 2000. I would like to set my fileservers as linux servers and retain my exchange server. What I would like to know is that is is possible for me to have this setup? if yes then how do I achieve this? My nodes are windows NT or windows 2000. Please help Pondiboy _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Samba... help!
I need some help to configure Samba. I have two computers on my LAN, one running WinXP, the other running RH 8. I've tried to configure Samba, using both manual text mode and WebMin/SWAT. But nothing seems to help. I can see both computers in Network Neighbourhood (My Network Places), but I can't access the Linux box. When I try it, I get the following error message: "Linuxbox is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. The network path was not found:" It seems like I messed something up about security level, passwords, users or something like that. I just can't see what I'm missing. I made changes in "hosts" and "lmhosts" on both computers, and I ran a reg file called WinXP_PlainPassword.reg. That reg file is supposed to fix the registry so I wouldn't have any problems regarding passwords. I have to mention that the XP computer works as gateway, since a thunderstorm killed my router a couple of months ago.But if I can get the Linux up and running I want it to be gateway, also because I want to host a couple of web sites on it. I hope some of you guys out there are able to help med. Preferrably online (ICQ or the like) since I believe that method would be better than sending mails back and forth a million times. If somebody would want to, it's possible to mess with my Linux box through WebMin. Kind regards Freddy ICQ UIN: 10492476
[Samba] Samba help?
I am attempting use Samba at my site but I don't seem to be able to get it to advertise on other networks in the WAN. Can you please advise or give some assistance? Lynne Collins Manager Information Technology Shire of Campaspe P.O. Box 35 Echuca 3564 Ph: 54 812 235 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba