[Samba] Simple question about Samba3 and Samba4 in the same site
I want to deploy a test server with the same SID and same users as the samba3 server. My idea is next: - Samba3 PDC running actually is located throught WINS - Samba4 is located by DNS putting his own DNS server in the client configuration. The two servers are in the same network/VLAN separate from the users network/VLAN. This test could give me any problem? Thanks. -- - Alejandro Escanero Blanco Servicio de Informática Sistemas - GISI Tel: 671 569 262 (769262) Edificio Empresarial Aljarafe, mod. 36 41940 Tomares (Sevilla) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Simple question regarding smbpasswd
Hi, all -- I want to add SMB passwords using a script. It would appear that some variant on the following: smbpasswd -a -s newusername would work. However, the syntax of the -s option isn't clear. How do I insert the password of the new user into the script? Thanks for your help. cheers, pete -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Simple question regarding smbpasswd
On Mon, 11 May 2009 10:36:49 -0700 (PDT), Pete Clapham peteclap...@sbcglobal.net wrote: Hi, all -- I want to add SMB passwords using a script. It would appear that some variant on the following: smbpasswd -a -s newusername would work. However, the syntax of the -s option isn't clear. How do I insert the password of the new user into the script? Thanks for your help. cheers, pete echo -e newpassword\nnewpassword\n | smbpasswd -a -s dmarkey -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Simple question regarding smbpasswd
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Markey wrote: On Mon, 11 May 2009 10:36:49 -0700 (PDT), Pete Clapham peteclap...@sbcglobal.net wrote: Hi, all -- I want to add SMB passwords using a script. It would appear that some variant on the following: smbpasswd -a -s newusername would work. However, the syntax of the -s option isn't clear. How do I insert the password of the new user into the script? Thanks for your help. cheers, pete echo -e newpassword\nnewpassword\n | smbpasswd -a -s dmarkey It's essentially the same format that you'd use on the command line if you were a user, but without the visual prompts. - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |novos...@umdnj.edu - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/CST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoIkpkACgkQmb+gadEcsb4mYwCffJKEWy5fBYSars6dfwg2Z+oB 0+cAmwW2pIQyRjTxD9jzsfCc795WD03v =h8O8 -END PGP SIGNATURE- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Re: [Samba] Simple question regarding smbpasswd
On Mon, May 11, 2009 at 4:03 PM, Ryan Novosielski novos...@umdnj.eduwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Markey wrote: ... echo -e newpassword\nnewpassword\n | smbpasswd -a -s dmarkey It's essentially the same format that you'd use on the command line if you were a user, but without the visual prompts. ... I personally prefer smbpasswd -a -s dmarkey HERE $NEW_PASS $NEW_PASS HERE most days. I also recognize that reasonable people can have different styles. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
[Samba] Simple question regarding net command samba 3.0.25.
Hello list, I wonder which user flags can be specified when adding users with the net command. The documentation shows: [RPC|ADS] USER ADD name [password] [-F user flags] [-C comment] But the user flags are not mentioned anywhere. Are they implemented? Regards, Henrik -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Simple Question
Ari: Yes, but there are issue you need to address - Is samba up and running on your Sun system? Are you part of a domain? Can you open up network neighborhood and browse to the share? You need to give us more info - Be well, Michael On 5/7/07, Silverman, Ari B [EMAIL PROTECTED] wrote: Here is my problem I want to map a drive on my XP to my directory file system on a Solaris box. Is this something that Samba will help me do? Here is the real business problem I have an application that looks for files in a folder ... Instead of moving them from Unix to PC to that folder via ftp I want the application to look in a folder on the Unix server. Thank you Ari Silverman Office 781-302-5636 Cell 617-592-8178 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Simple Question
Here is my problem I want to map a drive on my XP to my directory file system on a Solaris box. Is this something that Samba will help me do? Here is the real business problem I have an application that looks for files in a folder ... Instead of moving them from Unix to PC to that folder via ftp I want the application to look in a folder on the Unix server. Thank you Ari Silverman Office 781-302-5636 Cell 617-592-8178 -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] simple question
Hello, Please people, would you mind answering the following question? : I'd like to allow my users to create files in definite directory but don't allow them to create folders at the same time. Is there any possibility to do this by smb.conf only? If you have no time to answer in detail, please answer only - yes or no. Miky -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Simple Question About samba/ldap
Does samba not store the ldap admin password between boots? Whenever I reboot my BDC I have to reissue the smbpasswd -w x command before it can successfully validate anything. Is this normal? TIA. Larry -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Simple Question About samba/ldap
On Fri, 2006-03-17 at 14:46 -0600, Larry McElderry wrote: Does samba not store the ldap admin password between boots? Whenever I reboot my BDC I have to reissue the smbpasswd -w x command before it can successfully validate anything. Is this normal? no try running... tdbdump /etc/samba/secrets.tdb after you set the value and then after you reboot Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Simple Question About samba/ldap
Interesting! It's there before I reboot, but gone after. Any ideas as to why? Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig White Sent: Friday, March 17, 2006 3:01 PM To: samba@lists.samba.org Subject: Re: [Samba] Simple Question About samba/ldap On Fri, 2006-03-17 at 14:46 -0600, Larry McElderry wrote: Does samba not store the ldap admin password between boots? Whenever I reboot my BDC I have to reissue the smbpasswd -w x command before it can successfully validate anything. Is this normal? no try running... tdbdump /etc/samba/secrets.tdb after you set the value and then after you reboot Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Simple Question About samba/ldap
none whatsoever but at least you know where the problem lies...you might want to talk this over with whomever packaged the version of samba that you are using and if you compiled it yourself...then that would be an interesting discussion. Craig On Fri, 2006-03-17 at 15:21 -0600, Larry McElderry wrote: Interesting! It's there before I reboot, but gone after. Any ideas as to why? Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig White Sent: Friday, March 17, 2006 3:01 PM To: samba@lists.samba.org Subject: Re: [Samba] Simple Question About samba/ldap On Fri, 2006-03-17 at 14:46 -0600, Larry McElderry wrote: Does samba not store the ldap admin password between boots? Whenever I reboot my BDC I have to reissue the smbpasswd -w x command before it can successfully validate anything. Is this normal? no try running... tdbdump /etc/samba/secrets.tdb after you set the value and then after you reboot Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Simple Question About samba/ldap
Yes, that does help, thanks. I didn't even think about it disappearing from secrets. At least I can create a workaround til I get to the bottom of it. Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig White Sent: Friday, March 17, 2006 3:27 PM To: samba@lists.samba.org Subject: RE: [Samba] Simple Question About samba/ldap none whatsoever but at least you know where the problem lies...you might want to talk this over with whomever packaged the version of samba that you are using and if you compiled it yourself...then that would be an interesting discussion. Craig On Fri, 2006-03-17 at 15:21 -0600, Larry McElderry wrote: Interesting! It's there before I reboot, but gone after. Any ideas as to why? Larry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Craig White Sent: Friday, March 17, 2006 3:01 PM To: samba@lists.samba.org Subject: Re: [Samba] Simple Question About samba/ldap On Fri, 2006-03-17 at 14:46 -0600, Larry McElderry wrote: Does samba not store the ldap admin password between boots? Whenever I reboot my BDC I have to reissue the smbpasswd -w x command before it can successfully validate anything. Is this normal? no try running... tdbdump /etc/samba/secrets.tdb after you set the value and then after you reboot Craig -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] simple question
i just got confused in creating machine accounts in my samba server 1rst creating the user [EMAIL PROTECTED] root]# smbpasswd -a cpu3 New SMB password: Retype new SMB password: Added user cpu3. than adding the machine... [EMAIL PROTECTED] root]# smbpasswd -a -m cpu3$ Failed initialise SAM_ACCOUNT for user cpu3$. Failed to modify password entry for user cpu3$ [EMAIL PROTECTED] root]# what am i missing... (still googling...) TIA Kent -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] simple question
As far I know, you cannot use the same name for users and a machines account. This is the way that I follow to create machine accounts: 1. Create a user account in /etc/passwd (note the '$') # useradd cpu3$ 2. Create the machine account with smbpasswd (note now '$' is not in the name) # smbpasswd -a -m cpu3 I hope this may help you... -- Fermín -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de kent E. Enviado el: miércoles, 07 de enero de 2004 9:26 Para: samba Asunto: [Samba] simple question i just got confused in creating machine accounts in my samba server 1rst creating the user [EMAIL PROTECTED] root]# smbpasswd -a cpu3 New SMB password: Retype new SMB password: Added user cpu3. than adding the machine... [EMAIL PROTECTED] root]# smbpasswd -a -m cpu3$ Failed initialise SAM_ACCOUNT for user cpu3$. Failed to modify password entry for user cpu3$ [EMAIL PROTECTED] root]# what am i missing... (still googling...) TIA Kent -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] simple question
thanks that works but i have another problem ... ill be posting it in another thread On Wed, 2004-01-07 at 17:16, Fermín Galán Márquez wrote: As far I know, you cannot use the same name for users and a machines account. This is the way that I follow to create machine accounts: 1. Create a user account in /etc/passwd (note the '$') # useradd cpu3$ 2. Create the machine account with smbpasswd (note now '$' is not in the name) # smbpasswd -a -m cpu3 I hope this may help you... -- Fermín -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de kent E. Enviado el: miércoles, 07 de enero de 2004 9:26 Para: samba Asunto: [Samba] simple question i just got confused in creating machine accounts in my samba server 1rst creating the user [EMAIL PROTECTED] root]# smbpasswd -a cpu3 New SMB password: Retype new SMB password: Added user cpu3. than adding the machine... [EMAIL PROTECTED] root]# smbpasswd -a -m cpu3$ Failed initialise SAM_ACCOUNT for user cpu3$. Failed to modify password entry for user cpu3$ [EMAIL PROTECTED] root]# what am i missing... (still googling...) TIA Kent -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] simple question concerning update 2.2.8 to 3
Hi, we run a RH 9 Server with samba 2.2.8 as a PDC. Win 2K/XP Clients can log in without a problem, logonscripts work fine. Now I'd like to update to Fedoroa Core 1 with Samba 3.0.0. I have read the update chapter of the The Official Samba-3 HOWTO, but have the simple questions: will the new samba server work out of the box with the old configuration, so I can addjust the changed/new parameters at a later time? Or will I have to change the changed/new options in advance? So is there a step by step how to upgrade? Thanks for any comments and hints! so long... ...Götz Reinicke -- Götz Reinicke IT Koordinator - IT OfficeNet Tel. +49 (0) 7141 - 969 420 Fax +49 (0) 7141 - 969 55 420 [EMAIL PROTECTED] Filmakademie Baden-Württemberg Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] simple question concerning update 2.2.8 to 3
On Thu, 20 Nov 2003, [ISO-8859-1] Götz Reinicke wrote: Hi, we run a RH 9 Server with samba 2.2.8 as a PDC. Win 2K/XP Clients can log in without a problem, logonscripts work fine. Now I'd like to update to Fedoroa Core 1 with Samba 3.0.0. I have read the update chapter of the The Official Samba-3 HOWTO, but have the simple questions: will the new samba server work out of the box with the old configuration, so I can addjust the changed/new parameters at a later time? Send me your smb.conf file (off-line) so I can see what you are using. Or will I have to change the changed/new options in advance? I'll try to help you. - John T. So is there a step by step how to upgrade? Thanks for any comments and hints! so long... ...Götz Reinicke -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Simple question on Wins...
Just thought i'd share a quick tid bit of info I found out today as to WHY I have to run wins on my samba PDC... I was in the process today of setting up some VPN connections through our firewall. Reading through the docs, there was a part there that specifically said that a Wins server is needed. I was a little surprised by this so I contacted the vendor to verify this. They informed me that a WINS server is very much needed or the VPN would not work properly at all. Must to my dismay, looks like im up a creek with out a paddle at this point. Oh well. Hopefully, in the future, when management starts listening instead of barking, I can set up things my way. :) I appreciate everyones help on this list. Everyone is great. Cheers, Jason At 10:19 PM 8/15/2003 +, you wrote: On Fri, 15 Aug 2003, Jason Williams wrote: Just something I thought about today really. Since I am running samba 2.2.8a as a PDC on my network and all of my workstations for my clients are Windows 2000 Pro, would it be better to set up the PDC to run as a wins server? wins server = yes Do you have any idea how frustrating it is to see this question? It means that years of saying USE WINS IT IS GOOD FOR YOU has had no effect! :) Oh well. Go on, use WINS, it's good for you! :) I was just curious because I found some documentation on the wins server option, but for the most part, it was glossed over with real no explanation. Granted, I know what wins purpose is, but would like to find out more about better implementation in my network.. Please refer me to chapter and pages in the Samba-HOWTO-Collection.pdf available from the Samba-3.0.0 CVS code tree. Tell us please where it is glossed over so we can fix it. We need to get the message across. This is so important, and yet we have had so little in the way of patches and documentation updates. You can help to make it better though, and your input is welcome. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Simple question on Wins...
Just something I thought about today really. Since I am running samba 2.2.8a as a PDC on my network and all of my workstations for my clients are Windows 2000 Pro, would it be better to set up the PDC to run as a wins server? wins server = yes I was just curious because I found some documentation on the wins server option, but for the most part, it was glossed over with real no explanation. Granted, I know what wins purpose is, but would like to find out more about better implementation in my network.. Thanks. Jason -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Simple question on Wins...
On Fri, 15 Aug 2003, Jason Williams wrote: Just something I thought about today really. Since I am running samba 2.2.8a as a PDC on my network and all of my workstations for my clients are Windows 2000 Pro, would it be better to set up the PDC to run as a wins server? wins server = yes Do you have any idea how frustrating it is to see this question? It means that years of saying USE WINS IT IS GOOD FOR YOU has had no effect! :) Oh well. Go on, use WINS, it's good for you! :) I was just curious because I found some documentation on the wins server option, but for the most part, it was glossed over with real no explanation. Granted, I know what wins purpose is, but would like to find out more about better implementation in my network.. Please refer me to chapter and pages in the Samba-HOWTO-Collection.pdf available from the Samba-3.0.0 CVS code tree. Tell us please where it is glossed over so we can fix it. We need to get the message across. This is so important, and yet we have had so little in the way of patches and documentation updates. You can help to make it better though, and your input is welcome. - John T. -- John H Terpstra Email: [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] simple question
On Mon, 8 Apr 2002, Ivana Ivi[ISO-8859-2] æ wrote: I have problem with samba 2.2.0, the bug is reported with id 21518 Solaris 2.7/2.8 and 2.2.x fcntl problem, but I can't find information about solution nor bug status on samba.org site. Upgrade to 2.2.3a or better still wait a little bit for 2.2.4 to be released. cheers, jerry - Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org --http://www.plainjoe.org Sam's Teach Yourself Samba in 24 Hours 2ed. ISBN 0-672-32269-2 --I never saved anything for the swim back. Ethan Hawk in Gattaca-- -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba